diff --git a/examples/example1BLDG.ttl b/examples/example1BLDG.ttl index 85b59e454b0458222cd471badcb8f311a74a3cf9..57e3155fc38a37566e35ee344e4738e34a2e57f7 100644 --- a/examples/example1BLDG.ttl +++ b/examples/example1BLDG.ttl @@ -1,292 +1,29 @@ -@prefix : . -@prefix dc: . +@prefix : . @prefix owl: . @prefix rdf: . @prefix xml: . @prefix xsd: . @prefix prov: . @prefix rdfs: . -@prefix vann: . -@prefix saref: . +@prefix saref: . +@prefix s4bldg: . +@prefix s4ener: . @prefix dcterms: . -@base . +@prefix geo: . +@prefix time: . +@prefix wurvoc: . +@base . - rdf:type owl:Ontology ; - owl:versionIRI ; + rdf:type owl:Ontology ; + owl:versionIRI ; dcterms:creator , ; dcterms:license ; owl:versionInfo "1.0" ; - dc:publisher ; + dcterms:publisher ; 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 -################################################################# - -### 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 . - - -### 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 . - - -### 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 . - - -### 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 . - - -### 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 . - - -### 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 . - - -### 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 ; - rdfs:label "location"@en . - - -### https://w3id.org/saref#hasConsumption -saref:hasConsumption rdf:type owl:ObjectProperty . - - -### 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 . - - -### https://w3id.org/saref4ee#exposes - rdf:type owl:ObjectProperty . - - -################################################################# -# 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 . - - -### http://www.w3.org/2003/01/geo/wgs84_pos#latitude - rdf:type owl:DatatypeProperty . - - -### http://www.w3.org/2003/01/geo/wgs84_pos#longitude - rdf:type owl:DatatypeProperty . - - -### 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 , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:allValuesFrom - ] ; - 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 ; - prov:hadPrimarySource . - - -### http://saref.linkeddata.es/def/bldg#BuildingSpace -:BuildingSpace rdf:type owl:Class ; - rdfs:subClassOf , - [ 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 ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - 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://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 - 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 ; - rdfs:label "Spatial thing"@en . - - -### https://w3id.org/saref#PowerUnit -saref:PowerUnit rdf:type owl:Class . - - -### 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 . - - -### https://w3id.org/saref4ee#Power - rdf:type owl:Class . - - -### https://w3id.org/saref4ee#PowerProfile - rdf:type owl:Class . - - -################################################################# -# Individuals -################################################################# - -### http://saref.linkeddata.es/def/bldg#Compressor001SIERRA02-0434C3 :Compressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , :Compressor ; :compressorSpeed :CompressorSpeedCompressor001SIERRA02-0434C3 ; @@ -294,8 +31,8 @@ saref:UnitOfMeasure rdf:type owl:Class ; :impellerDiameter :ImpellerDiameterCompressor001SIERRA02-0434C3 ; :isContainedIn :RefrigerationStoreComputerScienceBuilding1 ; :nominalCapacity :NominalCapacityCompressor001SIERRA02-0434C3 ; - :LocationCompressor001SIERRA02-0434C3 ; - :PowerProfileCompressor001SIERRA02-0434C3 ; + geo:location :LocationCompressor001SIERRA02-0434C3 ; + s4ener:exposes :PowerProfileCompressor001SIERRA02-0434C3 ; :hasHotGasBypass "false"^^xsd:boolean ; :powerSource "MotorDriven"^^xsd:string ; :refrigerantClass "HFC"^^xsd:string ; @@ -304,7 +41,6 @@ saref:UnitOfMeasure rdf:type owl:Class ; rdfs:label "CompressorSIERRA02-0434C3"@en . -### http://saref.linkeddata.es/def/bldg#CompressorSpeedCompressor001SIERRA02-0434C3 :CompressorSpeedCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , :Measurement ; saref:isMeasuredIn :cyclesPerSecond ; @@ -312,99 +48,85 @@ saref:UnitOfMeasure rdf:type owl:Class ; rdfs:label "Compressor speed of compressor001 SIERRA02-0434C3"@en . -### http://saref.linkeddata.es/def/bldg#ComputerScienceBuilding1 :ComputerScienceBuilding1 rdf:type owl:NamedIndividual , :Building ; - :LocationComputerScienceBuilding1 ; + geo:location :LocationComputerScienceBuilding1 ; rdfs:label "Computer Science Building 1"@en . -### http://saref.linkeddata.es/def/bldg#IdealCapacityCompressor001SIERRA02-0434C3 :IdealCapacityCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , :Measurement ; - saref:isMeasuredIn ; + saref:isMeasuredIn wurvoc:watt ; saref:hasValue "1800.0"^^xsd:float ; rdfs:label "Ideal capacity of compressor001 SIERRA02-0434C3"@en . -### http://saref.linkeddata.es/def/bldg#ImpellerDiameterCompressor001SIERRA02-0434C3 :ImpellerDiameterCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , :Measurement ; - saref:isMeasuredIn ; + saref:isMeasuredIn wurvoc:inch-international ; saref:hasValue "5.9"^^xsd:float ; rdfs:label "Impeller diameter of compressor001 SIERRA02-0434C3"@en . -### http://saref.linkeddata.es/def/bldg#LocationCompressor001SIERRA02-0434C3 :LocationCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - ; - 40.405155 ; - -3.839203 ; + geo:SpatialThing ; + geo:latitude 40.405155 ; + geo:longitude -3.839203 ; rdfs:label "Location of compressor001 SIERRA02-0434C3"@en . -### http://saref.linkeddata.es/def/bldg#LocationComputerScienceBuilding1 :LocationComputerScienceBuilding1 rdf:type owl:NamedIndividual , - ; - 40.405013 ; - -3.839349 ; + geo:SpatialThing ; + geo:latitude 40.405013 ; + geo:longitude -3.839349 ; rdfs:label "Location of Computer Science Building 1"@en . -### http://saref.linkeddata.es/def/bldg#LocationRefrigerationStoreComputerScienceBuilding1 :LocationRefrigerationStoreComputerScienceBuilding1 rdf:type owl:NamedIndividual , - ; - 40.405152 ; - -3.839209 ; + geo:SpatialThing ; + geo:latitude 40.405152 ; + geo:longitude -3.839209 ; rdfs:label "LocationRefrigerationStoreComputerScienceBuilding1"@en . -### http://saref.linkeddata.es/def/bldg#NominalCapacityCompressor001SIERRA02-0434C3 :NominalCapacityCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , :Measurement ; - saref:isMeasuredIn ; + saref:isMeasuredIn wurvoc:watt ; saref:hasValue "680.0"^^xsd:float ; rdfs:label "Nominal capacity of compressor001 SIERRA02-0434C3"@en . -### http://saref.linkeddata.es/def/bldg#PowerCompressor001SIERRA02-0434C3 :PowerCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - ; - saref:isMeasuredIn ; + s4ener:Power ; + saref:isMeasuredIn wurvoc:watt ; saref:hasValue "902.0"^^xsd:float ; rdfs:label "Power of compressor 001 SIERRA02-0434C3"@en . -### http://saref.linkeddata.es/def/bldg#PowerProfileCompressor001SIERRA02-0434C3 :PowerProfileCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - ; + s4ener:PowerProfile ; saref:hasConsumption :PowerCompressor001SIERRA02-0434C3 ; rdfs:label "Power profile of compressor 001 SIERRA02-0434C3"@en . -### http://saref.linkeddata.es/def/bldg#RefrigerationStoreComputerScienceBuilding1 :RefrigerationStoreComputerScienceBuilding1 rdf:type owl:NamedIndividual , :BuildingSpace ; :isSpaceOf :ComputerScienceBuilding1 ; - :LocationRefrigerationStoreComputerScienceBuilding1 ; + geo:location :LocationRefrigerationStoreComputerScienceBuilding1 ; rdfs:label "Refrigeration store of Computer Science Building 1"@en . -### http://saref.linkeddata.es/def/bldg#cyclesPerSecond :cyclesPerSecond rdf:type owl:NamedIndividual , saref:UnitOfMeasure ; rdfs:label "cycles per second"@en . -### http://www.wurvoc.org/vocabularies/om-1.8/inch-international - rdf:type owl:NamedIndividual , +wurvoc:inch-international rdf:type owl:NamedIndividual , saref:UnitOfMeasure ; rdfs:label "inch international"@en . -### http://www.wurvoc.org/vocabularies/om-1.8/watt - rdf:type owl:NamedIndividual , +wurvoc:watt rdf:type owl:NamedIndividual , saref:PowerUnit . -### Generated by the OWL API (version 4.2.6.20160910-2108) https://github.com/owlcs/owlapi diff --git a/examples/example1BLDGpolished.ttl b/examples/example1BLDGpolished.ttl deleted file mode 100644 index 5210aa49b6777936bb4bf1ad599d0c8da8af7d5f..0000000000000000000000000000000000000000 --- a/examples/example1BLDGpolished.ttl +++ /dev/null @@ -1,134 +0,0 @@ -@prefix : . -@prefix dc: . -@prefix owl: . -@prefix rdf: . -@prefix xml: . -@prefix xsd: . -@prefix prov: . -@prefix rdfs: . -@prefix vann: . -@prefix saref: . -@prefix s4bldg: . -@prefix s4ener: . -@prefix dcterms: . -@prefix geo: . -@prefix time: . -@prefix wurvoc: . -@base . - - rdf:type owl:Ontology ; - owl:versionIRI ; - dcterms:creator , - ; - dcterms:license ; - owl:versionInfo "1.0" ; - dc:publisher ; - rdfs:comment "Example of use for the SAREF extension for building devices"@en . - - -:Compressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - :Compressor ; - :compressorSpeed :CompressorSpeedCompressor001SIERRA02-0434C3 ; - :idealCapacity :IdealCapacityCompressor001SIERRA02-0434C3 ; - :impellerDiameter :ImpellerDiameterCompressor001SIERRA02-0434C3 ; - :isContainedIn :RefrigerationStoreComputerScienceBuilding1 ; - :nominalCapacity :NominalCapacityCompressor001SIERRA02-0434C3 ; - geo:location :LocationCompressor001SIERRA02-0434C3 ; - s4ener: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 . - - -: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 . - - -:ComputerScienceBuilding1 rdf:type owl:NamedIndividual , - :Building ; - geo:location :LocationComputerScienceBuilding1 ; - rdfs:label "Computer Science Building 1"@en . - - -:IdealCapacityCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - :Measurement ; - saref:isMeasuredIn wurvoc:watt ; - saref:hasValue "1800.0"^^xsd:float ; - rdfs:label "Ideal capacity of compressor001 SIERRA02-0434C3"@en . - - -:ImpellerDiameterCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - :Measurement ; - saref:isMeasuredIn wurvoc:inch-international ; - saref:hasValue "5.9"^^xsd:float ; - rdfs:label "Impeller diameter of compressor001 SIERRA02-0434C3"@en . - - -:LocationCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - geo:SpatialThing ; - geo:latitude 40.405155 ; - geo:longitude -3.839203 ; - rdfs:label "Location of compressor001 SIERRA02-0434C3"@en . - - -:LocationComputerScienceBuilding1 rdf:type owl:NamedIndividual , - geo:SpatialThing ; - geo:latitude 40.405013 ; - geo:longitude -3.839349 ; - rdfs:label "Location of Computer Science Building 1"@en . - - -:LocationRefrigerationStoreComputerScienceBuilding1 rdf:type owl:NamedIndividual , - geo:SpatialThing ; - geo:latitude 40.405152 ; - geo:longitude -3.839209 ; - rdfs:label "LocationRefrigerationStoreComputerScienceBuilding1"@en . - - -:NominalCapacityCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - :Measurement ; - saref:isMeasuredIn wurvoc:watt ; - saref:hasValue "680.0"^^xsd:float ; - rdfs:label "Nominal capacity of compressor001 SIERRA02-0434C3"@en . - - -:PowerCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - s4ener:Power ; - saref:isMeasuredIn wurvoc:watt ; - saref:hasValue "902.0"^^xsd:float ; - rdfs:label "Power of compressor 001 SIERRA02-0434C3"@en . - - -:PowerProfileCompressor001SIERRA02-0434C3 rdf:type owl:NamedIndividual , - s4ener:PowerProfile ; - saref:hasConsumption :PowerCompressor001SIERRA02-0434C3 ; - rdfs:label "Power profile of compressor 001 SIERRA02-0434C3"@en . - - -:RefrigerationStoreComputerScienceBuilding1 rdf:type owl:NamedIndividual , - :BuildingSpace ; - :isSpaceOf :ComputerScienceBuilding1 ; - geo:location :LocationRefrigerationStoreComputerScienceBuilding1 ; - rdfs:label "Refrigeration store of Computer Science Building 1"@en . - - -:cyclesPerSecond rdf:type owl:NamedIndividual , - saref:UnitOfMeasure ; - rdfs:label "cycles per second"@en . - - -wurvoc:inch-international rdf:type owl:NamedIndividual , - saref:UnitOfMeasure ; - rdfs:label "inch international"@en . - - -wurvoc:watt rdf:type owl:NamedIndividual , - saref:PowerUnit . - -