Some clarification.

On 8/11/07, Chimezie Ogbuji <[EMAIL PROTECTED]> wrote:
> On 8/9/07, whit <[EMAIL PROTECTED]> wrote:
> > soooooo... if I add a FROM <my-graph-uri> my problem should be solved?

This should only be used against a CG since it will cause it to load
the default graph ( "context" ).  If you are dispatching SPARQL, you
should either do it against a CG or use a GRAPH name / variable in the
expression (perhaps with a topLevel binding of the graphs identifier:
g.query(..query..,initBindings={Variable('graphName') : g.identifier
}).  SPARQL queries are dispatched against RDF datasets, which are
composed of 'multiple' RDF graphs.

-- Chimezie
_______________________________________________
Dev mailing list
Dev@rdflib.net
http://rdflib.net/mailman/listinfo/dev

Reply via email to