Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.46 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.46 KB

Build Status Python Project Status

RESTparql

RESTParql is a RESTful micro service on top of the BCube triple store.

Overview

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.

Installation

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

Usage

Listing available endpoints

curl http://RESTPARQL-SERVER:PORT/

TODO

  • Complete triples endpoints
  • Integrate Swagger
  • Dockerize the app