Hi all,
I have executing a SPARQL Select query which filters quadruples
according to a prefix in the graph value. The SPARQL query is the
following:
SELECT ?g ?s ?p ?o WHERE {
GRAPH ?g {
?s ?p ?o .
FILTER (STRSTARTS(str(?g), "https://plus.google.com/825349613"))
}
}
It seems that the query works when it is executed with a basic Dataset
but when it is executed with a transactional Dataset it does not work.
Hereafter are the links to the tests (I use the last snapshots from
the apache repository):
1/ This is the test associated to the basic Dataset where the query works:
http://pastebin.com/raw.php?i=Atkt16Zk
the output is, as expected:
> TestDatasetGraph.main() results are:
> https://plus.google.com/825349613/$1320226073388/$null
2/ The test which is not working (returns no result) and that uses a
transactional dataset:
http://pastebin.com/raw.php?i=vcCJV30P
Do I miss something in the second test or is it a bug?
Kind Regards,
Laurent
|