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不支持三角函数。
是否有另一种创建此功能的方法?