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.

Source Distribution

acdh-django-sparql-0.0.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

acdh_django_sparql-0.0.1-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page