RESTParql is a RESTful micro service on top of the BCube triple store.
After the BCube crawler discovers new data in the form of data granules, web services and unstructured text files these documents are processed by our semantic pipeline, this pipeline extracts facts about the information contained, i.e. titles, authors, dates and geospatial location etc. Ultimately this information is stored in a triple store. RESTparql's role is to be a helper API so users can use it to simplify the most common queries to the triple store, queries like stats on how many URLs we discovered from a particular host, how many web services from a given type and how many of these services and data links are still working.
pip install -r requirements.txt
Using a virtual environment is highly recommended.
Running the tests
$PATH/TO/RESTparql/nosetests
Running it with gunicorn
gunicorn app:app -b localhost:PORT
Listing available endpoints
curl http://RESTPARQL-SERVER:PORT/
- Complete triples endpoints
- Integrate Swagger
- Dockerize the app