Hi Maria,

We are checking this with development as I have found another occurrence of 
this error also and do believe the st_distance() function only works with 
points …

There are two other functions, haversine_deg_km() & 
dist_from_point_to_line_segment() documented at:

        
http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtGeoSPARQLEnhancementDocs

but they don’t seem to work either …

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 24 Feb 2016, at 23:39, Maria Jackson <maria.jackson....@gmail.com> wrote:
> 
> Dear Kingsley,
> 
> Thanks a lot for all the links. I tried running the example queries
> which you gave, but from the queries it seems function st_distance
> works only with points. I also found a discussion here:
> https://groups.google.com/forum/#!topic/linked-geo-data/nxQy719M5EQ
> regarding the same. I'll greatly appreciate if you could please
> confirm or refute the same?
> 
> On Thu, Feb 25, 2016 at 3:35 AM, Kingsley Idehen <kide...@openlinksw.com> 
> wrote:
>> On 2/24/16 4:05 PM, Maria Jackson wrote:
>>> Dear Kingsley,
>>> 
>>> Sure I'll do that :) But I am a bit novice so I dont know how can I
>>> use my query against your instances of LOD (Dbpedia essentially has
>>> spatial geometries in the form of points instead of polygons. And my
>>> current focus is on polygons) :)
>>> 
>>> The example polygon which I took is from LinkedGeoData dataset (which
>>> is a part of LOD). Therefore, I am finding it hard to understand as to
>>> where am I making mistake?
>> 
>> Some other examples:
>> 
>> [1]
>> http://linkeddata.uriburner.com/HtmlPivotViewer/?url=http%3A%2F%2Flinkeddata.uriburner.com%2Fc%2F86SEH%23%24view%24%3D4%26%24selection%24%3D0%26%24mapCentreX%24%3D4.647604837557583%26%24mapCentreY%24%3D7.9541015625%26%24mapZoom%24%3D7
>> -- Result
>> 
>> [2]
>> http://linkeddata.uriburner.com/HtmlPivotViewer/edit.vsp?url=http%3A%2F%2Flinkeddata.uriburner.com%2Fc%2F86SEH%23%24view%24%3D4%26%24selection%24%3D0%26%24mapCentreX%24%3D4.647604837557583%26%24mapCentreY%24%3D7.9541015625%26%24mapZoom%24%3D7
>> -- Query Source Code
>> 
>> 
>>> 
>>> On Thu, Feb 25, 2016 at 2:20 AM, Kingsley Idehen <kide...@openlinksw.com> 
>>> wrote:
>>>> On 2/24/16 3:11 PM, Maria Jackson wrote:
>>>>> Dear Kingsley,
>>>>> 
>>>>> I am afraid, I did see
>>>>> http://kidehen.blogspot.com/2014/02/geospatial-querying-over-linked-open.html.
>>>>> But I am unable to understand as to why myself and Mr. Hugh are
>>>>> getting errors with querying spatial data. Can you please help me
>>>>> understand as to where am I going wrong?
>>>> Can you try your example using data from our LOD [1] or DBpedia [2]
>>>> instances? Or a URL against your instance if online.
>>>> 
>>>> [1] http://dbpedia.org/sparql
>>>> [2] http://lod.openlinksw.com/sparql
>>>> 
>>>> Kingsley
>>>>> On Thu, Feb 25, 2016 at 1:25 AM, Kingsley Idehen <kide...@openlinksw.com> 
>>>>> wrote:
>>>>>> On 2/24/16 10:31 AM, Hugh Williams 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)
>>>>>> seeAlso:
>>>>>> 
>>>>>> [1]
>>>>>> http://kidehen.blogspot.com/2014/02/geospatial-querying-over-linked-open.html
>>>>>> 
>>>>>> 
>>>>>> --

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

------------------------------------------------------------------------------
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

Reply via email to