Skip to main content

Basic query interface and proxy for any common triple store.

Project description

https://badge.fury.io/py/acdh-django-sparql.svg

Django-App providing a query interface and proxy for any common Triplestore.

Quickstart

Install acdh-django-sparql:

pip install acdh-django-sparql

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'sparql',
    ...
)

Add django_sparql’s URL patterns:

urlpatterns = [
    ...
    url(r'^sparql/', include('sparql.urls', namespace='sparql')),
    ...
]

Provide the endpoint and optional some log-in credentials for your Triplestore in some settings file:

BG_URL = "https://path-to-your-triple-store/sparql"
BG_USER = "username"
BG_PW = "password"

browse to https://my-project/sparql/query/ to reach the query interface

Via the django-admin interface you can create sample queries.

Licensing

All code unless otherwise noted is licensed under the terms of the MIT License (MIT). Please refer to the file LICENSE in the root directory of this repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for acdh-django-sparql, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size acdh_django_sparql-0.0.1-py3-none-any.whl (7.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size acdh-django-sparql-0.0.1.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page