Using SPARQL CONSTRUCT with named graphs

Hi There,

A question was posed to me by a colleague if it is possible to use CONSTRUCT query to return results including named graphs.

As far as I know this is not possible, but am happy to be shown otherwise.

One possible workaround I can think of is to create a new (empty) repository and from this repository do a SPARQL DELETE/INSERT query federating across to whatever SPARQL endpoint contains your data set using SERVICE keyword.
Once the query is complete, one can then serialize the contents of the new repository in the quads format of your choice.

Any other suggestions of how this could be done?

Regards,

John Walker

Received on Wednesday, 18 December 2013 13:18:20 UTC