PREFIX locations: <https://www.omg.org/spec/Commons/Locations/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

locations:Location a rdfs:Class ;
  rdfs:label "location" ;
  rdfs:comment "place or position in time and/or space, including a virtual place" .

<https://www.omg.org/spec/Commons/Designators/Name> a rdfs:Class .

locations:FederalState a rdfs:Class ;
  rdfs:label "federal state" ;
  rdfs:comment "self-governing geopolitical unit which forms part of a wider geopolitical unit that is recognized as a country" ;
  rdfs:subClassOf locations:CountrySubdivision .

<https://www.omg.org/spec/Commons/Classifiers/isClassifiedBy> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://www.omg.org/spec/Commons/Designators/hasTextualName> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

locations:isIndependent a rdf:Property ;
  rdfs:label "is independent" ;
  rdfs:comment "indicates whether a geopolitical entity stands alone or is considered part of another geopolitical entity (e.g., a country)" ;
  rdfs:domain locations:GeopoliticalEntity ;
  rdfs:range xsd:boolean .

locations:isSubregionOf a rdf:Property ;
  rdfs:label "is subregion of" ;
  rdfs:comment "relates a geographic region to another geographic region that it is a part of" ;
  rdfs:domain locations:GeographicRegion ;
  rdfs:range locations:GeographicRegion ;
  rdfs:subPropertyOf <https://www.omg.org/spec/Commons/Collections/isPartOf> .

locations:hasSubregion a rdf:Property ;
  rdfs:label "has subregion" ;
  rdfs:comment "relates a geographic region to another geographic region that is a designated subregion of it" ;
  rdfs:domain locations:GeographicRegion ;
  rdfs:range locations:GeographicRegion ;
  rdfs:subPropertyOf <https://www.omg.org/spec/Commons/Collections/hasPart> , locations:hasRegion .

<https://www.omg.org/spec/Commons/Collections/Arrangement> a rdfs:Class .

locations:Region a rdfs:Class ;
  rdfs:label "region" ;
  rdfs:comment "area that is a continuous part of a surface, space, or body" .

locations:GeographicRegionKind a rdfs:Class ;
  rdfs:label "geographic region kind" ;
  rdfs:comment "classifier for a geographic region, including but not limited to a subdivision of a geopolitical entity, (noting that there may be more than one kind for a given country or other entity)" ;
  rdfs:subClassOf <https://www.omg.org/spec/Commons/Classifiers/Classifier> .

<https://www.omg.org/spec/Commons/Classifiers/classifies> a rdf:Property ;
  rdfs:range locations:GeographicRegion .

locations:GeographicRegion a rdfs:Class ;
  rdfs:label "geographic region" ;
  rdfs:comment "area of land that has common features" ;
  rdfs:subClassOf locations:Region .

locations:County a rdfs:Class ;
  rdfs:label "county" ;
  rdfs:comment "political and administrative division of a country, state or province, providing certain local governmental services" ;
  rdfs:subClassOf locations:CountrySubdivision .

<https://www.omg.org/spec/Commons/Identifiers/Identifier> a rdfs:Class .

locations:GeopoliticalEntity a rdfs:Class ;
  rdfs:label "geopolitical entity" ;
  rdfs:comment "geographic area that represents a geophysical location associated with some form of political structure" ;
  rdfs:subClassOf locations:GeographicRegion .

locations:BusinessCenter a rdfs:Class ;
  rdfs:label "business center" ;
  rdfs:comment "municipality where business is conducted, especially one that is considered a financial center" ;
  rdfs:subClassOf locations:Municipality .

locations:Territory a rdfs:Class ;
  rdfs:label "territory" ;
  rdfs:comment "geographic area, typically considered an area of special geopolitical interest, subject to the sovereignty, control, or jurisdiction of a state or other entity" ;
  rdfs:subClassOf locations:GeographicRegion .

locations:FederalCapitalArea a rdfs:Class ;
  rdfs:label "federal capital area" ;
  rdfs:comment "country subdivision that is or includes the municipality or capital city that acts as the seat of the federal government" ;
  rdfs:subClassOf locations:CountrySubdivision .

