Skip to content

GeoSPARQL query internal error #3275

Closed Answered by adel-ayara
adel-ayara asked this question in Q&A
Discussion options

You must be logged in to vote

I found the issue, the correct GeoSPARQL query should be as following:

PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX spatial: <http://jena.apache.org/spatial#>
PREFIX lbm: <http://aa-service/behaviorMap#>

SELECT ?dp ?geom WHERE {
  ?dp a lbm:DrivePath ;
      geo:hasGeometry ?geom .
 ?dp spatial:withinBox(11.54616880452042 48.1382084235794 11.559631195479579 48.147191576420596) .
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@adel-ayara
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by adel-ayara
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants