Is it possible to draw a graph of a Sesame RDF database using RDFLIB? This is what I tried:
This is the error:
I think the only trick is specifying a proper URL to cause Sesame to return a .rdf xml layout.
asked 10 May '11, 15:21
Your endpoint URL is wrong. It points to the Sesame Workbench, which is not a (SPARQL) endpoint, but a client application. The SPARQL endpoint for any Sesame database is always on the Sesame server, and is equal to the repository URL. In your case, probably
(edit) Looking at what you're doing, I think you do not need a SPARQL endpoint but just want an export of the complete Sesame database. For this, you can use
RDFExtras has a store implementation that wraps a SPARQL endpoint, giving you a read-only graph:
This is built on the SPARQLWrapper library, which gives you a lower-level interface to do the same thing.
answered 29 Aug '11, 05:13