Hi,
Given the following simple rdf graph
---
<http://example/bookStore> { <http://example/book1> ns:price 42 }
---
Suppose this one graph was stored in a Jena Model. Someone would
perhaps want to transform this graph into a sparql update query, using
a nice API call on the Jena Model (e.g. model.asSparqlUpdate() ), so
that you are given (omitting the prefix declarations):
---
INSERT DATA { GRAPH <http://example/bookStore> {
<http://example/book1> ns:price 42 } }
---
Does such an API call exist, maybe somewhere in
com.hp.hpl.jena.sparql.* ? I could imagine that such a requirement
might be fairly common.
--
Rob Stewart