This contains instructions and scripts to help you easily test the OKH data with the Apache Jena triple-store.
In short, it:
- Downloads the required software (to
~/.local/opt/apache-jena-*
) - (backend) Creates a directory (
./rdf_db/
) to use as the tripple-store - Loads the OKH ontology and all the crawled hardware projects into the tripple-store
- (frontend) 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 querries on the command-line).
# NOTE This might take quite a while to finish
./fill-db
# Starts the web-interface
# (see the output for the URL
# you will have to open in your browser)
./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.