example1BLDG.ttl 21.9 KB
Newer Older
María's avatar
María committed
@prefix : <http://saref.linkeddata.es/def/bldg#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix saref: <https://w3id.org/saref#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@base <http://saref.linkeddata.es/def/bldg/example1> .

<http://saref.linkeddata.es/def/bldg/example1> rdf:type owl:Ontology ;
                                                owl:versionIRI <http://saref.linkeddata.es/def/v1/bldg/example1> ;
                                                dcterms:creator <http://purl.org/net/mpoveda> ,
                                                                <http://www.garcia-castro.com/foaf.rdf#me> ;
                                                dcterms:license <http://purl.org/NET/rdflicense/cc-by4.0> ;
                                                owl:versionInfo "1.0" ;
                                                dc:publisher <http://www.oeg-upm.net/> ;
                                                rdfs:comment "Example of use for the SAREF extension for building devices"@en .

#################################################################
#    Annotation properties
#################################################################

###  http://purl.org/dc/terms/creator
dcterms:creator rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/dateCopyrighted
dcterms:dateCopyrighted rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/rightsHolder
dcterms:rightsHolder rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespacePrefix
vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespaceUri
vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#hadPrimarySource
prov:hadPrimarySource rdf:type owl:AnnotationProperty .


#################################################################
#    Datatypes
#################################################################

###  http://www.w3.org/2001/XMLSchema#duration
xsd:duration rdf:type rdfs:Datatype .


#################################################################
#    Object Properties
#################################################################

María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#compressorSpeed
:compressorSpeed rdf:type owl:ObjectProperty ;
                 rdfs:comment "Compressor speed. Usually measured in cycles/s."@en ;
                 rdfs:label "compressor speed"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#idealCapacity
:idealCapacity rdf:type owl:ObjectProperty ;
               rdfs:comment "Compressor capacity under ideal conditions. Usually measured in Watts (W, J/s)."@en ;
               rdfs:label "ideal capacity"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#impellerDiameter
:impellerDiameter rdf:type owl:ObjectProperty ;
                  rdfs:comment "Diameter of compressor impeller - used to scale performance of geometrically similar compressors. Usually measured in millimeters (mm)."@en ;
                  rdfs:label "impeller diameter"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#isContainedIn
:isContainedIn rdf:type owl:ObjectProperty ,
                        owl:TransitiveProperty ;
               rdfs:comment "A relation between an object and the physical space in which it is located."@en ;
               rdfs:label "is contained in"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#isSpaceOf
:isSpaceOf rdf:type owl:ObjectProperty ,
                    owl:TransitiveProperty ;
           rdfs:comment "Relation between a building space and the building or building space it belongs to."@en ;
           rdfs:label "isSpaceOf"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#nominalCapacity
:nominalCapacity rdf:type owl:ObjectProperty ;
                 rdfs:comment "Nominal capacity. Usually measured in Watts (W, J/s)."@en ;
                 rdfs:label "nominal capacity"@en .
María's avatar
María committed


###  http://www.w3.org/2003/01/geo/wgs84_pos#location
<http://www.w3.org/2003/01/geo/wgs84_pos#location> rdf:type owl:ObjectProperty ;
                                                   rdfs:comment "The relation between something and the point,  or other geometrical thing in space, where it is.  For example, the realtionship between a radio tower and a Point with a given lat and long. Or a relationship between a park and its outline as a closed arc of points, or a road and its location as a arc (a sequence of points). Clearly in practice there will be limit to the accuracy of any such statement, but one would expect an accuracy appropriate for the size of the object and uses such as mapping ."@en ;
                                                   rdfs:isDefinedBy <http://www.w3.org/2003/01/geo/wgs84_pos#> ;
                                                   rdfs:label "location"@en .


María's avatar
María committed
###  https://w3id.org/saref#hasConsumption
saref:hasConsumption rdf:type owl:ObjectProperty .


María's avatar
María committed
###  https://w3id.org/saref#isMeasuredIn
saref:isMeasuredIn rdf:type owl:ObjectProperty ;
                   rdfs:comment "A relation between a measurement and the unit of measure in which the measurement value is expressed."@en ;
                   rdfs:label "is measured in"@en .


María's avatar
María committed
###  https://w3id.org/saref4ee#exposes
<https://w3id.org/saref4ee#exposes> rdf:type owl:ObjectProperty .


María's avatar
María committed
#################################################################
#    Data properties
#################################################################

###  http://saref.linkeddata.es/def/bldg#hasHotGasBypass
:hasHotGasBypass rdf:type owl:DatatypeProperty ;
                 rdfs:range xsd:boolean ;
                 rdfs:comment "Whether or not hot gas bypass is provided for the compressor. TRUE = Yes, FALSE = No."@en ;
                 rdfs:label "has hot gas bypass"@en .


