usc-isi-i2 / sparql-jsonld

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sparql-jsonld

Documentation

sparql-jsonld is to convert a SELECT SAPRQL query to a CONSTRUCT SAPRQL query based on a JSON frame, get results in nested JSON-LD.

Installation

  • git clone the repo
  • run cd sparql-jsonld
  • run pip install -r requirements.txt to install dependencies

Examples

See Example at examples/example.py

Web demo:

  • run cd webpage
  • run pip install -r requirements.txt
  • run python web.py and go to localhost:5000

Run Test Cases:

run python -m unittest discover

About

License:MIT License


Languages

Language:Python 91.8%Language:HTML 8.2%