Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Linked data interface to SPARQL endpoints

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
debian
docs
humfrey
.gitignore
LICENSE.txt
MANIFEST.in
README.rst
config-example.ini
requirements.txt
setup.py
tox.ini

README.rst

humfrey

humfrey is a Django-based RESTful linked data interface to a SPARQL endpoint.

Features

  • Serialization to HTML, RDF, JSON, CSV.
  • Template selection based on rdf:types.
  • Semantic pingback
  • SPARQL rate-limiting

Documentation

Read the documentation at humfrey.readthedocs.org.

Using

humfrey provides a lot of the framework you need for producing a linked data site. You will need to produce a minimal Django project to pull it all together. Examples include data.ox.ac.uk, data.clarosnet.org, and opencitations.net. In due course we plan to provide a simple demonstration site that will run out of the box.

It requires a backing SPARQL endpoint to run queries against. The sites listed above use Fuseki, but it should work with any endpoint. If it doesn't, raise an issue in the GitHub issue tracker.

You will also need running memcached and redis instances.

Running the test suite

In the root of the humfrey module run:

PYTHONPATH=.. python manage.py test --settings=humfrey.tests.settings

If using Jenkins, you can use tox or run the following:

PYTHONPATH=.. python manage.py jenkins --settings=humfrey.tests.settings

This will produce a bunch of reports using django_jenkins, which will turn up in a reports directory.

Requirements

  • memcached
  • redis
Something went wrong with that request. Please try again.