Hey, have a question regarding the quad api (DatasetGraph)

I am inserting quads, and can retrieve them w/o problems (via find() or 
iteration)

But I want to run graph-aware SPARQL queries over the data

How do I get a handle on a Model (or equivalent) that will let me do that?

(obviously getDefaultModel() doesn't see any of the data in the named graphs)



By graph-aware queries I mean something like:



select ?p ?o { GRAPH <http://updated/test> {<http://model.com/people/Mike> ?p 
?o . }}



Thank you for your help,

Boris

Reply via email to