Hi Oliver, Have you tried running the RDF_GEO_FILL() function to recreate the RDF geometries as detailed at:
http://docs.openlinksw.com/virtuoso/rdfsparqlgeospat.html#rdfsparqlgeospatcrg http://docs.openlinksw.com/virtuoso/fn_rdf_geo_fill.html 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 16 Oct 2014, at 16:59, Olivier Dalang <olivier.dal...@gmail.com> wrote: > Hi ! > > When I add triples with a <http://www.opengis.net/ont/geosparql#geometry> > statement, they seem to be automatically spatially indexed. At least, I can > use this filter clause in my SPARQL queries (replacing {{...}} values by a > number) : > > FILTER( > bif:st_intersects ( ?geom, bif:st_geomfromtext("BOX({{xmin}} {{ymin}}, > {{xmax}} {{ymax}})") ) > ) > > This works pretty well ! > > However, if I change the <http://www.opengis.net/ont/geosparql#geometry> > property afterwards (by deleting the triple and adding another one), the > spatial index doesn't seem to update. The filter doesn't work anymore and > filters out the features (it seems). > > I'm a bit lost, since I've no idea where the magic lies in the creation of > the spatial index. Is there a function to refresh the index for all > <http://www.opengis.net/ont/geosparql#geometry> properties ? > > Thanks in advance ! > > > 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 > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho_______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users