PREFIX a4bdg: <https://w3id.org/aerOS/building#>
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#>

a4bdg:Rating a rdfs:Class ;
  rdfs:label "Rating" ;
  rdfs:comment "Represents the action of someone that rates a thing." .

a4bdg:ratingAuthor a rdf:Property ;
  rdfs:label "rating author" ;
  rdfs:comment "Relates a person with a rating." ;
  rdfs:domain a4bdg:Rating ;
  rdfs:range <http://xmlns.com/foaf/0.1/Person> .

a4bdg:ratingTarget a rdf:Property ;
  rdfs:label "rating target" ;
  rdfs:comment "Relates a rating with the rated thing." ;
  rdfs:domain a4bdg:Rating ;
  rdfs:range <https://w3id.org/linkml/Any> .

a4bdg:ratingValue a rdf:Property ;
  rdfs:label "rating value" ;
  rdfs:comment "Represents the value of the rating." ;
  rdfs:domain a4bdg:Rating ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://saref.etsi.org/core/Device> a rdfs:Class ;
  rdfs:label "Device" ;
  rdfs:subClassOf <https://saref.etsi.org/core/FeatureOfInterest> .

<https://saref.etsi.org/core/hasState> a rdf:Property ;
  rdfs:label "has state" ;
  rdfs:domain <https://saref.etsi.org/core/FeatureOfInterest> ;
  rdfs:range <https://saref.etsi.org/core/State> .

a4bdg:RecommendationSystem a rdfs:Class ;
  rdfs:label "Recommendation System" ;
  rdfs:comment "Service responsible for providing recommendations to employees." .

<https://saref.etsi.org/core/Observation> a rdfs:Class ;
  rdfs:label "Observation" ;
  rdfs:subClassOf <https://saref.etsi.org/core/ProcedureExecution> .

<https://saref.etsi.org/core/hasResult> a rdf:Property ;
  rdfs:label "has result" ;
  rdfs:domain <https://saref.etsi.org/core/Observation> ;
  rdfs:range <https://saref.etsi.org/core/PropertyValue> .

<https://saref.etsi.org/core/madeBy> a rdf:Property ;
  rdfs:label "made by" ;
  rdfs:domain <https://saref.etsi.org/core/Observation> ;
  rdfs:range <https://saref.etsi.org/core/FeatureOfInterest> .

<https://saref.etsi.org/core/observes> a rdf:Property ;
  rdfs:label "observes" ;
  rdfs:domain <https://saref.etsi.org/core/Observation> ;
  rdfs:range <https://saref.etsi.org/core/Property> .

<https://w3id.org/bot#Space> a rdfs:Class ;
  rdfs:label "Space" ;
  rdfs:comment "A part of the physical world or a virtual world whose 3D spatial extent is bounded actually or theoretically, and provides for certain functions within the zone it is contained in." .

<https://w3id.org/bot#containsElement> a rdf:Property ;
  rdfs:label "contains element" ;
  rdfs:comment "Relation to a building element contained in a zone." ;
  rdfs:domain <https://w3id.org/bot#Space> ;
  rdfs:range <https://w3id.org/bot#Element> .

<https://saref.etsi.org/core/ProcedureExecution> a rdfs:Class ;
  rdfs:label "Procedure Execution" .

a4bdg:Forecast a rdfs:Class ;
  rdfs:label "Forecast" ;
  rdfs:comment "Represents a prediction for a property." ;
  rdfs:subClassOf <https://saref.etsi.org/core/ProcedureExecution> .

a4bdg:forecasts a rdf:Property ;
  rdfs:label "forecasts" ;
  rdfs:comment "Relates a forecast with the predicted property." ;
  rdfs:domain a4bdg:Forecast ;
  rdfs:range <https://saref.etsi.org/core/Property> .

<http://purl.org/ontology/olo/core#Slot> a rdfs:Class ;
  rdfs:label "Slot" ;
  rdfs:comment "A slot in an ordered list with a fixed index." .

