Hi Oliver,

I have been able to recreate this geometry deletion issue in-house against the 
latest develop//7 build and reported to development to fix ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

> On 22 Oct 2014, at 17:14, Olivier Dalang <olivier.dal...@gmail.com> wrote:
> 
> 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/>> {
>   <http://mygraph/#myitem <http://mygraph/#myitem>> 
> <http://www.w3.org/2000/01/rdf-schema#label 
> <http://www.w3.org/2000/01/rdf-schema#label>> "Blabla" .
> }
> 
> DELETE FROM GRAPH <http://mygraph/ <http://mygraph/>> {
>     <http://mygraph/#myitem <http://mygraph/#myitem> > 
> <http://www.w3.org/2000/01/rdf-schema#label 
> <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/>> {
>     <http://mygraph/#austrian_lot_source_1 
> <http://mygraph/#austrian_lot_source_1>> 
> <http://www.opengis.net/ont/geosparql#geometry 
> <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 
> <http://www.openlinksw.com/schemas/virtrdf#Geometry>> .
> }
> 
> DELETE FROM GRAPH <http://mygraph/ <http://mygraph/>> {
>     <http://mygraph/#austrian_lot_source_1 
> <http://mygraph/#austrian_lot_source_1>> 
> <http://www.opengis.net/ont/geosparql#geometry 
> <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 
> <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/>> {
>     <http://mygraph/#austrian_lot_source_1 
> <http://mygraph/#austrian_lot_source_1>> 
> <http://www.opengis.net/ont/geosparql#geometry 
> <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 
> <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 
> <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 
> <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 <http://dhlab.epfl.ch/>
> EPFL CDH DHLAB  / CM 2 271
> Station 10 / CH-1015 Lausanne
> Tel. +41 21 693 02 46 <tel:%2B41%2021%20693%2002%2046>
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to