Query 7 - Equals_LGD_GivenLine:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX lgd:
SELECT ?s1 ?o1
WHERE {
GRAPH dataset:lgd {?s1 lgd:asWKT ?o1}
FILTER(geof:sfEquals(?o1, "GIVEN_LINE_IN_WLT"^^opengis:wktLiteral)).
}
Query 8 - Equals_GAG_GivenPolygon:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX gag:
SELECT ?s1 ?o1
WHERE {
GRAPH dataset:gag {?s1 gag:asWKT ?o1}
FILTER(geof:sfEquals(?o1, "GIVEN_POLYGON_IN_WKT"^^geo:wktLiteral)).
}
Query 9 - Intersects_LGD_GivenPolygon:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX lgd:
SELECT ?s1 ?o1
WHERE {
GRAPH dataset:lgd {?s1 lgd:asWKT ?o1}
FILTER(geof:sfIntersects(?o1, "GIVEN_POLYGON_IN_WKT"^^geo:wktLiteral)).
}
Query 10 - Intersects_CLC_GivenLine:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX clc:
SELECT ?s1 ?o1
WHERE {
GRAPH dataset:clc {?s1 clc:asWKT ?o1}
FILTER(geof:sfIntersects(?o1, "GIVEN_LINE_IN_WKT"^^geo:wktLiteral)).
}
Query 11 - Overlaps_CLC_GivenPolygon:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX clc:
SELECT ?s1 ?o1
WHERE {
GRAPH dataset:clc {?s1 clc:asWKT ?o1}
FILTER(geof:sfOverlaps(?o1, "GIVEN_POLYGON_IN_WKT"^^geo:wktLiteral)).
}
Query 12 - Crosses_LGD_GivenLine:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX lgd:
SELECT ?s1 ?o1
WHERE {
GRAPH dataset:lgd {?s1 lgd:asWKT ?o1}
FILTER(geof:sfCrosses(?o1, "GIVEN_LINE_IN_WKT"^^geo:wktLiteral)).
}
Query 13 - Within_GeoNames_GivenPolygon:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX geonames:
SELECT ?s1 ?o1
WHERE {
GRAPH dataset:geonames {?s1 geonames:asWKT ?o1}
FILTER(geof:sfWithin(?o1, "GIVEN_POLYGON_IN_WKT"^^geo:wktLiteral)).
}
Query 14 - Within_GeoNames_Point_Buffer:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX opengis:
PREFIX geonames:
SELECT ?s1
WHERE {
GRAPH dataset:geonames {?s1 geonames:asWKT ?o1}
FILTER(geof:sfWithin(?o1, geof:buffer("GIVEN_POINT_IN_WKT"^^geo:wktLiteral, 3000, opengis:metre))).
}
Query 15 - GeoNames_Point_Distance:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX opengis:
PREFIX geonames:
SELECT ?s1
WHERE {
GRAPH dataset:geonames {?s1 geonames:asWKT ?o1}
FILTER(geof:distance(?o1, "GIVEN_POINT_IN_WKT"^^geo:wktLiteral, opengis:metre) <= 3000).
}
Query 16 - Disjoint_GeoNames_GivenPolygon:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX opengis:
PREFIX geonames:
SELECT ?s1 ?o1
WHERE {
GRAPH dataset:geonames {?s1 geonames:asWKT ?o1}
FILTER(geof:sfDisjoint(?o1, "GIVEN_POLYGON_IN_WKT"^^geo:wktLiteral)).
}
Query 17 - Disjoint_LGD_GivenPolygon:
PREFIX dataset:
PREFIX geof:
PREFIX geo:
PREFIX lgd:
SELECT ?s1 ?o1
WHERE {
GRAPH dataset:lgd {?s1 lgd:asWKT ?o1}
FILTER(geof:sfDisjoint(?o1, "GIVEN_POLYGON_IN_WKT"^^geo:wktLiteral)).
}