Skip to content

Basic query interface and proxy for any common Triplestore.

License

Notifications You must be signed in to change notification settings

acdh-oeaw/acdh-django-sparql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acdh-django-sparql

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.

About

Basic query interface and proxy for any common Triplestore.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published