mnowotka
mnowotka

Reputation: 17258

django RDF support?

I'm looking for a tool that would help to provide RDF support to Django projects.

So far I've found two:

I'm looking for some other alternatives, do you know any?

Upvotes: 9

Views: 4272

Answers (3)

Rob Atkinson
Rob Atkinson

Reputation: 41

Having searched around and found only various project corpses I have started a project with a different approach to any of these mentioned: it is a django project to configure a custom RDF serialisation of Django models. This allows elements of a model, and models related to it, to be mapped to RDF predicates.

Its at https://github.com/rob-metalinkage/django-rdf-io and used in https://github.com/rob-metalinkage/django-skosxl

Currently working on interfacing to Linked Data Platform (LDP) containers with reasoners to generate a full set statements - e.g. compute transitive relationships.

Upvotes: 3

Sweet Burlap
Sweet Burlap

Reputation: 366

Theres a couple of different issues here.

You could use http://d2rq.org/ to provide a SPARQL endpoint to your database. (Seems to be what you're looking for based on a comment above and its less circuitous than rdb->django model->rdf->sparql )

You could use surf as an ORM layer to put data into django templates.

You could add rdfa into your templates

The django apps that you point to are useful as an example (eg. for redirection, interfacing with triplestores etc.)

Upvotes: 3

florent
florent

Reputation: 801

I'm no Python/Django person but here are a few links. Also it would help if you could detail a bit more what you mean by "support": rdf parsing? Sparql processing? link to a triple store? Microformats? something else?

Similar question: djangonic way to deal with rdf?

Not on Django itself but Python, you might find something: http://www.michelepasin.org/blog/2011/02/24/survey-of-pythonic-tools-for-rdf-and-linked-data-programming/

You can also find some info here also http://semanticdjango.org/

some project on github: https://github.com/odeoncg/django-rdflib

Upvotes: 4

Related Questions