Hi again !

I've got another problem : I can't delete my triples !

(note : I'm using Virtuoso Version 7.1.1-dev.3211-pthreads )

This works (creates and then delete the triple) :

INSERT INTO GRAPH <http://mygraph/> {
  <http://mygraph/#myitem>
<http://www.w3.org/2000/01/rdf-schema#label> "Blabla" .
}

DELETE FROM GRAPH <http://mygraph/> {
    <http://mygraph/#myitem >
<http://www.w3.org/2000/01/rdf-schema#label> "Blabla" .
}

But this doesn't work (the triple is created, but not deleted, with no
error) :

INSERT INTO GRAPH <http://mygraph/> {
    <http://mygraph/#austrian_lot_source_1>
<http://www.opengis.net/ont/geosparql#geometry> "MULTIPOLYGON(((0.0
0.0,1.0 0.0,1.0 1.0,0.0 1.0,0.0
0.0)))"^^<http://www.openlinksw.com/schemas/virtrdf#Geometry> .
}

DELETE FROM GRAPH <http://mygraph/> {
    <http://mygraph/#austrian_lot_source_1>
<http://www.opengis.net/ont/geosparql#geometry> "MULTIPOLYGON(((0.0
0.0,1.0 0.0,1.0 1.0,0.0 1.0,0.0
0.0)))"^^<http://www.openlinksw.com/schemas/virtrdf#Geometry> .
}

When selecting the triple, it seems some 0 have been appended to the WKT
text. If I try to use that exact same WKT literal to delete the triple, it
still doesn't delete the triple :

DELETE FROM GRAPH <http://mygraph/> {
    <http://mygraph/#austrian_lot_source_1>
<http://www.opengis.net/ont/geosparql#geometry>
"MULTIPOLYGON(((0.000000 0.000000,1.000000 0.000000,1.000000
1.000000,0.000000 1.000000,0.000000
0.000000)))"^^<http://www.openlinksw.com/schemas/virtrdf#Geometry> .
}

In short, I don't know how to delete a particular triple of type <
http://www.openlinksw.com/schemas/virtrdf#Geometry>... Is there something
I'm missing ? Or did I hit a bug ?

And just in case someone cares, I've been able to update the spatial index
using DB.DBA.RDF_GEO_ADD more or less as explained here :
http://docs.openlinksw.com/virtuoso/rdfsparqlgeospat.html#rdfsparqlgeospatcrg
 (16.15.1)

Thanks a lot for your help !



Olivier Dalang
---
Digital Humanities Lab (DHLAB) - http://dhlab.epfl.ch
EPFL CDH DHLAB  / CM 2 271
Station 10 / CH-1015 Lausanne
Tel. +41 21 693 02 46
------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to