<http://purl.org/ontology/olo/core#index> a rdf:Property ;
  rdfs:label "index" ;
  rdfs:comment "An index of a slot in an ordered list." ;
  rdfs:domain <http://purl.org/ontology/olo/core#Slot> ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://purl.org/ontology/olo/core#item> a rdf:Property ;
  rdfs:label "item" ;
  rdfs:comment "An item of a slot in an ordered list." ;
  rdfs:domain <http://purl.org/ontology/olo/core#Slot> ;
  rdfs:range a4bdg:Desk .

<https://w3id.org/seas/Room> a rdfs:Class ;
  rdfs:label "Room" ;
  rdfs:subClassOf <https://w3id.org/seas/BuildingSpace> , <https://saref.etsi.org/core/FeatureOfInterest> .

<https://saref.etsi.org/core/UnitOfMeasure> a rdfs:Class ;
  rdfs:label "Unit Of Measure" .

<https://w3id.org/bot#Building> a rdfs:Class ;
  rdfs:label "Building" ;
  rdfs:comment "An independent unit of the built environment with a characteristic spatial structure, intended to serve at least one function or user activity [ISO-12006]. A bot:Building is a part of the physical world or a virtual world that is inherently both located in this world and having a 3D spatial extent, is contained in a building site, and can contain one or more storeys that are vertically connected." .

<https://w3id.org/bot#hasSpace> a rdf:Property ;
  rdfs:label "has space" ;
  rdfs:comment "Relation to spaces contained in a zone. The typical domains of bot:hasSpace are instances of bot:Storey or bot:Building." ;
  rdfs:domain <https://w3id.org/bot#Building> ;
  rdfs:range <https://w3id.org/bot#Space> .

a4bdg:RoomProperty a rdfs:Class ;
  rdfs:label "Room Property" ;
  rdfs:comment "Represents an observable property of a given room." ;
  rdfs:subClassOf <https://saref.etsi.org/core/Property> .

a4bdg:RankedPreference a rdfs:Class ;
  rdfs:label "Ranked Preference" ;
  rdfs:comment "Describes an ordered list of preferences." ;
  rdfs:subClassOf <http://purl.org/ontology/olo/core#OrderedList> .

a4bdg:preferenceObject a rdf:Property ;
  rdfs:label "preference object" ;
  rdfs:comment "Relates a ranked preference with the preferred thing." ;
  rdfs:domain a4bdg:RankedPreference ;
  rdfs:range <http://purl.org/ontology/olo/core#Slot> ;
  rdfs:subPropertyOf <http://purl.org/ontology/olo/core#slot> .

<http://purl.org/ontology/olo/core#slot> a rdf:Property ;
  rdfs:label "slot" ;
  rdfs:comment "A slot in an ordered list." ;
  rdfs:domain <http://purl.org/ontology/olo/core#OrderedList> ;
  rdfs:range <http://purl.org/ontology/olo/core#Slot> .

<https://w3id.org/bot#Element> a rdfs:Class ;
  rdfs:label "Element" ;
  rdfs:comment "Constituent of a construction entity with a characteristic technical function, form or position [[ISO-12006], 3.4.7]." .

a4bdg:Desk a rdfs:Class ;
  rdfs:label "Desk" ;
  rdfs:comment "Working place composed of table, chair, and display." ;
  rdfs:subClassOf <https://w3id.org/bot#Element> .

a4bdg:isAvailable a rdf:Property ;
  rdfs:label "is available" ;
  rdfs:comment "Denotes whether a desk is available or not." ;
  rdfs:domain a4bdg:Desk ;
  rdfs:range xsd:boolean .

<https://w3id.org/bot#Zone> a rdfs:Class .

<http://purl.org/ontology/rec/core#RankedRecommendation> a rdfs:Class ;
  rdfs:label "Ranked Recommendation" ;
  rdfs:comment "A ranked recommendation that includes an ordered list of recommendations." .

