@prefix : <https://w3id.org/citydata/part1/v1/> .
@prefix cc: <http://creativecommons.org/ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@base <https://w3id.org/citydata/part1/v1/> .

<https://w3id.org/citydata/part1/v1/SpatialLocPattern> rdf:type owl:Ontology ;
                                                        owl:imports geo: ,
                                                                    :MereologyPattern ;
                                                        cc:license "http://creativecommons.org/licenses/by/4.0/" ;
                                                        dcterms:alternative "CDM Spatial Location Pattern" ;
                                                        dcterms:creator "Kenneth Vaughn" ,
                                                                        "Mark Fox" ,
                                                                        "Megan Katsumi" ;
                                                        dcterms:modified "2026-02-12"^^xsd:date ;
                                                        dcterms:title "Information technology - City data model - Part 1: Foundation level concepts - Spatial Location Pattern" ;
                                                        vann:preferredNamespacePrefix "cdm1" ;
                                                        vann:preferredNamespaceUri "https://w3id.org/citydata/part1/v1/" ;
                                                        rdfs:comment "The prior version of this ontology used a different ontology IRI. This update remains semantically consistent with the version adopted as ISO 5087-1:2023." ;
                                                        owl:priorVersion <https://standards.iso.org/iso-iec/5087/-1/ed-1/en/ontology/SpatialLocation/> ;
                                                        owl:versionIRI <https://w3id.org/citydata/part1/v1/SpatialLocPattern/r3.0/> ;
                                                        owl:versionInfo "1.3.0" ;
                                                        skos:definition "This ontology specifies the foundation-level concepts related to the spatial location pattern of the city data model." .

#################################################################
#    Object Properties
#################################################################

###  https://w3id.org/citydata/part1/v1/LocationObjectProperty
:LocationObjectProperty rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :FoundationalCdmObjectProperty ;
                        skos:definition "Added for organizational purposes, to identify all location object properties defined in the City Data Model." .


###  https://w3id.org/citydata/part1/v1/associatedLocation
:associatedLocation rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :LocationObjectProperty ;
                    rdfs:range :Location ;
                    skos:definition "Captures the association of a non-spatial object with a Location. For example, an activity is not a spatial object but may be associated with some location in which it (mostly) takes place." .


###  https://w3id.org/citydata/part1/v1/hasLocation
:hasLocation rdf:type owl:ObjectProperty ;
             rdfs:subPropertyOf :LocationObjectProperty ;
             rdfs:range :Location ;
             skos:definition "Specifies the Location of an object." .


###  https://w3id.org/citydata/part1/v1/nonTangentialProperPart
:nonTangentialProperPart rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf geo:rcc8ntpp ,
                                            :properPartOf .


###  https://w3id.org/citydata/part1/v1/tangentialProperPart
:tangentialProperPart rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf geo:rcc8tpp ,
                                         :properPartOf .


#################################################################
#    Data properties
#################################################################

###  https://w3id.org/citydata/part1/v1/LocationDataProperty
:LocationDataProperty rdf:type owl:DatatypeProperty ;
                      rdfs:subPropertyOf :FoundationalCdmDataProperty ;
                      rdfs:comment "Created for organizational purposes, to identify location data properties." .


###  https://w3id.org/citydata/part1/v1/hasSerialization
:hasSerialization rdf:type owl:DatatypeProperty ;
                  rdfs:subPropertyOf :LocationDataProperty .


#################################################################
#    Classes
#################################################################

###  https://w3id.org/citydata/part1/v1/Location
:Location rdf:type owl:Class ;
          rdfs:subClassOf geo:Geometry ,
                          :SpatialLocThing ;
          skos:definition "A location." .


###  https://w3id.org/citydata/part1/v1/SpatialLocThing
:SpatialLocThing rdf:type owl:Class ;
                 rdfs:subClassOf :FoundationalCdmThing ;
                 skos:definition "Added for organizational purposes, to identify all classes defined in the Location pattern of the CDM ontology." .