locations:Country a rdfs:Class ;
  rdfs:label "country" ;
  rdfs:comment "geopolitical entity representing a distinct territorial body or political entity or dependent territory" ;
  rdfs:seeAlso <https://www.un.org/development/desa/dpad/wp-content/uploads/sites/45/2017wesp_annex_en.pdf> , <https://datahelpdesk.worldbank.org/knowledgebase/articles/906519> ;
  rdfs:subClassOf locations:GeopoliticalEntity .

<https://www.omg.org/spec/Commons/Identifiers/IdentificationScheme> a rdfs:Class .

locations:GeographicRegionIdentificationScheme a rdfs:Class ;
  rdfs:label "geographic region identification scheme" ;
  rdfs:comment "identification scheme dedicated to the unique identification of geographic regions" ;
  rdfs:subClassOf <https://www.omg.org/spec/Commons/Identifiers/IdentificationScheme> .

locations:GeographicRegionIdentifier a rdfs:Class ;
  rdfs:label "geographic region identifier" ;
  rdfs:comment "string of letters that indicates a code or other identifier for geographical region, assigned for the purpose of uniquely identifying it within some context" ;
  rdfs:subClassOf <https://www.omg.org/spec/Commons/CodesAndCodeSets/CodeElement> , <https://www.omg.org/spec/Commons/Identifiers/Identifier> .

<https://www.omg.org/spec/Commons/TextDatatype/hasTextValue> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://www.omg.org/spec/Commons/Identifiers/identifies> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://www.omg.org/spec/Commons/Classifiers/Classifier> a rdfs:Class .

locations:Municipality a rdfs:Class ;
  rdfs:label "municipality" ;
  rdfs:comment "urban administrative division having corporate status and usually powers of self-government or jurisdiction" ;
  rdfs:subClassOf locations:CountrySubdivision .

locations:VirtualLocation a rdfs:Class ;
  rdfs:label "virtual location" ;
  rdfs:comment "place that does not exist in any single physical location" ;
  rdfs:subClassOf locations:Location .

locations:GeodeticCoordinateSystem a rdfs:Class ;
  rdfs:label "geodetic coordinate system" ;
  rdfs:comment "three-dimensional reference system that is a global frame of reference for precisely representing the position of locations on Earth or other planetary bodies by means of geodetic coordinates" ;
  rdfs:subClassOf <https://www.omg.org/spec/Commons/Collections/Arrangement> .

locations:CountrySubdivision a rdfs:Class ;
  rdfs:label "country subdivision" ;
  rdfs:comment "geopolitical entity that is a legal division of a country, dependency, or other area of special geopolitical interest related to a country or other geopolitical entity" ;
  rdfs:seeAlso <https://www.census.gov/programs-surveys/popest/guidance-geographies/terms-and-definitions.html> ;
  rdfs:subClassOf locations:GeopoliticalEntity .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object" .

<https://www.omg.org/spec/Commons/CodesAndCodeSets/CodeElement> a rdfs:Class .

locations:PhysicalLocation a rdfs:Class ;
  rdfs:label "physical location" ;
  rdfs:comment "location in physical space" ;
  rdfs:subClassOf locations:Location .

<http://www.w3.org/2003/01/geo/wgs84_pos#alt> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/2003/01/geo/wgs84_pos#lat> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/2003/01/geo/wgs84_pos#long> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://www.omg.org/spec/Commons/Collections/hasDirectPart> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://www.omg.org/spec/Commons/Collections/hasPart> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://www.omg.org/spec/Commons/Collections/isMemberOf> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://www.omg.org/spec/Commons/Collections/isPartOf> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://www.omg.org/spec/Commons/Designators/hasName> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

locations:hasAltitude a rdf:Property ;
  rdfs:label "has altitude" ;
  rdfs:comment "the height or vertical elevation of a point above a reference surface" ;
  rdfs:seeAlso <http://www.w3.org/2003/01/geo/wgs84_pos#alt> ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf <https://www.omg.org/spec/Commons/QuantitiesAndUnits/hasNumericValue> .

locations:hasBusinessCenter a rdf:Property ;
  rdfs:label "has business center" ;
  rdfs:comment "identifies a location where business is conducted, and hence the business calendar used to adjust dates" ;
  rdfs:range locations:BusinessCenter ;
  rdfs:subPropertyOf locations:hasMunicipality .

