Skip to content

b-cube/restparql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

RESTful micro service on top of the BCube triple store.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages