Testsuite for SPARQL OPTIMAL queries
- Download and install Node.js. Make sure the install wizard downloads NPM as well (it does per default).
- Clone this repository using Git:
git clone https://github.com/ifis-tu-bs/optisparql.git
OR download the repository using the browser and unzip it. - Navigate to the testsuite directory inside the project using your shell (or the Node.js Bash shell on Windows).
- (Optional) Install the dependencies by running
npm install
- You can now start the application by running
npm start
- Open your browser and navigate to the page displayed to you. Usually, this is http://localhost:8080.
- Open the tests directory inside this project.
- Choose a test that you want to run.
- Copy the selected variables from orig.ql into the Selection input field
- Copy the header information from orig.ql into the Headers textarea
- Copy the entire content from optimal.json into the main JSON query representation textarea
- Click Generate SPARQL Queries to create OPTIMAL encodings for your query
- Click Test generated SPARQL queries to run the performance test
- If everything worked out, the text above the encodings should now indicate the queries' execution times