I am using Graph()
in RDFLib, i am correctly getting results of from the graph using sparql. Is it possible to get the results directly in HTML table format?
Asked
Active
Viewed 195 times
1 Answers
3
rdflib
is a library to work with rdf in python, not an HTML rendering engine. Usually if you work on a graph.sparql()
query, you want to access the result in python itself.
That said, there is a fork focusing on hosting RDF called rdflib-web
. In it you can find a htmlresults.py
which does pretty much what i think you want.

Jörn Hees
- 3,338
- 22
- 44