There are several different problems here.
You can use http://d2rq.org/ to provide the SPARQL endpoint for your database. (This seems to be what you are looking for based on the above comment, and its less cool than rdb-> django model-> rdf-> sparql)
You can use surf as an ORM layer to place data in django templates.
You can add rdfa to your templates
The django applications that you point to are useful as an example (for example, for redirecting, interacting with tripsters, etc.).
source share