@prefix : <https://w3id.org/citydata/part2/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 time: <http://www.w3.org/2006/time#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@base <https://w3id.org/citydata/part2/v1/> .

<https://w3id.org/citydata/part2/v1/CityResidentPattern> rdf:type owl:Ontology ;
                                                          owl:imports :BuildingPattern ,
                                                                      :OrganizationPattern ;
                                                          cc:license "http://creativecommons.org/licenses/by/4.0/" ;
                                                          dcterms:creator "Kenneth Vaughn" ,
                                                                          "Mark Fox" ,
                                                                          "Megan Katsumi" ;
                                                          dcterms:modified "2026-02-12"^^xsd:date ;
                                                          dcterms:title "Information technology - City data model - Part 2: City level concepts - City resident pattern" ;
                                                          dcterms:bibliographicCitation "ISO/IEC 5087-2:2024" ;
                                                          vann:preferredNamespacePrefix "cdm2" ;
                                                          vann:preferredNamespaceUri "https://w3id.org/citydata/part2/v1/" ;
                                                          rdfs:seeAlso <https://www.iso.org/standard/80742.html> ;
                                                          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-2:2024." ;
                                                          owl:priorVersion <https://standards.iso.org/iso-iec/5087/-2/ed-1/en/ontology/CityResident/> ;
                                                          owl:versionIRI <https://w3id.org/citydata/part2/v1/CityResidentPattern/r3.0/> ;
                                                          owl:versionInfo "1.3.0" ;
                                                          skos:definition "This ontology specifies the city-level concepts for the city resident pattern of the city data model. As different cities have different definitions of who is that city's Resident, the City Resident Pattern must contain the properties required by each.  Central to all of the definitions is the concept of residing. Variously referred to as a home or domicile in which the resident spends significant amounts of time.  They may own it, rent it or just stay in it.  Legally, “reside means to dwell permanently or continuously. It expresses an idea that a person keeps or returns to a particular dwelling place as his fixed, settled, or legal abode. The meaning of reside implies a continuous arrangement” ; reside has both a temporal and spatial dimension. The city of Toronto's definition of a city resident includes the concept of owning property or owning or operating a business in the city. For Beijing, nationality is a unique aspect." .

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

###  https://w3id.org/citydata/part2/v1/CityResidentObjectProperty
:CityResidentObjectProperty rdf:type owl:ObjectProperty ;
                            rdfs:subPropertyOf :CityObjectProperty ;
                            skos:definition "Added for organizational purposes, to identify object properties defined for the City Resident Pattern in the City-level CDM ontology." .


###  https://w3id.org/citydata/part2/v1/entity
:entity rdf:type owl:ObjectProperty ;
        rdfs:subPropertyOf :CityResidentObjectProperty ;
        skos:definition "Identifies an entity that is the subject domain object." ;
        skos:example "In the context of a ControlledEntity, the entity property would identify the entity being controlled." .


###  https://w3id.org/citydata/part2/v1/forCity
:forCity rdf:type owl:ObjectProperty ;
         rdfs:subPropertyOf :CityResidentObjectProperty ;
         rdfs:domain :Residence ;
         rdfs:range :City ;
         skos:definition "Identifies the City of the residence." .


###  https://w3id.org/citydata/part2/v1/hasHomeType
:hasHomeType rdf:type owl:ObjectProperty ;
             rdfs:subPropertyOf :CityResidentObjectProperty ;
             rdfs:domain :Residence ;
             rdfs:range :HomeType ;
             skos:definition "Identifies the type of home." ;
             skos:example "house, apartment, or shelter" .


###  https://w3id.org/citydata/part2/v1/hasResidence
:hasResidence rdf:type owl:ObjectProperty ;
              rdfs:subPropertyOf :CityResidentObjectProperty ;
              rdfs:domain :CityResident ;
              rdfs:range :Residence ;
              skos:definition "Specifies a Residence of a CityResident." .


###  https://w3id.org/citydata/part2/v1/hasResidentialRelationship
:hasResidentialRelationship rdf:type owl:ObjectProperty ;
                            rdfs:subPropertyOf :CityResidentObjectProperty ;
                            rdfs:domain :Residence ;
                            rdfs:range :ResidentialRelationship ;
                            skos:definition "Specifies the type of residential relationship that exists." ;
                            skos:example "ownership, rental" .


###  https://w3id.org/citydata/part2/v1/operates
:operates rdf:type owl:ObjectProperty ;
          rdfs:subPropertyOf :CityResidentObjectProperty ;
          rdfs:domain :CityResident ;
          rdfs:range :EntityOperation ;
          skos:definition "Specifies an EntityOperation where the entity is an Organization that the resident operates." .


###  https://w3id.org/citydata/part2/v1/owns
:owns rdf:type owl:ObjectProperty ;
      rdfs:subPropertyOf :CityResidentObjectProperty ;
      rdfs:range :EntityOwnership ;
      skos:definition "Identifies an entity that is owned by another entity." .


###  https://w3id.org/citydata/part2/v1/residentOf
:residentOf rdf:type owl:ObjectProperty ;
            rdfs:subPropertyOf :CityResidentObjectProperty ;
            rdfs:domain :CityResident ;
            rdfs:range :JurisdictionalArea ;
            skos:definition "Identifies the JurisdictionalArea that a CityResident is a resident." .


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

###  https://w3id.org/citydata/part2/v1/CityResidentDataProperty
:CityResidentDataProperty rdf:type owl:DatatypeProperty ;
                          rdfs:subPropertyOf :CityDataProperty ;
                          skos:definition "Added for organizational purposes, to identify data properties defined in the City Resident Pattern." .


###  https://w3id.org/citydata/part2/v1/percentOwnership
:percentOwnership rdf:type owl:DatatypeProperty ;
                  rdfs:subPropertyOf :CityResidentDataProperty ;
                  rdfs:domain :EntityOwnership ;
                  rdfs:range xsd:decimal ;
                  skos:definition "Specifies the percentage of ownership that an entity has in another entity." .


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

###  https://w3id.org/citydata/part2/v1/CityResident
:CityResident rdf:type owl:Class ;
              rdfs:subClassOf :CityResidentThing ,
                              :Person ,
                              [ rdf:type owl:Restriction ;
                                owl:onProperty :hasResidence ;
                                owl:allValuesFrom :Residence
                              ] ,
                              [ rdf:type owl:Restriction ;
                                owl:onProperty :operates ;
                                owl:allValuesFrom :EntityOperation
                              ] ,
                              [ rdf:type owl:Restriction ;
                                owl:onProperty :owns ;
                                owl:allValuesFrom :EntityOwnership
                              ] ,
                              [ rdf:type owl:Restriction ;
                                owl:onProperty :residentOf ;
                                owl:allValuesFrom :JurisdictionalArea
                              ] ;
              skos:definition "A City Resident is a Person who satisfies the requirements of being a city resident for the particular City." ;
              skos:note "Different cities have different definitions of who is that city's Resident, the City Resident Pattern contains the core properties required by each. For example, the city of Toronto's definition of a city resident includes the concept of owning property or owning or operating a business in the city. For Beijing, nationality is a unique aspect. Central to all the definitions is the concept of residing. " .


###  https://w3id.org/citydata/part2/v1/CityResidentThing
:CityResidentThing rdf:type owl:Class ;
                   rdfs:subClassOf :CityThing ;
                   skos:definition "Added for organizational purposes, to identify classes defined in the City Resident ontology." .


###  https://w3id.org/citydata/part2/v1/ControlledEntity
:ControlledEntity rdf:type owl:Class ;
                  rdfs:subClassOf :CityResidentThing ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty :entity ;
                                    owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                    owl:onClass owl:Thing
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty time:hasTime ;
                                    owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                    owl:onClass time:ProperInterval
                                  ] ;
                  skos:definition "A controlled entity is an entity that is subject to control by another entity." .


###  https://w3id.org/citydata/part2/v1/EntityOperation
:EntityOperation rdf:type owl:Class ;
                 rdfs:subClassOf :ControlledEntity ,
                                 [ rdf:type owl:Restriction ;
                                   owl:onProperty :entity ;
                                   owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                   owl:onClass :Organization
                                 ] ;
                 skos:definition "Activity of operating an Organization by City Resident." .


###  https://w3id.org/citydata/part2/v1/EntityOwnership
:EntityOwnership rdf:type owl:Class ;
                 rdfs:subClassOf :ControlledEntity ,
                                 [ rdf:type owl:Restriction ;
                                   owl:onProperty :entity ;
                                   owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                   owl:onClass [ rdf:type owl:Class ;
                                     owl:unionOf ( :Building
                                       :LandArea
                                       :Organization
                                     )
                                   ]
                                 ] ,
                                 [ rdf:type owl:Restriction ;
                                   owl:onProperty :percentOwnership ;
                                   owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                   owl:onDataRange xsd:decimal
                                 ] ;
                 skos:definition "Activity of owning a Building, Land Area, or Organization by City Resident." .


###  https://w3id.org/citydata/part2/v1/HomeType
:HomeType rdf:type owl:Class ;
          rdfs:subClassOf :CityResidentThing ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty :hasCode ;
                            owl:allValuesFrom :Code
                          ] ;
          skos:definition "Home Type is a type of Code that describes the type of a Residence." .


###  https://w3id.org/citydata/part2/v1/Residence
:Residence rdf:type owl:Class ;
           rdfs:subClassOf :CityResidentThing ,
                           [ rdf:type owl:Restriction ;
                             owl:onProperty :hasResidentialRelationship ;
                             owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                             owl:onClass :ResidentialRelationship
                           ] ,
                           [ rdf:type owl:Restriction ;
                             owl:onProperty :forCity ;
                             owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                             owl:onClass :City
                           ] ,
                           [ rdf:type owl:Restriction ;
                             owl:onProperty :hasAddress ;
                             owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                             owl:onClass :Address
                           ] ,
                           [ rdf:type owl:Restriction ;
                             owl:onProperty :hasHomeType ;
                             owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                             owl:onClass :HomeType
                           ] ,
                           [ rdf:type owl:Restriction ;
                             owl:onProperty time:hasTime ;
                             owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                             owl:onClass time:ProperInterval
                           ] .


###  https://w3id.org/citydata/part2/v1/ResidentialRelationship
:ResidentialRelationship rdf:type owl:Class ;
                         rdfs:subClassOf :CityResidentThing ,
                                         [ rdf:type owl:Restriction ;
                                           owl:onProperty :hasCode ;
                                           owl:allValuesFrom :Code
                                         ] ;
                         skos:definition "A ResidentialRelationship defines the relationship of a Resident to a Residence." .


#################################################################
#    Individuals
#################################################################

###  https://w3id.org/citydata/part2/v1/apartment
:apartment rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/condominium
:condominium rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/freeload
:freeload rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/hotel
:hotel rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/house
:house rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/lease
:lease rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/openLand
:openLand rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/own
:own rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/rent
:rent rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/rent-to-own
:rent-to-own rdf:type owl:NamedIndividual .


###  https://w3id.org/citydata/part2/v1/shelter
:shelter rdf:type owl:NamedIndividual .
