_GEO.py 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. from rdflib.namespace import DefinedNamespace, Namespace
  2. from rdflib.term import URIRef
  3. class GEO(DefinedNamespace):
  4. """
  5. An RDF/OWL vocabulary for representing spatial information
  6. Generated from: http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf
  7. Date: 2021-12-27 17:38:15.101187
  8. ```turtle
  9. <http://www.opengis.net/ont/geosparql> dc:creator "Open Geospatial Consortium"^^xsd:string
  10. dc:date "2012-04-30"^^xsd:date
  11. dc:source <http://www.opengis.net/doc/IS/geosparql/1.0>
  12. "OGC GeoSPARQL – A Geographic Query Language for RDF Data OGC 11-052r5"^^xsd:string
  13. rdfs:seeAlso <http://www.opengis.net/def/function/ogc-geosparql/1.0>
  14. <http://www.opengis.net/def/rule/ogc-geosparql/1.0>
  15. <http://www.opengis.net/doc/IS/geosparql/1.0>
  16. owl:imports dc:
  17. <http://www.opengis.net/ont/gml>
  18. <http://www.opengis.net/ont/sf>
  19. <http://www.w3.org/2004/02/skos/core>
  20. owl:versionInfo "OGC GeoSPARQL 1.0"^^xsd:string
  21. ```
  22. """
  23. # http://www.w3.org/2000/01/rdf-schema#Datatype
  24. dggsLiteral: URIRef # A DGGS serialization of a geometry object.
  25. geoJSONLiteral: URIRef # A GeoJSON serialization of a geometry object.
  26. gmlLiteral: URIRef # A GML serialization of a geometry object.
  27. kmlLiteral: URIRef # A KML serialization of a geometry object.
  28. wktLiteral: URIRef # A Well-known Text serialization of a geometry object.
  29. # http://www.w3.org/2002/07/owl#Class
  30. Feature: URIRef # This class represents the top-level feature type. This class is equivalent to GFI_Feature defined in ISO 19156:2011, and it is superclass of all feature types.
  31. FeatureCollection: URIRef # A collection of individual Features.
  32. Geometry: URIRef # The class represents the top-level geometry type. This class is equivalent to the UML class GM_Object defined in ISO 19107, and it is superclass of all geometry types.
  33. GeometryCollection: URIRef # A collection of individual Geometries.
  34. SpatialObject: URIRef # The class spatial-object represents everything that can have a spatial representation. It is superclass of feature and geometry.
  35. SpatialObjectCollection: URIRef # A collection of individual Spatial Objects. This is the superclass of Feature Collection and Geometry Collection.
  36. # http://www.w3.org/2002/07/owl#DatatypeProperty
  37. asGML: URIRef # The GML serialization of a geometry
  38. asWKT: URIRef # The WKT serialization of a geometry
  39. asGeoJSON: URIRef # The GeoJSON serialization of a geometry
  40. asKML: URIRef # The KML serialization of a geometry
  41. asDGGS: URIRef # The DGGS serialization of a geometry
  42. coordinateDimension: URIRef # The number of measurements or axes needed to describe the position of this geometry in a coordinate system.
  43. dimension: URIRef # The topological dimension of this geometric object, which must be less than or equal to the coordinate dimension. In non-homogeneous collections, this will return the largest topological dimension of the contained objects.
  44. hasMetricArea: URIRef # The area of a Spatial Object in square meters.
  45. hasMetricLength: URIRef # The length of a Spatial Object in meters.
  46. hasMetricPerimeterLength: (
  47. URIRef # The length of the perimeter of a Spatial Object in meters.
  48. )
  49. hasMetricSpatialAccuracy: URIRef # The spatial resolution of a Geometry in meters.
  50. hasMetricSpatialResolution: (
  51. URIRef # The spatial resolution of a Geometry in meters.
  52. )
  53. hasMetricSize: URIRef # Subproperties of this property are used to indicate the size of a Spatial Object as a measurement or estimate of one or more dimensions of the Spatial Object's spatial presence. Units are always metric (meter, square meter or cubic meter)
  54. hasMetricVolume: URIRef # The volume of a Spatial Object in cubic meters.
  55. hasSerialization: (
  56. URIRef # Connects a geometry object with its text-based serialization.
  57. )
  58. isEmpty: URIRef # (true) if this geometric object is the empty Geometry. If true, then this geometric object represents the empty point set for the coordinate space.
  59. isSimple: URIRef # (true) if this geometric object has no anomalous geometric points, such as self intersection or self tangency.
  60. spatialDimension: URIRef # The number of measurements or axes needed to describe the spatial position of this geometry in a coordinate system.
  61. # http://www.w3.org/2002/07/owl#ObjectProperty
  62. defaultGeometry: URIRef # The default geometry to be used in spatial calculations. It is Usually the most detailed geometry.
  63. ehContains: URIRef # Exists if the subject SpatialObject spatially contains the object SpatialObject. DE-9IM: T*TFF*FF*
  64. ehCoveredBy: URIRef # Exists if the subject SpatialObject is spatially covered by the object SpatialObject. DE-9IM: TFF*TFT**
  65. ehCovers: URIRef # Exists if the subject SpatialObject spatially covers the object SpatialObject. DE-9IM: T*TFT*FF*
  66. ehDisjoint: URIRef # Exists if the subject SpatialObject is spatially disjoint from the object SpatialObject. DE-9IM: FF*FF****
  67. ehEquals: URIRef # Exists if the subject SpatialObject spatially equals the object SpatialObject. DE-9IM: TFFFTFFFT
  68. ehInside: URIRef # Exists if the subject SpatialObject is spatially inside the object SpatialObject. DE-9IM: TFF*FFT**
  69. ehMeet: URIRef # Exists if the subject SpatialObject spatially meets the object SpatialObject. DE-9IM: FT******* ^ F**T***** ^ F***T****
  70. ehOverlap: URIRef # Exists if the subject SpatialObject spatially overlaps the object SpatialObject. DE-9IM: T*T***T**
  71. hasArea: URIRef # The area of a Spatial Object.
  72. hasBoundingBox: (
  73. URIRef # The minimum or smallest bounding or enclosing box of a given Feature.
  74. )
  75. hasCentroid: URIRef # The arithmetic mean position of all the geometry points of a given Feature.
  76. hasDefaultGeometry: URIRef # The default geometry to be used in spatial calculations, usually the most detailed geometry.
  77. hasGeometry: URIRef # A spatial representation for a given feature.
  78. hasLength: URIRef # The length of a Spatial Object.
  79. hasPerimeterLength: URIRef # The length of the perimeter of a Spatial Object.
  80. hasSize: URIRef # Subproperties of this property are used to indicate the size of a Spatial Object as a measurement or estimate of one or more dimensions of the Spatial Object's spatial presence.
  81. hasSpatialAccuracy: (
  82. URIRef # The positional accuracy of the coordinates of a Geometry.
  83. )
  84. hasSpatialResolution: URIRef # The spatial resolution of a Geometry.
  85. hasVolume: URIRef # he volume of a three-dimensional Spatial Object.
  86. rcc8dc: URIRef # Exists if the subject SpatialObject is spatially disjoint from the object SpatialObject. DE-9IM: FFTFFTTTT
  87. rcc8ec: URIRef # Exists if the subject SpatialObject spatially meets the object SpatialObject. DE-9IM: FFTFTTTTT
  88. rcc8eq: URIRef # Exists if the subject SpatialObject spatially equals the object SpatialObject. DE-9IM: TFFFTFFFT
  89. rcc8ntpp: URIRef # Exists if the subject SpatialObject is spatially inside the object SpatialObject. DE-9IM: TFFTFFTTT
  90. rcc8ntppi: URIRef # Exists if the subject SpatialObject spatially contains the object SpatialObject. DE-9IM: TTTFFTFFT
  91. rcc8po: URIRef # Exists if the subject SpatialObject spatially overlaps the object SpatialObject. DE-9IM: TTTTTTTTT
  92. rcc8tpp: URIRef # Exists if the subject SpatialObject is spatially covered by the object SpatialObject. DE-9IM: TFFTTFTTT
  93. rcc8tppi: URIRef # Exists if the subject SpatialObject spatially covers the object SpatialObject. DE-9IM: TTTFTTFFT
  94. sfContains: URIRef # Exists if the subject SpatialObject spatially contains the object SpatialObject. DE-9IM: T*****FF*
  95. sfCrosses: URIRef # Exists if the subject SpatialObject spatially crosses the object SpatialObject. DE-9IM: T*T******
  96. sfDisjoint: URIRef # Exists if the subject SpatialObject is spatially disjoint from the object SpatialObject. DE-9IM: FF*FF****
  97. sfEquals: URIRef # Exists if the subject SpatialObject spatially equals the object SpatialObject. DE-9IM: TFFFTFFFT
  98. sfIntersects: URIRef # Exists if the subject SpatialObject is not spatially disjoint from the object SpatialObject. DE-9IM: T******** ^ *T******* ^ ***T***** ^ ****T****
  99. sfOverlaps: URIRef # Exists if the subject SpatialObject spatially overlaps the object SpatialObject. DE-9IM: T*T***T**
  100. sfTouches: URIRef # Exists if the subject SpatialObject spatially touches the object SpatialObject. DE-9IM: FT******* ^ F**T***** ^ F***T****
  101. sfWithin: URIRef # Exists if the subject SpatialObject is spatially within the object SpatialObject. DE-9IM: T*F**F***
  102. _NS = Namespace("http://www.opengis.net/ont/geosparql#")