Basic query interface and proxy for any common triple store.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for acdh_django_sparql-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | beb6d5d4eaad57e543ce7db4406bcd3a19eb3f62e9cdc29b68d4540c0195fe26 |
|
MD5 | 8c24fc882836d36a507c70cd22c5c3e4 |
|
BLAKE2b-256 | 36faeeb066ecfc2a9e46d23f7e5a671c52b5ebf9e65723db59ceec5e6fe3883b |