Hallo,
I suggest a test case:
1. Load DBpedia into a store
2. retrieve triples via sparql
3. delete triples based on the sparql result
4. repeat
5. see which triples are left in the store (ideally none)

The problem we encountered is, that you can not delete some triples based on a sparql result.
Below is one example for time, but we also had it with floats.
I'm not quite sure, what the problem is, but I think it should be possible to find a triple with SPARQL and the delete it. We do not need that immediately, but for OntoWiki to work correct, this will definitely be necessary.
Please send me a short note, if you need more info or reproduced the issue.
Regards,
Sebastian, AKSW

This query is based on a Sparql query:
SQL> SPARQL DELETE FROM <http://dbpedia.org> { <http://dbpedia.org/resource/Jind_Kaur> <http://dbpedia.org/property/date> """2008-09-01T00:00:00+01:00"""^^<http://www.w3.org/2001/XMLSchema#gYearMonth> . };
callret-0
VARCHAR
_______________________________________________________________________________

Delete from <http://dbpedia.org>, 1 triples -- done

1 Rows. -- 2 msec.

alternations we tried:
"2008-09-01T00:00:00+01:00"^^<http://www.w3.org/2001/XMLSchema#gYearMonth> . "2008-09-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#gYearMonth> .
The triple was still there:

SPARQL SELECT * WHERE {<http://dbpedia.org/resource/Jind_Kaur> ?p ?o };

p o VARCHAR VARCHAR
_______________________________________________________________________________

http://dbpedia.org/property/date 2008-09-01 00:00:00

1 Rows. -- 52 msec.


--
Dipl. Inf. Sebastian Hellmann
Department of Computer Science, University of Leipzig
Homepage: http://bis.informatik.uni-leipzig.de/SebastianHellmann
Research Group: http://aksw.org


Reply via email to