Skip to content

Helper for testing a simple, local tripple-store setup with the LOSH data - Allows to run SPARQL querries

License

Notifications You must be signed in to change notification settings

OSEGermany/OKH-RDF-DB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Helper for testing a simple, local tripple-store setup with the LOSH data - Allows to run SPARQL querries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 93.4%
  • Dockerfile 6.6%