Nathan wrote:
Hi,
What's the simplest way to get the contents of an RDF document in to a
specified graph in the quad store?
If you accept the Resource URL as its Named Graph IRI then just use the
sponger. Basically, just enable the pragma: define get:soft "replace"
option should you want to make an explicit replace rather than leaving
the Sponger's cache invalidation to kick-in (when you next access the
Graph).
Thus, you simply SPARQL against an RDF Resource URL or use one of the
patterns listed at: http://uriburner.com (which is just a Virtuoso
Sponger Instance that basically get populated when users Sponger various
non RDF resources).
Up till now I've been using HTTP PUT to a configured rdf_sink folder,
however I find now that I *do not* want the duplicate set of data -
ideally I just need to PUT a serialized chunk of RDF to a location and
have triples end up in the specified graph, any simple way?
Otherwise use SPARUL explicitly.
Kingsley
Best,
Nathan
------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users
--
Regards,
Kingsley Idehen
President & CEO
OpenLink Software
Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen