diff --git a/src/cco-extensions/GeospatialGeoSPARQL-bridge.ttl b/src/cco-extensions/GeospatialGeoSPARQL-bridge.ttl new file mode 100644 index 00000000..d0f88590 --- /dev/null +++ b/src/cco-extensions/GeospatialGeoSPARQL-bridge.ttl @@ -0,0 +1,147 @@ +@prefix : . +@prefix obo: . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix cco: . +@prefix rdfs: . +@prefix skos: . +@prefix dcterms: . +@prefix geosparql: . +@base . + + rdf:type owl:Ontology ; + owl:versionIRI ; + owl:imports ; + owl:imports ; + owl:imports ; + dcterms:license "BSD 3-Clause: https://github.com/CommonCoreOntology/CommonCoreOntologies/blob/master/LICENSE"@en ; + rdfs:comment """ + This bridge ontology is designed to link GeoSPARQL and GeospatialOntology, so that CCO applications can use GeoSPARQL datatypes to represent location and shape. + """@en ; + rdfs:label "Geospatial-GeoSPARQL bridge Ontology"@en ; + dcterms:creator , ; + dcterms:created "2025-11-24"^^xsd:date ; + dcterms:modified "2025-11-24"^^xsd:date ; + owl:versionInfo "Version 1.0"@en ; + . + +################################################################# +# Object Properties +################################################################# + +### http://www.opengis.net/ont/geosparql#hasGeometry +geosparql:hasGeometry + a owl:ObjectProperty ; + rdfs:subPropertyOf cco:ont00001801 ; # is subject of + rdfs:domain geosparql:Feature ; + rdfs:range geosparql:Geometry ; + skos:definition "A spatial representation for a given feature."@en ; + rdfs:label "has geometry"@en ; + rdfs:isDefinedBy ; + cco:ont00001760 "http://www.opengis.net/ont/geosparql"^^xsd:anyURI ; + . + +### http://www.opengis.net/ont/geosparql#sfWithin +geosparql:sfWithin + a owl:ObjectProperty ; + rdfs:subPropertyOf obo:BFO_0000171 ; # located in at some times + rdfs:domain geosparql:SpatialObject ; + rdfs:range geosparql:SpatialObject ; + rdfs:isDefinedBy + : , + , + ; + skos:definition """States that the subject SpatialObject is spatially within the object SpatialObject. DE-9IM: T*F**F***"""@en ; + rdfs:seeAlso ; + skos:prefLabel "within"@en ; +. + + +################################################################# +# Data properties +################################################################# + +### http://www.opengis.net/ont/geosparql#asWKT +geosparql:asWKT + a owl:DatatypeProperty ; + rdfs:subPropertyOf :hasSerialization ; + rdfs:domain geosparql:Geometry ; + rdfs:range geosparql:wktLiteral ; + rdfs:label "as WKT"@en ; + skos:definition "A Data Property that has as its range a string formated according to the Well-known text standardization for geometric objects."@en ; + skos:example "Polygon ((10 10, 10 20, 20 20, 20 15, 10 10))" ; + rdfs:isDefinedBy ; + cco:ont00001760 "http://www.opengis.net/ont/geosparql"^^xsd:anyURI ; + . + +### http://www.opengis.net/ont/geosparql#hasSerialization +geosparql:hasSerialization + a owl:DatatypeProperty ; + rdfs:domain geosparql:Geometry ; + rdfs:range rdfs:Literal ; + skos:definition "Connects a geometry object with its text-based serialization."@en ; + rdfs:label "has serialization"@en ; + rdfs:isDefinedBy ; + cco:ont00001760 "http://www.opengis.net/ont/geosparql"^^xsd:anyURI ; +. + +################################################################# +# Datatypes +################################################################# + +### http://www.opengis.net/ont/geosparql#wktLiteral +geosparql:wktLiteral + a rdfs:Datatype ; + skos:definition "A Well-known Text serialization of a geometry object."@en ; + rdfs:label "Well-known Text Literal"@en ; + rdfs:isDefinedBy ; + cco:ont00001760 "http://www.opengis.net/ont/geosparql"^^xsd:anyURI ; +. + +################################################################# +# Classes +################################################################# + +### http://www.opengis.net/ont/geosparql#SpatialObject +geosparql:SpatialObject + a owl:Class ; + rdfs:subClassOf [ + owl:unionOf ( + obo:BFO_0000002 # continuant + obo:BFO_0000015 # process + ) + ] ; + skos:definition "Anything spatial (being or having a shape, position or an extent)."@en ; + rdfs:label "Spatial Object"@en ; + rdfs:isDefinedBy ; + cco:ont00001760 "http://www.opengis.net/ont/geosparql"^^xsd:anyURI ; +. + +### http://www.opengis.net/ont/geosparql#Feature +geosparql:Feature + a owl:Class ; + owl:equivalentClass [ + owl:unionOf ( + obo:BFO_0000004 # independent continuant + obo:BFO_0000015 # process + ) + ] ; + owl:disjointWith geosparql:Geometry ; + skos:definition "A discrete spatial phenomenon in a universe of discourse."@en ; + rdfs:label "Feature"@en ; + rdfs:isDefinedBy ; + cco:ont00001760 "http://www.opengis.net/ont/geosparql"^^xsd:anyURI ; +. + +### http://www.opengis.net/ont/geosparql#Geometry +geosparql:Geometry + a owl:Class ; + rdfs:subClassOf cco:ont00000958 ; # information content entity + skos:definition "A coherent set of direct positions in Euclidian space. A direct position holds the coordinates for a position within a Coordinate Reference System (CRS)."@en ; + rdfs:label "Geometry"@en ; + rdfs:isDefinedBy ; + cco:ont00001760 "http://www.opengis.net/ont/geosparql"^^xsd:anyURI ; +. + diff --git a/src/cco-modules/GeospatialOntology.ttl b/src/cco-modules/GeospatialOntology.ttl index 96fad580..f739d624 100644 --- a/src/cco-modules/GeospatialOntology.ttl +++ b/src/cco-modules/GeospatialOntology.ttl @@ -186,15 +186,6 @@ cco:ont00001989 rdf:type owl:ObjectProperty ; # Data properties ################################################################# -### http://www.opengis.net/ont/geosparql#asWKT - rdf:type owl:DatatypeProperty ; - rdfs:comment "ISO 19162:2015"@en ; - rdfs:label "as WKT"@en ; - skos:definition "A Data Property that has as its range a string formated according to the Well-known text standardization for geometric objects."@en ; - skos:example "Polygon ((10 10, 10 20, 20 20, 20 15, 10 10))" ; - cco:ont00001760 "https://www.commoncoreontologies.org/GeospatialOntology"^^xsd:anyURI . - - ### https://www.commoncoreontologies.org/ont00001763 cco:ont00001763 rdf:type owl:DatatypeProperty ; rdfs:comment "Altitude values typically use kilometers as the Unit of Measurement."@en ;