diff options
author | Nicholas Car <nicholas.car@surroundaustralia.com> | 2021-01-05 17:44:35 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 17:44:35 +1000 |
commit | 8e3c771a5c6a2787b5a34a9288c7d5d6967ecbbe (patch) | |
tree | ba81efa7a680ac1970802ebc1a18dac211d004b9 | |
parent | 48edc9c0055300892fa2f7a2aacc30a234894444 (diff) | |
parent | 223d114bd6ad10b85d4070e30c4d54ef93e12b76 (diff) | |
download | rdflib-8e3c771a5c6a2787b5a34a9288c7d5d6967ecbbe.tar.gz |
Merge pull request #1221 from RDFLib/namespace-geosparql
add GeoSPARQL ClosedNamespace
-rw-r--r-- | rdflib/namespace.py | 45 |
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#") |