I am afraid I used bif:st_distance function itself but still I am getting the following error:
SQL> sparql select ?place ?nplace (( bif:st_distance( ?long,?nlong) ) AS ?distance) WHERE {graph ?g1{?place <http://www.opengis.net/ont/geosparql#asWKT> ?long} graph ?g4{?nplace <http://www.opengis.net/ont/geosparql#asWKT> ?nlong}}; Am I loading the data incorrectly. If not, can you please help me understand as to where am I going wrong? On Wed, Feb 24, 2016 at 9:01 PM, Hugh Williams <hwilli...@openlinksw.com> wrote: > Hi Maria, > > The following slide on that tutorial shows how to find place within a given > proximity of each other: > > > http://virtuoso.openlinksw.com/tutorials/sparql/SPARQL_Tutorials_Part_10/SPARQL_Tutorials_Part_10.html#(6) > > 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 23 Feb 2016, at 18:33, Maria Jackson <maria.jackson....@gmail.com> wrote: >> >>> Is the above query known to be valid ie has been run elsewhere or is this >>> just a general spatial join query you are trying to get working ? >> I got inspired to write the query this way from the tutorial : >> http://virtuoso.openlinksw.com/tutorials/sparql/SPARQL_Tutorials_Part_10/SPARQL_Tutorials_Part_10.html#(4) >> >> Essentially, my query wants to retrieve cities ?long and ?nlong which >> are at a distance of 100 k.m. from each other. I am not able to >> understand as to what should be the syntax for this query (which >> Virtuoso also supports). Can you please help me with this a bit? >> > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users