This contains instructions and scripts to help you easily test the OKH data with the Apache Jena triple-store.
In short, it:
- (backend & frontend) Downloads the required software (to
~/.local/opt/apache-jena-*
) - (backend) Creates a directory (
./build/rdf_db/
) to use as the triple-store - (backend) Loads the OKH ontology and all the crawled hardware projects into the triple-store
- (frontend, optional) Starts a local web-interface that allows you to run SPARQL queries on the data
# Gets this project onto your computer.
git clone "https://github.com/OPEN-NEXT/LOSH-RDF-DB-tester.git" "OKH-DB-tester"
cd "OKH-DB-tester"
# Creates the DB and fills it with the data
# (See the output for instructions
# of how to run SPARQL queries on the command-line).
# NOTE This might take quite a while to finish
run/fill-db
# Starts the web-interface
# (see the output for the URL
# you will have to open in your browser)
run/web-ui
The web-UI will then (probably) be available at:
http://localhost:3030/#/dataset/okh/query
You can now try your first sample query on the OKH data.