summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Car <nicholas.car@surroundaustralia.com>2020-12-29 09:43:13 +1000
committerGitHub <noreply@github.com>2020-12-29 09:43:13 +1000
commit223d114bd6ad10b85d4070e30c4d54ef93e12b76 (patch)
treec23cb10f6c6fb9ce1a0727519ab61fc107874f8e
parente1da9553ecb39ea388d4b24d66a35ff1f8760ba2 (diff)
downloadrdflib-223d114bd6ad10b85d4070e30c4d54ef93e12b76.tar.gz
add GeoSPARQL ClosedNamespacenamespace-geosparql
-rw-r--r--rdflib/namespace.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/rdflib/namespace.py b/rdflib/namespace.py
index 056230c5..aa1b4d0d 100644
--- a/rdflib/namespace.py
+++ b/rdflib/namespace.py
@@ -78,6 +78,7 @@ __all__ = [
"DCTERMS",
"DOAP",
"FOAF",
+ "GEO",
"ODRL2",
"ORG",
"OWL",
@@ -340,6 +341,50 @@ FOAF = ClosedNamespace(
"logo",
],
)
+GEO = ClosedNamespace(
+ uri=URIRef("http://www.opengis.net/ont/geosparql#"),
+ terms=[
+ "Feature",
+ "Geometry",
+ "SpatialObject",
+ "asGML",
+ "asWKT",
+ "coordinateDimension",
+ "defaultGeometry",
+ "dimension",
+ "ehContains",
+ "ehCoveredBy",
+ "ehCovers",
+ "ehDisjoint",
+ "ehEquals",
+ "ehInside",
+ "ehMeet",
+ "ehOverlap",
+ "gmlLiteral",
+ "hasGeometry",
+ "hasSerialization",
+ "isEmpty",
+ "isSimple",
+ "rcc8dc",
+ "rcc8ec",
+ "rcc8eq",
+ "rcc8ntpp",
+ "rcc8ntppi",
+ "rcc8po",
+ "rcc8tpp",
+ "rcc8tppi",
+ "sfContains",
+ "sfCrosses",
+ "sfDisjoint",
+ "sfEquals",
+ "sfIntersects",
+ "sfOverlaps",
+ "sfTouches",
+ "sfWithin",
+ "spatialDimension",
+ "wktLiteral",
+ ],
+)
ODRL2 = Namespace("http://www.w3.org/ns/odrl/2/")
ORG = Namespace("http://www.w3.org/ns/org#")
OWL = Namespace("http://www.w3.org/2002/07/owl#")