@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://www.theworldavatar.com/kg/ontogreenspace/> a owl:Ontology;
  <http://purl.org/dc/elements/1.1/date> "11 November 2024";
  rdfs:comment "OntoGreenspace is an ontology developed for representing greenspaces.";
  owl:versionInfo "1";
  <https://www.theworldavatar.com/kg/ontogreenspace/gitCommitHash> "c0599beca8df55873a1ab061dee64e52c510c6a0" .

<http://purl.org/dc/elements/1.1/date> a owl:AnnotationProperty .

<https://www.theworldavatar.com/kg/ontogreenspace/gitCommitHash> a owl:AnnotationProperty .

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

<http://ies.data.gov.uk/ontology/ies4#inPeriod> a owl:ObjectProperty;
  rdfs:domain _:6dbb00;
  rdfs:range <http://ies.data.gov.uk/ontology/ies4#ParticularPeriod>;
  rdfs:comment "An object property relating the start or end of a greenspace or accesspoint entity to a specific period.";
  rdfs:isDefinedBy <http://ies.data.gov.uk/ontology/ies4>;
  rdfs:label "in Period" .

_:6dbb00 a owl:Class;
  owl:unionOf _:6dbb10 .

_:6dbb10 rdf:first <https://www.theworldavatar.com/kg/ontogreenspace/GreenspaceEnd>;
  rdf:rest _:6dbb20 .

_:6dbb20 rdf:first <https://www.theworldavatar.com/kg/ontogreenspace/GreenspaceStart>;
  rdf:rest rdf:nil .

<http://ies.data.gov.uk/ontology/ies4#isEndOf> a owl:ObjectProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/GreenspaceEnd>;
  rdfs:range <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:isDefinedBy <http://ies.data.gov.uk/ontology/ies4>;
  rdfs:label "is End Of" .

<http://ies.data.gov.uk/ontology/ies4#isStartOf> a owl:ObjectProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/GreenspaceStart>;
  rdfs:range <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:isDefinedBy <http://ies.data.gov.uk/ontology/ies4>;
  rdfs:label "is Start Of" .

<https://www.theworldavatar.com/kg/ontogreenspace/hasReferenceToGreenspaceSite> a
    owl:ObjectProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/AccessPoint>;
  rdfs:range <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:comment "The relationship linking the access point to its associated greenspace site";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "has Reference To Greenspace Site" .

<http://ies.data.gov.uk/ontology/ies4#iso8601PeriodRepresentation> a owl:DatatypeProperty;
  rdfs:domain <http://ies.data.gov.uk/ontology/ies4#ParticularPeriod>;
  rdfs:range xsd:anyURI;
  rdfs:isDefinedBy <http://ies.data.gov.uk/ontology/ies4>;
  rdfs:label "iso 8601 Period Representation" .

<http://www.opengis.net/ont/geosparql#asWKT> a owl:DatatypeProperty;
  rdfs:domain _:6dbb30;
  rdfs:range <http://www.opengis.net/ont/geosparql#wktLiteral>;
  rdfs:comment "The spatial geometry of a greenspace, represented in Well-Known Text (WKT) format, detailing its shape and boundaries";
  rdfs:isDefinedBy <http://www.opengis.net/ont/geosparql>;
  rdfs:label "as WKT" .

_:6dbb30 a owl:Class;
  owl:unionOf _:6dbb40 .

_:6dbb40 rdf:first <https://www.theworldavatar.com/kg/ontogreenspace/AccessPoint>;
  rdf:rest _:6dbb50 .

_:6dbb50 rdf:first <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdf:rest rdf:nil .

<https://www.theworldavatar.com/kg/ontogreenspace/hasAccessType> a owl:DatatypeProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/AccessPoint>;
  rdfs:range xsd:string;
  rdfs:comment "The type or level of access allowed at an access point, such as pedestrian, and motor vehicle and pedestrian";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "has Access Type" .

<https://www.theworldavatar.com/kg/ontogreenspace/hasFirstAlternativeName> a owl:DatatypeProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:range xsd:string;
  rdfs:comment "The first alternative name for a greespace";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "has First Alternative Name" .

<https://www.theworldavatar.com/kg/ontogreenspace/hasFunction> a owl:DatatypeProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:range xsd:string;
  rdfs:comment "A description of the intended purpose of a greenspace";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "has Function" .

<https://www.theworldavatar.com/kg/ontogreenspace/hasGID> a owl:DatatypeProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:range xsd:integer;
  rdfs:comment "An identifier indicating the sequential appearance of a greenspace or access point within a single dataset";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "has GID" .

<https://www.theworldavatar.com/kg/ontogreenspace/hasID> a owl:DatatypeProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:range xsd:string;
  rdfs:comment "A unique identifier that distinctly identifies a greenspace or access point across all datasets";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "has ID" .

<https://www.theworldavatar.com/kg/ontogreenspace/hasName> a owl:DatatypeProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:range xsd:string;
  rdfs:comment "The name of a greenspace";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "has Name" .

<https://www.theworldavatar.com/kg/ontogreenspace/hasSecondAlternativeName> a owl:DatatypeProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:range xsd:string;
  rdfs:comment "The second alternative name for a greespace";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "has Second Alternative Name" .

<https://www.theworldavatar.com/kg/ontogreenspace/hasThirdAlternativeName> a owl:DatatypeProperty;
  rdfs:domain <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace>;
  rdfs:range xsd:string;
  rdfs:comment "The third alternative name for a greespace";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "has Third Alternative Name" .

<http://ies.data.gov.uk/ontology/ies4#BoundingState> a owl:Class;
  rdfs:isDefinedBy <http://ies.data.gov.uk/ontology/ies4>;
  rdfs:label "Bounding State" .

<http://ies.data.gov.uk/ontology/ies4#ParticularPeriod> a owl:Class;
  rdfs:isDefinedBy <http://ies.data.gov.uk/ontology/ies4>;
  rdfs:label "Particular Period" .

<https://www.theworldavatar.com/kg/ontogreenspace/AccessPoint> a owl:Class;
  rdfs:comment "A designated entry location that provides public or restricted access into a greenspace area";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "Access Point" .

<https://www.theworldavatar.com/kg/ontogreenspace/Greenspace> a owl:Class;
  rdfs:comment "A spatial area object that is partly or completely covered with grass, trees, shrubs, or other vegetation";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "Greenspace" .

<https://www.theworldavatar.com/kg/ontogreenspace/GreenspaceEnd> a owl:Class;
  rdfs:subClassOf <http://ies.data.gov.uk/ontology/ies4#BoundingState>, _:6dbb60;
  rdfs:comment "The date of decommissioning or closure of a greenspace entity.";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "Greenspace End" .

_:6dbb60 a owl:Restriction;
  owl:onProperty <http://ies.data.gov.uk/ontology/ies4#isEndOf>;
  owl:allValuesFrom <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace> .

<https://www.theworldavatar.com/kg/ontogreenspace/GreenspaceStart> a owl:Class;
  rdfs:subClassOf <http://ies.data.gov.uk/ontology/ies4#BoundingState>, _:6dbb70;
  rdfs:comment "Tthe official date when a greenspace entity began operations or was inaugurated.";
  rdfs:isDefinedBy <https://www.theworldavatar.com/kg/ontogreenspace>;
  rdfs:label "Greenspace Start" .

_:6dbb70 a owl:Restriction;
  owl:onProperty <http://ies.data.gov.uk/ontology/ies4#isStartOf>;
  owl:allValuesFrom <https://www.theworldavatar.com/kg/ontogreenspace/Greenspace> .
