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

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OKH RDF DB

License REUSE status

This contains instructions and scripts to help you easily test the OKH data or the (private) experimental 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

There is a published docker image with the tag hoijui/okh-db:master; use that or go more into details like this:

# Gets this project onto your computer.
git clone "https://github.com/osegermany/OKH-RDF-DB.git"
cd "OKH-RDF-DB"

# 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
# or
run/fill-db --experimental

# 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 94.4%
  • Dockerfile 5.6%