<http://purl.org/ontology/rec/core#ranked_recommendation_object> a rdf:Property ;
  rdfs:label "ranked recommendation object" ;
  rdfs:comment "A ranked recommendation object in a ranked recommendation." ;
  rdfs:domain <http://purl.org/ontology/rec/core#RankedRecommendation> ;
  rdfs:range <http://purl.org/ontology/olo/core#Slot> .

<http://purl.org/ontology/rec/core#recommender> a rdf:Property ;
  rdfs:label "recommender" ;
  rdfs:comment "An agent, which provided/calculated this recommendation." ;
  rdfs:domain <http://purl.org/ontology/rec/core#RankedRecommendation> ;
  rdfs:range a4bdg:RecommendationSystem .

<https://w3id.org/bot#Storey> a rdfs:Class .

<https://saref.etsi.org/core/PropertyValue> a rdfs:Class ;
  rdfs:label "Property Value" .

<https://saref.etsi.org/core/isMeasuredIn> a rdf:Property ;
  rdfs:label "is measured in" ;
  rdfs:domain <https://saref.etsi.org/core/PropertyValue> ;
  rdfs:range <https://saref.etsi.org/core/UnitOfMeasure> .

a4bdg:OptimalCalculation a rdfs:Class ;
  rdfs:label "OptimalCalculation" ;
  rdfs:comment "Represents the optimal calculation for a given property." ;
  rdfs:subClassOf <https://saref.etsi.org/core/ProcedureExecution> .

a4bdg:calculates a rdf:Property ;
  rdfs:label "calculates" ;
  rdfs:comment "Relates an optimal calculation of property." ;
  rdfs:domain a4bdg:OptimalCalculation ;
  rdfs:range <https://saref.etsi.org/core/Property> .

<http://xmlns.com/foaf/0.1/Person> a rdfs:Class ;
  rdfs:label "Person" .

a4bdg:hasRankedPreference a rdf:Property ;
  rdfs:label "has ranked preference" ;
  rdfs:comment "Relates a person with a ranked preference." ;
  rdfs:domain <http://xmlns.com/foaf/0.1/Person> ;
  rdfs:range a4bdg:RankedPreference .

a4bdg:presentInBuilding a rdf:Property ;
  rdfs:label "present in building" ;
  rdfs:comment "Denotes the presence of a person inside a building." ;
  rdfs:domain <http://xmlns.com/foaf/0.1/Person> ;
  rdfs:range xsd:boolean .

<http://purl.org/ontology/olo/core#OrderedList> a rdfs:Class ;
  rdfs:label "Ordered List" ;
  rdfs:comment "An ordered list with a given length an indexed items." .

<https://saref.etsi.org/core/Sensor> a rdfs:Class ;
  rdfs:label "Sensor" ;
  rdfs:subClassOf <https://saref.etsi.org/core/Device> .

a4bdg:roomPlacement a rdf:Property ;
  rdfs:label "room placement" ;
  rdfs:comment "Represents the location where the sensor is placed, i.e., indoors or outdoors." ;
  rdfs:domain <https://saref.etsi.org/core/Sensor> ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://saref.etsi.org/core/State> a rdfs:Class ;
  rdfs:label "State" .

<https://w3id.org/seas/BuildingSpace> a rdfs:Class ;
  rdfs:label "Building Space" ;
  rdfs:subClassOf <https://w3id.org/bot#Space> .

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

<https://saref.etsi.org/core/Property> a rdfs:Class ;
  rdfs:label "Property" .

<https://saref.etsi.org/core/FeatureOfInterest> a rdfs:Class ;
  rdfs:label "Feature of interest" .

<http://purl.org/dc/terms/identifier> a rdf:Property ;
  rdfs:label "identifier" ;
  rdfs:comment "An unambiguous reference to the resource within a given context." ;
  rdfs:range xsd:string .

<http://purl.org/ontology/rec/core#recommendation> a rdf:Property ;
  rdfs:label "recommendation" ;
  rdfs:comment "Relates a recommendation to someone or something." ;
  rdfs:range <http://purl.org/ontology/rec/core#RankedRecommendation> .

a4bdg:isContainedInRoom a rdf:Property ;
  rdfs:label "is contained in room" ;
  rdfs:comment "Refers to a thing that is contained within a room." ;
  rdfs:range <https://w3id.org/seas/Room> .

a4bdg:isContainedInZone a rdf:Property ;
  rdfs:label "is contained in zone" ;
  rdfs:comment "Refers to a thing that is contained within a zone." ;
  rdfs:range <https://w3id.org/bot#Zone> .

a4bdg:isLocatedInStorey a rdf:Property ;
  rdfs:label "is located in storey" ;
  rdfs:comment "Refers to a thing that is located in a storey." ;
  rdfs:range <https://w3id.org/bot#Storey> .

a4bdg:OnOffState a rdfs:Class ;
  rdfs:label "On Off State" ;
  rdfs:comment "Denotes a device whose state can be on or off, such as a smart switch." ;
  rdfs:subClassOf <https://saref.etsi.org/core/State> .

a4bdg:offState a a4bdg:OnOffState ;
  rdfs:label "Off State" ;
  rdfs:comment "Denotes a device whose state is off." .

a4bdg:onState a a4bdg:OnOffState ;
  rdfs:label "On State" ;
  rdfs:comment "Denotes a device whose state is on." .

a4bdg:OpenClosedState a rdfs:Class ;
  rdfs:label "Open Closed State" ;
  rdfs:comment "Denotes a device whose state can be open or closed, such as a window or a door." ;
  rdfs:subClassOf <https://saref.etsi.org/core/State> .

a4bdg:openState a a4bdg:OpenClosedState ;
  rdfs:label "Open State" ;
  rdfs:comment "Denotes a device whose state is open." .

a4bdg:closedState a a4bdg:OpenClosedState ;
  rdfs:label "Closed State" ;
  rdfs:comment "Denotes a device whose state is closed." .

a4bdg:RoomDust a rdfs:Class ;
  rdfs:label "Room Dust" ;
  rdfs:comment "Groups properties related to the presence of dust in the air of a given room." ;
  rdfs:subClassOf a4bdg:RoomProperty .

a4bdg:RoomPM2.5 a a4bdg:RoomDust ;
  rdfs:label "Room PM2.5" ;
  rdfs:comment "Property that represents the air quality index (AQI) of a given room." .

a4bdg:RoomPM10 a a4bdg:RoomDust ;
  rdfs:label "Room PM10" ;
  rdfs:comment "Property that represents the air quality index (AQI) of a given room." .

a4bdg:RoomPM1 a a4bdg:RoomDust ;
  rdfs:label "Room PM1" ;
  rdfs:comment "Property that represents the air quality index (AQI) of a given room." .

a4bdg:RoomGas a rdfs:Class ;
  rdfs:label "Room Gas" ;
  rdfs:comment "Groups properties related to the presence of gas in the air of a given room." ;
  rdfs:subClassOf a4bdg:RoomProperty .

a4bdg:RoomCO a a4bdg:RoomGas ;
  rdfs:label "Room CO" ;
  rdfs:comment "Property that represents the amount of carbon monoxide (CO) present in the air a given room." .

a4bdg:RoomAcetone a a4bdg:RoomGas ;
  rdfs:label "Room Acetone" ;
  rdfs:comment "Property that represents the amount of acetone present in the air a given room." .

a4bdg:RoomToluene a a4bdg:RoomGas ;
  rdfs:label "Room Toluene" ;
  rdfs:comment "Property that represents the amount of toluene present in the air a given room." .

a4bdg:RoomAlcohol a a4bdg:RoomGas ;
  rdfs:label "Room Alcohol" ;
  rdfs:comment "Property that represents the amount of alcohol present in the air a given room." .

a4bdg:RoomCO2 a a4bdg:RoomGas ;
  rdfs:label "Room CO2" ;
  rdfs:comment "Property that represents the amount of carbon dioxide (CO2) present in the air a given room." .

a4bdg:RoomNH4 a a4bdg:RoomGas ;
  rdfs:label "Room NH4" ;
  rdfs:comment "Property that represents the amount of ammonium (NH4) present in the air a given room." .
