PREFIX geo: PREFIX geof: PREFIX virtrdf: PREFIX poi: PREFIX rdfs: PREFIX olu-instance: PREFIX foaf: PREFIX dc: PREFIX poi: PREFIX dct: PREFIX skos: PREFIX locn: ### WORKS WITH SMALL NUMBER OF TRIPLES, WILL ALL TRIPLES IT DOES NOT WORK CONSTRUCT { ?Resource ?p ?o } FROM WHERE { ?Resource ?p ?o . GRAPH ?g { ?Resource a ?POI_Class . ?Resource geo:asWKT ?Coordinates . ?Resource ?p ?o . FILTER(bif:st_intersects (?Coordinates, bif:st_geomFromText("POLYGON((12.805550244791675 50.44110310248771,14.453499463541675 50.97679985865346,15.365364697916675 50.907574557509825,16.387093213541675 50.636610300310906,17.309944776041675 50.30095867480735,18.035042432291675 50.026485564958456,18.880989697916675 49.52275194210202,18.188851026041675 49.25816551764307,17.760384229166675 48.88390343585812,17.189095166666675 48.847768061048605,16.947395947916675 48.601355238570925,16.222298291666675 48.731959479050985,15.024788526041675 49.013774785025085,14.552376416666675 48.58682276011454,14.014046338541675 48.601355238570925,13.761360791666675 48.833306604672416,13.234017041666675 49.114552196164965,12.805550244791675 49.35844690296278,12.410042432291675 49.76462984717475,12.530892041666675 49.92757212334005,12.201302197916675 50.146321472693394,12.805550244791675 50.44110310248771))"))) . } } limit 10