1
我使用Sesame服務器來存儲和查詢三元組集合。在我的資源庫中,我有三組代表由地球上經度和緯度定義的位置。SPARQL三角函數
例子:
PREFIX ont:<http://example.org/myontology.owl#>
<http://foo.com/location-a> a ont:Location.
<http://foo.com/location-a> ont:hasLatitude "25.91239"^^xsd:double.
<http://foo.com/location-a> ont:hasLongitude "30.3911"^^xsd:double.
<http://foo.com/location-b> a ont:Location.
<http://foo.com/location-b> ont:hasLatitude "15.7778"^^xsd:double.
<http://foo.com/location-b> ont:hasLongitude "13.6755"^^xsd:double.
...
我想編寫一個查詢,讓我回所有被它限定的圓表面上的位置的中心點(Latidude_Center,Longitude_Center)和半徑(公里或度)。
爲了達到這個目的,我必須使用一些暗示三角函數的數學公式。據我所知SPARQL不支持三角函數。
是否有另一種創建此功能的方法?