Hi all.

How do I correctly bind the named graph context of the following SPARQL query :

  CONSTRUCT { ?s ?p ?o} FROM ?context WHERE { ?s ?p ?o }

I tried the following options

  CONSTRUCT { ?s ?p ?o} FROM `iri(??)` WHERE { ?s ?p ?o }
  CONSTRUCT { ?s ?p ?o} FROM iri(??) WHERE { ?s ?p ?o }

Both throw Exceptions.

What is the right way to do it?

I am aware that it works also as

  CONSTRUCT { ?s ?p ?o} WHERE { graph ?context { ?s ?p ?o } }

but I prefer the syntax form using FROM.

Br,
Timo Westkämper


Reply via email to