# Copyright 2016 ITEA 12004 SEAS Project.
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#      http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing,
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix voaf: <http://purl.org/vocommons/voaf#> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix cc: <http://creativecommons.org/ns#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.

@prefix seas: <https://w3id.org/seas/>.
@base <https://w3id.org/seas/>.


#Core roles and activities (for devices and systems), this is related to actor module and could specialize it but now here defined as new vocabulary
seas:BuildingCategoriesVocabulary a owl:Ontology , voaf:Vocabulary ;
  dc:title "SEAS-BuildingCategories Vocabulary"@en ;
  dc:description "The Seas Building Categories for the ITEA SEAS (Smart Energy Aware Systems) project. This module presents subcategories for classifying building related concepts."@en ;
  dc:issued "2016-01-26"^^xsd:date ;
  dc:modified "2016-05-26"^^xsd:date ;
  dc:contributor <http://www.maxime-lefrancois.info/me#> ;
  dc:contributor <https://w3id.org/people/gabrieljlsantos#> ;
  dc:contributor <https://w3id.org/people/franciscosilva#> ;
  dc:creator <https://w3id.org/people/brigidateixeira#> ;
  cc:license <https://creativecommons.org/licenses/by/4.0> ;
  vann:preferredNamespacePrefix "seas" ;
  vann:preferredNamespaceUri <https://w3id.org/seas/> ;  
  owl:versionIRI <https://w3id.org/seas/BuildingCategoriesVocabulary-0.10> ;
  owl:versionInfo "v0.10" .
 
#Building categories based on its energy efficiency related to its insulation etc.
#The actual values for classes depend on the country specific regulations and geographical location

seas:NormHouse a owl:Class ; 
  rdfs:label "NormHouse"@en ;
  rdfs:label "Normitalo"@fi ;  
  rdfs:comment "A building fulfilling the minimal criteria for energy efficiency."@en ;
  rdfs:subClassOf seas:Building;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.   

seas:LowEnergyHouse a owl:Class ;
  rdfs:label "LowEnergyHouse"@en ;
  rdfs:label "Matalaenergiatalo"@fi ;  
  rdfs:comment "A house typically consuming half the energy than a norm house."@en ;
  rdfs:subClassOf seas:Building;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.     

seas:PassiveHouse a owl:Class ;
  rdfs:label "PassiveHouse"@en ;
  rdfs:label "Passiivitalo"@fi ;  
  rdfs:comment "A house typically consuming a quater of the energy than a norm house."@en ;
  rdfs:subClassOf seas:Building;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.      

#Building categorization based on its net energy efficiency  
seas:ZeroEnergyBuilding a owl:Class ;
  rdfs:label "ZeroEnergyBuilding"@en ;
  rdfs:label "Nollaenergiatalo"@fi ;  
  rdfs:comment "A net zero-energy building (ZEB) is a building that over a year does not use more energy than it generates. "@en ;
  rdfs:subClassOf seas:Building;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.    
  
seas:PlusEnergyBuilding a owl:Class ;
  rdfs:label "PlusEnergyBuilding"@en ;
  rdfs:label "Plusenergiatalo"@fi ;  
  rdfs:comment "A net plus-energy building is a building that over a year does generates more energy than it uses. "@en ;
  rdfs:subClassOf seas:Building;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.    
     
#Building categorization based on occupancy and activities 
#There is no single accepted categorization avilable, some types selected from:
#International building occupancy based categories (USA)
#The Classification of Types of Constructions (EU)
#Finnish building categorization VTJ2000 (Finland)

seas:ResidentalBuilding a owl:Class ;
  rdfs:label "ResidentalBuilding"@en ;
  rdfs:label "Asuinrakennus"@fi ;  
  rdfs:comment "A residential building is a building at least half of which is used for residential purposes. "@en ;
  rdfs:subClassOf seas:Building;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.   
  
seas:HolidayBuilding a owl:Class ;
  rdfs:label "HolidayBuilding"@en ; 
  rdfs:label "VapaaAjanRakennus"@fi ;  
  rdfs:comment "A secondary residential building used only occasionally during vacations such as a summerhouse or cottage. "@en ;
  rdfs:subClassOf seas:ResidentalBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.   
  
seas:NonResidentalBuilding a owl:Class ;
  rdfs:label "NonResidentalBuilding"@en ;
  rdfs:comment "A  non-residential building is a building at least half of which is used for other than residential purposes. "@en ;
  rdfs:subClassOf seas:Building;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.     

seas:MercantileBuilding a owl:Class ;
  rdfs:label "MercantileBuilding"@en ;
  rdfs:label "Liikerakennus"@fi;  
  rdfs:comment "Places where goods are displayed and sold. Examples: grocery stores, department stores, and gas stations."@en ;
  rdfs:subClassOf seas:NonResidentalBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.  
  
seas:OfficeBuilding a owl:Class ;
  rdfs:label "BusinessBuilding"@en ;
  rdfs:label "Toimistorakennus"@fi;  
  rdfs:comment "Places where services are provided. Examples: banks, insurance agencies"@en ;
  rdfs:subClassOf seas:NonResidentalBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.    
   
seas:AssemblyBuilding a owl:Class ;
  rdfs:label "AssemblyBuilding"@en ;
  rdfs:label "Kokoontumisrakennus"@fi ;  
  rdfs:comment "places used for people gathering for entertainment, worship, and eating or drinking. Examples: churches, restaurants"@en;
  rdfs:subClassOf seas:NonResidentalBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.    

seas:InstitutionalBuilding a owl:Class ;
  rdfs:label "InstitutionalBuilding"@en ;  
  rdfs:label "HoitoalanRakennus"@fi;    
  rdfs:comment "Institutions such as hospitals providing medical and surgical treatment and nursing care for ill or injured people"@en ;
  rdfs:subClassOf seas:NonResidentalBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.     
  
seas:EducationalBuilding a owl:Class ;
  rdfs:label "EducationalBuilding"@en ;
  rdfs:label "Opetusrakennus"@fi ;  
  rdfs:comment "Schools and day care centers."@en ;
  rdfs:subClassOf seas:NonResidentalBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.      
           
seas:IndustrialBuilding a owl:Class ;
  rdfs:label "IndustrialBuilding"@en ;
  rdfs:comment "Buildings used for industrial production, e.g. factories, workshops, slaughterhouses, breweries, assembly plants, etc."@en ;
  rdfs:subClassOf seas:NonResidentalBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.    

seas:PowerplantBuilding a owl:Class ;
  rdfs:label "PowerplantBuilding"@en ;
  rdfs:label "VoimalaRakennus"@fi ;  
  rdfs:comment "Places housing any type of a power plants"@en ;
  rdfs:subClassOf seas:IndustrialBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.      
  
seas:StorageBuilding a owl:Class ;
  rdfs:label "StorageBuilding"@en ;
  rdfs:label "VarastoRakennus"@fi ;  
  rdfs:comment "Places where items are stored. Examples: warehouses, reservoirs and silos."@en ;
  rdfs:subClassOf seas:NonResidentalBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.    

#Different types of residental buildings
seas:SmallHouse a owl:Class ;
  rdfs:label "SmallHouse"@en ;
  rdfs:label "Pientalo"@en ;  
  rdfs:comment "A detached small residental building"@en ;
  rdfs:subClassOf seas:ResidentalBuilding;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.   

seas:OneDwellingBuilding a owl:Class ;
  rdfs:label "OneDwellingBuilding"@en ;
  rdfs:label "YhdenAsunnonTalo"@en ;  
  rdfs:comment "Detached house"@en ;
  rdfs:subClassOf seas:SmallHouse;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.   
  
#Different types of rooms based on their main functional purpose
seas:LivingRoom a owl:Class ;
  rdfs:label "Living Room"@en ;
  rdfs:comment "Living Room is the main room of daytime activity."@en ;
  rdfs:subClassOf seas:Room;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.      

seas:Kitchen a owl:Class ;
  rdfs:label "Kitchen"@en ;
  rdfs:comment "Kitchen is a room used mainly for cooking and possibly eating."@en ;
  rdfs:subClassOf seas:Room;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.      
  
seas:Bedroom a owl:Class ;
  rdfs:label "Bedroom"@en ;
  rdfs:comment "Bedroom is used mainly for sleeping."@en ;
  rdfs:subClassOf seas:Room;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.   
  
seas:Elevator a owl:Class ;
  rdfs:label "Elevator"@en ;
  rdfs:comment "Elevator is used to transport people between different floors."@en ;
  rdfs:subClassOf seas:Room;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.   
  
seas:Bathroom a owl:Class ;
  rdfs:label "Bathroom"@en ;
  rdfs:comment "Bathroom is mainly used for bathing &amp; washing up related activities."@en ;
  rdfs:subClassOf seas:Room;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.      
  
seas:Sauna a owl:Class ;
  rdfs:label "Sauna"@en ;
  rdfs:comment "Sauna is a special type bathroom for enjoying heated steam."@en ;
  rdfs:subClassOf seas:Bathroom;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.      
  
seas:StorageRoom a owl:Class ;
  rdfs:label "Storage Room"@en ;
  rdfs:comment "Room for storage."@en ;
  rdfs:subClassOf seas:Room;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.    
  
seas:Garage a owl:Class ;
  rdfs:label "Garage"@en ;
  rdfs:comment "Room for garage."@en ;
  rdfs:subClassOf seas:Room;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.     
  
seas:UtilityRoom a owl:Class ;
  rdfs:label "Utility Room"@en ;
  rdfs:comment "Room for other special utilities and hobbies."@en ;
  rdfs:subClassOf seas:Room;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.     
  
seas:Balcony a owl:Class ;
  rdfs:label "Balcony"@en ;
  rdfs:comment "An accessible structure extending from a building, especially outside a window."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.
  
seas:Stairs a owl:Class ;
  rdfs:label "Stairs"@en ;
  rdfs:comment "A construction designed to bridge a large vertical distance by dividing it into smaller vertical distances, called steps."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Yard a owl:Class ;
  rdfs:label "Yard"@en ;
  rdfs:comment "A small usually walled and often paved area open to the sky and adjacent to a building."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Greenhouse a owl:Class ;
  rdfs:label "Greenhouse"@en ;
  rdfs:comment "A building, room, or area, usually chiefly of glass, in which the temperature is maintained within a desired range, used for cultivating tender plants or growing plants out of season."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:TreeHouse a owl:Class ;
  rdfs:label "Tree House"@en ;
  rdfs:comment "A small house, especially one for children to play in, built or placed up in the branches of a tree."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Lobby a owl:Class ;
  rdfs:label "Lobby"@en ;
  rdfs:comment "An entrance hall, corridor, or vestibule, as in a public building, often serving as an anteroom; foyer."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Hall a owl:Class ;
  rdfs:label "Hall"@en ;
  rdfs:comment "A large entrance room of a house or building."@en ;
  rdfs:subClassOf seas:Lobby;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Corridor a owl:Class ;
  rdfs:label "Corridor"@en ;
  rdfs:comment "A gallery or passage connecting parts of a building; hallway."@en ;
  rdfs:subClassOf seas:Lobby;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:DiningRoom a owl:Class ;
  rdfs:label "Dining Room"@en ;
  rdfs:comment "A room in which meals are eaten, as in a home or hotel, especially the room in which the major or more formal meals are eaten."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Office a owl:Class ;
  rdfs:label "Office"@en ;
  rdfs:comment "A room, set of rooms, or building where the business of a commercial or industrial organization or of a professional person is conducted."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:HomeOffice a owl:Class ;
  rdfs:label "Tree house"@en ;
  rdfs:comment "A work or office space set up in a person's home and used exclusively for business on a regular basis."@en ;
  rdfs:subClassOf seas:Office;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Basement a owl:Class ;
  rdfs:label "Basement"@en ;
  rdfs:comment "A story of a building, partly or wholly underground."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Laundry a owl:Class ;
  rdfs:label "Laundry"@en ;
  rdfs:comment "A room or area, as in a home or apartment building, reserved for doing the family wash."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Attic a owl:Class ;
  rdfs:label "Attic"@en ;
  rdfs:comment "the part of a building, especially of a house, directly under a roof; garret."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:SwimmingPool a owl:Class ;
  rdfs:label "Swimming Pool"@en ;
  rdfs:comment "A tank or large artificial basin, as of concrete, for filling with water for swimming."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.

seas:Sunroom a owl:Class ;
  rdfs:label "Swimming Pool"@en ;
  rdfs:comment "A structure, either attached or integrated into a building, which allows enjoyment of the surrounding landscape while being sheltered from adverse weather."@en ;
  rdfs:subClassOf seas:BuildingSpace;
  vs:term_status "testing" ;
  rdfs:isDefinedBy seas:BuildingCategoriesVocabulary.
