Groups
Groups
Sign in
Groups
Groups
Linked Geo Data
Conversations
About
Send feedback
Help
GADM dataset and bif:st_within predicate
21 views
Skip to first unread message
ing.anton...@gmail.com
unread,
Nov 24, 2014, 10:26:52 AM
11/24/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to linked-...@googlegroups.com
Hi all,
I was wondering if is possible to query via SPARQL the GADM dataset just added to LGD using the predicate bif_st_within.
Basically I need to write a query that returns which GADM level are related to one point. I tried this but I get server error:
Prefix bif: <
http://www.openlinksw.com/schemas/bif#
>
Prefix lgdo:<
http://linkedgeodata.org/ontology/
>
Prefix geo:<
http://www.georss.org/georss/
>
SELECT ?a ?b ?l ?geo WHERE {
?a a gadm-o:Level .
?b rdfs:label ?l .
?b geom:geometry ?geom .
?geom ogc:asWKT ?geo .
FILTER (bif:st_contains(?geo, bif:st_point(13.3593475, 38.12474145)))
}
LIMIT 100
thanks in advance
Antonino Lo Bue
CNR-ICAR PA
Reply all
Reply to author
Forward
0 new messages