###  http://saref.linkeddata.es/def/bldg#powerSource
:powerSource rdf:type owl:DatatypeProperty ;
             rdfs:range xsd:string ;
             rdfs:comment "Type of power driving the compressor."@en ;
             rdfs:label "power source"@en .


###  http://saref.linkeddata.es/def/bldg#refrigerantClass
:refrigerantClass rdf:type owl:DatatypeProperty ;
                  rdfs:range xsd:string ;
                  rdfs:comment "Refrigerant class used by the compressor. CFC: Chlorofluorocarbons. HCFC: Hydrochlorofluorocarbons. HFC: Hydrofluorocarbons."@en ;
                  rdfs:label "refrigerant class"@en .


María's avatar
María committed
###  http://www.w3.org/2003/01/geo/wgs84_pos#latitude
<http://www.w3.org/2003/01/geo/wgs84_pos#latitude> rdf:type owl:DatatypeProperty .
María's avatar
María committed


María's avatar
María committed
###  http://www.w3.org/2003/01/geo/wgs84_pos#longitude
<http://www.w3.org/2003/01/geo/wgs84_pos#longitude> rdf:type owl:DatatypeProperty .
María's avatar
María committed


###  https://w3id.org/saref#hasManufacturer
saref:hasManufacturer rdf:type owl:DatatypeProperty .


###  https://w3id.org/saref#hasName
saref:hasName rdf:type owl:DatatypeProperty .


###  https://w3id.org/saref#hasValue
saref:hasValue rdf:type owl:DatatypeProperty ;
               rdfs:comment "A relationship defining the value of a certain property, e.g., energy or power"@en ;
               rdfs:isDefinedBy saref: ;
               rdfs:label "has value"@en .


#################################################################
#    Classes
#################################################################

###  http://saref.linkeddata.es/def/bldg#Building
:Building rdf:type owl:Class ;
          rdfs:subClassOf <http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing> ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty <http://www.w3.org/2003/01/geo/wgs84_pos#location> ;
                            owl:allValuesFrom <http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing>
                          ] ;
          rdfs:comment "A building represents a structure that provides shelter for its occupants or contents and stands in one place. The building is also used to provide a basic element within the spatial structure hierarchy for the components of a building project (together with site, storey, and space)."@en ;
          rdfs:label "Building"@en ;
          rdfs:seeAlso <https://w3id.org/ifc/IFC4_ADD1#IfcBuilding> ;
          prov:hadPrimarySource <http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifcproductextension/lexical/ifcbuilding.htm> .


###  http://saref.linkeddata.es/def/bldg#BuildingSpace
:BuildingSpace rdf:type owl:Class ;
               rdfs:subClassOf <http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing> ,
                               [ rdf:type owl:Restriction ;
                                 owl:onProperty :isSpaceOf ;
                                 owl:allValuesFrom [ rdf:type owl:Class ;
                                                     owl:unionOf ( :Building
                                                                   :BuildingSpace
                                                                 )
                                                   ]
                               ] ;
               rdfs:comment "An entity used to define the physical spaces of the building. A building space contains devices or building objects."@en ;
               rdfs:label "Building space"@en .


###  http://saref.linkeddata.es/def/bldg#Compressor
:Compressor rdf:type owl:Class ;
María's avatar
María committed
            rdfs:subClassOf [ rdf:type owl:Restriction ;
María's avatar
María committed
                              owl:onProperty :compressorSpeed ;
                              owl:allValuesFrom :Measurement
                            ] ,
                            [ rdf:type owl:Restriction ;
                              owl:onProperty :idealCapacity ;
                              owl:allValuesFrom :Measurement
                            ] ,
                            [ rdf:type owl:Restriction ;
                              owl:onProperty :impellerDiameter ;
                              owl:allValuesFrom :Measurement
                            ] ,
                            [ rdf:type owl:Restriction ;
                              owl:onProperty :nominalCapacity ;
                              owl:allValuesFrom :Measurement
                            ] ,
                            [ rdf:type owl:Restriction ;
                              owl:onProperty :hasHotGasBypass ;
                              owl:allValuesFrom xsd:boolean
                            ] ,
                            [ rdf:type owl:Restriction ;
                              owl:onProperty :powerSource ;
                              owl:allValuesFrom xsd:string
                            ] ,
                            [ rdf:type owl:Restriction ;
                              owl:onProperty :refrigerantClass ;
                              owl:allValuesFrom xsd:string
                            ] ;
            rdfs:comment "A compressor is a device that compresses a fluid typically used in a refrigeration circuit."@en ;
            rdfs:label "Compressor"@en ;
            rdfs:seeAlso "https://w3id.org/ifc/IFC4_ADD1#IfcCompressor" ;
            prov:hadPrimarySource <http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifchvacdomain/lexical/ifccompressor.htm> ,
                                  <http://www.buildingsmart-tech.org/ifc/IFC4/Add1/html/schema/ifchvacdomain/pset/pset_compressortypecommon.htm> .


###  http://saref.linkeddata.es/def/bldg#Measurement
:Measurement rdf:type owl:Class ;
             rdfs:subClassOf [ rdf:type owl:Restriction ;
                               owl:onProperty saref:isMeasuredIn ;
                               owl:allValuesFrom saref:UnitOfMeasure
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty saref:isMeasuredIn ;
                               owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                               owl:onClass saref:UnitOfMeasure
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty saref:hasValue ;
                               owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                               owl:onDataRange xsd:float
                             ] ;
             rdfs:comment "Represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement."@en ;
             rdfs:label "Measurement"@en .


###  http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing
<http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing> rdf:type owl:Class ;
                                                       rdfs:comment "Anything with spatial extent, i.e. size, shape, or position. e.g. people, places, bowling balls, as well as abstract areas like cubes."@en ;
                                                       rdfs:isDefinedBy <http://www.w3.org/2003/01/geo/wgs84_pos#> ;
                                                       rdfs:label "Spatial thing"@en .


###  https://w3id.org/saref#UnitOfMeasure
saref:UnitOfMeasure rdf:type owl:Class ;
                    rdfs:comment "The unit of measure is a standard for measurement of a quantity, such as a Property. For example,  Power is a property and Watt is a unit of power that represents a definite predetermined power: when we say 10 Watt, we actually mean 10 times the definite predetermined power called \"watt\". Our definition is based on the definition of unit of measure in the Ontology of units of Measure (OM). We propose here a list of some units of measure that are relevant for the purpose of the Smart Appliances ontology, but this list can be extended."@en ;
                    rdfs:isDefinedBy saref: ;
                    rdfs:label "Unit of measure"@en .


María's avatar
María committed
###  https://w3id.org/saref4ee#Power
<https://w3id.org/saref4ee#Power> rdf:type owl:Class .


###  https://w3id.org/saref4ee#PowerProfile
<https://w3id.org/saref4ee#PowerProfile> rdf:type owl:Class .


María's avatar
María committed
#################################################################
#    Individuals
#################################################################

María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#Compressor001SIERRA02-0434C3
:Compressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual ,
                                       :Compressor ;
                              :compressorSpeed :CompressorSpeedCompressor001SIERRA02-0434C3 ;
                              :idealCapacity :IdealCapacityCompressor001SIERRA02-0434C3 ;
                              :impellerDiameter :ImpellerDiameterCompressor001SIERRA02-0434C3 ;
                              :isContainedIn :RefrigerationStoreComputerScienceBuilding1 ;
                              :nominalCapacity :NominalCapacityCompressor001SIERRA02-0434C3 ;
                              <http://www.w3.org/2003/01/geo/wgs84_pos#location> :LocationCompressor001SIERRA02-0434C3 ;
                              <https://w3id.org/saref4ee#exposes> :PowerProfileCompressor001SIERRA02-0434C3 ;
                              :hasHotGasBypass "false"^^xsd:boolean ;
                              :powerSource "MotorDriven"^^xsd:string ;
                              :refrigerantClass "HFC"^^xsd:string ;
                              saref:hasManufacturer "SIEMENS"^^xsd:string ;
                              saref:hasName "SIERRA 02-0434C3"^^xsd:string ;
                              rdfs:label "CompressorSIERRA02-0434C3"@en .


###  http://saref.linkeddata.es/def/bldg#CompressorSpeedCompressor001SIERRA02-0434C3
:CompressorSpeedCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual ,
                                                      :Measurement ;
                                             saref:isMeasuredIn :cyclesPerSecond ;
                                             saref:hasValue "3.0"^^xsd:float ;
                                             rdfs:label "Compressor speed of compressor001 SIERRA02-0434C3"@en .


###  http://saref.linkeddata.es/def/bldg#ComputerScienceBuilding1
María's avatar
María committed
:ComputerScienceBuilding1 rdf:type owl:NamedIndividual ,
                                   :Building ;
                          <http://www.w3.org/2003/01/geo/wgs84_pos#location> :LocationComputerScienceBuilding1 ;
María's avatar
María committed
                          rdfs:label "Computer Science Building 1"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#IdealCapacityCompressor001SIERRA02-0434C3
:IdealCapacityCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual ,
                                                    :Measurement ;
                                           saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/watt> ;
                                           saref:hasValue "1800.0"^^xsd:float ;
                                           rdfs:label "Ideal capacity of compressor001 SIERRA02-0434C3"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#ImpellerDiameterCompressor001SIERRA02-0434C3
:ImpellerDiameterCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual ,
                                                       :Measurement ;
                                              saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/inch-international> ;
                                              saref:hasValue "5.9"^^xsd:float ;
                                              rdfs:label "Impeller diameter of compressor001 SIERRA02-0434C3"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#LocationCompressor001SIERRA02-0434C3
:LocationCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual ,
                                               <http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing> ;
                                      <http://www.w3.org/2003/01/geo/wgs84_pos#latitude> 40.405155 ;
                                      <http://www.w3.org/2003/01/geo/wgs84_pos#longitude> -3.839203 ;
                                      rdfs:label "Location of compressor001 SIERRA02-0434C3"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#LocationComputerScienceBuilding1
María's avatar
María committed
:LocationComputerScienceBuilding1 rdf:type owl:NamedIndividual ,
                                           <http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing> ;
María's avatar
María committed
                                  <http://www.w3.org/2003/01/geo/wgs84_pos#latitude> 40.405013 ;
                                  <http://www.w3.org/2003/01/geo/wgs84_pos#longitude> -3.839349 ;
                                  rdfs:label "Location of Computer Science Building 1"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#LocationRefrigerationStoreComputerScienceBuilding1
María's avatar
María committed
:LocationRefrigerationStoreComputerScienceBuilding1 rdf:type owl:NamedIndividual ,
                                                             <http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing> ;
María's avatar
María committed
                                                    <http://www.w3.org/2003/01/geo/wgs84_pos#latitude> 40.405152 ;
                                                    <http://www.w3.org/2003/01/geo/wgs84_pos#longitude> -3.839209 ;
María's avatar
María committed
                                                    rdfs:label "LocationRefrigerationStoreComputerScienceBuilding1"@en .


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#NominalCapacityCompressor001SIERRA02-0434C3
:NominalCapacityCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual ,
                                                      :Measurement ;
                                             saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/watt> ;
                                             saref:hasValue "680.0"^^xsd:float ;
                                             rdfs:label "Nominal capacity of compressor001 SIERRA02-0434C3"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#RefrigerationStoreComputerScienceBuilding1
María's avatar
María committed
:RefrigerationStoreComputerScienceBuilding1 rdf:type owl:NamedIndividual ,
                                                     :BuildingSpace ;
                                            :isSpaceOf :ComputerScienceBuilding1 ;
                                            <http://www.w3.org/2003/01/geo/wgs84_pos#location> :LocationRefrigerationStoreComputerScienceBuilding1 ;
María's avatar
María committed
                                            rdfs:label "Refrigeration store of Computer Science Building 1"@en .
María's avatar
María committed


María's avatar
María committed
###  http://saref.linkeddata.es/def/bldg#cyclesPerSecond
María's avatar
María committed
:cyclesPerSecond rdf:type owl:NamedIndividual ,
María's avatar
María committed
                          saref:UnitOfMeasure ;
                 rdfs:label "cycles per second"@en .


###  http://saref.linkeddata.es/def/bldg/example1#PowerCompressor001SIERRA02-0434C3
:PowerCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual ,
                                            <https://w3id.org/saref4ee#Power> ;
                                   saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/watt> ;
                                   saref:hasValue "902.0"^^xsd:float ;
                                   rdfs:label "Power of compressor 001 SIERRA02-0434C3"@en .


###  http://saref.linkeddata.es/def/bldg/example1#PowerProfileCompressor001SIERRA02-0434C3
:PowerProfileCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual ,
                                                   <https://w3id.org/saref4ee#PowerProfile> ;
                                          saref:hasConsumption :PowerCompressor001SIERRA02-0434C3 ;
                                          rdfs:label "Power profile of compressor 001 SIERRA02-0434C3"@en .
María's avatar
María committed


###  http://www.wurvoc.org/vocabularies/om-1.8/inch-international
<http://www.wurvoc.org/vocabularies/om-1.8/inch-international> rdf:type owl:NamedIndividual ,
María's avatar
María committed
                                                                        saref:UnitOfMeasure ;
                                                               rdfs:label "inch international"@en .
María's avatar
María committed


###  http://www.wurvoc.org/vocabularies/om-1.8/watt
<http://www.wurvoc.org/vocabularies/om-1.8/watt> rdf:type owl:NamedIndividual ,
                                                          saref:UnitOfMeasure .


###  Generated by the OWL API (version 4.2.6.20160910-2108) https://github.com/owlcs/owlapi