Skip to content

KGAP project with example SPARQL queries on EMO BON triples

Notifications You must be signed in to change notification settings

emo-bon/kgap-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k-gap demo - querying EMO-BON triples

What is this?

KGAP - Knowledge Graph Analysis Platform - will allow you to investigate data provided in RDF format. In this case, we can read in the turtle files from the observatory logsheets, or the MetaGOflow outputs, and investigate them. At present you have to copy the ttl files to the data/ folder (following the examples already there); to be added is a config file that will do this for you.

To using KGAP on EMO BON

Steps:

  1. retrieve the source code from github

  2. to build the services simply run

.$ cp dotenv-example .env             # make sure you have an .env file
.$ cd docker && docker-compose build  # use docker to build the services 
  1. to start up the services simply run
.$ cd docker && docker-compose up     # use docker to run the services 
  1. open the jupyter notebook

Either go to http://localhost:8896
or try:

.$ xdg-open $(docker/jupyter_url.sh)  # this gets the url for the service and opens a browser to it
  1. open the graphdb browser ui

Either go to http://localhost:7206
or try:

.$ xdg-open http://localhost:7200     # opens the web ui in a browser
  1. run a test-ingest

This introduces forcefully at least the data/project.ttl into the triple store This should not be needed when the ingest runs automatically

.$ docker exec -it lwua_ingest /bin/bash            # interactively gets you into the ingest env
root@f226b253fbd4:/lwua-py# python -m lwua.ingest   # run the ingest 

About

KGAP project with example SPARQL queries on EMO BON triples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages