Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.69 KB

README.md

File metadata and controls

54 lines (41 loc) · 1.69 KB

OKH RDF triple-store tester

License REUSE status

This contains instructions and scripts to help you easily test the OKH data with the Apache Jena triple-store.

In short, it:

  1. (backend & frontend) Downloads the required software (to ~/.local/opt/apache-jena-*)
  2. (backend) Creates a directory (./build/rdf_db/) to use as the triple-store
  3. (backend) Loads the OKH ontology and all the crawled hardware projects into the triple-store
  4. (frontend, optional) Starts a local web-interface that allows you to run SPARQL queries on the data

Usage

# 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.