https://github.com/noorbakerally/ISWC2017Demo
Raw File
Tip revision: c38295a98c6a3478c7ed285c09881593df3f9f71 authored by Noorani Bakerally on 23 October 2017, 15:10:13 UTC
ParisGeoWithClass added
Tip revision: c38295a
ParisGeo.rq
PREFIX lgdo: <http://linkedgeodata.org/ontology/> 
Prefix geom: <http://geovocab.org/geometry#> 
Prefix ogc:<http://www.opengis.net/ont/geosparql#> 
CONSTRUCT {   
	?s ?p ?o .   ?s geom:geometry ?geometry .   
	?geometry ogc:asWKT ?g .  

} WHERE { 
	?s ?p ?o .   
	?s a ?type;      
		geom:geometry ?geometry .   
		?geometry  ogc:asWKT ?g .   
		Filter(bif:st_intersects (?g, bif:st_geomfromtext ( "POLYGON((2.3198871747441001 48.900459782090003, 2.3851496429396999 48.902007785214998, 2.3894416378177001 48.901152013805998, 2.3976272336691 48.894578113161003, 2.3988455271815998 48.887109095071999, 2.4132702557262 48.872892145991997, 2.4163411302989002 48.849233783552002, 2.4122456125626002 48.834538914672997, 2.4281301699852 48.841528392473002, 2.4476993268139999 48.844818443355003, 2.4634383121685999 48.842089485269, 2.4675819883673 48.833133318793003, 2.4612052142523 48.818355149154002, 2.4384475102741998 48.818232447877001, 2.4060318234009999 48.827615470779001, 2.3909392530738001 48.826078980075998, 2.3642042811729 48.816398323995998, 2.3318980606376001 48.817010929642002, 2.2893937776750999 48.828352646104001, 2.2790519306533001 48.832489952145004, 2.2727931901868001 48.827920084226001, 2.2551442384175 48.834809549368998, 2.2506124417161999 48.845554851210998, 2.2242191058804002 48.853516917557002, 2.225670292257 48.859404562396001, 2.2317363597469 48.869068581610001, 2.2584671711142001 48.880387263086, 2.2774870298138001 48.877968320853, 2.2915068524977 48.889471870800001, 2.3198871747441001 48.900459782090003))" ))) .   
		Filter (?type in (lgdo:Parking,lgdo:ATM,lgdo:Atm,lgdo:Bank)) 
}
back to top