locations:hasCityName a rdf:Property ;
  rdfs:label "has city name" ;
  rdfs:comment "indicates the name of a typically large, permanent, and densely settled place" ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf <https://www.omg.org/spec/Commons/Designators/hasTextualName> .

locations:hasCountry a rdf:Property ;
  rdfs:label "has country" ;
  rdfs:comment "indicates a country, such as one that is recognized by the United Nations" ;
  rdfs:range locations:Country ;
  rdfs:subPropertyOf locations:hasRegion .

locations:hasCounty a rdf:Property ;
  rdfs:label "has county" ;
  rdfs:comment "indicates a country subdivision providing certain local governmental services" ;
  rdfs:range locations:County ;
  rdfs:subPropertyOf locations:hasSubdivision .

locations:hasCoverageArea a rdf:Property ;
  rdfs:label "has coverage area" ;
  rdfs:comment "indicates a geographic region in which some service is provided, or to which some policy applies, or in which something is available" ;
  rdfs:range locations:GeographicRegion ;
  rdfs:subPropertyOf locations:hasRegion .

locations:hasLatitude a rdf:Property ;
  rdfs:label "has latitude" ;
  rdfs:comment "the angle formed by the intersection of a line perpendicular to the Earth's (or other celestial body's) surface at a point and the plane of the Equator" ;
  rdfs:seeAlso <http://www.w3.org/2003/01/geo/wgs84_pos#lat> ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf <https://www.omg.org/spec/Commons/QuantitiesAndUnits/hasNumericValue> .

locations:hasLocation a rdf:Property ;
  rdfs:label "has location" ;
  rdfs:comment "relates something to a location, which might be physical or virtual" ;
  rdfs:range locations:Location .

locations:hasLongitude a rdf:Property ;
  rdfs:label "has longitude" ;
  rdfs:comment "the angle between a plane that passes through the point and the North and South poles, and a reference plane" ;
  rdfs:seeAlso <http://www.w3.org/2003/01/geo/wgs84_pos#long> ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf <https://www.omg.org/spec/Commons/QuantitiesAndUnits/hasNumericValue> .

locations:hasMaximumLatitude a rdf:Property ;
  rdfs:label "has maximum latitude" ;
  rdfs:comment "indicates the highest value / maximum for latitude with respect to a range" ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf locations:hasLatitude .

locations:hasMaximumLongitude a rdf:Property ;
  rdfs:label "has maximum longitude" ;
  rdfs:comment "indicates the highest value / maximum for longitude with respect to a range" ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf locations:hasLongitude .

locations:hasMinimumLatitude a rdf:Property ;
  rdfs:label "has minimum latitude" ;
  rdfs:comment "indicates the lowest value / latitude with respect to a range" ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf locations:hasLatitude .

locations:hasMinimumLongitude a rdf:Property ;
  rdfs:label "has minimum longitude" ;
  rdfs:comment "indicates the lowest value / longitude with respect to a range" ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf locations:hasLongitude .

locations:hasMunicipality a rdf:Property ;
  rdfs:label "has municipality" ;
  rdfs:comment "indicates a business center, city, or municipality" ;
  rdfs:range locations:Municipality ;
  rdfs:subPropertyOf locations:hasRegion .

locations:hasPrimarySubdivision a rdf:Property ;
  rdfs:label "has primary subdivision" ;
  rdfs:comment "identifies the most immediate and main subdivision of a country, such as a state or province" ;
  rdfs:range locations:CountrySubdivision ;
  rdfs:subPropertyOf <https://www.omg.org/spec/Commons/Collections/hasDirectPart> , locations:hasSubdivision .

locations:hasRegion a rdf:Property ;
  rdfs:label "has region" ;
  rdfs:comment "indicates a demarcated area on the surface of the Earth" ;
  rdfs:range locations:GeographicRegion .

locations:hasSubdivision a rdf:Property ;
  rdfs:label "has subdivision" ;
  rdfs:comment "identifies a country subdivision (state, province, region, etc.)" ;
  rdfs:range locations:CountrySubdivision ;
  rdfs:subPropertyOf locations:hasRegion .

<https://www.omg.org/spec/Commons/QuantitiesAndUnits/hasNumericValue> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .
