On 21/12/16 12:23, George News wrote:
szQuery = "" + " PREFIX dc: <http://purl.org/dc/elements/1.1/>" + "
PREFIX foaf: <http://xmlns.com/foaf/0.1/>" + " SELECT ?graph ?who ?mbox"
+ " FROM NAMED <http://example.org/alice>" + " FROM NAMED
<http://example.org/bob>" + " WHERE " + " { \n" + " ?graph dc:publisher
?who . " + " GRAPH ?graph { ?x foaf:mbox ?mbox . } " + " }";

Take out the FROM NAMED.

Adding FROM or FROM NAMED creates a view of the original data - in this case with just 2 named graphs. You don't want a view - you want the real thing.

    Andy

Reply via email to