PREFIX ceon-location: <http://w3id.org/CEON/ontoloy/location/>
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#>

<http://w3id.org/CEON/ontology/location/Location> a rdfs:Class ;
  rdfs:label "Location" ;
  rdfs:comment "From geography perspecive, a location represents a region which can be geometry point, line or area on Earth." ;
  rdfs:subClassOf <http://www.opengis.net/ont/geosparql#Geometry> .

<http://www.opengis.net/ont/geosparql#asGML> a rdf:Property ;
  rdfs:label "as GML"@en ;
  rdfs:comment "The GML serialization of a Geometry."@en ;
  rdfs:domain <http://www.opengis.net/ont/geosparql#Geometry> ;
  rdfs:range <http://www.opengis.net/ont/geosparql#gmlLiteral> .

<http://www.opengis.net/ont/geosparql#asWKT> a rdf:Property ;
  rdfs:label "as WKT"@en ;
  rdfs:comment "The WKT serialization of a Geometry."@en ;
  rdfs:domain <http://www.opengis.net/ont/geosparql#Geometry> ;
  rdfs:range <http://www.opengis.net/ont/geosparql#wktLiteral> .

<http://www.opengis.net/ont/geosparql#asGeoJSON> a rdf:Property ;
  rdfs:label "as GeoJSON"@en ;
  rdfs:comment "The GeoJSON serialization of a Geometry."@en ;
  rdfs:domain <http://www.opengis.net/ont/geosparql#Geometry> ;
  rdfs:range <http://www.opengis.net/ont/geosparql#geoJSONLiteral> .

<http://www.opengis.net/ont/geosparql#Geometry> a rdfs:Class ;
  rdfs:label "Geometry"@en ;
  rdfs:comment "A coherent set of direct positions in space. The positions are held within a Spatial Reference System (SRS)."@en .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object" ;
  rdfs:seeAlso <https://linkml.io/linkml/schemas/advanced.html#linkml-any-type> .

<http://w3id.org/CEON/ontology/location/hasCity> a rdf:Property ;
  rdfs:label "has city" ;
  rdfs:comment "Represents the name of a city." ;
  rdfs:range xsd:string .

<http://w3id.org/CEON/ontology/location/hasCountry> a rdf:Property ;
  rdfs:label "has country" ;
  rdfs:comment "Represents the name of a country." ;
  rdfs:range xsd:string .

<http://w3id.org/CEON/ontology/location/hasCountryCode> a rdf:Property ;
  rdfs:label "has country code" ;
  rdfs:comment "Represents the code of a country's name according to ISO 3166-1." ;
  rdfs:range xsd:string .

<http://w3id.org/CEON/ontology/location/hasGlobalLocationNumber> a rdf:Property ;
  rdfs:label "has global location number" ;
  rdfs:comment "The Global Location Number (GLN) is part of the GS1 systems of standards." ;
  rdfs:seeAlso <https://www.gs1.org/standards/id-keys/gln> ;
  rdfs:range xsd:string .

<http://w3id.org/CEON/ontology/location/hasLocation> a rdf:Property ;
  rdfs:label "has location" ;
  rdfs:comment "Represents the location of an actor or resource." ;
  rdfs:range <http://w3id.org/CEON/ontology/location/Location> .

<http://w3id.org/CEON/ontology/location/hasPostalCode> a rdf:Property ;
  rdfs:label "has postal code" ;
  rdfs:comment "Represent postal code" ;
  rdfs:range xsd:string .

<http://w3id.org/CEON/ontology/location/hasStreetAddress> a rdf:Property ;
  rdfs:label "has street address" ;
  rdfs:comment "Represents address of a street, including e.g., street number and name." ;
  rdfs:range xsd:string .

<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> .

<http://www.opengis.net/ont/geosparql#geoJSONLiteral> a rdfs:Datatype .

<http://www.opengis.net/ont/geosparql#gmlLiteral> a rdfs:Datatype .

<http://www.opengis.net/ont/geosparql#wktLiteral> a rdfs:Datatype .
