Git Product home page Git Product logo

kgap-demo's Introduction

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 

kgap-demo's People

Contributors

laurianvm avatar kmexter avatar

Watchers

Marc Portier avatar Ioulia Santi avatar

kgap-demo's Issues

description testing

it would be a good idea if @laurianvm sat behind @kmexter as she tried to get KGAP demo working, following the instructions. is the best way to make sure that others can follow it - and I think if we get this right and link it to the data landing page, we will have many emo bon observatory people using this

add config file

Rather than having to copy the triples over, it would be nicer to have a config file that reads from the URL and the user can just de/select which repos to do
It will need to report an error if the requested triples do not exist

add examples

Once we have MGF triples, should take the time to make a jnbk to contain example queries for EMO BON triples
Esp as people will not know, a-priori, what things are called in our triples, and will not know how to find out what they are called
So demo code should

  • list what s and o are in the dataset
  • list the p in the dataset
  • load observatories
  • list the date range of events and what was done (water, sediment)
  • list measurements collected and then for selected ones, the output shows what events have those measurements
  • list the events and what the run accession numbers are

Can be work for dev cycle 5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.