On Aug 3, 2014, at 4:17 AM, Andy Seaborne wrote:
> On 02/08/14 19:47, Arthur Keen wrote:
>> Pilot error: The issue was caused by my using
>> SELECT DISTINCT ?g WHERE{GRAPH ?g {?s ?p ?o}}
>>
>> Which finds non empty named graphs (containing one or more statements). I
>> should have been using:
On 02/08/14 19:47, Arthur Keen wrote:
Pilot error: The issue was caused by my using
SELECT DISTINCT ?g WHERE{GRAPH ?g {?s ?p ?o}}
Which finds non empty named graphs (containing one or more statements). I
should have been using:
SELECT DISTINCT ?g WHERE {GRAPH ?g{}}
(DISTINCT not needed)
Pilot error: The issue was caused by my using
SELECT DISTINCT ?g WHERE{GRAPH ?g {?s ?p ?o}}
Which finds non empty named graphs (containing one or more statements). I
should have been using:
SELECT DISTINCT ?g WHERE {GRAPH ?g{}}
Which finds empty graphs
On Aug 1, 2014, at 3:49 PM, Arthur Keen
Andy,
Thanks for clearing that up. One cannot underestimate Occam's Razor. I
switched my code back to update and replaced DELETE with DROP and that is
working, and INSERT also works to create graphs, but using CREATE on update is
not creating graphs.
When I tried the same queries from the
It's DROP not DELETE in SPARQL Update.
DELETE is for triples, DROP is for whole graphs.
http://www.w3.org/TR/sparql11-update/#graphManagement
On 31/07/14 22:47, Arthur Keen wrote:
For executing CREATE or DELETE GRAPH in Fuseki
I tried to use them the same way as SPARQL INSERT/DELETE by posting
For executing CREATE or DELETE GRAPH in Fuseki
I tried to use them the same way as SPARQL INSERT/DELETE by posting to
../ds/update, but this did not work
Which Endpoint URL pattern I should use:
http://localhost:8080/ds/update,
http://localhost:8080/ds/graph
For Creating a graph do you use an