From 30c110911c18cf0de47194b60022fef3eedf71cb Mon Sep 17 00:00:00 2001 From: Gabe Fierro Date: Tue, 22 Oct 2024 18:02:11 -0600 Subject: [PATCH] update 223p.ttl --- ontologies/223p.ttl | 2110 ++++++++++++++++++++++--------------------- 1 file changed, 1058 insertions(+), 1052 deletions(-) diff --git a/ontologies/223p.ttl b/ontologies/223p.ttl index 16fdb97..0434638 100644 --- a/ontologies/223p.ttl +++ b/ontologies/223p.ttl @@ -53,26 +53,26 @@ s223:SymmetricProperty a rdfs:Class, sh:path s223:hasProperty ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:QuantifiableActuatableProperty ; - sh:node [ sh:property [ sh:hasValue s223:EnumerationKind-Position ; + sh:node [ sh:property [ sh:hasValue ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:hasAspect ], - [ sh:hasValue ; + sh:path ns1:hasQuantityKind ], + [ sh:hasValue s223:EnumerationKind-Position ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path ns1:hasQuantityKind ] ] ] ] ] [ sh:property [ rdfs:comment "A ChilledWaterValve shall have at least one analog valve command property or at least two binary valve command properties using the relation hasProperty."^^xsd:string ; + sh:path s223:hasAspect ] ] ] ] ] [ sh:property [ rdfs:comment "A ChilledWaterValve shall have at least one analog valve command property or at least two binary valve command properties using the relation hasProperty."^^xsd:string ; sh:minCount 2 ; sh:path s223:hasProperty ; sh:qualifiedMinCount 2 ; sh:qualifiedValueShape [ sh:class s223:EnumeratedActuatableProperty ; - sh:node [ sh:property [ sh:hasValue s223:EnumerationKind-Binary ; + sh:node [ sh:property [ sh:hasValue s223:EnumerationKind-Position ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:hasEnumerationKind ], - [ sh:hasValue s223:EnumerationKind-Position ; + sh:path s223:hasAspect ], + [ sh:hasValue s223:EnumerationKind-Binary ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:hasAspect ] ] ] ] ] ) ; + sh:path s223:hasEnumerationKind ] ] ] ] ] ) ; sh:targetClass . a s223:Class, @@ -92,14 +92,14 @@ s223:SymmetricProperty a rdfs:Class, sh:path s223:hasProperty ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:QuantifiableActuatableProperty ; - sh:node [ sh:property [ sh:hasValue s223:EnumerationKind-Position ; + sh:node [ sh:property [ sh:hasValue ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:hasAspect ], - [ sh:hasValue ; + sh:path ns1:hasQuantityKind ], + [ sh:hasValue s223:EnumerationKind-Position ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path ns1:hasQuantityKind ] ] ] ] ] [ sh:property [ rdfs:comment "A damper shall have at least one analog damper command property or at least two binary damper command properties using the relation hasProperty."^^xsd:string ; + sh:path s223:hasAspect ] ] ] ] ] [ sh:property [ rdfs:comment "A damper shall have at least one analog damper command property or at least two binary damper command properties using the relation hasProperty."^^xsd:string ; sh:minCount 2 ; sh:path s223:hasProperty ; sh:qualifiedMinCount 2 ; @@ -211,14 +211,14 @@ s223:SymmetricProperty a rdfs:Class, sh:path s223:hasProperty ; sh:qualifiedMinCount 2 ; sh:qualifiedValueShape [ sh:class s223:EnumeratedActuatableProperty ; - sh:node [ sh:property [ sh:hasValue s223:EnumerationKind-Position ; + sh:node [ sh:property [ sh:hasValue s223:EnumerationKind-Binary ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:hasAspect ], - [ sh:hasValue s223:EnumerationKind-Binary ; + sh:path s223:hasEnumerationKind ], + [ sh:hasValue s223:EnumerationKind-Position ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:hasEnumerationKind ] ] ] ] ] ) ; + sh:path s223:hasAspect ] ] ] ] ] ) ; sh:targetClass . a s223:Class, @@ -233,14 +233,14 @@ s223:SymmetricProperty a rdfs:Class, sh:path s223:hasProperty ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:EnumeratedActuatableProperty ; - sh:node [ sh:property [ sh:class s223:EnumerationKind-Binary ; + sh:node [ sh:property [ sh:hasValue s223:EnumerationKind-Position ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:hasEnumerationKind ], - [ sh:hasValue s223:EnumerationKind-Position ; + sh:path s223:hasAspect ], + [ sh:class s223:EnumerationKind-Binary ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:hasAspect ] ] ] ] . + sh:path s223:hasEnumerationKind ] ] ] ] . a s223:Class, rdfs:Class, @@ -273,36 +273,36 @@ s223:SymmetricProperty a rdfs:Class, sh:minCount 1 ; sh:path s223:hasEnumerationKind ] ] ] ; sh:severity sh:Info ], - [ rdfs:comment "A Zone shall have a zone temperature setpoint adjustment property using the relation hasProperty, if applicable."^^xsd:string ; - sh:message "g36: A Zone shall have a zone temperature setpoint adjustment property using the relation hasProperty, if applicable."^^xsd:string ; + [ rdfs:comment "A Zone shall have at least a zone CO2 concentration property using the relation hasProperty, if applicable control is used."^^xsd:string ; + sh:message "g36: A Zone shall have at least a zone CO2 concentration property using the relation hasProperty, if applicable control is used."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasProperty ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:QuantifiableObservableProperty ; - sh:node [ sh:property [ sh:hasValue s223:Dimensioned-Delta ; + sh:node [ sh:property [ sh:hasValue ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:hasAspect ], - [ sh:hasValue ; + sh:path ns1:hasQuantityKind ], + [ sh:hasValue s223:Constituent-CO2 ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path ns1:hasQuantityKind ] ] ] ; - sh:qualifiedValueShapesDisjoint true ; + sh:path s223:ofConstituent ] ] ] ; sh:severity sh:Info ], - [ rdfs:comment "A Zone shall have at least a zone CO2 concentration property using the relation hasProperty, if applicable control is used."^^xsd:string ; - sh:message "g36: A Zone shall have at least a zone CO2 concentration property using the relation hasProperty, if applicable control is used."^^xsd:string ; + [ rdfs:comment "A Zone shall have a zone temperature setpoint adjustment property using the relation hasProperty, if applicable."^^xsd:string ; + sh:message "g36: A Zone shall have a zone temperature setpoint adjustment property using the relation hasProperty, if applicable."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasProperty ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:QuantifiableObservableProperty ; - sh:node [ sh:property [ sh:hasValue ; + sh:node [ sh:property [ sh:hasValue ; sh:maxCount 1 ; sh:minCount 1 ; sh:path ns1:hasQuantityKind ], - [ sh:hasValue s223:Constituent-CO2 ; + [ sh:hasValue s223:Dimensioned-Delta ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path s223:ofConstituent ] ] ] ; + sh:path s223:hasAspect ] ] ] ; + sh:qualifiedValueShapesDisjoint true ; sh:severity sh:Info ], [ rdfs:comment "A Zone shall have at least one Domain-HVAC using the relation hasDomain. "^^xsd:string ; sh:hasValue s223:Domain-HVAC ; @@ -355,8 +355,8 @@ ns1:BaseDimensionMagnitude a rdfs:Class, rdfs:label "Base Dimension Magnitude"^^xsd:string ; ns1:informativeReference "http://en.wikipedia.org/wiki/Dimensional_analysis"^^xsd:anyURI, "http://web.mit.edu/2.25/www/pdf/DA_unified.pdf"^^xsd:anyURI ; - rdfs:comment """

A Dimension expresses a magnitude for a base quantiy kind such as mass, length and time.

-

DEPRECATED - each exponent is expressed as a property. Keep until a validaiton of this has been done.

"""^^rdf:HTML ; + rdfs:comment """

A Dimension expresses a magnitude for a base quantiy kind such as mass, length and time.

+

DEPRECATED - each exponent is expressed as a property. Keep until a validaiton of this has been done."""^^rdf:HTML ; rdfs:isDefinedBy ; rdfs:subClassOf ns1:Concept ; sh:property ns1:BaseDimensionMagnitude-hasBaseQuantityKind, @@ -491,7 +491,7 @@ ns1:CurrencyUnit a rdfs:Class, ns1:DataEncoding a rdfs:Class, sh:NodeShape ; rdfs:label "Data Encoding"^^xsd:string ; - rdfs:comment "

Data Encoding expresses the properties that specify how data is represented at the bit and byte level. These properties are applicable to describing raw data.

"^^rdf:HTML ; + rdfs:comment "

Data Encoding expresses the properties that specify how data is represented at the bit and byte level. These properties are applicable to describing raw data."^^rdf:HTML ; rdfs:isDefinedBy ; rdfs:subClassOf ns1:Aspect ; sh:property ns1:DataEncoding-bitOrder, @@ -598,7 +598,7 @@ ns1:EnumeratedValue a rdfs:Class,

An enumeration is a set of literals from which a single value is selected. Each literal can have a tag as an integer within a standard encoding appropriate to the range of integer values. Consistency of enumeration types will allow them, and the enumerated values, to be referred to unambiguously either through symbolic name or encoding. Enumerated values are also controlled vocabularies and as such need to be standardized. Without this consistency enumeration literals can be stated differently and result in data conflicts and misinterpretations.

-

The tags are a set of positive whole numbers, not necessarily contiguous and having no numerical significance, each corresponding to the associated literal identifier. An order attribute can also be given on the enumeration elements. An enumeration can itself be a member of an enumeration. This allows enumerations to be enumerated in a selection. Enumerations are also subclasses of Scalar Datatype. This allows them to be used as the reference of a datatype specification.

"""^^rdf:HTML ; +

The tags are a set of positive whole numbers, not necessarily contiguous and having no numerical significance, each corresponding to the associated literal identifier. An order attribute can also be given on the enumeration elements. An enumeration can itself be a member of an enumeration. This allows enumerations to be enumerated in a selection. Enumerations are also subclasses of Scalar Datatype. This allows them to be used as the reference of a datatype specification."""^^rdf:HTML ; ns1:informativeReference "http://en.wikipedia.org/wiki/Enumeration"^^xsd:anyURI ; rdfs:isDefinedBy ; rdfs:subClassOf ns1:Concept, @@ -616,7 +616,7 @@ ns1:Enumeration a rdfs:Class, "http://en.wikipedia.org/wiki/Enumeration"^^xsd:anyURI ; rdfs:comment """

An enumeration is a set of literals from which a single value is selected. Each literal can have a tag as an integer within a standard encoding appropriate to the range of integer values. Consistency of enumeration types will allow them, and the enumerated values, to be referred to unambiguously either through symbolic name or encoding. Enumerated values are also controlled vocabularies and as such need to be standardized. Without this consistency enumeration literals can be stated differently and result in data conflicts and misinterpretations.

-

The tags are a set of positive whole numbers, not necessarily contiguous and having no numerical significance, each corresponding to the associated literal identifier. An order attribute can also be given on the enumeration elements. An enumeration can itself be a member of an enumeration. This allows enumerations to be enumerated in a selection. Enumerations are also subclasses of Scalar Datatype. This allows them to be used as the reference of a datatype specification.

"""^^rdf:HTML ; +

The tags are a set of positive whole numbers, not necessarily contiguous and having no numerical significance, each corresponding to the associated literal identifier. An order attribute can also be given on the enumeration elements. An enumeration can itself be a member of an enumeration. This allows enumerations to be enumerated in a selection. Enumerations are also subclasses of Scalar Datatype. This allows them to be used as the reference of a datatype specification."""^^rdf:HTML ; rdfs:isDefinedBy ; rdfs:subClassOf ns1:Concept, ns3:Enumeration ; @@ -671,7 +671,7 @@ ns1:IntervalScale a rdfs:Class, rdfs:label "Interval scale"^^xsd:string ; ns1:informativeReference "https://en.wikipedia.org/wiki/Level_of_measurement"^^xsd:anyURI ; rdfs:comment """

The interval type allows for the degree of difference between items, but not the ratio between them. Examples include temperature with the Celsius scale, which has two defined points (the freezing and boiling point of water at specific conditions) and then separated into 100 intervals, date when measured from an arbitrary epoch (such as AD), percentage such as a percentage return on a stock,[16] location in Cartesian coordinates, and direction measured in degrees from true or magnetic north. Ratios are not meaningful since 20 °C cannot be said to be "twice as hot" as 10 °C, nor can multiplication/division be carried out between any two dates directly. However, ratios of differences can be expressed; for example, one difference can be twice another. Interval type variables are sometimes also called "scaled variables", but the formal mathematical term is an affine space (in this case an affine line).

-

Characteristics: median, percentile & Monotonic increasing (order (<) & totally ordered set

"""^^rdf:HTML ; +

Characteristics: median, percentile & Monotonic increasing (order (<) & totally ordered set"""^^rdf:HTML ; rdfs:isDefinedBy ; rdfs:seeAlso ns1:NominalScale, ns1:OrdinalScale, @@ -786,7 +786,7 @@ ns1:Prefix a rdfs:Class, ns1:Quantifiable a rdfs:Class, sh:NodeShape ; rdfs:label "Quantifiable"^^xsd:string ; - rdfs:comment "

Quantifiable ascribes to some thing the capability of being measured, observed, or counted.

"^^rdf:HTML ; + rdfs:comment "

Quantifiable ascribes to some thing the capability of being measured, observed, or counted."^^rdf:HTML ; rdfs:isDefinedBy ; rdfs:subClassOf ns1:Aspect ; sh:property ns1:Quantifiable-dataEncoding, @@ -803,19 +803,19 @@ ns1:Quantity a rdfs:Class, sh:NodeShape ; rdfs:label "Quantity"^^xsd:string ; ns1:dbpediaMatch "http://dbpedia.org/resource/Quantity"^^xsd:anyURI ; - rdfs:comment """

A quantity is the measurement of an observable property of a particular object, event, or physical system. + rdfs:comment """

A quantity is the measurement of an observable property of a particular object, event, or physical system. A quantity is always associated with the context of measurement (i.e. the thing measured, the measured value, the accuracy of measurement, etc.) whereas the underlying quantity kind is independent of any particular measurement. Thus, length is a quantity kind while the height of a rocket is a specific quantity of length; its magnitude that may be expressed in meters, feet, inches, etc. Examples of physical quantities include physical constants, such as the speed of light in a vacuum, Planck's constant, the electric permittivity of free space, and the fine structure constant.

-

In other words, quantities are quantifiable aspects of the world, such as the duration of a movie, the distance between two points, +

In other words, quantities are quantifiable aspects of the world, such as the duration of a movie, the distance between two points, velocity of a car, the pressure of the atmosphere, and a person's weight; and units are used to describe their numerical measure.

-

Many quantity kinds are related to each other by various physical laws, and as a result, the associated units of some quantity +

Many quantity kinds are related to each other by various physical laws, and as a result, the associated units of some quantity kinds can be expressed as products (or ratios) of powers of other quantity kinds (e.g., momentum is mass times velocity and velocity is defined as distance divided by time). In this way, some quantities can be calculated from other measured quantities using their associations to the quantity kinds in these expressions. These quantity kind relationships are also discussed in dimensional analysis. Those that cannot be so expressed can be regarded as "fundamental" in this sense.

-

A quantity is distinguished from a "quantity kind" in that the former carries a value and the latter is a type specifier.

"""^^rdf:HTML ; +

A quantity is distinguished from a "quantity kind" in that the former carries a value and the latter is a type specifier."""^^rdf:HTML ; rdfs:isDefinedBy ; rdfs:subClassOf ns1:Concept, ns1:Quantifiable ; @@ -1214,6 +1214,13 @@ s223:BACnetExternalReference a s223:Class, rdfs:comment "BACnetExternalReference is a subclass of ExternalReference that contains BACnet protocol parameter values necessary to associate a property with a value."^^xsd:string ; rdfs:subClassOf s223:ExternalReference ; sh:property [ a sh:PropertyShape ; + rdfs:comment "If the relation device-identifier is present it associates the external reference with a BACnet device having the specific device identifier."^^xsd:string ; + sh:datatype xsd:string ; + sh:maxCount 1 ; + sh:minCount 0 ; + sh:path ; + sh:pattern "^[A-Za-z0-9-]+,[1-9][0-9]*$"^^xsd:string ], + [ a sh:PropertyShape ; rdfs:comment "If the relation property-identifier is present it is either a decimal number or exactly equal to the ASHRAE 135-2020 Clause 21 identifier text of BACnetPropertyIdentifier. If it is omitted, it defaults to \"present-value\" except for BACnet File objects, where absence of property-identifier refers to the entire content of the file accessed with Stream Access."^^xsd:string ; sh:datatype xsd:string ; sh:maxCount 1 ; @@ -1225,6 +1232,12 @@ s223:BACnetExternalReference a s223:Class, sh:maxCount 1 ; sh:minCount 0 ; sh:path ], + [ a sh:PropertyShape ; + rdfs:comment "If the relation property-array-index is present it provides the index for reading items from a property that is an array."^^xsd:string ; + sh:datatype xsd:nonNegativeInteger ; + sh:maxCount 1 ; + sh:minCount 0 ; + sh:path ], [ a sh:PropertyShape ; rdfs:comment "If the relation object-identifier is present it associates the external reference with the BACnet object having the specific object identifier."^^xsd:string ; sh:datatype xsd:string ; @@ -1232,12 +1245,6 @@ s223:BACnetExternalReference a s223:Class, sh:minCount 0 ; sh:path ; sh:pattern "^[A-Za-z0-9-]+,[1-9][0-9]*$"^^xsd:string ], - [ a sh:PropertyShape ; - rdfs:comment "If the relation property-array-index is present it provides the index for reading items from a property that is an array."^^xsd:string ; - sh:datatype xsd:nonNegativeInteger ; - sh:maxCount 1 ; - sh:minCount 0 ; - sh:path ], [ a sh:PropertyShape ; rdfs:comment "If the relation priority-for-writing is present it provides the priority for writing values to the object."^^xsd:string ; sh:datatype xsd:nonNegativeInteger ; @@ -1249,14 +1256,7 @@ s223:BACnetExternalReference a s223:Class, sh:datatype xsd:string ; sh:maxCount 1 ; sh:minCount 0 ; - sh:path ], - [ a sh:PropertyShape ; - rdfs:comment "If the relation device-identifier is present it associates the external reference with a BACnet device having the specific device identifier."^^xsd:string ; - sh:datatype xsd:string ; - sh:maxCount 1 ; - sh:minCount 0 ; - sh:path ; - sh:pattern "^[A-Za-z0-9-]+,[1-9][0-9]*$"^^xsd:string ] . + sh:path ] . s223:BatteryCPShape a sh:NodeShape ; rdfs:label "Battery CP Shape"^^xsd:string ; @@ -1283,20 +1283,20 @@ s223:Boiler a s223:Class, rdfs:label "Boiler"^^xsd:string ; rdfs:comment "A closed, pressure vessel that uses fuel or electricity for heating water or other fluids to supply steam or hot water for heating, humidification, or other applications."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A Boiler shall have at least one inlet using the medium Water."^^xsd:string ; - sh:message "s223: A Boiler shall have at least one inlet using the medium Water."^^xsd:string ; + sh:property [ rdfs:comment "A Boiler shall have at least one outlet using the medium Water."^^xsd:string ; + sh:message "s223: A Boiler shall have at least one outlet using the medium Water."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "A Boiler shall have at least one outlet using the medium Water."^^xsd:string ; - sh:message "s223: A Boiler shall have at least one outlet using the medium Water."^^xsd:string ; + [ rdfs:comment "A Boiler shall have at least one inlet using the medium Water."^^xsd:string ; + sh:message "s223: A Boiler shall have at least one inlet using the medium Water."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ] . @@ -1305,20 +1305,20 @@ s223:Chiller a s223:Class, rdfs:label "Chiller"^^xsd:string ; rdfs:comment "A refrigerating machine used to transfer heat from fluids."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A Chiller shall have at least one outlet using the medium Water."^^xsd:string ; - sh:message "s223: A Chiller shall have at least one outlet using the medium Water."^^xsd:string ; + sh:property [ rdfs:comment "A Chiller shall have at least one inlet using the medium Water."^^xsd:string ; + sh:message "s223: A Chiller shall have at least one inlet using the medium Water."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "A Chiller shall have at least one inlet using the medium Water."^^xsd:string ; - sh:message "s223: A Chiller shall have at least one inlet using the medium Water."^^xsd:string ; + [ rdfs:comment "A Chiller shall have at least one outlet using the medium Water."^^xsd:string ; + sh:message "s223: A Chiller shall have at least one outlet using the medium Water."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ] . @@ -1433,20 +1433,20 @@ s223:CoolingTower a s223:Class, rdfs:label "Cooling tower"^^xsd:string ; rdfs:comment "A heat transfer device in which atmospheric air cools warm water, generally by direct contact via evaporation."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A CoolingTower shall have at least one outlet using the medium Water."^^xsd:string ; - sh:message "s223: A CoolingTower shall have at least one outlet using the medium Water."^^xsd:string ; + sh:property [ rdfs:comment "A CoolingTower shall have at least one inlet using the medium Water."^^xsd:string ; + sh:message "s223: A CoolingTower shall have at least one inlet using the medium Water."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "A CoolingTower shall have at least one inlet using the medium Water."^^xsd:string ; - sh:message "s223: A CoolingTower shall have at least one inlet using the medium Water."^^xsd:string ; + [ rdfs:comment "A CoolingTower shall have at least one outlet using the medium Water."^^xsd:string ; + sh:message "s223: A CoolingTower shall have at least one outlet using the medium Water."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ] . @@ -1536,21 +1536,21 @@ s223:ElectricOutlet a s223:Class, rdfs:label "Electric outlet"^^xsd:string ; rdfs:comment "A device to which a piece of electrical equipment can be connected in order to provide it with electricity"^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "An ElectricOutlet shall have exactly one inlet using the medium Electricity."^^xsd:string ; - sh:message "s223: An ElectricOutlet shall have exactly one inlet using the medium Electricity."^^xsd:string ; + sh:property [ rdfs:comment "An ElectricOutlet shall have at least one outlet using the medium Electricity."^^xsd:string ; + sh:message "s223: An ElectricOutlet shall have at least one outlet using the medium Electricity."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; - sh:qualifiedMaxCount 1 ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "An ElectricOutlet shall have at least one outlet using the medium Electricity."^^xsd:string ; - sh:message "s223: An ElectricOutlet shall have at least one outlet using the medium Electricity."^^xsd:string ; + [ rdfs:comment "An ElectricOutlet shall have exactly one inlet using the medium Electricity."^^xsd:string ; + sh:message "s223: An ElectricOutlet shall have exactly one inlet using the medium Electricity."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; + sh:qualifiedMaxCount 1 ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; sh:path s223:hasMedium ] ] ] ] . @@ -1559,20 +1559,20 @@ s223:ElectricTransformer a s223:Class, rdfs:label "Electric transformer"^^xsd:string ; rdfs:comment "A piece of electrical equipment used to convert alternative current (AC) electric power from one voltage to another voltage."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "An ElectricTransformer shall have at least one inlet using the medium Electricity."^^xsd:string ; - sh:message "s223: An ElectricTransformer shall have at least one inlet using the medium Electricity."^^xsd:string ; + sh:property [ rdfs:comment "An ElectricTransformer shall have at least one outlet using the medium Electricity."^^xsd:string ; + sh:message "s223: An ElectricTransformer shall have at least one outlet using the medium Electricity."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "An ElectricTransformer shall have at least one outlet using the medium Electricity."^^xsd:string ; - sh:message "s223: An ElectricTransformer shall have at least one outlet using the medium Electricity."^^xsd:string ; + [ rdfs:comment "An ElectricTransformer shall have at least one inlet using the medium Electricity."^^xsd:string ; + sh:message "s223: An ElectricTransformer shall have at least one inlet using the medium Electricity."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; sh:path s223:hasMedium ] ] ] ] . @@ -1597,7 +1597,13 @@ s223:FanCoilUnit a s223:Class, rdfs:label "Fan coil unit"^^xsd:string ; rdfs:comment "A device consisting of a heat exchanger (coil) and a fan to regulate the temperature of one or more spaces."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A FanCoilUnit shall have at least one inlet using the medium Air."^^xsd:string ; + sh:property [ rdfs:comment "A FanCoilUnit must be associated with at least 1 Fan using the relation contains."^^xsd:string ; + sh:message "s223: A FanCoilUnit must be associated with at least 1 Fan using the relation contains."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:contains ; + sh:qualifiedMinCount 1 ; + sh:qualifiedValueShape [ sh:class s223:Fan ] ], + [ rdfs:comment "A FanCoilUnit shall have at least one inlet using the medium Air."^^xsd:string ; sh:message "s223: A FanCoilUnit shall have at least one inlet using the medium Air."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; @@ -1613,24 +1619,18 @@ s223:FanCoilUnit a s223:Class, sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Air ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "A FanCoilUnit must be associated with at least 1 Coil using the relation contains."^^xsd:string ; - sh:message "s223: A FanCoilUnit must be associated with at least 1 Coil using the relation contains."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:contains ; - sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:Coil ] ], - [ rdfs:comment "A FanCoilUnit must be associated with at least 1 Fan using the relation contains."^^xsd:string ; - sh:message "s223: A FanCoilUnit must be associated with at least 1 Fan using the relation contains."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:contains ; - sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:Fan ] ], [ rdfs:comment "A FanCoilUnit must at least have the role Role-Heating or Role-Cooling."^^xsd:string ; sh:message "s223: A FanCoilUnit must at least have the role Role-Heating or Role-Cooling."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasRole ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:in ( s223:Role-Heating s223:Role-Cooling ) ] ] . + sh:qualifiedValueShape [ sh:in ( s223:Role-Heating s223:Role-Cooling ) ] ], + [ rdfs:comment "A FanCoilUnit must be associated with at least 1 Coil using the relation contains."^^xsd:string ; + sh:message "s223: A FanCoilUnit must be associated with at least 1 Coil using the relation contains."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:contains ; + sh:qualifiedMinCount 1 ; + sh:qualifiedValueShape [ sh:class s223:Coil ] ] . s223:FanPoweredTerminal a s223:Class, sh:NodeShape ; @@ -1649,49 +1649,7 @@ s223:Filter a s223:Class, rdfs:label "Filter"^^xsd:string ; rdfs:comment "A device that removes contaminants from gases or liquids."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A Filter shall have at least one inlet ConnectionPoint."^^xsd:string ; - sh:message "s223: A Filter shall have at least one inlet ConnectionPoint."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:hasConnectionPoint ; - sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ] ], - [ rdfs:comment "A filter should have one common constituent between the inlet and outlet"^^xsd:string ; - sh:path s223:hasConnectionPoint ; - sh:severity sh:Warning ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 3: Two mediums with constituents."^^xsd:string ; - sh:message "s223: For Filter {$this} there is no compatible substance between medium {?m2} and medium {?m1}."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT ?this ?m2 ?m1 -WHERE { - ?this s223:cnx ?cp1, ?cp2 . - ?cp1 a/rdfs:subClassOf* s223:ConnectionPoint . - ?cp2 a/rdfs:subClassOf* s223:ConnectionPoint . - FILTER (?cp1 != ?cp2) . - ?cp1 s223:hasMedium ?m1 . - ?cp2 s223:hasMedium ?m2 . - ?m1 s223:composedOf/s223:ofConstituent ?s1 . - ?m2 s223:composedOf/s223:ofConstituent ?s2 . - FILTER NOT EXISTS { - ?m1 s223:composedOf/s223:ofConstituent ?s11 . - ?m2 s223:composedOf/s223:ofConstituent ?s12 . - FILTER (?s11 = ?s12) . - } - FILTER NOT EXISTS { - ?m1 s223:composedOf/s223:ofConstituent ?s21 . - ?m2 s223:composedOf/s223:ofConstituent ?s22 . - {?s22 rdfs:subClassOf* ?s21} UNION {?s21 rdfs:subClassOf* ?s22} . - } -} -"""^^xsd:string ] ], - [ rdfs:comment "A Filter shall have at least one outlet."^^xsd:string ; - sh:message "s223: A Filter shall have at least one outlet."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:hasConnectionPoint ; - sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ] ], - [ rdfs:comment "Ensure that the filter inlet and outlet have compatible mediums."^^xsd:string ; + sh:property [ rdfs:comment "Ensure that the filter inlet and outlet have compatible mediums."^^xsd:string ; sh:path s223:hasConnectionPoint ; sh:severity sh:Warning ; sh:sparql [ a sh:SPARQLConstraint ; @@ -1713,6 +1671,18 @@ FILTER (NOT EXISTS {?m2 rdfs:subClassOf* ?m1}) . FILTER (NOT EXISTS {?m1 rdfs:subClassOf* ?m2}) . } """^^xsd:string ] ], + [ rdfs:comment "A Filter shall have at least one inlet ConnectionPoint."^^xsd:string ; + sh:message "s223: A Filter shall have at least one inlet ConnectionPoint."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:hasConnectionPoint ; + sh:qualifiedMinCount 1 ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ] ], + [ rdfs:comment "A Filter shall have at least one outlet."^^xsd:string ; + sh:message "s223: A Filter shall have at least one outlet."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:hasConnectionPoint ; + sh:qualifiedMinCount 1 ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ] ], [ rdfs:comment "A filter should have one common constituent between the inlet and outlet"^^xsd:string ; sh:path s223:hasConnectionPoint ; sh:severity sh:Warning ; @@ -1736,6 +1706,36 @@ FILTER NOT EXISTS { {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . } } +"""^^xsd:string ] ], + [ rdfs:comment "A filter should have one common constituent between the inlet and outlet"^^xsd:string ; + sh:path s223:hasConnectionPoint ; + sh:severity sh:Warning ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "Inconsistent Medium. Case 3: Two mediums with constituents."^^xsd:string ; + sh:message "s223: For Filter {$this} there is no compatible substance between medium {?m2} and medium {?m1}."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT ?this ?m2 ?m1 +WHERE { + ?this s223:cnx ?cp1, ?cp2 . + ?cp1 a/rdfs:subClassOf* s223:ConnectionPoint . + ?cp2 a/rdfs:subClassOf* s223:ConnectionPoint . + FILTER (?cp1 != ?cp2) . + ?cp1 s223:hasMedium ?m1 . + ?cp2 s223:hasMedium ?m2 . + ?m1 s223:composedOf/s223:ofConstituent ?s1 . + ?m2 s223:composedOf/s223:ofConstituent ?s2 . + FILTER NOT EXISTS { + ?m1 s223:composedOf/s223:ofConstituent ?s11 . + ?m2 s223:composedOf/s223:ofConstituent ?s12 . + FILTER (?s11 = ?s12) . + } + FILTER NOT EXISTS { + ?m1 s223:composedOf/s223:ofConstituent ?s21 . + ?m2 s223:composedOf/s223:ofConstituent ?s22 . + {?s22 rdfs:subClassOf* ?s21} UNION {?s21 rdfs:subClassOf* ?s22} . + } +} """^^xsd:string ] ] . s223:FlowSensor a s223:Class, @@ -1749,20 +1749,20 @@ s223:FumeHood a s223:Class, rdfs:label "Fume hood"^^xsd:string ; rdfs:comment "A fume-collection device mounted over a work space, table, or shelf and serving to conduct unwanted gases away from an area."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A FumeHood shall have at least one inlet using the medium Air."^^xsd:string ; - sh:message "s223: A FumeHood shall have at least one inlet using the medium Air."^^xsd:string ; + sh:property [ rdfs:comment "A FumeHood shall have at least one outlet using the medium Air."^^xsd:string ; + sh:message "s223: A FumeHood shall have at least one outlet using the medium Air."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Air ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "A FumeHood shall have at least one outlet using the medium Air."^^xsd:string ; - sh:message "s223: A FumeHood shall have at least one outlet using the medium Air."^^xsd:string ; + [ rdfs:comment "A FumeHood shall have at least one inlet using the medium Air."^^xsd:string ; + sh:message "s223: A FumeHood shall have at least one inlet using the medium Air."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Air ; sh:path s223:hasMedium ] ] ] ] . @@ -1785,20 +1785,20 @@ s223:Furnace a s223:Class, rdfs:label "Furnace"^^xsd:string ; rdfs:comment "An enclosed chamber or structure in which heat is produced, as by burning fuel or by converting electrical energy. "^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A Furnace shall have at least one inlet using the medium Air."^^xsd:string ; - sh:message "s223: A Furnace shall have at least one inlet using the medium Air."^^xsd:string ; + sh:property [ rdfs:comment "A Furnace shall have at least one outlet using the medium Air."^^xsd:string ; + sh:message "s223: A Furnace shall have at least one outlet using the medium Air."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Air ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "A Furnace shall have at least one outlet using the medium Air."^^xsd:string ; - sh:message "s223: A Furnace shall have at least one outlet using the medium Air."^^xsd:string ; + [ rdfs:comment "A Furnace shall have at least one inlet using the medium Air."^^xsd:string ; + sh:message "s223: A Furnace shall have at least one inlet using the medium Air."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Air ; sh:path s223:hasMedium ] ] ] ] . @@ -1807,32 +1807,32 @@ s223:GaugePressureSensor a s223:Class, rdfs:label "Differential sensor"^^xsd:string ; rdfs:comment "A pressure sensor that indicates pressure relative to atmospheric pressure."^^xsd:string ; rdfs:subClassOf s223:PressureSensor ; - sh:property [ rdfs:comment "A GaugePressureSensor must always observe a Property that has a QuantityKind of GaugePressure."^^xsd:string ; - sh:message "s223: A GaugePressureSensor must always observe a Property that has a QuantityKind of GaugePressure."^^xsd:string ; - sh:path ( s223:observes ns1:hasQuantityKind ) ; - sh:value ], - [ rdfs:comment "A GaugePressureSensor must always observe a Property that has a value of true for qudt:isDeltaQuantity."^^xsd:string ; + sh:property [ rdfs:comment "A GaugePressureSensor must always observe a Property that has a value of true for qudt:isDeltaQuantity."^^xsd:string ; sh:maxCount 1 ; sh:message "s223: A GaugePressureSensor must always observe a Property that has a value of true for qudt:isDeltaQuantity."^^xsd:string ; sh:minCount 1 ; sh:path ( s223:observes ns1:isDeltaQuantity ) ; - sh:value true ] . + sh:value true ], + [ rdfs:comment "A GaugePressureSensor must always observe a Property that has a QuantityKind of GaugePressure."^^xsd:string ; + sh:message "s223: A GaugePressureSensor must always observe a Property that has a QuantityKind of GaugePressure."^^xsd:string ; + sh:path ( s223:observes ns1:hasQuantityKind ) ; + sh:value ] . s223:Generator a s223:Class, sh:NodeShape ; rdfs:label "Generator"^^xsd:string ; rdfs:comment "An energy transducer that transforms non-electric energy into electric energy."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A Generator shall have at least one outlet using the medium Electricity."^^xsd:string ; + sh:property [ rdfs:comment "A Generator must be associated with at least one ConnectionPoint using the relation hasConnectionPoint."^^xsd:string ; + sh:message "s223: A Generator must be associated with at least one ConnectionPoint using the relation hasConnectionPoint."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:hasConnectionPoint ], + [ rdfs:comment "A Generator shall have at least one outlet using the medium Electricity."^^xsd:string ; sh:class s223:OutletConnectionPoint ; sh:message "s223: A Generator shall have at least one outlet using the medium Electricity."^^xsd:string ; sh:minCount 1 ; sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; sh:path s223:hasMedium ] ] ; - sh:path s223:hasConnectionPoint ], - [ rdfs:comment "A Generator must be associated with at least one ConnectionPoint using the relation hasConnectionPoint."^^xsd:string ; - sh:message "s223: A Generator must be associated with at least one ConnectionPoint using the relation hasConnectionPoint."^^xsd:string ; - sh:minCount 1 ; sh:path s223:hasConnectionPoint ] . s223:GroundSourceHeatPump a s223:Class, @@ -1989,21 +1989,21 @@ s223:Luminaire a s223:Class, rdfs:label "Luminaire"^^xsd:string ; rdfs:comment "A complete lighting unit consisting of a light source(s) and ballast(s) or driver(s) (when applicable), together with the parts designed to distribute the light, to position and protect the light source(s), and to connect the light source(s) to the power supply. Also known as a light fixture."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A Luminaire shall have at least one outlet using the medium EM-Light."^^xsd:string ; - sh:message "s223: A Luminaire shall have at least one outlet using the medium EM-Light."^^xsd:string ; + sh:property [ rdfs:comment "A Luminaire shall have at least one inlet using the medium Electricity."^^xsd:string ; + sh:message "s223: A Luminaire shall have at least one inlet using the medium Electricity."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; - sh:node [ sh:property [ sh:class s223:EM-Light ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "A Luminaire shall have at least one inlet using the medium Electricity."^^xsd:string ; - sh:message "s223: A Luminaire shall have at least one inlet using the medium Electricity."^^xsd:string ; + [ rdfs:comment "A Luminaire shall have at least one outlet using the medium EM-Light."^^xsd:string ; + sh:message "s223: A Luminaire shall have at least one outlet using the medium EM-Light."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; - sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:node [ sh:property [ sh:class s223:EM-Light ; sh:path s223:hasMedium ] ] ] ] . s223:Motor a s223:Class, @@ -2094,21 +2094,21 @@ s223:PhotovoltaicModule a s223:Class, rdfs:label "Photovoltaic module"^^xsd:string ; rdfs:comment "A piece of equipment that converts sunlight into electricity."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "An PhotovoltaicModule shall have at least one outlet using the medium Electricity."^^xsd:string ; - sh:message "s223: An PhotovoltaicModule shall have at least one outlet using the medium Electricity."^^xsd:string ; + sh:property [ rdfs:comment "An PhotovoltaicModule must have at least one inlet using the medium EM-Light."^^xsd:string ; + sh:message "s223: An PhotovoltaicModule must have at least one inlet using the medium EM-Light."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; - sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:node [ sh:property [ sh:class s223:EM-Light ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "An PhotovoltaicModule must have at least one inlet using the medium EM-Light."^^xsd:string ; - sh:message "s223: An PhotovoltaicModule must have at least one inlet using the medium EM-Light."^^xsd:string ; + [ rdfs:comment "An PhotovoltaicModule shall have at least one outlet using the medium Electricity."^^xsd:string ; + sh:message "s223: An PhotovoltaicModule shall have at least one outlet using the medium Electricity."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; - sh:node [ sh:property [ sh:class s223:EM-Light ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; sh:path s223:hasMedium ] ] ] ] . s223:Pipe a s223:Class, @@ -2142,7 +2142,28 @@ s223:Pump a s223:Class, rdfs:label "Pump"^^xsd:string ; rdfs:comment "A machine for imparting energy to a fluid, drawing a fluid into itself through an entrance port, and forcing the fluid out through an exhaust port."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A Pump shall have at least one inlet using the medium Water, Oil or Refrigerant."^^xsd:string ; + sh:property [ rdfs:comment "The non-electrical ConnectionPoints of a Pump must have compatible Media."^^xsd:string ; + sh:path s223:hasConnectionPoint ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "The non-electrical ConnectionPoints of a Pump must have compatible Media."^^xsd:string ; + sh:message "s223: {?cpa} and {?cpb} on the Pump {$this} have incompatible Media {$mediuma} and {$mediumb}."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this ?cpa ?cpb ?mediuma ?mediumb +WHERE { + $this s223:hasConnectionPoint ?cpa . + $this s223:hasConnectionPoint ?cpb . + FILTER (?cpa != ?cpb) . + ?cpa s223:hasMedium ?mediuma . + FILTER (NOT EXISTS {?mediuma a/rdfs:subClassOf* s223:Constituent-Electricity}) . + ?cpb s223:hasMedium ?mediumb . + FILTER (NOT EXISTS {?mediumb a/rdfs:subClassOf* s223:Constituent-Electricity}) . + FILTER (?mediuma != ?mediumb) . + FILTER (NOT EXISTS {?mediumb a/rdfs:subClassOf* ?mediuma}) . + FILTER (NOT EXISTS {?mediuma a/rdfs:subClassOf* ?mediumb}) . +} +"""^^xsd:string ] ], + [ rdfs:comment "A Pump shall have at least one inlet using the medium Water, Oil or Refrigerant."^^xsd:string ; sh:message "s223: A Pump shall have at least one inlet using the medium Water, Oil or Refrigerant."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; @@ -2167,28 +2188,7 @@ s223:Pump a s223:Class, sh:path s223:hasMedium ] ] [ sh:property [ sh:class s223:Fluid-Refrigerant ; sh:path s223:hasMedium ] ] [ sh:property [ sh:class s223:Fluid-Oil ; sh:path s223:hasMedium ] ] ) ; - sh:severity sh:Warning ] ] ], - [ rdfs:comment "The non-electrical ConnectionPoints of a Pump must have compatible Media."^^xsd:string ; - sh:path s223:hasConnectionPoint ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "The non-electrical ConnectionPoints of a Pump must have compatible Media."^^xsd:string ; - sh:message "s223: {?cpa} and {?cpb} on the Pump {$this} have incompatible Media {$mediuma} and {$mediumb}."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this ?cpa ?cpb ?mediuma ?mediumb -WHERE { - $this s223:hasConnectionPoint ?cpa . - $this s223:hasConnectionPoint ?cpb . - FILTER (?cpa != ?cpb) . - ?cpa s223:hasMedium ?mediuma . - FILTER (NOT EXISTS {?mediuma a/rdfs:subClassOf* s223:Constituent-Electricity}) . - ?cpb s223:hasMedium ?mediumb . - FILTER (NOT EXISTS {?mediumb a/rdfs:subClassOf* s223:Constituent-Electricity}) . - FILTER (?mediuma != ?mediumb) . - FILTER (NOT EXISTS {?mediumb a/rdfs:subClassOf* ?mediuma}) . - FILTER (NOT EXISTS {?mediuma a/rdfs:subClassOf* ?mediumb}) . -} -"""^^xsd:string ] ] . + sh:severity sh:Warning ] ] ] . s223:RadiantHeaterInletShape a sh:NodeShape ; rdfs:label "Radiant heater inlet shape"^^xsd:string ; @@ -2535,13 +2535,13 @@ s223:ValveCPShape a sh:NodeShape ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ] ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ] ; sh:qualifiedValueShapesDisjoint true ], [ rdfs:comment "A Valve shall have at least one inlet and one outlet or two bidirectional connection points."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ] ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ] ; sh:qualifiedValueShapesDisjoint true ] ] [ sh:property [ rdfs:comment "A Valve shall have at least one inlet and one outlet or two bidirectional connection points."^^xsd:string ; sh:minCount 2 ; sh:path s223:hasConnectionPoint ; @@ -2556,7 +2556,11 @@ s223:VariableFrequencyDrive a s223:Class, rdfs:label "VariableFrequencyDrive"^^xsd:string ; rdfs:comment "An electronic device that varies its output frequency to vary the rotating speed of a motor, given a fixed input frequency. Used with fans or pumps to vary the flow in the system as a function of a maintained pressure."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A VariableFrequencyDrive shall have at least one inlet using the medium Electricity."^^xsd:string ; + sh:property [ rdfs:comment "If the relation connectedTo is present it must associate the VariableFrequencyDrive with a Equipment."^^xsd:string ; + sh:class s223:Equipment ; + sh:message "s223: If the relation connectedTo is present it must associate the VariableFrequencyDrive with a Equipment."^^xsd:string ; + sh:path s223:connectedTo ], + [ rdfs:comment "A VariableFrequencyDrive shall have at least one inlet using the medium Electricity."^^xsd:string ; sh:message "s223: A VariableFrequencyDrive shall have at least one inlet using the medium Electricity."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; @@ -2572,31 +2576,27 @@ s223:VariableFrequencyDrive a s223:Class, sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; - sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "If the relation connectedTo is present it must associate the VariableFrequencyDrive with a Equipment."^^xsd:string ; - sh:class s223:Equipment ; - sh:message "s223: If the relation connectedTo is present it must associate the VariableFrequencyDrive with a Equipment."^^xsd:string ; - sh:path s223:connectedTo ] . + sh:path s223:hasMedium ] ] ] ] . s223:WaterSourceHeatPump a s223:Class, sh:NodeShape ; rdfs:label "Water source heat pump"^^xsd:string ; rdfs:comment "A subclass of HeatPump that can heat or cool by transferring thermal energy to and from a body of water."^^xsd:string ; rdfs:subClassOf s223:HeatPump ; - sh:property [ rdfs:comment "A WaterSourceHeatPump shall have at least one inlet using the medium Water."^^xsd:string ; - sh:message "s223: A WaterSourceHeatPump shall have at least one inlet using the medium Water."^^xsd:string ; + sh:property [ rdfs:comment "A WaterSourceHeatPump shall have at least one outlet using the medium Water"^^xsd:string ; + sh:message "s223: A WaterSourceHeatPump shall have at least one outlet using the medium Water."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "A WaterSourceHeatPump shall have at least one outlet using the medium Water"^^xsd:string ; - sh:message "s223: A WaterSourceHeatPump shall have at least one outlet using the medium Water."^^xsd:string ; + [ rdfs:comment "A WaterSourceHeatPump shall have at least one inlet using the medium Water."^^xsd:string ; + sh:message "s223: A WaterSourceHeatPump shall have at least one inlet using the medium Water."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ] . @@ -16770,9 +16770,9 @@ $\\text{Magnetic Polarization}$ is a vector quantity equal to the product of the a ns1:QuantityKind ; rdfs:label "Reflectivity"@en ; - dcterms:description """

For homogeneous and semi-infinite materials, reflectivity is the same as reflectance. Reflectivity is the square of the magnitude of the Fresnel reflection coefficient, which is the ratio of the reflected to incident electric field; as such the reflection coefficient can be expressed as a complex number as determined by the Fresnel equations for a single layer, whereas the reflectance is always a positive real number.

+ dcterms:description """

For homogeneous and semi-infinite materials, reflectivity is the same as reflectance. Reflectivity is the square of the magnitude of the Fresnel reflection coefficient, which is the ratio of the reflected to incident electric field; as such the reflection coefficient can be expressed as a complex number as determined by the Fresnel equations for a single layer, whereas the reflectance is always a positive real number.

-

For layered and finite media, according to the CIE, reflectivity is distinguished from reflectance by the fact that reflectivity is a value that applies to thick reflecting objects. When reflection occurs from thin layers of material, internal reflection effects can cause the reflectance to vary with surface thickness. Reflectivity is the limit value of reflectance as the sample becomes thick; it is the intrinsic reflectance of the surface, hence irrespective of other parameters such as the reflectance of the rear surface. Another way to interpret this is that the reflectance is the fraction of electromagnetic power reflected from a specific sample, while reflectivity is a property of the material itself, which would be measured on a perfect machine if the material filled half of all space.

"""^^rdf:HTML ; +

For layered and finite media, according to the CIE, reflectivity is distinguished from reflectance by the fact that reflectivity is a value that applies to thick reflecting objects. When reflection occurs from thin layers of material, internal reflection effects can cause the reflectance to vary with surface thickness. Reflectivity is the limit value of reflectance as the sample becomes thick; it is the intrinsic reflectance of the surface, hence irrespective of other parameters such as the reflectance of the rear surface. Another way to interpret this is that the reflectance is the fraction of electromagnetic power reflected from a specific sample, while reflectivity is a property of the material itself, which would be measured on a perfect machine if the material filled half of all space."""^^rdf:HTML ; ns1:applicableUnit , , ; @@ -21571,16 +21571,12 @@ s223:AirHeatExchanger a s223:Class, AirHeatExchanger class does not represent the physical characteristics of a heat exchanger design. It represents only the heat transfer functionality."""^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "An AirHeatExchanger shall have at least two air inlets, each paired with an outlet."^^xsd:string ; - sh:message "s223: An AirHeatExchanger shall have at least two air inlets, each paired with an outlet."^^xsd:string ; + sh:property [ rdfs:comment "An AirHeatExchanger shall have no BidirectionalConnectionPoints."^^xsd:string ; + sh:message "s223: An AirHeatExchanger shall have no BidirectionalConnectionPoints."^^xsd:string ; sh:path s223:hasConnectionPoint ; - sh:qualifiedMinCount 2 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; - sh:node [ sh:property [ sh:class s223:OutletConnectionPoint ; - sh:minCount 1 ; - sh:path s223:pairedConnectionPoint ], - [ sh:class s223:Fluid-Air ; - sh:path s223:hasMedium ] ] ] ], + sh:qualifiedValueShape [ sh:class s223:BidirectionalConnectionPoint ; + sh:message "s223: An AirHeatExchanger shall have no BidirectionalConnectionPoints."^^xsd:string ; + sh:qualifiedMaxCount 0 ] ], [ rdfs:comment "An AirHeatExchanger shall have at least two air outlets, each paired with an inlet."^^xsd:string ; sh:message "s223: An AirHeatExchanger shall have at least two air outlets, each paired with an inlet."^^xsd:string ; sh:path s223:hasConnectionPoint ; @@ -21591,12 +21587,16 @@ s223:AirHeatExchanger a s223:Class, sh:path s223:pairedConnectionPoint ], [ sh:class s223:Fluid-Air ; sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "An AirHeatExchanger shall have no BidirectionalConnectionPoints."^^xsd:string ; - sh:message "s223: An AirHeatExchanger shall have no BidirectionalConnectionPoints."^^xsd:string ; + [ rdfs:comment "An AirHeatExchanger shall have at least two air inlets, each paired with an outlet."^^xsd:string ; + sh:message "s223: An AirHeatExchanger shall have at least two air inlets, each paired with an outlet."^^xsd:string ; sh:path s223:hasConnectionPoint ; - sh:qualifiedValueShape [ sh:class s223:BidirectionalConnectionPoint ; - sh:message "s223: An AirHeatExchanger shall have no BidirectionalConnectionPoints."^^xsd:string ; - sh:qualifiedMaxCount 0 ] ], + sh:qualifiedMinCount 2 ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:node [ sh:property [ sh:class s223:Fluid-Air ; + sh:path s223:hasMedium ], + [ sh:class s223:OutletConnectionPoint ; + sh:minCount 1 ; + sh:path s223:pairedConnectionPoint ] ] ] ], [ rdfs:comment "An AirHeatExchanger shall have a role of Role-HeatTransfer."^^xsd:string ; sh:message "s223: An AirHeatExchanger shall have a role of Role-HeatTransfer."^^xsd:string ; sh:path s223:hasRole ; @@ -21866,12 +21866,14 @@ s223:ChilledBeam a s223:Class, rdfs:label "Chilled beam"^^xsd:string ; rdfs:comment "A structure with a colder surface temperature where air passes through, and air movement is induced in the room to achieve cooling. Cooling medium is generally water."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A ChilledBeam must be associated with the Role-Cooling using the relation hasRole"^^xsd:string ; - sh:message "s223: A ChilledBeam must be associated with the Role-Cooling using the relation hasRole"^^xsd:string ; + sh:property [ rdfs:comment "A ChilledBeam shall have at least one outlet using the medium Water."^^xsd:string ; + sh:message "s223: A ChilledBeam shall have at least one outlet using the medium Water."^^xsd:string ; sh:minCount 1 ; - sh:path s223:hasRole ; + sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:Role-Cooling ] ], + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:node [ sh:property [ sh:class s223:Fluid-Water ; + sh:path s223:hasMedium ] ] ] ], [ rdfs:comment "A ChilledBeam shall have at least one inlet using the medium Water."^^xsd:string ; sh:message "s223: A ChilledBeam shall have at least one inlet using the medium Water."^^xsd:string ; sh:minCount 1 ; @@ -21880,6 +21882,12 @@ s223:ChilledBeam a s223:Class, sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ], + [ rdfs:comment "A ChilledBeam must be associated with the Role-Cooling using the relation hasRole"^^xsd:string ; + sh:message "s223: A ChilledBeam must be associated with the Role-Cooling using the relation hasRole"^^xsd:string ; + sh:minCount 1 ; + sh:path s223:hasRole ; + sh:qualifiedMinCount 1 ; + sh:qualifiedValueShape [ sh:class s223:Role-Cooling ] ], [ rdfs:comment "A ChilledBeam shall have at least one bidirectional connection point using the medium Air."^^xsd:string ; sh:message "s223: A ChilledBeam shall have at least one bidirectional connection point using the medium Air."^^xsd:string ; sh:minCount 1 ; @@ -21887,14 +21895,6 @@ s223:ChilledBeam a s223:Class, sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:BidirectionalConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Air ; - sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "A ChilledBeam shall have at least one outlet using the medium Water."^^xsd:string ; - sh:message "s223: A ChilledBeam shall have at least one outlet using the medium Water."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:hasConnectionPoint ; - sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; - sh:node [ sh:property [ sh:class s223:Fluid-Water ; sh:path s223:hasMedium ] ] ] ] ; sh:rule [ a sh:TripleRule ; rdfs:comment "A Chilled Beam will always have the role Role-Cooling"^^xsd:string ; @@ -22125,19 +22125,19 @@ s223:EthernetSwitch a s223:Class, rdfs:label "Ethernet switch"^^xsd:string ; rdfs:comment "A type of network hardware that connects cabled devices, such as computers and Wi-Fi access points, in an Ethernet LAN so they can communicate with each other and to the internet."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "An EthernetSwitch shall have at least two BidirectionalConnectionPoints using the medium Signal-Ethernet."^^xsd:string ; - sh:message "s223: An EthernetSwitch shall have at least two BidirectionalConnectionPoints using the medium Signal-Ethernet."^^xsd:string ; - sh:path s223:hasConnectionPoint ; - sh:qualifiedMinCount 2 ; - sh:qualifiedValueShape [ sh:class s223:BidirectionalConnectionPoint ; - sh:node [ sh:property [ sh:class s223:Signal-Ethernet ; - sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "An EthernetSwitch shall have at least one inlet using the medium Electricity."^^xsd:string ; + sh:property [ rdfs:comment "An EthernetSwitch shall have at least one inlet using the medium Electricity."^^xsd:string ; sh:message "s223: An EthernetSwitch shall have at least one inlet using the medium Electricity."^^xsd:string ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; + sh:path s223:hasMedium ] ] ] ], + [ rdfs:comment "An EthernetSwitch shall have at least two BidirectionalConnectionPoints using the medium Signal-Ethernet."^^xsd:string ; + sh:message "s223: An EthernetSwitch shall have at least two BidirectionalConnectionPoints using the medium Signal-Ethernet."^^xsd:string ; + sh:path s223:hasConnectionPoint ; + sh:qualifiedMinCount 2 ; + sh:qualifiedValueShape [ sh:class s223:BidirectionalConnectionPoint ; + sh:node [ sh:property [ sh:class s223:Signal-Ethernet ; sh:path s223:hasMedium ] ] ] ] . s223:Gas-SuperHeated a s223:Class, @@ -22174,16 +22174,16 @@ s223:GlycolSolution-30Percent a s223:Class, sh:NodeShape ; rdfs:label "GlycolSolution-30Percent"^^xsd:string ; s223:composedOf [ a s223:QuantifiableProperty ; - rdfs:label "Glycol conc"^^xsd:string ; - s223:hasValue 30.0 ; - s223:ofConstituent s223:Constituent-Glycol ; - ns1:hasQuantityKind ; - ns1:hasUnit ], - [ a s223:QuantifiableProperty ; rdfs:label "Water conc"^^xsd:string ; s223:hasValue 70.0 ; s223:ofConstituent s223:Constituent-H2O ; ns1:hasQuantityKind ; + ns1:hasUnit ], + [ a s223:QuantifiableProperty ; + rdfs:label "Glycol conc"^^xsd:string ; + s223:hasValue 30.0 ; + s223:ofConstituent s223:Constituent-Glycol ; + ns1:hasQuantityKind ; ns1:hasUnit ] ; s223:hasFreezingPoint [ a s223:QuantifiableProperty ; rdfs:label "Freezing point"^^xsd:string ; @@ -22268,14 +22268,19 @@ s223:HydronicHeatExchanger a s223:Class, HydronicHeatExchanger class does not represent the physical characteristics of a hydronic heat exchanger design. It represents only the heat transfer functionality."""^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "A HydronicHeatExchanger shall have at least two liquid outlets, each paired with an inlet."^^xsd:string ; - sh:message "s223: A HydronicHeatExchanger shall have at least two liquid outlets, each paired with an inlet."^^xsd:string ; + sh:property [ rdfs:comment "A HydronicHeatExchanger shall have a role of Role-HeatTransfer."^^xsd:string ; + sh:message "s223: A HydronicHeatExchanger shall have a role of Role-HeatTransfer."^^xsd:string ; + sh:path s223:hasRole ; + sh:qualifiedMinCount 1 ; + sh:qualifiedValueShape [ sh:class s223:Role-HeatTransfer ] ], + [ rdfs:comment "A HydronicHeatExchanger shall have at least two liquid inlets, each paired with an outlet."^^xsd:string ; + sh:message "s223: A HydronicHeatExchanger shall have at least two liquid inlets, each paired with an outlet."^^xsd:string ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 2 ; - sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Mix-Fluid ; sh:path s223:hasMedium ], - [ sh:class s223:InletConnectionPoint ; + [ sh:class s223:OutletConnectionPoint ; sh:minCount 1 ; sh:path s223:pairedConnectionPoint ] ] ] ], [ rdfs:comment "A HydronicHeatExchanger shall have no ConnectionPoints using the medium Air."^^xsd:string ; @@ -22291,17 +22296,12 @@ s223:HydronicHeatExchanger a s223:Class, sh:qualifiedValueShape [ sh:class s223:BidirectionalConnectionPoint ; sh:message "s223: A HydronicHeatExchanger shall have no BidirectionalConnectionPoints."^^xsd:string ; sh:qualifiedMaxCount 0 ] ], - [ rdfs:comment "A HydronicHeatExchanger shall have a role of Role-HeatTransfer."^^xsd:string ; - sh:message "s223: A HydronicHeatExchanger shall have a role of Role-HeatTransfer."^^xsd:string ; - sh:path s223:hasRole ; - sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:Role-HeatTransfer ] ], - [ rdfs:comment "A HydronicHeatExchanger shall have at least two liquid inlets, each paired with an outlet."^^xsd:string ; - sh:message "s223: A HydronicHeatExchanger shall have at least two liquid inlets, each paired with an outlet."^^xsd:string ; + [ rdfs:comment "A HydronicHeatExchanger shall have at least two liquid outlets, each paired with an inlet."^^xsd:string ; + sh:message "s223: A HydronicHeatExchanger shall have at least two liquid outlets, each paired with an inlet."^^xsd:string ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 2 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; - sh:node [ sh:property [ sh:class s223:OutletConnectionPoint ; + sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; + sh:node [ sh:property [ sh:class s223:InletConnectionPoint ; sh:minCount 1 ; sh:path s223:pairedConnectionPoint ], [ sh:class s223:Mix-Fluid ; @@ -22731,25 +22731,25 @@ s223:System a s223:Class, rdfs:label "System"^^xsd:string ; rdfs:comment "A System is a logical grouping (collection) of Equipment for some functional purpose. Examples of possible systems iclude an air distribution system, or a hot water system. Systems can contain other Systems. A System does not participate in Connections."^^xsd:string ; rdfs:subClassOf s223:Concept ; - sh:property [ rdfs:comment "If the relation hasRole is present, it must associate the System with an EnumerationKind-Role."^^xsd:string ; - sh:class s223:EnumerationKind-Role ; - sh:message "s223: If the relation hasRole is present, it must associate the System with an EnumerationKind-Role."^^xsd:string ; - sh:path s223:hasRole ], - [ rdfs:comment "A System may be defined with a number of ConnectionPoints that are the \"boundary\" of the equipment. The hasBoundaryConnectionPoint relation is used to reference those connection points of its equipment that must be connected, but in the context of validating the a model with the system by itself, the \"dangling ConnectionPoint\" should not generate a validation error."^^xsd:string ; + sh:property [ rdfs:comment "A System may be defined with a number of ConnectionPoints that are the \"boundary\" of the equipment. The hasBoundaryConnectionPoint relation is used to reference those connection points of its equipment that must be connected, but in the context of validating the a model with the system by itself, the \"dangling ConnectionPoint\" should not generate a validation error."^^xsd:string ; sh:class s223:ConnectionPoint ; sh:message "s223: A System may be defined with a number of ConnectionPoints that are the \"boundary\" of the equipment. The hasBoundaryConnectionPoint relation is used to reference those connection points of its equipment that must be connected, but in the context of validating the a model with the system by itself, the \"dangling ConnectionPoint\" should not generate a validation error."^^xsd:string ; sh:path s223:hasBoundaryConnectionPoint ], - [ rdfs:comment "A System may be defined with a number of ConnectionPoints that are the \"boundary\" of the equipment. The hasOptionalConnectionPoint relation is used to reference those connection points of its equipment that may not be connected, the \"dangling ConnectionPoint\" should not generate a validation error."^^xsd:string ; - sh:class s223:ConnectionPoint ; - sh:message "s223: A System may be defined with a number of ConnectionPoints that are the \"boundary\" of the equipment. The hasOptionalConnectionPoint relation is used to reference those connection points of its equipment that may not be connected, the \"dangling ConnectionPoint\" should not generate a validation error."^^xsd:string ; - sh:path s223:hasOptionalConnectionPoint ], [ a sh:PropertyShape ; rdfs:comment "A System should be associated with at least one instance of Equipment or System using the relation hasMember"^^xsd:string ; sh:message "s223: A System should be associated with at least one instance of Equipment or System using the relation hasMember"^^xsd:string ; sh:minCount 1 ; sh:or ( [ sh:class s223:Equipment ] [ sh:class s223:System ] ) ; sh:path s223:hasMember ; - sh:severity sh:Warning ] ; + sh:severity sh:Warning ], + [ rdfs:comment "If the relation hasRole is present, it must associate the System with an EnumerationKind-Role."^^xsd:string ; + sh:class s223:EnumerationKind-Role ; + sh:message "s223: If the relation hasRole is present, it must associate the System with an EnumerationKind-Role."^^xsd:string ; + sh:path s223:hasRole ], + [ rdfs:comment "A System may be defined with a number of ConnectionPoints that are the \"boundary\" of the equipment. The hasOptionalConnectionPoint relation is used to reference those connection points of its equipment that may not be connected, the \"dangling ConnectionPoint\" should not generate a validation error."^^xsd:string ; + sh:class s223:ConnectionPoint ; + sh:message "s223: A System may be defined with a number of ConnectionPoints that are the \"boundary\" of the equipment. The hasOptionalConnectionPoint relation is used to reference those connection points of its equipment that may not be connected, the \"dangling ConnectionPoint\" should not generate a validation error."^^xsd:string ; + sh:path s223:hasOptionalConnectionPoint ] ; sh:rule [ a sh:TripleRule ; rdfs:comment "Infer the hasBoundaryConnectionPoint relation using hasOptionalConnectionPoint."^^xsd:string ; sh:name "InferredSystemToBoundaryConnectionPointFromOptional"^^xsd:string ; @@ -23397,7 +23397,7 @@ ns1:LongUnsignedIntegerEncoding a ns1:IntegerEncodingType ; ns1:Narratable a ns1:AspectClass, sh:NodeShape ; rdfs:label "Narratable"^^xsd:string ; - rdfs:comment "

Narratable specifies properties that provide for documentation and references.

"^^rdf:HTML ; + rdfs:comment "

Narratable specifies properties that provide for documentation and references."^^rdf:HTML ; rdfs:isDefinedBy ; rdfs:subClassOf ns1:Aspect . @@ -36410,7 +36410,7 @@ the quotient of rms voltage and rms electric current; it is often denoted by $Z$ a ns1:DerivedUnit, ns1:Unit ; rdfs:label "Darcy"@en ; - dcterms:description "

The $darcy$ (d) is a unit of permeability named after Henry Darcy. It is not an SI unit, but it is widely used in petroleum engineering and geology. The unit has also been used in biophysics and biomechanics, where the flow of fluids such as blood through capillary beds and cerebrospinal fluid through the brain interstitial space is being examined. A darcy has dimensional units of length2.

"^^rdf:HTML ; + dcterms:description "

The $darcy$ (d) is a unit of permeability named after Henry Darcy. It is not an SI unit, but it is widely used in petroleum engineering and geology. The unit has also been used in biophysics and biomechanics, where the flow of fluids such as blood through capillary beds and cerebrospinal fluid through the brain interstitial space is being examined. A darcy has dimensional units of length2."^^rdf:HTML ; ns1:applicableSystem , ; ns1:conversionMultiplier 0.0000000000009869233 ; @@ -39096,7 +39096,7 @@ The magnitude of one $IU/L$ depends on the material, so there is no single conve dcterms:description """

International Unit per milligramme. The magnitude of one $IU/L$ depends on the material, so there is no single conversion multiplier. -

"""^^rdf:HTML ; +"""^^rdf:HTML ; ns1:conversionMultiplier 0.000001 ; ns1:conversionMultiplierSN 1e-06 ; ns1:conversionOffset 0.0 ; @@ -39399,7 +39399,7 @@ The magnitude of one $IU/L$ depends on the material, so there is no single conve rdfs:label "Kelvin je Watt"@de, "kelvin per watt"@en, "kelvin al watt"@it ; - dcterms:description "

Thermal resistance is a heat property and a measure of a temperature difference by which an object or material resists a heat flow (heat per time unit or thermal resistance). Thermal resistance is the reciprocal thermal conductance. Absolute thermal resistance is the temperature difference across a structure when a unit of heat energy flows through it in unit time. It is the reciprocal of thermal conductance. The SI units of thermal resistance are kelvins per watt or the equivalent degrees Celsius per watt (the two are the same since as intervals).

"^^rdf:HTML ; + dcterms:description "

Thermal resistance is a heat property and a measure of a temperature difference by which an object or material resists a heat flow (heat per time unit or thermal resistance). Thermal resistance is the reciprocal thermal conductance. Absolute thermal resistance is the temperature difference across a structure when a unit of heat energy flows through it in unit time. It is the reciprocal of thermal conductance. The SI units of thermal resistance are kelvins per watt or the equivalent degrees Celsius per watt (the two are the same since as intervals)."^^rdf:HTML ; ns1:applicableSystem ; ns1:conversionMultiplier 1.0 ; ns1:conversionMultiplierSN 1e+00 ; @@ -51525,11 +51525,11 @@ ns2:GMD_SHACLQUDT-SCHEMA a ns2:GraphMetaData ; "Steve Ray"^^xsd:string ; dcterms:created "2011-04-20"^^xsd:date ; dcterms:creator "Ralph Hodgson"^^xsd:string ; - dcterms:description """

The QUDT, or "Quantity, Unit, Dimension and Type" schema defines the base classes properties, and restrictions used for modeling physical quantities, units of measure, and their dimensions in various measurement systems. The goal of the QUDT ontology is to provide a unified model of, measurable quantities, units for measuring different kinds of quantities, the numerical values of quantities in different units of measure and the data structures and data types used to store and manipulate these objects in software.

+ dcterms:description """

The QUDT, or "Quantity, Unit, Dimension and Type" schema defines the base classes properties, and restrictions used for modeling physical quantities, units of measure, and their dimensions in various measurement systems. The goal of the QUDT ontology is to provide a unified model of, measurable quantities, units for measuring different kinds of quantities, the numerical values of quantities in different units of measure and the data structures and data types used to store and manipulate these objects in software.

-

Except for unit prefixes, all units are specified in separate vocabularies. Descriptions are provided in both HTML and LaTeX formats. A quantity is a measure of an observable phenomenon, that, when associated with something, becomes a property of that thing; a particular object, event, or physical system.

+

Except for unit prefixes, all units are specified in separate vocabularies. Descriptions are provided in both HTML and LaTeX formats. A quantity is a measure of an observable phenomenon, that, when associated with something, becomes a property of that thing; a particular object, event, or physical system.

-

A quantity has meaning in the context of a measurement (i.e. the thing measured, the measured value, the accuracy of measurement, etc.) whereas the underlying quantity kind is independent of any particular measurement. Thus, length is a quantity kind while the height of a rocket is a specific quantity of length; its magnitude that may be expressed in meters, feet, inches, etc. Or, as stated at Wikipedia, in the language of measurement, quantities are quantifiable aspects of the world, such as time, distance, velocity, mass, momentum, energy, and weight, and units are used to describe their measure. Many of these quantities are related to each other by various physical laws, and as a result the units of some of the quantities can be expressed as products (or ratios) of powers of other units (e.g., momentum is mass times velocity and velocity is measured in distance divided by time).

"""^^rdf:HTML ; +

A quantity has meaning in the context of a measurement (i.e. the thing measured, the measured value, the accuracy of measurement, etc.) whereas the underlying quantity kind is independent of any particular measurement. Thus, length is a quantity kind while the height of a rocket is a specific quantity of length; its magnitude that may be expressed in meters, feet, inches, etc. Or, as stated at Wikipedia, in the language of measurement, quantities are quantifiable aspects of the world, such as time, distance, velocity, mass, momentum, energy, and weight, and units are used to describe their measure. Many of these quantities are related to each other by various physical laws, and as a result the units of some of the quantities can be expressed as products (or ratios) of powers of other units (e.g., momentum is mass times velocity and velocity is measured in distance divided by time)."""^^rdf:HTML ; dcterms:modified "2024-07-23T08:31:36.883000-04:00"^^xsd:dateTime ; dcterms:rights """ This product includes all or a portion of the UCUM table, UCUM codes, and UCUM definitions or is derived from it, subject to a license from Regenstrief Institute, Inc. and The UCUM Organization. Your use of the UCUM table, UCUM codes, UCUM definitions also is subject to this license, a copy of which is available at ​http://unitsofmeasure.org. The current complete UCUM table, UCUM Specification are available for download at ​http://unitsofmeasure.org. The UCUM table and UCUM codes are copyright © 1995-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures (UCUM) Organization. All rights reserved. @@ -51578,7 +51578,7 @@ ns2:GMD_SHACLQUDTOVERLAY-SCHEMA a ns2:GraphMetaData ; dcterms:contributor "Steve Ray"^^xsd:string ; dcterms:created "2020-04-20"^^xsd:date ; dcterms:creator "Ralph Hodgson"^^xsd:string ; - dcterms:description "

The QUDT, or \"Quantity, Unit, Dimension and Type\" schema defines the base classes properties, and restrictions used for modeling physical quantities, units of measure, and their dimensions in various measurement systems. This overlay graph provides additional properties that affect the display of entities in a user interface, as well as some SHACL rules.

"^^rdf:HTML ; + dcterms:description "

The QUDT, or \"Quantity, Unit, Dimension and Type\" schema defines the base classes properties, and restrictions used for modeling physical quantities, units of measure, and their dimensions in various measurement systems. This overlay graph provides additional properties that affect the display of entities in a user interface, as well as some SHACL rules."^^rdf:HTML ; dcterms:modified "2024-07-23T08:32:09.436000-04:00"^^xsd:dateTime ; dcterms:rights """ This product includes all or a portion of the UCUM table, UCUM codes, and UCUM definitions or is derived from it, subject to a license from Regenstrief Institute, Inc. and The UCUM Organization. Your use of the UCUM table, UCUM codes, UCUM definitions also is subject to this license, a copy of which is available at ​http://unitsofmeasure.org. The current complete UCUM table, UCUM Specification are available for download at ​http://unitsofmeasure.org. The UCUM table and UCUM codes are copyright © 1995-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures (UCUM) Organization. All rights reserved. @@ -51772,17 +51772,17 @@ s223:DomainSpace a s223:Class, rdfs:label "Domain Space"^^xsd:string ; rdfs:comment "A DomainSpace is a member (or component) of a Zone and is associated with a Domain such as Lighting, HVAC, PhysicalSecurity, etc. Physical spaces enclose Domain spaces."^^xsd:string ; rdfs:subClassOf s223:Connectable ; - sh:property [ rdfs:comment "A DomainSpace must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; + sh:property [ rdfs:comment "A DomainSpace must be enclosed by a PhysicalSpace."^^xsd:string ; + sh:message "s223: A DomainSpace must be enclosed by a PhysicalSpace."^^xsd:string ; + sh:minCount 1 ; + sh:path [ sh:inversePath s223:encloses ] ; + sh:severity sh:Info ], + [ rdfs:comment "A DomainSpace must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; sh:class s223:EnumerationKind-Domain ; sh:maxCount 1 ; sh:message "s223: A DomainSpace must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; sh:minCount 1 ; - sh:path s223:hasDomain ], - [ rdfs:comment "A DomainSpace must be enclosed by a PhysicalSpace."^^xsd:string ; - sh:message "s223: A DomainSpace must be enclosed by a PhysicalSpace."^^xsd:string ; - sh:minCount 1 ; - sh:path [ sh:inversePath s223:encloses ] ; - sh:severity sh:Info ] ; + sh:path s223:hasDomain ] ; sh:rule [ a sh:TripleRule ; rdfs:comment "Infer a hasDomain relation by checking any enclosing Zone to determine the domain."^^xsd:string ; sh:object [ sh:path ( [ sh:inversePath s223:hasDomainSpace ] s223:hasDomain ) ] ; @@ -51794,13 +51794,7 @@ s223:EnumerableProperty a s223:Class, rdfs:label "Enumerable Property"^^xsd:string ; rdfs:comment "An EnumerableProperty is a property with an enumerated (fixed) set of possible values."^^xsd:string ; rdfs:subClassOf s223:Property ; - sh:property [ rdfs:comment "An EnumerableProperty must be associated with exactly one EnumerationKind using the relation hasEnumerationKind."^^xsd:string ; - sh:class s223:EnumerationKind ; - sh:maxCount 1 ; - sh:message "s223: An EnumerableProperty must be associated with exactly one EnumerationKind using the relation hasEnumerationKind."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:hasEnumerationKind ], - [ rdfs:comment "Checks for valid enumeration value consistent with the stated EnumerationKind."^^xsd:string ; + sh:property [ rdfs:comment "Checks for valid enumeration value consistent with the stated EnumerationKind."^^xsd:string ; sh:path s223:hasValue ; sh:sparql [ a sh:SPARQLConstraint ; rdfs:comment "Checks for valid enumeration value consistent with the stated EnumerationKind."^^xsd:string ; @@ -51813,7 +51807,13 @@ $this s223:hasValue ?value . $this s223:hasEnumerationKind ?kind . FILTER (NOT EXISTS {?value a/rdfs:subClassOf* ?kind}) . } -"""^^xsd:string ] ] . +"""^^xsd:string ] ], + [ rdfs:comment "An EnumerableProperty must be associated with exactly one EnumerationKind using the relation hasEnumerationKind."^^xsd:string ; + sh:class s223:EnumerationKind ; + sh:maxCount 1 ; + sh:message "s223: An EnumerableProperty must be associated with exactly one EnumerationKind using the relation hasEnumerationKind."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:hasEnumerationKind ] . s223:ExternalReference a s223:Class, sh:NodeShape ; @@ -51879,29 +51879,29 @@ s223:PowerAndSignal-PoE a s223:Class, rdfs:label "Power over Ethernet"^^xsd:string ; s223:composedOf [ a s223:Property ; rdfs:label "Unspecified"^^xsd:string ; - s223:ofConstituent s223:Signal-Ethernet ], + s223:ofConstituent s223:Electricity-DC ], [ a s223:Property ; rdfs:label "Unspecified"^^xsd:string ; - s223:ofConstituent s223:Electricity-DC ] ; + s223:ofConstituent s223:Signal-Ethernet ] ; rdfs:comment "This class has enumerated subclasses of Power over Ethernet."^^xsd:string ; rdfs:subClassOf s223:Mix-PowerAndSignal ; sh:property [ rdfs:comment "There must be at least two Properties that characterize the constituents of Power over Ethernet."^^xsd:string ; sh:class s223:Property ; sh:minCount 2 ; sh:path s223:composedOf ], - [ rdfs:comment "One of the constituents of PoE must be DC electrical power."^^xsd:string ; + [ rdfs:comment "One of the constituents of PoE must be Ethernet."^^xsd:string ; sh:path s223:composedOf ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:Property ; - sh:node [ sh:property [ rdfs:comment "One of the constituents of PoE must be DC electrical power."^^xsd:string ; - sh:class s223:Electricity-DC ; + sh:node [ sh:property [ rdfs:comment "One of the constituents of PoE must be Ethernet."^^xsd:string ; + sh:class s223:Signal-Ethernet ; sh:path s223:ofConstituent ] ] ] ], - [ rdfs:comment "One of the constituents of PoE must be Ethernet."^^xsd:string ; + [ rdfs:comment "One of the constituents of PoE must be DC electrical power."^^xsd:string ; sh:path s223:composedOf ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:Property ; - sh:node [ sh:property [ rdfs:comment "One of the constituents of PoE must be Ethernet."^^xsd:string ; - sh:class s223:Signal-Ethernet ; + sh:node [ sh:property [ rdfs:comment "One of the constituents of PoE must be DC electrical power."^^xsd:string ; + sh:class s223:Electricity-DC ; sh:path s223:ofConstituent ] ] ] ] . s223:RadiantHeater a s223:Class, @@ -51939,20 +51939,20 @@ s223:Radiator a s223:Class, rdfs:comment """A radiator provides primarily convective heating to a room using electricity, steam or water (e.g., electric baseboard heaters, heated floors, or traditional radiators)."""^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "Radiators must have the role Role-Heating."^^xsd:string ; - sh:message "s223: Radiators must have the role Role-Heating."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:hasRole ; - sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:Role-Heating ] ], - [ rdfs:comment "A Radiator shall have at least one bidirectional connection point using the medium Air."^^xsd:string ; + sh:property [ rdfs:comment "A Radiator shall have at least one bidirectional connection point using the medium Air."^^xsd:string ; sh:message "s223: A Radiator shall have at least one bidirectional connection point using the medium Air."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:BidirectionalConnectionPoint ; sh:node [ sh:property [ sh:class s223:Fluid-Air ; - sh:path s223:hasMedium ] ] ] ] . + sh:path s223:hasMedium ] ] ] ], + [ rdfs:comment "Radiators must have the role Role-Heating."^^xsd:string ; + sh:message "s223: Radiators must have the role Role-Heating."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:hasRole ; + sh:qualifiedMinCount 1 ; + sh:qualifiedValueShape [ sh:class s223:Role-Heating ] ] . s223:Voltage-0V a s223:Class, s223:Voltage-0V, @@ -52219,17 +52219,17 @@ s223:ZoneGroup a s223:Class, rdfs:label "Zone group"^^xsd:string ; rdfs:comment "A ZoneGroup is a logical grouping (collection) of Zones for some functional or system reason, to identify a domain of control, such as a Lighting Zone, or a heating zone."^^xsd:string ; rdfs:subClassOf s223:Concept ; - sh:property [ rdfs:comment "A ZoneGroup must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; + sh:property [ rdfs:comment "A ZoneGroup must be associated with at least one Zone using the relation hasZone."^^xsd:string ; + sh:class s223:Zone ; + sh:message "s223: A ZoneGroup must be associated with at least one Zone using the relation hasZone."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:hasZone ], + [ rdfs:comment "A ZoneGroup must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; sh:class s223:EnumerationKind-Domain ; sh:maxCount 1 ; sh:message "s223: A ZoneGroup must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; sh:minCount 1 ; - sh:path s223:hasDomain ], - [ rdfs:comment "A ZoneGroup must be associated with at least one Zone using the relation hasZone."^^xsd:string ; - sh:class s223:Zone ; - sh:message "s223: A ZoneGroup must be associated with at least one Zone using the relation hasZone."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:hasZone ] ; + sh:path s223:hasDomain ] ; sh:rule [ a sh:TripleRule ; rdfs:comment "Infer a hasDomain relation by checking any enclosed Zones to determine the domain."^^xsd:string ; sh:object [ sh:path ( s223:hasZone s223:hasDomain ) ] ; @@ -59774,18 +59774,18 @@ s223:ElectricResistanceElement a s223:Class, rdfs:comment "Electric resistance elements provide electrical resistance heating, for example an electric heating coil within a Fan Coil Unit. It shall have one electricity InletConnectionPoint, plus fit one of the following two patterns: Pattern 1: An ElectricResistanceElement shall have exactly one Bidirectional ConnectionPoint using the medium Fluid. Pattern 2: An ElectricResistanceElement shall have one inlet and one outlet using the medium Fluid."^^xsd:string ; rdfs:subClassOf s223:Equipment ; sh:message "s223: An ElectricResistanceElement shall have one electricity InletConnectionPoint, plus fit one of the following two patterns: Pattern 1: An ElectricResistanceElement shall have exactly one Bidirectional ConnectionPoint using the medium Fluid. Pattern 2: An ElectricResistanceElement shall have one inlet and one outlet using the medium Fluid."^^xsd:string ; - sh:property [ rdfs:comment "An ElectricResistanceElement shall have the role Role-Heating."^^xsd:string ; - sh:message "s223: An ElectricResistanceElement shall have the role Role-Heating."^^xsd:string ; - sh:path s223:hasRole ; - sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:Role-Heating ] ], - [ rdfs:comment "An ElectricResistanceElement shall have at least one inlet using the medium Electricity."^^xsd:string ; + sh:property [ rdfs:comment "An ElectricResistanceElement shall have at least one inlet using the medium Electricity."^^xsd:string ; sh:message "s223: An ElectricResistanceElement shall have at least one inlet using the medium Electricity."^^xsd:string ; sh:path s223:hasConnectionPoint ; sh:qualifiedMinCount 1 ; sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Constituent-Electricity ; - sh:path s223:hasMedium ] ] ] ] ; + sh:path s223:hasMedium ] ] ] ], + [ rdfs:comment "An ElectricResistanceElement shall have the role Role-Heating."^^xsd:string ; + sh:message "s223: An ElectricResistanceElement shall have the role Role-Heating."^^xsd:string ; + sh:path s223:hasRole ; + sh:qualifiedMinCount 1 ; + sh:qualifiedValueShape [ sh:class s223:Role-Heating ] ] ; sh:xone ( [ sh:property [ rdfs:comment "Pattern 1: An ElectricResistanceElement shall have exactly one Bidirectional ConnectionPoint using the medium Fluid."^^xsd:string ; sh:message "s223: Pattern 1: An ElectricResistanceElement requires exactly one BidirectionalConnectionPoint using the medium Fluid."^^xsd:string ; sh:path s223:hasConnectionPoint ; @@ -59849,53 +59849,20 @@ is separated into three or more separate Connections, all tied together with the Junction is a subClassOf Connectable, which gives it the ability to have connection points, but unlike Equipment (and like Connection) it is not allowed to change the Medium that passes through it. This is why Junction is a sibling class to Equipment and not a subclass."""^^xsd:string ; rdfs:subClassOf s223:Connectable ; - sh:property [ rdfs:comment "Ensure that the Medium identified by all the associated ConnectionPoints via the s223:hasMedium relation are compatible with one another."^^xsd:string ; - sh:name "Test for compatible declared Medium"^^xsd:string ; - sh:path s223:hasMedium ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 3: Two ConnectionPoints with mediums with constituents."^^xsd:string ; - sh:message "s223: {?cp1} with Medium {?m1} is incompatible with {?cp2} with Medium {?m2}."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this ?cp1 ?m1 ?cp2 ?m2 -WHERE { -$this s223:cnx ?cp1 . -?cp1 a/rdfs:subClassOf* s223:ConnectionPoint . -?cp1 s223:hasMedium ?m1 . -$this s223:cnx ?cp2 . -?cp2 a/rdfs:subClassOf* s223:ConnectionPoint . -?cp2 s223:hasMedium ?m2 . - ?m1 s223:composedOf/s223:ofConstituent ?s1 . - ?m2 s223:composedOf/s223:ofConstituent ?s2 . - FILTER NOT EXISTS { - ?m1 s223:composedOf/s223:ofConstituent ?s11 . - ?m2 s223:composedOf/s223:ofConstituent ?s12 . - FILTER (?s11 = ?s12) . - } - FILTER NOT EXISTS { - ?m1 s223:composedOf/s223:ofConstituent ?s21 . - ?m2 s223:composedOf/s223:ofConstituent ?s22 . - {?s22 rdfs:subClassOf* ?s21} UNION {?s21 rdfs:subClassOf* ?s22} . - } -} -"""^^xsd:string ] ], - [ rdfs:comment "Ensure that the Medium identified by all the associated ConnectionPoints via the s223:hasMedium relation are compatible with one another."^^xsd:string ; + sh:property [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Junction."^^xsd:string ; sh:name "Test for compatible declared Medium"^^xsd:string ; sh:path s223:hasMedium ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 1: Two ConnectionPoints with pure mediums."^^xsd:string ; - sh:message "s223: {?cp1} with Medium {?m1} is incompatible with {?cp2} with Medium {?m2}."^^xsd:string ; + rdfs:comment "Inconsistent Medium. Case 1: Two pure mediums."^^xsd:string ; + sh:message "s223: Junction {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; sh:prefixes ; sh:select """ -SELECT $this ?cp1 ?m1 ?cp2 ?m2 +SELECT $this ?m2 ?cp ?m1 WHERE { -$this s223:cnx ?cp1 . -?cp1 a/rdfs:subClassOf* s223:ConnectionPoint . -?cp1 s223:hasMedium ?m1 . -$this s223:cnx ?cp2 . -?cp2 a/rdfs:subClassOf* s223:ConnectionPoint . -FILTER (?cp1 != ?cp2 ) . -?cp2 s223:hasMedium ?m2 . +$this s223:cnx ?cp . +?cp a/rdfs:subClassOf* s223:ConnectionPoint . +?cp s223:hasMedium ?m1 . +$this s223:hasMedium ?m2 . FILTER (?m1 != ?m2 ) . FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . FILTER NOT EXISTS {?m2 s223:composedOf ?c2} @@ -59903,11 +59870,17 @@ FILTER (NOT EXISTS {?m2 rdfs:subClassOf* ?m1}) . FILTER (NOT EXISTS {?m1 rdfs:subClassOf* ?m2}) . } """^^xsd:string ] ], + [ rdfs:comment "A Junction must be associated with exactly one EnumerationKind-Medium using the relation hasMedium."^^xsd:string ; + sh:class s223:Substance-Medium ; + sh:maxCount 1 ; + sh:message "s223: A Junction must be associated with exactly one EnumerationKind-Medium using the relation hasMedium."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:hasMedium ], [ rdfs:comment "Ensure that the Medium identified by all the associated ConnectionPoints via the s223:hasMedium relation are compatible with one another."^^xsd:string ; sh:name "Test for compatible declared Medium"^^xsd:string ; sh:path s223:hasMedium ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 2: Two ConnectionPoints with a medium with constituents and a pure Medium."^^xsd:string ; + rdfs:comment "Inconsistent Medium. Case 1: Two ConnectionPoints with pure mediums."^^xsd:string ; sh:message "s223: {?cp1} with Medium {?m1} is incompatible with {?cp2} with Medium {?m2}."^^xsd:string ; sh:prefixes ; sh:select """ @@ -59918,29 +59891,8 @@ $this s223:cnx ?cp1 . ?cp1 s223:hasMedium ?m1 . $this s223:cnx ?cp2 . ?cp2 a/rdfs:subClassOf* s223:ConnectionPoint . +FILTER (?cp1 != ?cp2 ) . ?cp2 s223:hasMedium ?m2 . -?m2 s223:composedOf/s223:ofConstituent ?s2 . -FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . -FILTER NOT EXISTS { - ?m2 s223:composedOf/s223:ofConstituent ?s12 . - {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . -} -} -"""^^xsd:string ] ], - [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Junction."^^xsd:string ; - sh:name "Test for compatible declared Medium"^^xsd:string ; - sh:path s223:hasMedium ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 1: Two pure mediums."^^xsd:string ; - sh:message "s223: Junction {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this ?m2 ?cp ?m1 -WHERE { -$this s223:cnx ?cp . -?cp a/rdfs:subClassOf* s223:ConnectionPoint . -?cp s223:hasMedium ?m1 . -$this s223:hasMedium ?m2 . FILTER (?m1 != ?m2 ) . FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . FILTER NOT EXISTS {?m2 s223:composedOf ?c2} @@ -59970,20 +59922,68 @@ FILTER NOT EXISTS { } } """^^xsd:string ] ], - [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Junction."^^xsd:string ; + [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Connection."^^xsd:string ; sh:name "Test for compatible declared Medium"^^xsd:string ; sh:path s223:hasMedium ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 4: Junction with constituents and an associated ConnectionPoint with constituents."^^xsd:string ; - sh:message "s223: Junction {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; + rdfs:comment "Inconsistent Medium. Case 3: Junction with a pure medium and an associated ConnectionPoint with constituents."^^xsd:string ; + sh:message "s223: Junction {$this} with Medium {?m1} is incompatible with {?cp} with Medium {?m2}."^^xsd:string ; sh:prefixes ; sh:select """ SELECT $this ?m2 ?cp ?m1 WHERE { $this s223:cnx ?cp . ?cp a/rdfs:subClassOf* s223:ConnectionPoint . -?cp s223:hasMedium ?m1 . -$this s223:hasMedium ?m2 . +?cp s223:hasMedium ?m2 . +$this s223:hasMedium ?m1 . +?m2 s223:composedOf/s223:ofConstituent ?s2 . +FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . +FILTER NOT EXISTS { + ?m2 s223:composedOf/s223:ofConstituent ?s12 . + {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . +} +} +"""^^xsd:string ] ], + [ rdfs:comment "Ensure that the Medium identified by all the associated ConnectionPoints via the s223:hasMedium relation are compatible with one another."^^xsd:string ; + sh:name "Test for compatible declared Medium"^^xsd:string ; + sh:path s223:hasMedium ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "Inconsistent Medium. Case 2: Two ConnectionPoints with a medium with constituents and a pure Medium."^^xsd:string ; + sh:message "s223: {?cp1} with Medium {?m1} is incompatible with {?cp2} with Medium {?m2}."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this ?cp1 ?m1 ?cp2 ?m2 +WHERE { +$this s223:cnx ?cp1 . +?cp1 a/rdfs:subClassOf* s223:ConnectionPoint . +?cp1 s223:hasMedium ?m1 . +$this s223:cnx ?cp2 . +?cp2 a/rdfs:subClassOf* s223:ConnectionPoint . +?cp2 s223:hasMedium ?m2 . +?m2 s223:composedOf/s223:ofConstituent ?s2 . +FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . +FILTER NOT EXISTS { + ?m2 s223:composedOf/s223:ofConstituent ?s12 . + {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . +} +} +"""^^xsd:string ] ], + [ rdfs:comment "Ensure that the Medium identified by all the associated ConnectionPoints via the s223:hasMedium relation are compatible with one another."^^xsd:string ; + sh:name "Test for compatible declared Medium"^^xsd:string ; + sh:path s223:hasMedium ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "Inconsistent Medium. Case 3: Two ConnectionPoints with mediums with constituents."^^xsd:string ; + sh:message "s223: {?cp1} with Medium {?m1} is incompatible with {?cp2} with Medium {?m2}."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this ?cp1 ?m1 ?cp2 ?m2 +WHERE { +$this s223:cnx ?cp1 . +?cp1 a/rdfs:subClassOf* s223:ConnectionPoint . +?cp1 s223:hasMedium ?m1 . +$this s223:cnx ?cp2 . +?cp2 a/rdfs:subClassOf* s223:ConnectionPoint . +?cp2 s223:hasMedium ?m2 . ?m1 s223:composedOf/s223:ofConstituent ?s1 . ?m2 s223:composedOf/s223:ofConstituent ?s2 . FILTER NOT EXISTS { @@ -59998,32 +59998,32 @@ $this s223:hasMedium ?m2 . } } """^^xsd:string ] ], - [ rdfs:comment "A Junction must be associated with exactly one EnumerationKind-Medium using the relation hasMedium."^^xsd:string ; - sh:class s223:Substance-Medium ; - sh:maxCount 1 ; - sh:message "s223: A Junction must be associated with exactly one EnumerationKind-Medium using the relation hasMedium."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:hasMedium ], - [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Connection."^^xsd:string ; + [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Junction."^^xsd:string ; sh:name "Test for compatible declared Medium"^^xsd:string ; sh:path s223:hasMedium ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 3: Junction with a pure medium and an associated ConnectionPoint with constituents."^^xsd:string ; - sh:message "s223: Junction {$this} with Medium {?m1} is incompatible with {?cp} with Medium {?m2}."^^xsd:string ; + rdfs:comment "Inconsistent Medium. Case 4: Junction with constituents and an associated ConnectionPoint with constituents."^^xsd:string ; + sh:message "s223: Junction {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; sh:prefixes ; sh:select """ SELECT $this ?m2 ?cp ?m1 WHERE { $this s223:cnx ?cp . ?cp a/rdfs:subClassOf* s223:ConnectionPoint . -?cp s223:hasMedium ?m2 . -$this s223:hasMedium ?m1 . -?m2 s223:composedOf/s223:ofConstituent ?s2 . -FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . -FILTER NOT EXISTS { - ?m2 s223:composedOf/s223:ofConstituent ?s12 . - {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . -} +?cp s223:hasMedium ?m1 . +$this s223:hasMedium ?m2 . + ?m1 s223:composedOf/s223:ofConstituent ?s1 . + ?m2 s223:composedOf/s223:ofConstituent ?s2 . + FILTER NOT EXISTS { + ?m1 s223:composedOf/s223:ofConstituent ?s11 . + ?m2 s223:composedOf/s223:ofConstituent ?s12 . + FILTER (?s11 = ?s12) . + } + FILTER NOT EXISTS { + ?m1 s223:composedOf/s223:ofConstituent ?s21 . + ?m2 s223:composedOf/s223:ofConstituent ?s22 . + {?s22 rdfs:subClassOf* ?s21} UNION {?s21 rdfs:subClassOf* ?s22} . + } } """^^xsd:string ] ] . @@ -60144,12 +60144,12 @@ s223:Water-GlycolSolution a s223:Class, rdfs:label "Water-GlycolSolution"^^xsd:string ; s223:composedOf [ a s223:QuantifiableProperty ; rdfs:label "Unspecified"^^xsd:string ; - s223:ofConstituent s223:Constituent-Glycol ; + s223:ofConstituent s223:Constituent-H2O ; ns1:hasQuantityKind ; ns1:hasUnit ], [ a s223:QuantifiableProperty ; rdfs:label "Unspecified"^^xsd:string ; - s223:ofConstituent s223:Constituent-H2O ; + s223:ofConstituent s223:Constituent-Glycol ; ns1:hasQuantityKind ; ns1:hasUnit ] ; s223:hasFreezingPoint [ a s223:QuantifiableProperty ; @@ -60157,16 +60157,12 @@ s223:Water-GlycolSolution a s223:Class, ns1:hasQuantityKind ] ; rdfs:comment "This class has enumerated subclasses of water-glycol solutions in various concentrations."^^xsd:string ; rdfs:subClassOf s223:Fluid-Water ; - sh:property [ rdfs:comment "One of the constituents of a Water-GlycolSolution must be Constituent-Glycol."^^xsd:string ; - sh:path s223:composedOf ; - sh:qualifiedMinCount 1 ; - sh:qualifiedValueShape [ sh:class s223:QuantifiableProperty ; - sh:node [ sh:property [ rdfs:comment "The quantity kind of the constituent must be VolumeFraction."^^xsd:string ; - sh:hasValue ; - sh:path ns1:hasQuantityKind ], - [ rdfs:comment "One of the constituents of a Water-GlycolSolution must be Constituent-Glycol."^^xsd:string ; - sh:hasValue s223:Constituent-Glycol ; - sh:path s223:ofConstituent ] ] ] ], + sh:property [ rdfs:comment "If the relation hasFreezingPoint is used, the object must be a QuantifiableProperty with a quantity kind of Temperature."^^xsd:string ; + sh:class s223:QuantifiableProperty ; + sh:message "The object must be a QuantifiableProperty with a quantity kind of Temperature."^^xsd:string ; + sh:node [ sh:property [ sh:hasValue ; + sh:path ns1:hasQuantityKind ] ] ; + sh:path s223:hasFreezingPoint ], [ rdfs:comment "There must be at least two QuantifiableProperties that characterize the constituents of a Water-GlycolSolution."^^xsd:string ; sh:class s223:QuantifiableProperty ; sh:minCount 2 ; @@ -60181,25 +60177,23 @@ s223:Water-GlycolSolution a s223:Class, [ rdfs:comment "One of the constituents of a Water-GlycolSolution must be Constituent-H2O."^^xsd:string ; sh:hasValue s223:Constituent-H2O ; sh:path s223:ofConstituent ] ] ] ], - [ rdfs:comment "If the relation hasFreezingPoint is used, the object must be a QuantifiableProperty with a quantity kind of Temperature."^^xsd:string ; - sh:class s223:QuantifiableProperty ; - sh:message "The object must be a QuantifiableProperty with a quantity kind of Temperature."^^xsd:string ; - sh:node [ sh:property [ sh:hasValue ; - sh:path ns1:hasQuantityKind ] ] ; - sh:path s223:hasFreezingPoint ] . + [ rdfs:comment "One of the constituents of a Water-GlycolSolution must be Constituent-Glycol."^^xsd:string ; + sh:path s223:composedOf ; + sh:qualifiedMinCount 1 ; + sh:qualifiedValueShape [ sh:class s223:QuantifiableProperty ; + sh:node [ sh:property [ rdfs:comment "The quantity kind of the constituent must be VolumeFraction."^^xsd:string ; + sh:hasValue ; + sh:path ns1:hasQuantityKind ], + [ rdfs:comment "One of the constituents of a Water-GlycolSolution must be Constituent-Glycol."^^xsd:string ; + sh:hasValue s223:Constituent-Glycol ; + sh:path s223:ofConstituent ] ] ] ] . s223:Zone a s223:Class, sh:NodeShape ; rdfs:label "Zone"^^xsd:string ; rdfs:comment "A Zone is a logical grouping (collection) of domain spaces for some functional or system reason, to identify a domain of control, such as a Lighting Zone, or a heating zone"^^xsd:string ; rdfs:subClassOf s223:Concept ; - sh:property [ rdfs:comment "A Zone must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; - sh:class s223:EnumerationKind-Domain ; - sh:maxCount 1 ; - sh:message "s223: A Zone must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:hasDomain ], - [ rdfs:comment "The associated Domain of a Zone and the Domain of the DomainSpaces it contains must be the same."^^xsd:string ; + sh:property [ rdfs:comment "The associated Domain of a Zone and the Domain of the DomainSpaces it contains must be the same."^^xsd:string ; sh:path s223:hasDomain ; sh:sparql [ a sh:SPARQLConstraint ; rdfs:comment "The associated Domain of a Zone and the Domain of the DomainSpaces it contains must be the same."^^xsd:string ; @@ -60219,7 +60213,13 @@ FILTER (?domain != ?dsdomain) sh:class s223:DomainSpace ; sh:message "s223: A Zone must be associated with at least one DomainSpace using the relation hasDomainSpace."^^xsd:string ; sh:minCount 1 ; - sh:path s223:hasDomainSpace ] ; + sh:path s223:hasDomainSpace ], + [ rdfs:comment "A Zone must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; + sh:class s223:EnumerationKind-Domain ; + sh:maxCount 1 ; + sh:message "s223: A Zone must be associated with exactly one EnumerationKind-Domain using the relation hasDomain."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:hasDomain ] ; sh:rule [ a sh:TripleRule ; rdfs:comment "Infer a hasDomain relation by checking any enclosed DomainSpaces to determine the domain."^^xsd:string ; sh:object [ sh:path ( s223:hasDomainSpace s223:hasDomain ) ] ; @@ -61673,7 +61673,7 @@ That is, given a point P on a smooth curve C, the curvature of C at P is defined a ns1:QuantityKind ; rdfs:label "Specific Modulus"@en ; - dcterms:description "

Specific modulus is a materials property consisting of the elastic modulus per mass density of a material. It is also known as the stiffness to weight ratio or specific stiffness. High specific modulus materials find wide application in aerospace applications where minimum structural weight is required. The dimensional analysis yields units of distance squared per time squared.

"^^rdf:HTML ; + dcterms:description "

Specific modulus is a materials property consisting of the elastic modulus per mass density of a material. It is also known as the stiffness to weight ratio or specific stiffness. High specific modulus materials find wide application in aerospace applications where minimum structural weight is required. The dimensional analysis yields units of distance squared per time squared."^^rdf:HTML ; ns1:applicableUnit , , ; @@ -67991,14 +67991,7 @@ s223:Coil a s223:Class, """^^xsd:string ; rdfs:subClassOf s223:Equipment ; sh:message "s223: A Coil shall fit one of the following patterns of ConnectionPoints: 1: Two inlets and two outlets using the medium Mix-Fluid. 2: One inlet and one outlet using the medium Mix-Fluid, and one or two bidirectionals using the medium Mix-Fluid or Medium-ThermalContact. 3: Three bidirectionals using the medium Mix-Fluid or Medium-ThermalContact."^^xsd:string ; - sh:xone ( [ sh:property [ rdfs:comment "Pattern 1: A Coil shall have two inlets using the medium Fluid."^^xsd:string ; - sh:path s223:hasConnectionPoint ; - sh:qualifiedMaxCount 2 ; - sh:qualifiedMinCount 2 ; - sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; - sh:node [ sh:property [ sh:class s223:Mix-Fluid ; - sh:path s223:hasMedium ] ] ] ], - [ rdfs:comment "Pattern 1: For one of the two outlets the Fluid is Air."^^xsd:string ; + sh:xone ( [ sh:property [ rdfs:comment "Pattern 1: For one of the two outlets the Fluid is Air."^^xsd:string ; sh:path s223:hasConnectionPoint ; sh:qualifiedMaxCount 1 ; sh:qualifiedMinCount 1 ; @@ -68012,6 +68005,13 @@ s223:Coil a s223:Class, sh:qualifiedValueShape [ sh:class s223:OutletConnectionPoint ; sh:node [ sh:property [ sh:class s223:Mix-Fluid ; sh:path s223:hasMedium ] ] ] ], + [ rdfs:comment "Pattern 1: A Coil shall have two inlets using the medium Fluid."^^xsd:string ; + sh:path s223:hasConnectionPoint ; + sh:qualifiedMaxCount 2 ; + sh:qualifiedMinCount 2 ; + sh:qualifiedValueShape [ sh:class s223:InletConnectionPoint ; + sh:node [ sh:property [ sh:class s223:Mix-Fluid ; + sh:path s223:hasMedium ] ] ] ], [ rdfs:comment "Pattern 1: For one of the two inlets the Fluid is Air."^^xsd:string ; sh:path s223:hasConnectionPoint ; sh:qualifiedMaxCount 1 ; @@ -71217,13 +71217,7 @@ s223:EnumerationKind-Substance a s223:Class, rdfs:label "Substance"^^xsd:string ; rdfs:comment "This class has enumerated subclasses of the substances that are consumed, produced, transported, sensed, controlled or otherwise interacted with (e.g. water, air, etc.)."^^xsd:string ; rdfs:subClassOf s223:EnumerationKind ; - sh:property [ rdfs:comment """If the relation composedOf is present, it must associate an EnumerationKind-Substance with one or more Properties that -identify and characterize its constituents. The Property identifies the constituent using the relation ofConstituent. If appropriate, a -QuantifiableProperty may be used to also specify the amount of the constituent using the relations qudt:hasQuantityKind, qudt:hasUnit, and s223:hasValue. -For example, see `s223:GlycolSolution-15Percent`."""^^xsd:string ; - sh:class s223:Property ; - sh:path s223:composedOf ], - [ rdfs:comment "A substance may only have atomic constituents, it may not have a constituent that also composed ofs."^^xsd:string ; + sh:property [ rdfs:comment "A substance may only have atomic constituents, it may not have a constituent that also composed ofs."^^xsd:string ; sh:path s223:composedOf ; sh:sparql [ a sh:SPARQLConstraint ; rdfs:comment "If a substance has a constituent, that constituent may not itself have constituents."^^xsd:string ; @@ -71235,7 +71229,13 @@ WHERE { $this s223:composedOf ?constituent . ?constituent s223:ofConstituent/s223:composedOf ?nextConstituent . } -"""^^xsd:string ] ] . +"""^^xsd:string ] ], + [ rdfs:comment """If the relation composedOf is present, it must associate an EnumerationKind-Substance with one or more Properties that +identify and characterize its constituents. The Property identifies the constituent using the relation ofConstituent. If appropriate, a +QuantifiableProperty may be used to also specify the amount of the constituent using the relations qudt:hasQuantityKind, qudt:hasUnit, and s223:hasValue. +For example, see `s223:GlycolSolution-15Percent`."""^^xsd:string ; + sh:class s223:Property ; + sh:path s223:composedOf ] . s223:Fan a s223:Class, sh:NodeShape ; @@ -71517,7 +71517,7 @@ ns1:symbol a rdf:Property ; ns1:ucumCode a rdf:Property ; rdfs:label "ucum code"^^xsd:string ; - dcterms:description "

ucumCode associates a QUDT unit with its UCUM code (case-sensitive).

In SHACL the values are derived from specific ucum properties using 'sh:values'.

"^^rdf:HTML ; + dcterms:description "

ucumCode associates a QUDT unit with its UCUM code (case-sensitive).

In SHACL the values are derived from specific ucum properties using 'sh:values'."^^rdf:HTML ; dcterms:source "https://ucum.org/ucum.html"^^xsd:anyURI ; rdfs:isDefinedBy ; rdfs:seeAlso ; @@ -76143,18 +76143,18 @@ s223:EnumerationKind-Numerical a s223:Class, ns1:hasUnit ; rdfs:comment "Numerical enumeration kinds are used to support the definitions of the Electricity medium. The enumerations instances in these classes have names that are recognizable by humans but are just a string for a computer application. To avoid the need to parse strings, each of these enumeration kinds have properties associated with the enumeration that represent electrical phase, voltage, and frequency. The purpose of these properties is to enable a machine to query them and obtain the same information that a person would associate with the sting"^^xsd:string ; rdfs:subClassOf s223:EnumerationKind ; - sh:property [ rdfs:comment "An EnumerationKind-Numerical must be associated with at least one Unit using the relation hasUnit."^^xsd:string ; + sh:property [ rdfs:comment "An EnumerationKind-Numerical must be associated with at least one QuantityKind using the relation hasQuantityKind."^^xsd:string ; + sh:class ns1:QuantityKind ; + sh:minCount 1 ; + sh:path ns1:hasQuantityKind ], + [ rdfs:comment "An EnumerationKind-Numerical must be associated with at least one Unit using the relation hasUnit."^^xsd:string ; sh:class ns1:Unit ; sh:minCount 1 ; sh:path ns1:hasUnit ; sh:severity sh:Info ], [ rdfs:comment "An EnumerationKind-Numerical can be associated with a decimal value using the relation hasValue."^^xsd:string ; sh:datatype xsd:decimal ; - sh:path s223:hasValue ], - [ rdfs:comment "An EnumerationKind-Numerical must be associated with at least one QuantityKind using the relation hasQuantityKind."^^xsd:string ; - sh:class ns1:QuantityKind ; - sh:minCount 1 ; - sh:path ns1:hasQuantityKind ] . + sh:path s223:hasValue ] . s223:EnumerationKind-Occupancy a s223:Class, s223:EnumerationKind-Occupancy, @@ -79116,17 +79116,11 @@ A Connection may contain branches or intersections. These may be modeled using J ![Graphical Depiction of Connection.](figures/Figure_5-3_Connection.svg) """^^xsd:string ; rdfs:subClassOf s223:Concept ; - sh:property [ rdfs:comment "A Connection must have two or more connectsAt relations to ConnectionPoints"^^xsd:string ; - sh:class s223:ConnectionPoint ; - sh:message "s223: A Connection must have two or more connectsAt relations to ConnectionPoints"^^xsd:string ; - sh:minCount 2 ; - sh:path s223:connectsAt ; - sh:severity sh:Warning ], - [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Connection."^^xsd:string ; + sh:property [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Connection."^^xsd:string ; sh:name "Test for compatible declared Medium"^^xsd:string ; sh:path s223:hasMedium ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 4: A Connection with constituents and an associated ConnectionPoint with constituents."^^xsd:string ; + rdfs:comment "Inconsistent Medium. Case 3: Connection with a pure medium and an associated ConnectionPoint with constituents."^^xsd:string ; sh:message "s223: Connection {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; sh:prefixes ; sh:select """ @@ -79136,6 +79130,31 @@ $this s223:cnx ?cp . ?cp a/rdfs:subClassOf* s223:ConnectionPoint . ?cp s223:hasMedium ?m2 . $this s223:hasMedium ?m1 . +?m2 s223:composedOf/s223:ofConstituent ?s2 . +FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . +FILTER NOT EXISTS { + ?m2 s223:composedOf/s223:ofConstituent ?s12 . + {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . +} +} +"""^^xsd:string ] ], + [ rdfs:comment "Ensure that the Medium identified by all the associated ConnectionPoints via the s223:hasMedium relation are compatible with one another."^^xsd:string ; + sh:name "Test for compatible declared Medium"^^xsd:string ; + sh:path s223:hasMedium ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "Inconsistent Medium. Case 3: Two ConnectionPoints with mediums with constituents."^^xsd:string ; + sh:message "s223: {?cp1} with Medium {?m2} is incompatible with {?cp2} with Medium {?m1}."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this ?cp1 ?m1 ?cp2 ?m2 +WHERE { +$this s223:cnx ?cp1 . +?cp1 a/rdfs:subClassOf* s223:ConnectionPoint . +?cp1 s223:hasMedium ?m2 . +$this s223:cnx ?cp2 . +?cp2 a/rdfs:subClassOf* s223:ConnectionPoint . +FILTER (?cp1 != ?cp2 ) . +?cp2 s223:hasMedium ?m1 . ?m1 s223:composedOf/s223:ofConstituent ?s1 . ?m2 s223:composedOf/s223:ofConstituent ?s2 . FILTER NOT EXISTS { @@ -79154,7 +79173,7 @@ $this s223:hasMedium ?m1 . sh:name "Test for compatible declared Medium"^^xsd:string ; sh:path s223:hasMedium ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 3: Connection with a pure medium and an associated ConnectionPoint with constituents."^^xsd:string ; + rdfs:comment "Inconsistent Medium. Case 2: A Connection with constituents and an associated ConnectionPoint with a pure Medium."^^xsd:string ; sh:message "s223: Connection {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; sh:prefixes ; sh:select """ @@ -79162,8 +79181,8 @@ SELECT $this ?m2 ?cp ?m1 WHERE { $this s223:cnx ?cp . ?cp a/rdfs:subClassOf* s223:ConnectionPoint . -?cp s223:hasMedium ?m2 . -$this s223:hasMedium ?m1 . +?cp s223:hasMedium ?m1 . +$this s223:hasMedium ?m2 . ?m2 s223:composedOf/s223:ofConstituent ?s2 . FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . FILTER NOT EXISTS { @@ -79172,23 +79191,83 @@ FILTER NOT EXISTS { } } """^^xsd:string ] ], - [ rdfs:comment "Ensure that the Medium identified by all the associated ConnectionPoints via the s223:hasMedium relation are compatible with one another."^^xsd:string ; + [ rdfs:comment "A Connection must have two or more connectsAt relations to ConnectionPoints"^^xsd:string ; + sh:class s223:ConnectionPoint ; + sh:message "s223: A Connection must have two or more connectsAt relations to ConnectionPoints"^^xsd:string ; + sh:minCount 2 ; + sh:path s223:connectsAt ; + sh:severity sh:Warning ], + [ rdfs:comment "A Connection must be associated with exactly one Substance-Medium using the relation hasMedium."^^xsd:string ; + sh:class s223:Substance-Medium ; + sh:maxCount 1 ; + sh:message "s223: A Connection must be associated with exactly one Substance-Medium using the relation hasMedium."^^xsd:string ; + sh:minCount 1 ; + sh:name "Connection medium"^^xsd:string ; + sh:path s223:hasMedium ], + [ rdfs:comment "If the relation hasRole is present it must associate the Connection with an EnumerationKind-Role."^^xsd:string ; + sh:class s223:EnumerationKind-Role ; + sh:message "s223: If the relation hasRole is present it must associate the Connection with an EnumerationKind-Role."^^xsd:string ; + sh:path s223:hasRole ], + [ rdfs:comment "If the relation hasThermodynamicPhase is present it must associate the Connection with at most one EnumerationKind-Phase."^^xsd:string ; + sh:class s223:EnumerationKind-Phase ; + sh:maxCount 1 ; + sh:message "s223: If the relation hasThermodynamicPhase is present it must associate the Connection with at most one EnumerationKind-Phase."^^xsd:string ; + sh:path s223:hasThermodynamicPhase ], + [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Connection."^^xsd:string ; sh:name "Test for compatible declared Medium"^^xsd:string ; sh:path s223:hasMedium ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 3: Two ConnectionPoints with mediums with constituents."^^xsd:string ; - sh:message "s223: {?cp1} with Medium {?m2} is incompatible with {?cp2} with Medium {?m1}."^^xsd:string ; + rdfs:comment "Inconsistent Medium. Case 1: Two pure mediums."^^xsd:string ; + sh:message "s223: Connection {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; sh:prefixes ; sh:select """ -SELECT $this ?cp1 ?m1 ?cp2 ?m2 +SELECT $this ?m2 ?cp ?m1 WHERE { -$this s223:cnx ?cp1 . -?cp1 a/rdfs:subClassOf* s223:ConnectionPoint . -?cp1 s223:hasMedium ?m2 . -$this s223:cnx ?cp2 . -?cp2 a/rdfs:subClassOf* s223:ConnectionPoint . -FILTER (?cp1 != ?cp2 ) . -?cp2 s223:hasMedium ?m1 . +$this s223:cnx ?cp . +?cp a/rdfs:subClassOf* s223:ConnectionPoint . +?cp s223:hasMedium ?m1 . +$this s223:hasMedium ?m2 . +FILTER (?m1 != ?m2 ) . +FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . +FILTER NOT EXISTS {?m2 s223:composedOf ?c2} +FILTER (NOT EXISTS {?m2 rdfs:subClassOf* ?m1}) . +FILTER (NOT EXISTS {?m1 rdfs:subClassOf* ?m2}) . +} +"""^^xsd:string ] ], + [ rdfs:comment "If the relation connectsTo is present it must associate the Connection with a Connectable."^^xsd:string ; + sh:class s223:Connectable ; + sh:message "s223: If the relation connectsTo is present it must associate the Connection with a Connectable."^^xsd:string ; + sh:name "ConnectionToDownstreamConnectableShape"^^xsd:string ; + sh:path s223:connectsTo ], + [ rdfs:comment "A Connection must only have a cnx relation with a ConnectionPoint"^^xsd:string ; + sh:path s223:cnx ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "A Connection must only have a cnx relation with a ConnectionPoint"^^xsd:string ; + sh:message "s223: {$this} cannot have a s223:cnx relation to {?something}, because {?something} is not a ConnectionPoint."^^xsd:string ; + sh:prefixes ; + sh:select """SELECT $this ?something +WHERE { +$this s223:cnx ?something . +FILTER NOT EXISTS {?something a/rdfs:subClassOf* s223:ConnectionPoint} . +}"""^^xsd:string ] ], + [ rdfs:comment "A Connection must have two or more cnx relations to ConnectionPoints"^^xsd:string ; + sh:class s223:ConnectionPoint ; + sh:message "s223: A Connection must have two or more cnx relations to ConnectionPoints"^^xsd:string ; + sh:path s223:cnx ], + [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Connection."^^xsd:string ; + sh:name "Test for compatible declared Medium"^^xsd:string ; + sh:path s223:hasMedium ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "Inconsistent Medium. Case 4: A Connection with constituents and an associated ConnectionPoint with constituents."^^xsd:string ; + sh:message "s223: Connection {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this ?m2 ?cp ?m1 +WHERE { +$this s223:cnx ?cp . +?cp a/rdfs:subClassOf* s223:ConnectionPoint . +?cp s223:hasMedium ?m2 . +$this s223:hasMedium ?m1 . ?m1 s223:composedOf/s223:ofConstituent ?s1 . ?m2 s223:composedOf/s223:ofConstituent ?s2 . FILTER NOT EXISTS { @@ -79228,85 +79307,11 @@ FILTER NOT EXISTS { } } """^^xsd:string ] ], - [ rdfs:comment "If the relation hasThermodynamicPhase is present it must associate the Connection with at most one EnumerationKind-Phase."^^xsd:string ; - sh:class s223:EnumerationKind-Phase ; - sh:maxCount 1 ; - sh:message "s223: If the relation hasThermodynamicPhase is present it must associate the Connection with at most one EnumerationKind-Phase."^^xsd:string ; - sh:path s223:hasThermodynamicPhase ], - [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Connection."^^xsd:string ; - sh:name "Test for compatible declared Medium"^^xsd:string ; - sh:path s223:hasMedium ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 1: Two pure mediums."^^xsd:string ; - sh:message "s223: Connection {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this ?m2 ?cp ?m1 -WHERE { -$this s223:cnx ?cp . -?cp a/rdfs:subClassOf* s223:ConnectionPoint . -?cp s223:hasMedium ?m1 . -$this s223:hasMedium ?m2 . -FILTER (?m1 != ?m2 ) . -FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . -FILTER NOT EXISTS {?m2 s223:composedOf ?c2} -FILTER (NOT EXISTS {?m2 rdfs:subClassOf* ?m1}) . -FILTER (NOT EXISTS {?m1 rdfs:subClassOf* ?m2}) . -} -"""^^xsd:string ] ], - [ rdfs:comment "If the relation hasRole is present it must associate the Connection with an EnumerationKind-Role."^^xsd:string ; - sh:class s223:EnumerationKind-Role ; - sh:message "s223: If the relation hasRole is present it must associate the Connection with an EnumerationKind-Role."^^xsd:string ; - sh:path s223:hasRole ], - [ rdfs:comment "If the relation connectsTo is present it must associate the Connection with a Connectable."^^xsd:string ; + [ rdfs:comment "If the relation connectsFrom is present it must associate the Connection with a Connectable."^^xsd:string ; sh:class s223:Connectable ; - sh:message "s223: If the relation connectsTo is present it must associate the Connection with a Connectable."^^xsd:string ; - sh:name "ConnectionToDownstreamConnectableShape"^^xsd:string ; - sh:path s223:connectsTo ], - [ rdfs:comment "A Connection must have two or more cnx relations to ConnectionPoints"^^xsd:string ; - sh:class s223:ConnectionPoint ; - sh:message "s223: A Connection must have two or more cnx relations to ConnectionPoints"^^xsd:string ; - sh:path s223:cnx ], - [ rdfs:comment "A Connection must only have a cnx relation with a ConnectionPoint"^^xsd:string ; - sh:path s223:cnx ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "A Connection must only have a cnx relation with a ConnectionPoint"^^xsd:string ; - sh:message "s223: {$this} cannot have a s223:cnx relation to {?something}, because {?something} is not a ConnectionPoint."^^xsd:string ; - sh:prefixes ; - sh:select """SELECT $this ?something -WHERE { -$this s223:cnx ?something . -FILTER NOT EXISTS {?something a/rdfs:subClassOf* s223:ConnectionPoint} . -}"""^^xsd:string ] ], - [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the associated Connection."^^xsd:string ; - sh:name "Test for compatible declared Medium"^^xsd:string ; - sh:path s223:hasMedium ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 2: A Connection with constituents and an associated ConnectionPoint with a pure Medium."^^xsd:string ; - sh:message "s223: Connection {$this} with Medium {?m2} is incompatible with {?cp} with Medium {?m1}."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this ?m2 ?cp ?m1 -WHERE { -$this s223:cnx ?cp . -?cp a/rdfs:subClassOf* s223:ConnectionPoint . -?cp s223:hasMedium ?m1 . -$this s223:hasMedium ?m2 . -?m2 s223:composedOf/s223:ofConstituent ?s2 . -FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . -FILTER NOT EXISTS { - ?m2 s223:composedOf/s223:ofConstituent ?s12 . - {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . -} -} -"""^^xsd:string ] ], - [ rdfs:comment "A Connection must be associated with exactly one Substance-Medium using the relation hasMedium."^^xsd:string ; - sh:class s223:Substance-Medium ; - sh:maxCount 1 ; - sh:message "s223: A Connection must be associated with exactly one Substance-Medium using the relation hasMedium."^^xsd:string ; - sh:minCount 1 ; - sh:name "Connection medium"^^xsd:string ; - sh:path s223:hasMedium ], + sh:message "s223: If the relation connectsFrom is present it must associate the Connection with a Connectable."^^xsd:string ; + sh:name "ConnectionToUpstreamConnectableShape"^^xsd:string ; + sh:path s223:connectsFrom ], [ rdfs:comment "Ensure that the Medium identified by all the associated ConnectionPoints via the s223:hasMedium relation are compatible with one another."^^xsd:string ; sh:name "Test for compatible declared Medium"^^xsd:string ; sh:path s223:hasMedium ; @@ -79329,18 +79334,19 @@ FILTER NOT EXISTS {?m2 s223:composedOf ?c2} FILTER (NOT EXISTS {?m2 rdfs:subClassOf* ?m1}) . FILTER (NOT EXISTS {?m1 rdfs:subClassOf* ?m2}) . } -"""^^xsd:string ] ], - [ rdfs:comment "If the relation connectsFrom is present it must associate the Connection with a Connectable."^^xsd:string ; - sh:class s223:Connectable ; - sh:message "s223: If the relation connectsFrom is present it must associate the Connection with a Connectable."^^xsd:string ; - sh:name "ConnectionToUpstreamConnectableShape"^^xsd:string ; - sh:path s223:connectsFrom ] ; - sh:rule [ a sh:TripleRule ; - rdfs:comment "Infer cnx relation using connectsThrough"^^xsd:string, - "InferredConnectionToConnectionPointBasePropertyFromInverse"^^xsd:string ; - sh:object [ sh:path [ sh:inversePath s223:connectsThrough ] ] ; - sh:predicate s223:cnx ; - sh:subject sh:this ], +"""^^xsd:string ] ] ; + sh:rule [ a sh:SPARQLRule ; + rdfs:comment "Infer the connectsTo relation using connectsAt"^^xsd:string ; + sh:construct """ +CONSTRUCT {$this s223:connectsTo ?equipment .} +WHERE { +$this s223:connectsAt ?cp . +?cp a s223:InletConnectionPoint . +?cp s223:isConnectionPointOf ?equipment . +} +"""^^xsd:string ; + sh:name "InferredConnectionToDownstreamEquipmentProperty"^^xsd:string ; + sh:prefixes ], [ a sh:SPARQLRule ; rdfs:comment "Infer the connectsFrom relation using connectsAt"^^xsd:string ; sh:construct """ @@ -79353,6 +79359,12 @@ $this s223:connectsAt ?cp . """^^xsd:string ; sh:name "InferredConnectionToUpstreamEquipmentProperty"^^xsd:string ; sh:prefixes ], + [ a sh:TripleRule ; + rdfs:comment "Infer cnx relation using connectsAt"^^xsd:string, + "InferredConnectionToConnectionPointBaseProperty"^^xsd:string ; + sh:object [ sh:path s223:connectsAt ] ; + sh:predicate s223:cnx ; + sh:subject sh:this ], [ a sh:TripleRule ; rdfs:comment "Infer the connectsAt relation using cnx"^^xsd:string, "InferredConnectionToConnectionPointProperty"^^xsd:string ; @@ -79360,23 +79372,11 @@ $this s223:connectsAt ?cp . sh:predicate s223:connectsAt ; sh:subject sh:this ], [ a sh:TripleRule ; - rdfs:comment "Infer cnx relation using connectsAt"^^xsd:string, - "InferredConnectionToConnectionPointBaseProperty"^^xsd:string ; - sh:object [ sh:path s223:connectsAt ] ; + rdfs:comment "Infer cnx relation using connectsThrough"^^xsd:string, + "InferredConnectionToConnectionPointBasePropertyFromInverse"^^xsd:string ; + sh:object [ sh:path [ sh:inversePath s223:connectsThrough ] ] ; sh:predicate s223:cnx ; - sh:subject sh:this ], - [ a sh:SPARQLRule ; - rdfs:comment "Infer the connectsTo relation using connectsAt"^^xsd:string ; - sh:construct """ -CONSTRUCT {$this s223:connectsTo ?equipment .} -WHERE { -$this s223:connectsAt ?cp . -?cp a s223:InletConnectionPoint . -?cp s223:isConnectionPointOf ?equipment . -} -"""^^xsd:string ; - sh:name "InferredConnectionToDownstreamEquipmentProperty"^^xsd:string ; - sh:prefixes ] . + sh:subject sh:this ] . s223:Constituent-H2O a s223:Class, s223:Constituent-H2O, @@ -81335,7 +81335,21 @@ s223:Sensor a s223:Class, rdfs:label "Sensor"^^xsd:string ; rdfs:comment "A Sensor observes an ObservableProperty (see `s223:ObservableProperty`) which may be quantifiable (see `s223:QuantifiableObservableProperty`), such as a temperature, flowrate, or concentration, or Enumerable (see `s223:EnumeratedObservableProperty`), such as an alarm state or occupancy state."^^xsd:string ; rdfs:subClassOf s223:Equipment ; - sh:property [ rdfs:comment "s223: If the observed Property has isDeltaQuantity true, the Sensor must have a hasReferenceLocation relation."^^xsd:string ; + sh:property [ rdfs:comment "If the relation hasMeasurementResolution is present it must associate a Sensor with a QuantifiableProperty."^^xsd:string ; + sh:class s223:QuantifiableProperty ; + sh:message "s223: If the relation hasMeasurementResolution is present it must associate a Sensor with a QuantifiableProperty."^^xsd:string ; + sh:path s223:hasMeasurementResolution ], + [ rdfs:comment "If a Sensor measures a differential property, it must be associated with exactly 1 of Connectable, Connection, or ConnectionPoint using the relation hasReferenceLocation."^^xsd:string ; + sh:maxCount 1 ; + sh:message "s223: If a Sensor measures a differential property, it must be associated with exactly 1 of Connectable, Connection, or ConnectionPoint using the relation hasReferenceLocation."^^xsd:string ; + sh:path s223:hasReferenceLocation ], + [ rdfs:comment "A Sensor must be associated with exactly one ObservableProperty using the relation observes."^^xsd:string ; + sh:class s223:ObservableProperty ; + sh:maxCount 1 ; + sh:message "s223: A Sensor must be associated with exactly one ObservableProperty using the relation observes."^^xsd:string ; + sh:minCount 1 ; + sh:path s223:observes ], + [ rdfs:comment "s223: If the observed Property has isDeltaQuantity true, the Sensor must have a hasReferenceLocation relation."^^xsd:string ; sh:path s223:observes ; sh:sparql [ a sh:SPARQLConstraint ; rdfs:comment "s223: If the observed Property has isDeltaQuantity true, the Sensor must have a hasReferenceLocation relation."^^xsd:string ; @@ -81355,16 +81369,6 @@ FILTER NOT EXISTS {$this s223:hasReferenceLocation ?y} sh:message "s223: A Sensor must be associated with exactly one location using the relation hasObservationLocation."^^xsd:string ; sh:minCount 1 ; sh:path s223:hasObservationLocation ], - [ rdfs:comment "A Sensor must be associated with exactly one ObservableProperty using the relation observes."^^xsd:string ; - sh:class s223:ObservableProperty ; - sh:maxCount 1 ; - sh:message "s223: A Sensor must be associated with exactly one ObservableProperty using the relation observes."^^xsd:string ; - sh:minCount 1 ; - sh:path s223:observes ], - [ rdfs:comment "If the relation hasMeasurementResolution is present it must associate a Sensor with a QuantifiableProperty."^^xsd:string ; - sh:class s223:QuantifiableProperty ; - sh:message "s223: If the relation hasMeasurementResolution is present it must associate a Sensor with a QuantifiableProperty."^^xsd:string ; - sh:path s223:hasMeasurementResolution ], [ rdfs:comment "s223: If the hasReferenceLocation relation exists, the observed Property must have isDeltaQuantity true."^^xsd:string ; sh:path s223:observes ; sh:sparql [ a sh:SPARQLConstraint ; @@ -81379,11 +81383,7 @@ $this s223:observes ?x . ?x a/rdfs:subClassOf* s223:QuantifiableProperty . FILTER NOT EXISTS {$this s223:observes/qudt:isDeltaQuantity true} } -"""^^xsd:string ] ], - [ rdfs:comment "If a Sensor measures a differential property, it must be associated with exactly 1 of Connectable, Connection, or ConnectionPoint using the relation hasReferenceLocation."^^xsd:string ; - sh:maxCount 1 ; - sh:message "s223: If a Sensor measures a differential property, it must be associated with exactly 1 of Connectable, Connection, or ConnectionPoint using the relation hasReferenceLocation."^^xsd:string ; - sh:path s223:hasReferenceLocation ] ; +"""^^xsd:string ] ] ; sh:rule [ a sh:SPARQLRule ; rdfs:comment "Infer the hasObservationLocation relation for a Sensor from the Property that it is observing, only if that property is associated with a single entity."^^xsd:string ; sh:construct """ @@ -81929,8 +81929,8 @@ $G = \\frac{1}{R}$, where $R$ is resistance."""^^ns1:LatexString ; ns1:conversionOffsetSN 2.7315e+02 ; ns1:dbpediaMatch "http://dbpedia.org/resource/Celsius"^^xsd:anyURI ; ns1:expression "$degC$"^^ns1:LatexString ; - ns1:guidance "

See NIST section SP811 section 4.2.1.1

"^^rdf:HTML, - "

See NIST section SP811 section 6.2.8

"^^rdf:HTML ; + ns1:guidance "

See NIST section SP811 section 4.2.1.1"^^rdf:HTML, + "

See NIST section SP811 section 6.2.8"^^rdf:HTML ; ns1:hasDimensionVector ; ns1:hasQuantityKind , , @@ -82163,7 +82163,7 @@ $G = \\frac{1}{R}$, where $R$ is resistance."""^^ns1:LatexString ; ; ns1:conversionMultiplier 0.000001 ; ns1:conversionMultiplierSN 1e-06 ; - ns1:guidance "

See NIST section SP811 section7.10

"^^rdf:HTML ; + ns1:guidance "

See NIST section SP811 section7.10"^^rdf:HTML ; ns1:hasDimensionVector ; ns1:hasQuantityKind , ; @@ -82200,8 +82200,8 @@ $G = \\frac{1}{R}$, where $R$ is resistance."""^^ns1:LatexString ; ns1:conversionOffset 273.15 ; ns1:conversionOffsetSN 2.7315e+02 ; ns1:dbpediaMatch "http://dbpedia.org/resource/Celsius"^^xsd:anyURI ; - ns1:guidance "

See NIST section SP811 section 4.2.1.1

"^^rdf:HTML, - "

See NIST section SP811 section 6.2.8

"^^rdf:HTML ; + ns1:guidance "

See NIST section SP811 section 4.2.1.1"^^rdf:HTML, + "

See NIST section SP811 section 6.2.8"^^rdf:HTML ; ns1:hasDimensionVector ; ns1:hasQuantityKind , , @@ -82222,7 +82222,7 @@ $G = \\frac{1}{R}$, where $R$ is resistance."""^^ns1:LatexString ; ; ns1:conversionMultiplier 0.001 ; ns1:conversionMultiplierSN 1e-03 ; - ns1:guidance "

See NIST section SP811 section7.10

"^^rdf:HTML ; + ns1:guidance "

See NIST section SP811 section7.10"^^rdf:HTML ; ns1:hasDimensionVector ; ns1:hasQuantityKind , ; @@ -82453,7 +82453,7 @@ $G = \\frac{1}{R}$, where $R$ is resistance."""^^ns1:LatexString ; ns1:conversionMultiplierSN 1e+00 ; ns1:dbpediaMatch "http://dbpedia.org/resource/Radian"^^xsd:anyURI ; ns1:definedUnitOfSystem ; - ns1:guidance "

See NIST section SP811 section7.10

"^^rdf:HTML ; + ns1:guidance "

See NIST section SP811 section7.10"^^rdf:HTML ; ns1:hasDimensionVector ; ns1:hasQuantityKind , ; @@ -82579,7 +82579,7 @@ $G = \\frac{1}{R}$, where $R$ is resistance."""^^ns1:LatexString ; a ns1:Unit ; rdfs:label "Tropical Year"@en ; - dcterms:description "

A tropical year (also known as a solar year), for general purposes, is the length of time that the Sun takes to return to the same position in the cycle of seasons, as seen from Earth; for example, the time from vernal equinox to vernal equinox, or from summer solstice to summer solstice. Because of the precession of the equinoxes, the seasonal cycle does not remain exactly synchronised with the position of the Earth in its orbit around the Sun. As a consequence, the tropical year is about 20 minutes shorter than the time it takes Earth to complete one full orbit around the Sun as measured with respect to the fixed stars. Since antiquity, astronomers have progressively refined the definition of the tropical year, and currently define it as the time required for the mean Sun's tropical longitude (longitudinal position along the ecliptic relative to its position at the vernal equinox) to increase by 360 degrees (that is, to complete one full seasonal circuit).

"^^rdf:HTML ; + dcterms:description "

A tropical year (also known as a solar year), for general purposes, is the length of time that the Sun takes to return to the same position in the cycle of seasons, as seen from Earth; for example, the time from vernal equinox to vernal equinox, or from summer solstice to summer solstice. Because of the precession of the equinoxes, the seasonal cycle does not remain exactly synchronised with the position of the Earth in its orbit around the Sun. As a consequence, the tropical year is about 20 minutes shorter than the time it takes Earth to complete one full orbit around the Sun as measured with respect to the fixed stars. Since antiquity, astronomers have progressively refined the definition of the tropical year, and currently define it as the time required for the mean Sun's tropical longitude (longitudinal position along the ecliptic relative to its position at the vernal equinox) to increase by 360 degrees (that is, to complete one full seasonal circuit)."^^rdf:HTML ; ns1:applicableSystem , , , @@ -82604,31 +82604,7 @@ s223:Connectable a s223:Class, s223:abstract true ; rdfs:comment "Connectable is an abstract class representing a thing such as, Equipment (see `s223:Equipment`), DomainSpace (see `s223:DomainSpace`), or Junction (see `s223:Junction`) that can be connected via ConnectionPoints and Connections."^^xsd:string ; rdfs:subClassOf s223:Concept ; - sh:property [ rdfs:comment "If the relation connectedFrom is present it must associate the Connectable with a Connectable."^^xsd:string ; - sh:class s223:Connectable ; - sh:message "s223: If the relation connectedFrom is present it must associate the Connectable with a Connectable."^^xsd:string ; - sh:path s223:connectedFrom ], - [ rdfs:comment "If the relation connectedThrough is present it must associate the Connectable with a Connection."^^xsd:string ; - sh:class s223:Connection ; - sh:message "s223: If the relation connectedThrough is present it must associate the Connectable with a Connection."^^xsd:string ; - sh:name "EquipmentToConnectionShape"^^xsd:string ; - sh:path s223:connectedThrough ], - [ rdfs:comment "If the relation connectedTo is present it must associate the Connectable with a Connectable."^^xsd:string ; - sh:class s223:Connectable ; - sh:message "s223: If the relation connectedTo is present it must associate the Connectable with a Connectable."^^xsd:string ; - sh:name "ConnectableToConnectableShape"^^xsd:string ; - sh:path s223:connectedTo ], - [ rdfs:comment "If the relation hasConnectionPoint is present it must associate the Connectable with a ConnectionPoint."^^xsd:string ; - sh:class s223:ConnectionPoint ; - sh:message "s223: If the relation hasConnectionPoint is present it must associate the Connectable with a ConnectionPoint."^^xsd:string ; - sh:name "EquipmentToConnectionPointShape"^^xsd:string ; - sh:path s223:hasConnectionPoint ], - [ rdfs:comment "If the relation connected is present it must associate the Connectable with a Connectable."^^xsd:string ; - sh:class s223:Connectable ; - sh:message "s223: If the relation connected is present it must associate the Connectable with a Connectable."^^xsd:string ; - sh:name "SymmetricConnectableToConnectableShape"^^xsd:string ; - sh:path s223:connected ], - [ rdfs:comment "If a Connectable has s223:connected or s223:connectedTo (i.e. high-level connection specification), it must also have the supporting cnx relations (low-level connection specification)."^^xsd:string ; + sh:property [ rdfs:comment "If a Connectable has s223:connected or s223:connectedTo (i.e. high-level connection specification), it must also have the supporting cnx relations (low-level connection specification)."^^xsd:string ; sh:path s223:cnx ; sh:severity sh:Warning ; sh:sparql [ a sh:SPARQLConstraint ; @@ -82642,34 +82618,77 @@ $this s223:connected ?otherC . FILTER NOT EXISTS {$this s223:cnx+ ?otherC} } """^^xsd:string ] ], + [ rdfs:comment "If the relation hasConnectionPoint is present it must associate the Connectable with a ConnectionPoint."^^xsd:string ; + sh:class s223:ConnectionPoint ; + sh:message "s223: If the relation hasConnectionPoint is present it must associate the Connectable with a ConnectionPoint."^^xsd:string ; + sh:name "EquipmentToConnectionPointShape"^^xsd:string ; + sh:path s223:hasConnectionPoint ], + [ rdfs:comment "If the relation connectedTo is present it must associate the Connectable with a Connectable."^^xsd:string ; + sh:class s223:Connectable ; + sh:message "s223: If the relation connectedTo is present it must associate the Connectable with a Connectable."^^xsd:string ; + sh:name "ConnectableToConnectableShape"^^xsd:string ; + sh:path s223:connectedTo ], + [ rdfs:comment "If the relation connected is present it must associate the Connectable with a Connectable."^^xsd:string ; + sh:class s223:Connectable ; + sh:message "s223: If the relation connected is present it must associate the Connectable with a Connectable."^^xsd:string ; + sh:name "SymmetricConnectableToConnectableShape"^^xsd:string ; + sh:path s223:connected ], + [ rdfs:comment "If the relation connectedThrough is present it must associate the Connectable with a Connection."^^xsd:string ; + sh:class s223:Connection ; + sh:message "s223: If the relation connectedThrough is present it must associate the Connectable with a Connection."^^xsd:string ; + sh:name "EquipmentToConnectionShape"^^xsd:string ; + sh:path s223:connectedThrough ], [ rdfs:comment "If the relation cnx is present it must associate the Connectable with a ConnectionPoint."^^xsd:string ; sh:class s223:ConnectionPoint ; sh:message "s223: If the relation cnx is present it must associate the Connectable with a ConnectionPoint."^^xsd:string ; - sh:path s223:cnx ] ; - sh:rule [ a sh:TripleRule ; - rdfs:comment "Infer the cnx relationship using hasConnectionPoint."^^xsd:string ; - sh:name "InferredEquipmentToConnectionPointCnxProperty"^^xsd:string ; - sh:object [ sh:path s223:hasConnectionPoint ] ; - sh:predicate s223:cnx ; - sh:subject sh:this ], + sh:path s223:cnx ], + [ rdfs:comment "If the relation connectedFrom is present it must associate the Connectable with a Connectable."^^xsd:string ; + sh:class s223:Connectable ; + sh:message "s223: If the relation connectedFrom is present it must associate the Connectable with a Connectable."^^xsd:string ; + sh:path s223:connectedFrom ] ; + sh:rule [ a sh:SPARQLRule ; + rdfs:comment "Infer the connectedTo relation using connectsThrough and connectsTo."^^xsd:string ; + sh:construct """ +CONSTRUCT {$this s223:connectedTo ?equipment .} +WHERE { +$this s223:hasConnectionPoint ?cp . +?cp a s223:OutletConnectionPoint . +?cp s223:connectsThrough/s223:connectsTo ?equipment . +} +"""^^xsd:string ; + sh:name "InferredEquipmentToDownstreamEquipmentProperty"^^xsd:string ; + sh:prefixes ], [ a sh:TripleRule ; rdfs:comment "Infer the hasConnectionPoint relation using cnx"^^xsd:string ; sh:name "InferredEquipmentToConnectionPointProperty"^^xsd:string ; sh:object [ sh:path s223:cnx ] ; sh:predicate s223:hasConnectionPoint ; sh:subject sh:this ], + [ a sh:TripleRule ; + rdfs:comment "Infer the connected relation using connectedFrom"^^xsd:string ; + sh:name "InferredEquipmentToEquipmentPropertyfromconnectedFrom"^^xsd:string ; + sh:object [ sh:path s223:connectedFrom ] ; + sh:predicate s223:connected ; + sh:subject sh:this ], [ a sh:SPARQLRule ; - rdfs:comment "Infer the connectedTo relation using connectsThrough and connectsTo."^^xsd:string ; + rdfs:comment "Infer the connected relation for BiDirectional connections"^^xsd:string ; sh:construct """ -CONSTRUCT {$this s223:connectedTo ?equipment .} +CONSTRUCT {$this s223:connected ?d2 .} WHERE { -$this s223:hasConnectionPoint ?cp . -?cp a s223:OutletConnectionPoint . -?cp s223:connectsThrough/s223:connectsTo ?equipment . +$this s223:connectedThrough/^s223:connectedThrough ?d2 . +FILTER ($this != ?d2) . +FILTER NOT EXISTS {$this s223:contains* ?d2} . +FILTER NOT EXISTS {?d2 s223:contains* $this} . } """^^xsd:string ; sh:name "InferredEquipmentToDownstreamEquipmentProperty"^^xsd:string ; sh:prefixes ], + [ a sh:TripleRule ; + rdfs:comment "Infer the cnx relationship using hasConnectionPoint."^^xsd:string ; + sh:name "InferredEquipmentToConnectionPointCnxProperty"^^xsd:string ; + sh:object [ sh:path s223:hasConnectionPoint ] ; + sh:predicate s223:cnx ; + sh:subject sh:this ], [ a sh:SPARQLRule ; rdfs:comment "Infer the connectedFrom relations using connectsThrough and connectsFrom."^^xsd:string ; sh:construct """ @@ -82682,42 +82701,23 @@ $this s223:hasConnectionPoint ?cp . """^^xsd:string ; sh:name "InferredEquipmentToUpstreamEquipmentProperty"^^xsd:string ; sh:prefixes ], - [ a sh:SPARQLRule ; - rdfs:comment "Infer the connected relation for BiDirectional connections"^^xsd:string ; - sh:construct """ -CONSTRUCT {$this s223:connected ?d2 .} -WHERE { -$this s223:connectedThrough/^s223:connectedThrough ?d2 . -FILTER ($this != ?d2) . -FILTER NOT EXISTS {$this s223:contains* ?d2} . -FILTER NOT EXISTS {?d2 s223:contains* $this} . -} -"""^^xsd:string ; - sh:name "InferredEquipmentToDownstreamEquipmentProperty"^^xsd:string ; - sh:prefixes ], + [ a sh:TripleRule ; + rdfs:comment "Infer the connected relation using connectedTo"^^xsd:string ; + sh:name "InferredEquipmentToEquipmentPropertyfromconnectedTo"^^xsd:string ; + sh:object [ sh:path s223:connectedTo ] ; + sh:predicate s223:connected ; + sh:subject sh:this ], [ a sh:TripleRule ; rdfs:comment "Infer the cnx relation using isConnectionPointOf."^^xsd:string ; sh:name "InferredEquipmentToConnectionPointCnxPropertyFromInverse"^^xsd:string ; sh:object [ sh:path [ sh:inversePath s223:isConnectionPointOf ] ] ; sh:predicate s223:cnx ; sh:subject sh:this ], - [ a sh:TripleRule ; - rdfs:comment "Infer the connected relation using connectedFrom"^^xsd:string ; - sh:name "InferredEquipmentToEquipmentPropertyfromconnectedFrom"^^xsd:string ; - sh:object [ sh:path s223:connectedFrom ] ; - sh:predicate s223:connected ; - sh:subject sh:this ], [ a sh:TripleRule ; rdfs:comment "Infer the connectedThrough relation using hasConnectionPoint and connectsThrough"^^xsd:string ; sh:name "InferredEquipmentToConnectionProperty"^^xsd:string ; sh:object [ sh:path ( s223:hasConnectionPoint s223:connectsThrough ) ] ; sh:predicate s223:connectedThrough ; - sh:subject sh:this ], - [ a sh:TripleRule ; - rdfs:comment "Infer the connected relation using connectedTo"^^xsd:string ; - sh:name "InferredEquipmentToEquipmentPropertyfromconnectedTo"^^xsd:string ; - sh:object [ sh:path s223:connectedTo ] ; - sh:predicate s223:connected ; sh:subject sh:this ] . s223:cnx a s223:SymmetricProperty ; @@ -83850,41 +83850,20 @@ BIND(REPLACE(?localName, "-", " ", "i") AS ?newLabel) sh:name "AddLabelFromLocalName"^^xsd:string ; sh:prefixes ] ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 2: A pure medium and an associated property with constituents."^^xsd:string ; - sh:message "s223: {$this} hasMedium of {?m1}, but is associated with property {?prop} that has ofMedium of {?m2}."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this ?m1 ?prop ?m2 -WHERE { -$this s223:hasMedium ?m1 . -$this ?p ?prop . -?prop a/rdfs:subClassOf* s223:Property . -?prop s223:ofMedium ?m2 . -?m2 s223:composedOf/s223:ofConstituent ?s2 . -FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . -FILTER NOT EXISTS { - ?m2 s223:composedOf/s223:ofConstituent ?s12 . - {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . -} -} -"""^^xsd:string ], - [ a sh:SPARQLConstraint ; - rdfs:comment "Inconsistent Medium. Case 3: A medium with constituents and an associated property with a pure medium."^^xsd:string ; - sh:message "s223: {$this} hasMedium of {?m2}, but is associated with property {?prop} that has ofMedium of {?m1}."^^xsd:string ; + rdfs:comment "Ensure that any instance that is declared to be an instance of an abstract class must also be declared an instance of at least one subClass of that abstract class"^^xsd:string ; + sh:message "s223: {$this} cannot be declared an instance of only abstract class {?class}."^^xsd:string ; sh:prefixes ; sh:select """ -SELECT $this ?m1 ?prop ?m2 +SELECT DISTINCT $this ?class WHERE { -$this s223:hasMedium ?m2 . -$this ?p ?prop . -?prop a/rdfs:subClassOf* s223:Property . -?prop s223:ofMedium ?m1 . -?m2 s223:composedOf/s223:ofConstituent ?s2 . -FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . -FILTER NOT EXISTS { - ?m2 s223:composedOf/s223:ofConstituent ?s12 . - {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . +?class s223:abstract true . +$this a ?class . +OPTIONAL { +?otherClass rdfs:subClassOf+ ?class . +$this a ?otherClass . +FILTER (?class != ?otherClass) . } +FILTER (!bound (?otherClass)) . } """^^xsd:string ], [ a sh:SPARQLConstraint ; @@ -83931,20 +83910,41 @@ FILTER (NOT EXISTS {?m1 rdfs:subClassOf* ?m2}) . } """^^xsd:string ], [ a sh:SPARQLConstraint ; - rdfs:comment "Ensure that any instance that is declared to be an instance of an abstract class must also be declared an instance of at least one subClass of that abstract class"^^xsd:string ; - sh:message "s223: {$this} cannot be declared an instance of only abstract class {?class}."^^xsd:string ; + rdfs:comment "Inconsistent Medium. Case 3: A medium with constituents and an associated property with a pure medium."^^xsd:string ; + sh:message "s223: {$this} hasMedium of {?m2}, but is associated with property {?prop} that has ofMedium of {?m1}."^^xsd:string ; sh:prefixes ; sh:select """ -SELECT DISTINCT $this ?class +SELECT $this ?m1 ?prop ?m2 WHERE { -?class s223:abstract true . -$this a ?class . -OPTIONAL { -?otherClass rdfs:subClassOf+ ?class . -$this a ?otherClass . -FILTER (?class != ?otherClass) . +$this s223:hasMedium ?m2 . +$this ?p ?prop . +?prop a/rdfs:subClassOf* s223:Property . +?prop s223:ofMedium ?m1 . +?m2 s223:composedOf/s223:ofConstituent ?s2 . +FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . +FILTER NOT EXISTS { + ?m2 s223:composedOf/s223:ofConstituent ?s12 . + {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . +} +} +"""^^xsd:string ], + [ a sh:SPARQLConstraint ; + rdfs:comment "Inconsistent Medium. Case 2: A pure medium and an associated property with constituents."^^xsd:string ; + sh:message "s223: {$this} hasMedium of {?m1}, but is associated with property {?prop} that has ofMedium of {?m2}."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this ?m1 ?prop ?m2 +WHERE { +$this s223:hasMedium ?m1 . +$this ?p ?prop . +?prop a/rdfs:subClassOf* s223:Property . +?prop s223:ofMedium ?m2 . +?m2 s223:composedOf/s223:ofConstituent ?s2 . +FILTER NOT EXISTS {?m1 s223:composedOf ?c1} . +FILTER NOT EXISTS { + ?m2 s223:composedOf/s223:ofConstituent ?s12 . + {?s12 rdfs:subClassOf* ?m1} UNION {?m1 rdfs:subClassOf* ?s12} . } -FILTER (!bound (?otherClass)) . } """^^xsd:string ] . @@ -84387,72 +84387,32 @@ ConnectionPoints are represented graphically in this standard by a triangle with """^^xsd:string ; rdfs:subClassOf s223:Concept ; - sh:property [ rdfs:comment "A ConnectionPoint must be associated with exactly one Connectable using the relation isConnectionPointOf."^^xsd:string ; + sh:property [ rdfs:comment "A ConnectionPoint can be associated with at most one other ConnectionPoint using the inverse of relation mapsTo"^^xsd:string ; + sh:class s223:ConnectionPoint ; + sh:maxCount 1 ; + sh:message "s223: A ConnectionPoint can be associated with at most one other ConnectionPoint using the inverse of relation mapsTo"^^xsd:string ; + sh:path [ sh:inversePath s223:mapsTo ] ], + [ rdfs:comment "A ConnectionPoint must be associated with exactly one Connectable using the relation isConnectionPointOf."^^xsd:string ; sh:class s223:Connectable ; sh:maxCount 1 ; sh:message "s223: A ConnectionPoint must be associated with exactly one Connectable using the relation isConnectionPointOf."^^xsd:string ; sh:minCount 1 ; sh:name "ConnectionPointToEquipmentShape"^^xsd:string ; sh:path s223:isConnectionPointOf ], - [ rdfs:comment "A ConnectionPoint must be associated with at most one Connectable using the cnx relation."^^xsd:string ; - sh:message "s223: A ConnectionPoint must be associated with at most one Connectable using the cnx relation."^^xsd:string ; - sh:path s223:cnx ; - sh:qualifiedMaxCount 1 ; - sh:qualifiedValueShape [ sh:class s223:Connectable ] ; - sh:qualifiedValueShapesDisjoint true ], - [ rdfs:comment "If the relation hasElectricalPhase is present it must associate the ConnectionPoint with an ElectricalPhaseIdentifier or ElectricalVoltagePhases."^^xsd:string ; - sh:message "s223: If the relation hasElectricalPhase is present it must associate the ConnectionPoint with an ElectricalPhaseIdentifier or ElectricalVoltagePhases."^^xsd:string ; - sh:or ( [ sh:class s223:Aspect-ElectricalPhaseIdentifier ] [ sh:class s223:Aspect-ElectricalVoltagePhases ] ) ; - sh:path s223:hasElectricalPhase ], - [ rdfs:comment "A ConnectionPoint can be associated with at most one other ConnectionPoint using the relation mapsTo"^^xsd:string ; - sh:class s223:ConnectionPoint ; - sh:maxCount 1 ; - sh:message "s223: A ConnectionPoint can be associated with at most one other ConnectionPoint using the relation mapsTo"^^xsd:string ; - sh:path s223:mapsTo ], - [ rdfs:comment "If the relation hasRole is present it must associate the ConnectionPoint with an EnumerationKind-Role."^^xsd:string ; - sh:class s223:EnumerationKind-Role ; - sh:message "s223: If the relation hasRole is present it must associate the ConnectionPoint with an EnumerationKind-Role."^^xsd:string ; - sh:path s223:hasRole ], - [ rdfs:comment "A ConnectionPoint must be associated with exactly one Substance-Medium using the relation hasMedium."^^xsd:string ; - sh:class s223:Substance-Medium ; - sh:maxCount 1 ; - sh:message "s223: A ConnectionPoint must be associated with exactly one Substance-Medium using the relation hasMedium."^^xsd:string ; - sh:minCount 1 ; - sh:name "ConnectionPoint medium"^^xsd:string ; - sh:path s223:hasMedium ], - [ rdfs:comment "If a ConnectionPoint mapsTo another ConnectionPoint, the respective Equipment should have a contains relation."^^xsd:string ; + [ rdfs:comment "A ConnectionPoint must not have both a mapsTo and a connectsThrough relation."^^xsd:string ; sh:path s223:mapsTo ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "If a ConnectionPoint mapsTo another ConnectionPoint, the respective Equipment should have a contains relation."^^xsd:string ; - sh:message "s223: {?otherEquipment} should contain {?equipment} because ConnectionPoint {$this} has a mapsTo relation."^^xsd:string ; + rdfs:comment "A ConnectionPoint must not have both a mapsTo and a connectsThrough relation."^^xsd:string ; + sh:message "s223: {$this} cannot have both a mapsTo {?uppercp} and a connectsThrough {?connection}."^^xsd:string ; sh:prefixes ; sh:select """ -SELECT $this ?equipment ?otherEquipment +SELECT $this ?uppercp ?connection WHERE { -$this s223:mapsTo ?otherCP . -?equipment s223:hasConnectionPoint $this . -?otherEquipment s223:hasConnectionPoint ?otherCP . -FILTER NOT EXISTS {?otherEquipment s223:contains ?equipment} +$this s223:mapsTo ?uppercp . +$this s223:connectsThrough ?connection . +?connection a/rdfs:subClassOf* s223:Connection . } """^^xsd:string ] ], - [ rdfs:comment "A ConnectionPoint must be associated with at most one Connection using the relation connectsThrough."^^xsd:string ; - sh:class s223:Connection ; - sh:maxCount 1 ; - sh:message "s223: This ConnectionPoint must be associated with at most one Connection."^^xsd:string ; - sh:name "ConnectionPointToConnectionShape"^^xsd:string ; - sh:path s223:connectsThrough ; - sh:severity sh:Info ], - [ rdfs:comment "A ConnectionPoint must be associated with at most one Connection using the cnx relation"^^xsd:string ; - sh:message "s223: A ConnectionPoint must be associated with at most one Connection using the cnx relation"^^xsd:string ; - sh:path s223:cnx ; - sh:qualifiedMaxCount 1 ; - sh:qualifiedValueShape [ sh:class s223:Connection ] ; - sh:qualifiedValueShapesDisjoint true ], - [ rdfs:comment "A ConnectionPoint can be associated with at most one other ConnectionPoint using the inverse of relation mapsTo"^^xsd:string ; - sh:class s223:ConnectionPoint ; - sh:maxCount 1 ; - sh:message "s223: A ConnectionPoint can be associated with at most one other ConnectionPoint using the inverse of relation mapsTo"^^xsd:string ; - sh:path [ sh:inversePath s223:mapsTo ] ], [ rdfs:comment "Ensure that the Medium identified by a ConnectionPoint via the s223:hasMedium relation is compatible with the Medium identified by the entity identified by the mapsTo+ relation."^^xsd:string ; sh:name "Test for compatible declared Medium"^^xsd:string ; sh:path s223:hasMedium ; @@ -84473,6 +84433,45 @@ FILTER (NOT EXISTS {?b a/rdfs:subClassOf* ?a}) . FILTER (NOT EXISTS {?a a/rdfs:subClassOf* ?b}) . } """^^xsd:string ] ], + [ rdfs:comment "A ConnectionPoint must be associated with at most one Connection using the relation connectsThrough."^^xsd:string ; + sh:class s223:Connection ; + sh:maxCount 1 ; + sh:message "s223: This ConnectionPoint must be associated with at most one Connection."^^xsd:string ; + sh:name "ConnectionPointToConnectionShape"^^xsd:string ; + sh:path s223:connectsThrough ; + sh:severity sh:Info ], + [ rdfs:comment "If a ConnectionPoint lacks a connectsThrough and mapsTo relation, but is associated with a Junction or Equipment that is contained by an Equipment, then suggest that the ConnectionPoint might need a mapsTo relation to a ConnectionPoint of the containing Equipment."^^xsd:string ; + sh:path s223:mapsTo ; + sh:severity sh:Info ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "If a ConnectionPoint lacks a connectsThrough and mapsTo relation, but is associated with a Junction or Equipment that is contained by an Equipment, then suggest that the ConnectionPoint might need a mapsTo relation to a ConnectionPoint of the containing Equipment."^^xsd:string ; + sh:message "s223: ConnectionPoint {$this} could be missing a mapsTo relation to a ConnectionPoint of {?containerEquipment} because it is associated with a Junction or Equipment that is contained by {?containerEquipment}."^^xsd:string ; + sh:prefixes ; + sh:select """ + SELECT $this ?containerEquipment + WHERE { + FILTER NOT EXISTS {$this s223:connectsThrough ?anything1} . + FILTER NOT EXISTS {$this s223:mapsTo ?anything2} . + FILTER NOT EXISTS {?anything3 s223:hasBoundaryConnectionPoint $this} . + $this s223:isConnectionPointOf ?equipment . + ?containerEquipment s223:contains ?equipment . + } + """^^xsd:string ] ], + [ rdfs:comment "A ConnectionPoint can be associated with at most one other ConnectionPoint using the relation mapsTo"^^xsd:string ; + sh:class s223:ConnectionPoint ; + sh:maxCount 1 ; + sh:message "s223: A ConnectionPoint can be associated with at most one other ConnectionPoint using the relation mapsTo"^^xsd:string ; + sh:path s223:mapsTo ], + [ rdfs:comment "If the relation hasElectricalPhase is present it must associate the ConnectionPoint with an ElectricalPhaseIdentifier or ElectricalVoltagePhases."^^xsd:string ; + sh:message "s223: If the relation hasElectricalPhase is present it must associate the ConnectionPoint with an ElectricalPhaseIdentifier or ElectricalVoltagePhases."^^xsd:string ; + sh:or ( [ sh:class s223:Aspect-ElectricalPhaseIdentifier ] [ sh:class s223:Aspect-ElectricalVoltagePhases ] ) ; + sh:path s223:hasElectricalPhase ], + [ rdfs:comment "A ConnectionPoint must be associated with at most one Connectable using the cnx relation."^^xsd:string ; + sh:message "s223: A ConnectionPoint must be associated with at most one Connectable using the cnx relation."^^xsd:string ; + sh:path s223:cnx ; + sh:qualifiedMaxCount 1 ; + sh:qualifiedValueShape [ sh:class s223:Connectable ] ; + sh:qualifiedValueShapesDisjoint true ], [ rdfs:comment "If a ConnectionPoint lacks a connectsThrough and mapsTo relation, and is not associated with a Junction or Equipment that is contained by an Equipment, then suggest that the ConnectionPoint probably needs an association with a Connection."^^xsd:string ; sh:path s223:connectsThrough ; sh:severity sh:Info ; @@ -84491,37 +84490,38 @@ FILTER (NOT EXISTS {?a a/rdfs:subClassOf* ?b}) . FILTER NOT EXISTS {?containerEquipment s223:contains ?equipment} . } """^^xsd:string ] ], - [ rdfs:comment "A ConnectionPoint must not have both a mapsTo and a connectsThrough relation."^^xsd:string ; + [ rdfs:comment "If the relation hasRole is present it must associate the ConnectionPoint with an EnumerationKind-Role."^^xsd:string ; + sh:class s223:EnumerationKind-Role ; + sh:message "s223: If the relation hasRole is present it must associate the ConnectionPoint with an EnumerationKind-Role."^^xsd:string ; + sh:path s223:hasRole ], + [ rdfs:comment "If a ConnectionPoint mapsTo another ConnectionPoint, the respective Equipment should have a contains relation."^^xsd:string ; sh:path s223:mapsTo ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "A ConnectionPoint must not have both a mapsTo and a connectsThrough relation."^^xsd:string ; - sh:message "s223: {$this} cannot have both a mapsTo {?uppercp} and a connectsThrough {?connection}."^^xsd:string ; + rdfs:comment "If a ConnectionPoint mapsTo another ConnectionPoint, the respective Equipment should have a contains relation."^^xsd:string ; + sh:message "s223: {?otherEquipment} should contain {?equipment} because ConnectionPoint {$this} has a mapsTo relation."^^xsd:string ; sh:prefixes ; sh:select """ -SELECT $this ?uppercp ?connection +SELECT $this ?equipment ?otherEquipment WHERE { -$this s223:mapsTo ?uppercp . -$this s223:connectsThrough ?connection . -?connection a/rdfs:subClassOf* s223:Connection . +$this s223:mapsTo ?otherCP . +?equipment s223:hasConnectionPoint $this . +?otherEquipment s223:hasConnectionPoint ?otherCP . +FILTER NOT EXISTS {?otherEquipment s223:contains ?equipment} } """^^xsd:string ] ], - [ rdfs:comment "If a ConnectionPoint lacks a connectsThrough and mapsTo relation, but is associated with a Junction or Equipment that is contained by an Equipment, then suggest that the ConnectionPoint might need a mapsTo relation to a ConnectionPoint of the containing Equipment."^^xsd:string ; - sh:path s223:mapsTo ; - sh:severity sh:Info ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "If a ConnectionPoint lacks a connectsThrough and mapsTo relation, but is associated with a Junction or Equipment that is contained by an Equipment, then suggest that the ConnectionPoint might need a mapsTo relation to a ConnectionPoint of the containing Equipment."^^xsd:string ; - sh:message "s223: ConnectionPoint {$this} could be missing a mapsTo relation to a ConnectionPoint of {?containerEquipment} because it is associated with a Junction or Equipment that is contained by {?containerEquipment}."^^xsd:string ; - sh:prefixes ; - sh:select """ - SELECT $this ?containerEquipment - WHERE { - FILTER NOT EXISTS {$this s223:connectsThrough ?anything1} . - FILTER NOT EXISTS {$this s223:mapsTo ?anything2} . - FILTER NOT EXISTS {?anything3 s223:hasBoundaryConnectionPoint $this} . - $this s223:isConnectionPointOf ?equipment . - ?containerEquipment s223:contains ?equipment . - } - """^^xsd:string ] ] . + [ rdfs:comment "A ConnectionPoint must be associated with exactly one Substance-Medium using the relation hasMedium."^^xsd:string ; + sh:class s223:Substance-Medium ; + sh:maxCount 1 ; + sh:message "s223: A ConnectionPoint must be associated with exactly one Substance-Medium using the relation hasMedium."^^xsd:string ; + sh:minCount 1 ; + sh:name "ConnectionPoint medium"^^xsd:string ; + sh:path s223:hasMedium ], + [ rdfs:comment "A ConnectionPoint must be associated with at most one Connection using the cnx relation"^^xsd:string ; + sh:message "s223: A ConnectionPoint must be associated with at most one Connection using the cnx relation"^^xsd:string ; + sh:path s223:cnx ; + sh:qualifiedMaxCount 1 ; + sh:qualifiedValueShape [ sh:class s223:Connection ] ; + sh:qualifiedValueShapesDisjoint true ] . a ns1:QuantityKindDimensionVector_ISO, ns1:QuantityKindDimensionVector_Imperial, @@ -86936,55 +86936,24 @@ A property that is not an instance of one of its subclasses is unconstrained with respect to its value. """^^xsd:string ; rdfs:subClassOf s223:Concept ; - sh:property [ rdfs:comment "A Property can be associated with at most one EnumerationKind-Substance using the relation ofSubstance."^^xsd:string ; - sh:class s223:EnumerationKind-Substance ; - sh:maxCount 1 ; - sh:message "s223: A Property can be associated with at most one EnumerationKind-Substance using the relation ofSubstance."^^xsd:string ; - sh:path s223:ofSubstance ], - [ rdfs:comment "A Property must not have both a hasInternalReference and a hasExternalReference relation."^^xsd:string ; - sh:path s223:hasInternalReference ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "A Property must not have both a hasInternalReference and a hasExternalReference relation."^^xsd:string ; - sh:message "s223: {$this} cannot have both a hasInternalReference and a hasExternalReference relation."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this -WHERE { -$this s223:hasInternalReference ?int . -$this s223:hasExternalReference ?ext . -} -"""^^xsd:string ] ], - [ rdfs:comment "A Property can be associated with at most one Function using the inverse relation hasOutput."^^xsd:string ; - sh:class s223:Function ; - sh:maxCount 1 ; - sh:message "s223: A Property can be associated with at most one Function using the inverse relation hasOutput."^^xsd:string ; - sh:path [ sh:inversePath s223:hasOutput ] ], - [ rdfs:comment "A Property can use at most one relation hasValue if it is required to provide a static value in the model. It is not meant for real-time value (see `s223:hasExternalReference`)."^^xsd:string ; + sh:property [ rdfs:comment "A Property can use at most one relation hasValue if it is required to provide a static value in the model. It is not meant for real-time value (see `s223:hasExternalReference`)."^^xsd:string ; sh:maxCount 1 ; sh:message "s223: A Property can use at most one relation hasValue if it is required to provide a static value in the model. It is not meant for real-time value (see `s223:hasExternalReference`)."^^xsd:string ; sh:path s223:hasValue ], - [ rdfs:comment "If the relation hasExternalReference is present it must associate the Property with an ExternalReference."^^xsd:string ; - sh:class s223:ExternalReference ; - sh:message "s223: If the relation hasExternalReference is present it must associate the Property with an ExternalReference."^^xsd:string ; - sh:path s223:hasExternalReference ], - [ rdfs:comment "If the relation hasInternalReference is present it must associate the Property with another Property."^^xsd:string ; - sh:class s223:Property ; - sh:message "s223: If the relation hasInternalReference is present it must associate the Property with another Property."^^xsd:string ; - sh:path s223:hasInternalReference ], [ rdfs:comment "An instance of s223:Property must not be observed (set) by more than one entity."^^xsd:string ; sh:maxCount 1 ; sh:message "s223: An instance of s223:Property must not be observed (set) by more than one entity."^^xsd:string ; sh:path [ sh:inversePath s223:observes ] ], - [ rdfs:comment "A Property must not have both a hasExternalReference and a hasValue relation."^^xsd:string ; - sh:path s223:hasValue ; + [ rdfs:comment "A Property must not have both a hasInternalReference and a hasValue relation."^^xsd:string ; + sh:path s223:hasInternalReference ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "A Property must not have both a hasExternalReference and a hasValue relation."^^xsd:string ; - sh:message "s223: {$this} cannot have both a hasExternalReference and a hasValue relation."^^xsd:string ; + rdfs:comment "A Property must not have both a hasInternalReference and a hasValue relation."^^xsd:string ; + sh:message "s223: {$this} cannot have both a hasInternalReference and a hasValue relation."^^xsd:string ; sh:prefixes ; sh:select """ SELECT $this WHERE { -$this s223:hasExternalReference ?ext . +$this s223:hasInternalReference ?int . $this s223:hasValue ?val . } """^^xsd:string ] ], @@ -87001,28 +86970,59 @@ WHERE { FILTER NOT EXISTS {$this s223:ofConstituent ?someSubstance} . } """^^xsd:string ] ], - [ rdfs:comment "If the relation hasAspect is present, it must associate the Property with an EnumerationKind."^^xsd:string ; - sh:class s223:EnumerationKind ; - sh:message "s223: If the relation hasAspect is present, it must associate the Property with an EnumerationKind."^^xsd:string ; - sh:path s223:hasAspect ], + [ rdfs:comment "If the relation hasExternalReference is present it must associate the Property with an ExternalReference."^^xsd:string ; + sh:class s223:ExternalReference ; + sh:message "s223: If the relation hasExternalReference is present it must associate the Property with an ExternalReference."^^xsd:string ; + sh:path s223:hasExternalReference ], + [ rdfs:comment "If the relation hasInternalReference is present it must associate the Property with another Property."^^xsd:string ; + sh:class s223:Property ; + sh:message "s223: If the relation hasInternalReference is present it must associate the Property with another Property."^^xsd:string ; + sh:path s223:hasInternalReference ], + [ rdfs:comment "A Property can be associated with at most one Function using the inverse relation hasOutput."^^xsd:string ; + sh:class s223:Function ; + sh:maxCount 1 ; + sh:message "s223: A Property can be associated with at most one Function using the inverse relation hasOutput."^^xsd:string ; + sh:path [ sh:inversePath s223:hasOutput ] ], [ rdfs:comment "A Property can be associated with at most one EnumerationKind-Medium using the relation ofMedium."^^xsd:string ; sh:class s223:Substance-Medium ; sh:maxCount 1 ; sh:message "s223: A Property can be associated with at most one EnumerationKind-Medium using the relation ofMedium."^^xsd:string ; sh:path s223:ofMedium ], - [ rdfs:comment "A Property must not have both a hasInternalReference and a hasValue relation."^^xsd:string ; + [ rdfs:comment "A Property must not have both a hasInternalReference and a hasExternalReference relation."^^xsd:string ; sh:path s223:hasInternalReference ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "A Property must not have both a hasInternalReference and a hasValue relation."^^xsd:string ; - sh:message "s223: {$this} cannot have both a hasInternalReference and a hasValue relation."^^xsd:string ; + rdfs:comment "A Property must not have both a hasInternalReference and a hasExternalReference relation."^^xsd:string ; + sh:message "s223: {$this} cannot have both a hasInternalReference and a hasExternalReference relation."^^xsd:string ; sh:prefixes ; sh:select """ SELECT $this WHERE { $this s223:hasInternalReference ?int . +$this s223:hasExternalReference ?ext . +} +"""^^xsd:string ] ], + [ rdfs:comment "A Property can be associated with at most one EnumerationKind-Substance using the relation ofSubstance."^^xsd:string ; + sh:class s223:EnumerationKind-Substance ; + sh:maxCount 1 ; + sh:message "s223: A Property can be associated with at most one EnumerationKind-Substance using the relation ofSubstance."^^xsd:string ; + sh:path s223:ofSubstance ], + [ rdfs:comment "A Property must not have both a hasExternalReference and a hasValue relation."^^xsd:string ; + sh:path s223:hasValue ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "A Property must not have both a hasExternalReference and a hasValue relation."^^xsd:string ; + sh:message "s223: {$this} cannot have both a hasExternalReference and a hasValue relation."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this +WHERE { +$this s223:hasExternalReference ?ext . $this s223:hasValue ?val . } -"""^^xsd:string ] ] ; +"""^^xsd:string ] ], + [ rdfs:comment "If the relation hasAspect is present, it must associate the Property with an EnumerationKind."^^xsd:string ; + sh:class s223:EnumerationKind ; + sh:message "s223: If the relation hasAspect is present, it must associate the Property with an EnumerationKind."^^xsd:string ; + sh:path s223:hasAspect ] ; sh:sparql [ a sh:SPARQLConstraint ; rdfs:comment "A Property instance cannot be declared an instance of both an ActuatableProperty and an ObservableProperty."^^xsd:string ; sh:message "s223: {$this} cannot be declared an instance of both an ActuatableProperty and an ObservableProperty."^^xsd:string ; @@ -87083,10 +87083,6 @@ FILTER NOT EXISTS {$this qudt:hasUnit ?u} . ?subject ?p $this . } """^^xsd:string ] ], - [ rdfs:comment "A QuantifiableProperty should use s223:hasValue instead of qudt:value."^^xsd:string ; - sh:maxCount 0 ; - sh:message "s223: A QuantifiableProperty should use s223:hasValue instead of qudt:value."^^xsd:string ; - sh:path ns1:value ], [ rdfs:comment "This QuantifiableProperty cannot have a value without a Unit."^^xsd:string ; sh:path s223:hasValue ; sh:sparql [ a sh:SPARQLConstraint ; @@ -87101,22 +87097,49 @@ FILTER NOT EXISTS {$this qudt:hasUnit ?u} . ?subject ?p $this . } """^^xsd:string ] ], - [ rdfs:comment "This QuantifiableProperty and the associated Setpoint use non-commensurate Units."^^xsd:string ; - sh:path ns1:hasUnit ; + [ rdfs:comment "A QuantifiableProperty must be associated with a QuantityKind using the relation hasQuantityKind."^^xsd:string ; + sh:class ns1:QuantityKind ; + sh:maxCount 1 ; + sh:message "s223: A QuantifiableProperty must be associated with a QuantityKind using the relation hasQuantityKind."^^xsd:string ; + sh:minCount 1 ; + sh:path ns1:hasQuantityKind ], + [ rdfs:comment "This QuantifiableProperty uses hasSetpoint to reference a Property that lacks an Aspect of Aspect-Setpoint."^^xsd:string ; + sh:path ns1:hasAspect ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "This QuantifiableProperty and the associated Setpoint use non-commensurate Units."^^xsd:string ; - sh:message "s223: {$this} uses Unit {?punit}, while Setpoint {?setpoint} uses Unit {?sunit}. These are non-commensurate."^^xsd:string ; + rdfs:comment "This QuantifiableProperty uses hasSetpoint to reference a Property that lacks an Aspect of Aspect-Setpoint."^^xsd:string ; + sh:message "s223: {$this} uses hasSetpoint to reference {?setpoint} that lacks an Aspect of Aspect-Setpoint."^^xsd:string ; sh:prefixes ; sh:select """ -SELECT $this ?setpoint ?punit ?sunit +SELECT $this ?setpoint WHERE { -$this qudt:hasUnit ?punit . $this s223:hasSetpoint ?setpoint . -?setpoint qudt:hasUnit ?sunit . -?punit qudt:hasDimensionVector ?pdv . -?sunit qudt:hasDimensionVector ?sdv . -FILTER (?punit != ?sunit) . -FILTER (?pdv != ?sdv) . +FILTER NOT EXISTS {?setpoint s223:hasAspect s223:Aspect-Setpoint} . +} +"""^^xsd:string ] ], + [ rdfs:comment """Normally, a QuantifiableProperty is associated with a static decimal value using s223:hasValue, along with a single +unit and quantity kind. However, in some cases, a QuantifiableProperty may instead be associated with a qudt:QuantityValue using the relation +qudt:quantityValue. This allows the qudt:QuantityValue to express multiple equivalent combinations of unit and value."""^^xsd:string ; + sh:class ns1:QuantityValue ; + sh:message """Normally, a QuantifiableProperty is associated with a static decimal value using s223:hasValue, along with a single +unit and quantity kind. However, in some cases, a QuantifiableProperty may instead be associated with a qudt:QuantityValue using the relation +qudt:quantityValue. This allows the qudt:QuantityValue to express multiple equivalent combinations of unit and value."""^^xsd:string ; + sh:path ns1:quantityValue ], + [ rdfs:comment "A QuantifiableProperty should use s223:hasValue instead of qudt:value."^^xsd:string ; + sh:maxCount 0 ; + sh:message "s223: A QuantifiableProperty should use s223:hasValue instead of qudt:value."^^xsd:string ; + sh:path ns1:value ], + [ rdfs:comment "This QuantifiableProperty with Aspect-Setpoint is not referenced by any Property using hasSetpoint."^^xsd:string ; + sh:path ns1:hasSetpoint ; + sh:severity sh:Info ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "This QuantifiableProperty with Aspect-Setpoint is not referenced by any Property using hasSetpoint."^^xsd:string ; + sh:message "s223: {$this} has Aspect-Setpoint but is not referenced by any Property using hasSetpoint."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this +WHERE { +$this s223:hasAspect s223:Aspect-Setpoint . +FILTER NOT EXISTS {?anything s223:hasSetpoint $this} . } """^^xsd:string ] ], [ rdfs:comment "This QuantifiableProperty uses a different Unit than the Setpoint associated with it."^^xsd:string ; @@ -87147,47 +87170,24 @@ FILTER (?pdv = ?sdv) . sh:maxCount 1 ; sh:message "s223: A QuantifiableProperty can be associated with at most one Unit using the relation hasUnit."^^xsd:string ; sh:path ns1:hasUnit ], - [ rdfs:comment "This QuantifiableProperty uses hasSetpoint to reference a Property that lacks an Aspect of Aspect-Setpoint."^^xsd:string ; - sh:path ns1:hasAspect ; + [ rdfs:comment "This QuantifiableProperty and the associated Setpoint use non-commensurate Units."^^xsd:string ; + sh:path ns1:hasUnit ; sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "This QuantifiableProperty uses hasSetpoint to reference a Property that lacks an Aspect of Aspect-Setpoint."^^xsd:string ; - sh:message "s223: {$this} uses hasSetpoint to reference {?setpoint} that lacks an Aspect of Aspect-Setpoint."^^xsd:string ; + rdfs:comment "This QuantifiableProperty and the associated Setpoint use non-commensurate Units."^^xsd:string ; + sh:message "s223: {$this} uses Unit {?punit}, while Setpoint {?setpoint} uses Unit {?sunit}. These are non-commensurate."^^xsd:string ; sh:prefixes ; sh:select """ -SELECT $this ?setpoint +SELECT $this ?setpoint ?punit ?sunit WHERE { +$this qudt:hasUnit ?punit . $this s223:hasSetpoint ?setpoint . -FILTER NOT EXISTS {?setpoint s223:hasAspect s223:Aspect-Setpoint} . -} -"""^^xsd:string ] ], - [ rdfs:comment "This QuantifiableProperty with Aspect-Setpoint is not referenced by any Property using hasSetpoint."^^xsd:string ; - sh:path ns1:hasSetpoint ; - sh:severity sh:Info ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "This QuantifiableProperty with Aspect-Setpoint is not referenced by any Property using hasSetpoint."^^xsd:string ; - sh:message "s223: {$this} has Aspect-Setpoint but is not referenced by any Property using hasSetpoint."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this -WHERE { -$this s223:hasAspect s223:Aspect-Setpoint . -FILTER NOT EXISTS {?anything s223:hasSetpoint $this} . +?setpoint qudt:hasUnit ?sunit . +?punit qudt:hasDimensionVector ?pdv . +?sunit qudt:hasDimensionVector ?sdv . +FILTER (?punit != ?sunit) . +FILTER (?pdv != ?sdv) . } -"""^^xsd:string ] ], - [ rdfs:comment """Normally, a QuantifiableProperty is associated with a static decimal value using s223:hasValue, along with a single -unit and quantity kind. However, in some cases, a QuantifiableProperty may instead be associated with a qudt:QuantityValue using the relation -qudt:quantityValue. This allows the qudt:QuantityValue to express multiple equivalent combinations of unit and value."""^^xsd:string ; - sh:class ns1:QuantityValue ; - sh:message """Normally, a QuantifiableProperty is associated with a static decimal value using s223:hasValue, along with a single -unit and quantity kind. However, in some cases, a QuantifiableProperty may instead be associated with a qudt:QuantityValue using the relation -qudt:quantityValue. This allows the qudt:QuantityValue to express multiple equivalent combinations of unit and value."""^^xsd:string ; - sh:path ns1:quantityValue ], - [ rdfs:comment "A QuantifiableProperty must be associated with a QuantityKind using the relation hasQuantityKind."^^xsd:string ; - sh:class ns1:QuantityKind ; - sh:maxCount 1 ; - sh:message "s223: A QuantifiableProperty must be associated with a QuantityKind using the relation hasQuantityKind."^^xsd:string ; - sh:minCount 1 ; - sh:path ns1:hasQuantityKind ] ; +"""^^xsd:string ] ] ; sh:rule [ a sh:SPARQLRule ; rdfs:comment "Infer the hasQuantityKind relation if it is unambiguous."^^xsd:string ; sh:construct """ @@ -88219,7 +88219,13 @@ s223:EnumerationKind-Role a s223:Class, s223:EnumerationKind-Role, sh:NodeShape ; rdfs:label "Role"^^xsd:string ; - rdfs:comment "This class has enumerated subclasses of roles played by entities, such as cooling, generator, relief, return."^^xsd:string ; + rdfs:comment """This class has enumerated subclasses of roles played by entities, such as cooling, generator, + relief, return. The use of these enumeration kinds are to indicate the **capability** of an entity to play a given + role, rather than as an indication of the role or mode being active at any given point in time. In other words, + some reversible piece of equipment might play a role of Role-Cooling at one time, and Role-Heating at another. + Such an entity would be described by two triples to indicate these two allowable roles. To determine what role + is active at a particular time is not determinable within the scope of 223, but rather through a Property with + an ExternalReference to telemetry or control data."""^^xsd:string ; rdfs:subClassOf s223:EnumerationKind . a ns1:QuantityKindDimensionVector_ISO, @@ -89043,7 +89049,7 @@ s223:EnumerationKind-Role a s223:Class, a ns1:Unit ; rdfs:label "Torr"@en ; - dcterms:description "

The \\textit{torr} is a non-SI unit of pressure with the ratio of 760 to 1 standard atmosphere, chosen to be roughly equal to the fluid pressure exerted by a millimeter of mercury, i.e. , a pressure of 1 torr is approximately equal to one millimeter of mercury. Note that the symbol (Torr) is spelled exactly the same as the unit (torr), but the letter case differs. The unit is written lower-case, while the symbol of the unit (Torr) is capitalized (as upper-case), as is customary in metric units derived from names. Thus, it is correctly written either way, and is only incorrect when specification is first made that the word is being used as a unit, or else a symbol of the unit, and then the incorrect letter case for the specified use is employed.

"^^rdf:HTML ; + dcterms:description "

The \\textit{torr} is a non-SI unit of pressure with the ratio of 760 to 1 standard atmosphere, chosen to be roughly equal to the fluid pressure exerted by a millimeter of mercury, i.e. , a pressure of 1 torr is approximately equal to one millimeter of mercury. Note that the symbol (Torr) is spelled exactly the same as the unit (torr), but the letter case differs. The unit is written lower-case, while the symbol of the unit (Torr) is capitalized (as upper-case), as is customary in metric units derived from names. Thus, it is correctly written either way, and is only incorrect when specification is first made that the word is being used as a unit, or else a symbol of the unit, and then the incorrect letter case for the specified use is employed."^^rdf:HTML ; ns1:conversionMultiplier 133.322 ; ns1:conversionMultiplierSN 1.33322e+02 ; ns1:dbpediaMatch "http://dbpedia.org/resource/Torr"^^xsd:anyURI ; @@ -89147,7 +89153,7 @@ s223:Constituent-Electricity a s223:Class, a ns1:Unit ; rdfs:label "Barye"@en ; - dcterms:description "

The barye, or sometimes barad, barrie, bary, baryd, baryed, or barie, is the centimetre-gram-second (CGS) unit of pressure. It is equal to 1 dyne per square centimetre.

"^^rdf:HTML ; + dcterms:description "

The barye, or sometimes barad, barrie, bary, baryd, baryed, or barie, is the centimetre-gram-second (CGS) unit of pressure. It is equal to 1 dyne per square centimetre."^^rdf:HTML ; ns1:applicableSystem ; ns1:conversionMultiplier 0.1 ; ns1:conversionMultiplierSN 1e-01 ; @@ -90532,7 +90538,7 @@ ns1:hasQuantityKind a rdf:Property ; a ns1:Unit ; rdfs:label "Long Ton"@en ; dcterms:description """

Long ton (weight ton or imperial ton) is the name for the unit called the "ton" in the avoirdupois or Imperial system of measurements, as used in the United Kingdom and several other Commonwealth countries. One long ton is equal to 2,240 pounds (1,016 kg), 1.12 times as much as a short ton, or 35 cubic feet (0.9911 m3) of salt water with a density of 64 lb/ft3 (1.025 g/ml).

-

It has some limited use in the United States, most commonly in measuring the displacement of ships, and was the unit prescribed for warships by the Washington Naval Treaty 1922-for example battleships were limited to a mass of 35,000 long tons (36,000 t; 39,000 short tons).

"""^^rdf:HTML ; +

It has some limited use in the United States, most commonly in measuring the displacement of ships, and was the unit prescribed for warships by the Washington Naval Treaty 1922-for example battleships were limited to a mass of 35,000 long tons (36,000 t; 39,000 short tons)."""^^rdf:HTML ; ns1:applicableSystem ; ns1:conversionMultiplier 1016.0469088 ; ns1:conversionMultiplierSN 1.016047e+03 ; @@ -90732,7 +90738,7 @@ ns1:hasQuantityKind a rdf:Property ; a ns1:Unit ; rdfs:label "Short Ton"@en ; - dcterms:description "

The short ton is a unit of mass equal to 2,000 pounds (907.18474 kg). In the United States it is often called simply ton without distinguishing it from the metric ton (tonne, 1,000 kilograms / 2,204.62262 pounds) or the long ton (2,240 pounds / 1,016.0469088 kilograms); rather, the other two are specifically noted. There are, however, some U.S. applications for which unspecified tons normally means long tons.

"^^rdf:HTML ; + dcterms:description "

The short ton is a unit of mass equal to 2,000 pounds (907.18474 kg). In the United States it is often called simply ton without distinguishing it from the metric ton (tonne, 1,000 kilograms / 2,204.62262 pounds) or the long ton (2,240 pounds / 1,016.0469088 kilograms); rather, the other two are specifically noted. There are, however, some U.S. applications for which unspecified tons normally means long tons."^^rdf:HTML ; ns1:applicableSystem , ; ns1:conversionMultiplier 907.18474 ; @@ -91130,7 +91136,7 @@ s223:NumberOfElectricalPhases-ThreePhase a s223:Class, a ns1:Unit ; rdfs:label "Megaton of Oil Equivalent"@en ; dcterms:description """

The tonne of oil equivalent (toe) is a unit of energy: the amount of energy released by burning one tonne of crude oil, approximately 42 GJ (as different crude oils have different calorific values, the exact value of the toe is defined by convention; unfortunately there are several slightly different definitions as discussed below). The toe is sometimes used for large amounts of energy, as it can be more intuitive to visualise, say, the energy released by burning 1000 tonnes of oil than 42,000 billion joules (the SI unit of energy).

-

Multiples of the toe are used, in particular the megatoe (Mtoe, one million toe) and the gigatoe (Gtoe, one billion toe).

"""^^rdf:HTML ; +

Multiples of the toe are used, in particular the megatoe (Mtoe, one million toe) and the gigatoe (Gtoe, one billion toe)."""^^rdf:HTML ; ns1:applicableSystem ; ns1:conversionMultiplier 41868000000000000.0 ; ns1:conversionMultiplierSN 4.1868e+16 ; @@ -91289,7 +91295,7 @@ s223:NumberOfElectricalPhases-ThreePhase a s223:Class, a ns1:Unit ; rdfs:label "Ton of Oil Equivalent"@en ; - dcterms:description "

The tonne of oil equivalent (toe) is a unit of energy: the amount of energy released by burning one tonne of crude oil, approximately 42 GJ (as different crude oils have different calorific values, the exact value of the toe is defined by convention; unfortunately there are several slightly different definitions as discussed below). The toe is sometimes used for large amounts of energy, as it can be more intuitive to visualise, say, the energy released by burning 1000 tonnes of oil than 42,000 billion joules (the SI unit of energy). Multiples of the toe are used, in particular the megatoe (Mtoe, one million toe) and the gigatoe (Gtoe, one billion toe).

"^^rdf:HTML ; + dcterms:description "

The tonne of oil equivalent (toe) is a unit of energy: the amount of energy released by burning one tonne of crude oil, approximately 42 GJ (as different crude oils have different calorific values, the exact value of the toe is defined by convention; unfortunately there are several slightly different definitions as discussed below). The toe is sometimes used for large amounts of energy, as it can be more intuitive to visualise, say, the energy released by burning 1000 tonnes of oil than 42,000 billion joules (the SI unit of energy). Multiples of the toe are used, in particular the megatoe (Mtoe, one million toe) and the gigatoe (Gtoe, one billion toe)."^^rdf:HTML ; ns1:applicableSystem ; ns1:conversionMultiplier 41868000000.0 ; ns1:conversionMultiplierSN 4.1868e+10 ; @@ -92269,7 +92275,11 @@ s223:OutletConnectionPoint a s223:Class, rdfs:label "Outlet Connection Point"^^xsd:string ; rdfs:comment "An OutletConnectionPoint is a ConnectionPoint for which a Medium is expected to flow out of the associated Connectable."^^xsd:string ; rdfs:subClassOf s223:ConnectionPoint ; - sh:property [ rdfs:comment "If the relation pairedConnectionPoint is present it must associate the OutletConnectionPoint with an InletConnectionPoint."^^xsd:string ; + sh:property [ rdfs:comment "If the relation mapsTo is present it must associate the OutletConnectionPoint with an OutletConnectionPoint."^^xsd:string ; + sh:class s223:OutletConnectionPoint ; + sh:message "s223: If the relation mapsTo is present it must associate the OutletConnectionPoint with an OutletConnectionPoint."^^xsd:string ; + sh:path s223:mapsTo ], + [ rdfs:comment "If the relation pairedConnectionPoint is present it must associate the OutletConnectionPoint with an InletConnectionPoint."^^xsd:string ; sh:class s223:InletConnectionPoint ; sh:message "s223: If the relation pairedConnectionPoint is present it must associate the OutletConnectionPoint with an InletConnectionPoint."^^xsd:string ; sh:path s223:pairedConnectionPoint ], @@ -92288,11 +92298,7 @@ $this s223:connectsThrough/s223:connectsTo ?destinationEquipment . FILTER NOT EXISTS {?parentEquipment s223:contains ?destinationEquipment} . FILTER NOT EXISTS {$this s223:mapsTo ?anything} . } -"""^^xsd:string ] ], - [ rdfs:comment "If the relation mapsTo is present it must associate the OutletConnectionPoint with an OutletConnectionPoint."^^xsd:string ; - sh:class s223:OutletConnectionPoint ; - sh:message "s223: If the relation mapsTo is present it must associate the OutletConnectionPoint with an OutletConnectionPoint."^^xsd:string ; - sh:path s223:mapsTo ] . +"""^^xsd:string ] ] . a ns1:QuantityKindDimensionVector_CGS, ns1:QuantityKindDimensionVector_ISO, @@ -92333,15 +92339,7 @@ s223:InletConnectionPoint a s223:Class, rdfs:label "Inlet Connection Point"^^xsd:string ; rdfs:comment "An InletConnectionPoint is a ConnectionPoint for which a Medium is expected to flow into the associated Connectable."^^xsd:string ; rdfs:subClassOf s223:ConnectionPoint ; - sh:property [ rdfs:comment "If the relation pairedConnectionPoint is present it must associate the InletConnectionPoint with an OutletConnectionPoint."^^xsd:string ; - sh:class s223:OutletConnectionPoint ; - sh:message "s223: If the relation pairedConnectionPoint is present it must associate the InletConnectionPoint with an OutletConnectionPoint."^^xsd:string ; - sh:path s223:pairedConnectionPoint ], - [ rdfs:comment "If the relation mapsTo is present it must associate the InletConnectionPoint with an InletConnectionPoint."^^xsd:string ; - sh:class s223:InletConnectionPoint ; - sh:message "s223: If the relation mapsTo is present it must associate the InletConnectionPoint with an InletConnectionPoint."^^xsd:string ; - sh:path s223:mapsTo ], - [ rdfs:comment "Ensure an InletConnectionPoint has a mapsTo relation to its containing Equipment if it has an external Connection"^^xsd:string ; + sh:property [ rdfs:comment "Ensure an InletConnectionPoint has a mapsTo relation to its containing Equipment if it has an external Connection"^^xsd:string ; sh:path s223:mapsTo ; sh:sparql [ a sh:SPARQLConstraint ; rdfs:comment "Ensure an InletConnectionPoint has a mapsTo relation to its containing Equipment if it has an external Connection"^^xsd:string ; @@ -92356,7 +92354,15 @@ $this s223:connectsThrough/s223:connectsFrom ?sourceEquipment . FILTER NOT EXISTS {?parentEquipment s223:contains ?sourceEquipment} . FILTER NOT EXISTS {$this s223:mapsTo ?anything} . } -"""^^xsd:string ] ] . +"""^^xsd:string ] ], + [ rdfs:comment "If the relation pairedConnectionPoint is present it must associate the InletConnectionPoint with an OutletConnectionPoint."^^xsd:string ; + sh:class s223:OutletConnectionPoint ; + sh:message "s223: If the relation pairedConnectionPoint is present it must associate the InletConnectionPoint with an OutletConnectionPoint."^^xsd:string ; + sh:path s223:pairedConnectionPoint ], + [ rdfs:comment "If the relation mapsTo is present it must associate the InletConnectionPoint with an InletConnectionPoint."^^xsd:string ; + sh:class s223:InletConnectionPoint ; + sh:message "s223: If the relation mapsTo is present it must associate the InletConnectionPoint with an InletConnectionPoint."^^xsd:string ; + sh:path s223:mapsTo ] . a ns1:Unit ; rdfs:label "Unified Atomic Mass Unit"@en ; @@ -92384,12 +92390,12 @@ s223:Numerical-Voltage a s223:Class, ns1:hasUnit ; rdfs:comment "This class has enumerated instances of common voltages."^^xsd:string ; rdfs:subClassOf s223:EnumerationKind-Numerical ; - sh:property [ rdfs:comment "A Numerical-Voltage must have a unit of Volts"^^xsd:string ; - sh:hasValue ; - sh:path ns1:hasUnit ], - [ rdfs:comment "A Numerical-Voltage must have a Quantity Kind of Voltage"^^xsd:string ; + sh:property [ rdfs:comment "A Numerical-Voltage must have a Quantity Kind of Voltage"^^xsd:string ; sh:hasValue ; - sh:path ns1:hasQuantityKind ] . + sh:path ns1:hasQuantityKind ], + [ rdfs:comment "A Numerical-Voltage must have a unit of Volts"^^xsd:string ; + sh:hasValue ; + sh:path ns1:hasUnit ] . s223:Equipment a s223:Class, sh:NodeShape ; @@ -92411,10 +92417,52 @@ The graphical depiction of Equipment used in this standard is a rounded cornered ![Graphical Depiction of Equipment.](figures/Figure_5-1Graphical_Depiciton_of_Equipment.svg) """^^xsd:string ; rdfs:subClassOf s223:Connectable ; - sh:property [ rdfs:comment "If the relation executes is present it must associate the Equipment with a Function."^^xsd:string ; + sh:property [ rdfs:comment "Disallow contained equipment from having external outgoing connections."^^xsd:string ; + sh:path s223:connectedTo ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "Disallow contained equipment from having external outgoing connections."^^xsd:string ; + sh:message "s223: {$this} should not have a connection to external equipment {?otherDev} because {?container} contains {$this}."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this ?container ?otherDev +WHERE { +$this s223:connectedTo ?otherDev . +$this ^s223:contains ?container . +?container a/rdfs:subClassOf* s223:Equipment . +FILTER NOT EXISTS {?container s223:contains ?otherDev .} +} +"""^^xsd:string ] ], + [ rdfs:comment "Disallow contained equipment from having external incoming connections."^^xsd:string ; + sh:path s223:connectedFrom ; + sh:sparql [ a sh:SPARQLConstraint ; + rdfs:comment "Disallow contained equipment from having external incoming connections."^^xsd:string ; + sh:message "s223: {$this} should not have a connection from external equipment {?otherDev} because {?container} contains {$this}."^^xsd:string ; + sh:prefixes ; + sh:select """ +SELECT $this ?container ?otherDev +WHERE { +$this s223:connectedFrom ?otherDev . +$this ^s223:contains ?container . +?container a/rdfs:subClassOf* s223:Equipment . +FILTER NOT EXISTS {?container s223:contains ?otherDev .} +} +"""^^xsd:string ] ], + [ rdfs:comment """If the relation actuatedByProperty is present it must associate the Equipment with a ActuatableProperty. +Note that any Equipment may use this relation, not just Actuator."""^^xsd:string ; + sh:class s223:ActuatableProperty ; + sh:message """If the relation actuatedByProperty is present it must associate the Equipment with a ActuatableProperty. +Note that any Equipment may use this relation, not just Actuator."""^^xsd:string ; + sh:path s223:actuatedByProperty ], + [ rdfs:comment "If the relation executes is present it must associate the Equipment with a Function."^^xsd:string ; sh:class s223:Function ; sh:message "s223: If the relation executes is present it must associate the Equipment with a Function."^^xsd:string ; sh:path s223:executes ], + [ a sh:PropertyShape ; + rdfs:comment "If the relation contains is present it must associate the Equipment with either Equipment or Junction."^^xsd:string ; + sh:message "s223: If the relation contains is present it must associate the Equipment with either Equipment or Junction."^^xsd:string ; + sh:name "device contains shape"^^xsd:string ; + sh:or ( [ sh:class s223:Equipment ] [ sh:class s223:Junction ] ) ; + sh:path s223:contains ], [ rdfs:comment "Warning about a subClass of Equipment of type A containing something that is in the same subClass branch."^^xsd:string ; sh:path s223:contains ; sh:severity sh:Warning ; @@ -92446,76 +92494,34 @@ UNION [ rdfs:comment "If the relation hasRole is present it must associate the Equipment with a EnumerationKind-Role."^^xsd:string ; sh:class s223:EnumerationKind-Role ; sh:message "s223: If the relation hasRole is present it must associate the Equipment with a EnumerationKind-Role."^^xsd:string ; - sh:path s223:hasRole ], - [ a sh:PropertyShape ; - rdfs:comment "If the relation contains is present it must associate the Equipment with either Equipment or Junction."^^xsd:string ; - sh:message "s223: If the relation contains is present it must associate the Equipment with either Equipment or Junction."^^xsd:string ; - sh:name "device contains shape"^^xsd:string ; - sh:or ( [ sh:class s223:Equipment ] [ sh:class s223:Junction ] ) ; - sh:path s223:contains ], - [ rdfs:comment "Disallow contained equipment from having external incoming connections."^^xsd:string ; - sh:path s223:connectedFrom ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Disallow contained equipment from having external incoming connections."^^xsd:string ; - sh:message "s223: {$this} should not have a connection from external equipment {?otherDev} because {?container} contains {$this}."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this ?container ?otherDev -WHERE { -$this s223:connectedFrom ?otherDev . -$this ^s223:contains ?container . -?container a/rdfs:subClassOf* s223:Equipment . -FILTER NOT EXISTS {?container s223:contains ?otherDev .} -} -"""^^xsd:string ] ], - [ rdfs:comment """If the relation actuatedByProperty is present it must associate the Equipment with a ActuatableProperty. -Note that any Equipment may use this relation, not just Actuator."""^^xsd:string ; - sh:class s223:ActuatableProperty ; - sh:message """If the relation actuatedByProperty is present it must associate the Equipment with a ActuatableProperty. -Note that any Equipment may use this relation, not just Actuator."""^^xsd:string ; - sh:path s223:actuatedByProperty ], - [ rdfs:comment "Disallow contained equipment from having external outgoing connections."^^xsd:string ; - sh:path s223:connectedTo ; - sh:sparql [ a sh:SPARQLConstraint ; - rdfs:comment "Disallow contained equipment from having external outgoing connections."^^xsd:string ; - sh:message "s223: {$this} should not have a connection to external equipment {?otherDev} because {?container} contains {$this}."^^xsd:string ; - sh:prefixes ; - sh:select """ -SELECT $this ?container ?otherDev -WHERE { -$this s223:connectedTo ?otherDev . -$this ^s223:contains ?container . -?container a/rdfs:subClassOf* s223:Equipment . -FILTER NOT EXISTS {?container s223:contains ?otherDev .} -} -"""^^xsd:string ] ] ; + sh:path s223:hasRole ] ; sh:rule [ a sh:SPARQLRule ; - rdfs:comment "For equipment contained within another piece of equipment use the mapsTo relation to infer a Medium from the containing equipment."^^xsd:string ; + rdfs:comment "For equipment containing another piece of equipment, use the mapsTo relation to infer a Medium from the contained equipment."^^xsd:string ; sh:construct """ CONSTRUCT { - ?childCp s223:hasMedium ?medium . + ?parentCp s223:hasMedium ?medium . } WHERE { $this s223:hasConnectionPoint ?cp . - ?childCp s223:mapsTo ?cp . + ?cp s223:mapsTo ?parentCp . ?cp s223:connectsThrough ?connection . ?cp s223:hasMedium ?medium . - FILTER NOT EXISTS {?childCp s223:hasMedium ?something} . + FILTER NOT EXISTS {?parentCp s223:hasMedium ?something} . } """^^xsd:string ; sh:prefixes ], [ a sh:SPARQLRule ; - rdfs:comment "For equipment containing another piece of equipment, use the mapsTo relation to infer a Medium from the contained equipment."^^xsd:string ; + rdfs:comment "For equipment contained within another piece of equipment use the mapsTo relation to infer a Medium from the containing equipment."^^xsd:string ; sh:construct """ CONSTRUCT { - ?parentCp s223:hasMedium ?medium . + ?childCp s223:hasMedium ?medium . } WHERE { $this s223:hasConnectionPoint ?cp . - ?cp s223:mapsTo ?parentCp . + ?childCp s223:mapsTo ?cp . ?cp s223:connectsThrough ?connection . ?cp s223:hasMedium ?medium . - FILTER NOT EXISTS {?parentCp s223:hasMedium ?something} . + FILTER NOT EXISTS {?childCp s223:hasMedium ?something} . } """^^xsd:string ; sh:prefixes ] . @@ -92859,7 +92865,7 @@ s223:NumberOfElectricalPhases-SinglePhase a s223:Class, a ns1:Unit ; rdfs:label "US Survey Foot"@en ; - dcterms:description "

The U.S. Survey Foot was officially deprecated on December 31, 2022. For more information see Federal Register (October 5, 2020, 85 FR 62698, p. 62698)

"^^rdf:HTML ; + dcterms:description "

The U.S. Survey Foot was officially deprecated on December 31, 2022. For more information see Federal Register (October 5, 2020, 85 FR 62698, p. 62698)"^^rdf:HTML ; ns1:applicableSystem ; ns1:conversionMultiplier 0.3048006 ; ns1:conversionMultiplierSN 3.048006e-01 ; @@ -94063,109 +94069,109 @@ s223:Frequency-60Hz a s223:Class, owl:versionInfo "Created with TopBraid Composer", "Created with TopBraid Composer"^^xsd:string ; sh:declare [ a sh:PrefixDeclaration ; - sh:namespace "http://qudt.org/vocab/quantitykind/"^^xsd:anyURI ; - sh:prefix "quantitykind"^^xsd:string ], - [ a sh:PrefixDeclaration ; - sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ; - sh:prefix "skos"^^xsd:string ], - [ sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; - sh:prefix "rdfs"^^xsd:string ], - [ a sh:PrefixDeclaration ; sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI ; sh:prefix "dcterms"^^xsd:string ], - [ sh:namespace "http://data.ashrae.org/standard223/1.0/vocab/role#"^^xsd:anyURI ; - sh:prefix "role"^^xsd:string ], - [ sh:namespace "http://data.ashrae.org/standard223#"^^xsd:anyURI ; - sh:prefix "s223"^^xsd:string ], [ a sh:PrefixDeclaration ; - sh:namespace "http://www.w3.org/2002/07/owl#"^^xsd:anyURI ; - sh:prefix "owl"^^xsd:string ], + sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; + sh:prefix "rdfs"^^xsd:string ], + [ a sh:PrefixDeclaration ; + sh:namespace "http://www.w3.org/2001/XMLSchema#"^^xsd:anyURI ; + sh:prefix "xsd"^^xsd:string ], [ sh:namespace "http://qudt.org/schema/qudt/"^^xsd:anyURI ; sh:prefix "qudt"^^xsd:string ], [ sh:namespace "http://qudt.org/schema/qudt/"^^xsd:anyURI ; sh:prefix "qudt"^^xsd:string ], + [ sh:namespace "http://data.ashrae.org/standard223#"^^xsd:anyURI ; + sh:prefix "s223"^^xsd:string ], [ a sh:PrefixDeclaration ; sh:namespace "http://qudt.org/vocab/quantitykind/"^^xsd:anyURI ; sh:prefix "quantitykind"^^xsd:string ], + [ a sh:PrefixDeclaration ; + sh:namespace "http://qudt.org/vocab/dimensionvector/"^^xsd:anyURI ; + sh:prefix "qkdv"^^xsd:string ], + [ a sh:PrefixDeclaration ; + sh:namespace "http://www.w3.org/ns/shacl#"^^xsd:anyURI ; + sh:prefix "sh"^^xsd:string ], + [ sh:namespace "http://qudt.org/vocab/quantitykind/"^^xsd:anyURI ; + sh:prefix "qudtqk"^^xsd:string ], + [ a sh:PrefixDeclaration ; + sh:namespace "http://qudt.org/schema/qudt/"^^xsd:anyURI ; + sh:prefix "qudt"^^xsd:string ], [ sh:namespace "http://data.ashrae.org/standard223#"^^xsd:anyURI ; sh:prefix "s223"^^xsd:string ], + [ sh:namespace "http://qudt.org/vocab/unit/"^^xsd:anyURI ; + sh:prefix "unit"^^xsd:string ], + [ a sh:PrefixDeclaration ; + sh:namespace "http://qudt.org/vocab/unit/"^^xsd:anyURI ; + sh:prefix "unit"^^xsd:string ], + [ sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ; + sh:prefix "rdf"^^xsd:string ], + [ sh:namespace "http://www.w3.org/ns/shacl#"^^xsd:anyURI ; + sh:prefix "sh"^^xsd:string ], [ sh:namespace "http://data.ashrae.org/standard223#"^^xsd:anyURI ; sh:prefix "s223"^^xsd:string ], - [ sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; - sh:prefix "rdfs"^^xsd:string ], + [ sh:namespace "http://qudt.org/schema/qudt/"^^xsd:anyURI ; + sh:prefix "qudt"^^xsd:string ], + [ a sh:PrefixDeclaration ; + sh:namespace "http://qudt.org/vocab/quantitykind/"^^xsd:anyURI ; + sh:prefix "quantitykind"^^xsd:string ], + [ sh:namespace "http://data.ashrae.org/standard223/1.0/vocab/role#"^^xsd:anyURI ; + sh:prefix "role"^^xsd:string ], [ a sh:PrefixDeclaration ; sh:namespace "http://www.w3.org/2002/07/owl#"^^xsd:anyURI ; sh:prefix "owl"^^xsd:string ], [ a sh:PrefixDeclaration ; sh:namespace "http://qudt.org/vocab/dimensionvector/"^^xsd:anyURI ; sh:prefix "qkdv"^^xsd:string ], - [ sh:namespace "http://www.w3.org/ns/shacl#"^^xsd:anyURI ; - sh:prefix "sh"^^xsd:string ], - [ sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; - sh:prefix "rdfs"^^xsd:string ], - [ a sh:PrefixDeclaration ; - sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ; - sh:prefix "skos"^^xsd:string ], [ a sh:PrefixDeclaration ; sh:namespace "http://qudt.org/schema/qudt/"^^xsd:anyURI ; sh:prefix "qudt"^^xsd:string ], + [ sh:namespace "http://www.w3.org/ns/shacl#"^^xsd:anyURI ; + sh:prefix "sh"^^xsd:string ], + [ sh:namespace "http://qudt.org/vocab/quantitykind/"^^xsd:anyURI ; + sh:prefix "quantitykind"^^xsd:string ], [ a sh:PrefixDeclaration ; sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ; sh:prefix "rdf"^^xsd:string ], - [ a sh:PrefixDeclaration ; - sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI ; - sh:prefix "dcterms"^^xsd:string ], - [ sh:namespace "http://data.ashrae.org/standard223#"^^xsd:anyURI ; - sh:prefix "s223"^^xsd:string ], - [ sh:namespace "http://data.ashrae.org/standard223#"^^xsd:anyURI ; - sh:prefix "s223"^^xsd:string ], - [ sh:namespace "http://qudt.org/vocab/quantitykind/"^^xsd:anyURI ; - sh:prefix "qudtqk"^^xsd:string ], - [ a sh:PrefixDeclaration ; - sh:namespace "http://qudt.org/schema/qudt/"^^xsd:anyURI ; - sh:prefix "qudt"^^xsd:string ], - [ sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; - sh:prefix "rdfs"^^xsd:string ], - [ a sh:PrefixDeclaration ; - sh:namespace "http://www.w3.org/2001/XMLSchema#"^^xsd:anyURI ; - sh:prefix "xsd"^^xsd:string ], - [ sh:namespace "http://qudt.org/schema/qudt/"^^xsd:anyURI ; - sh:prefix "qudt"^^xsd:string ], [ a sh:PrefixDeclaration ; sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; sh:prefix "rdfs"^^xsd:string ], - [ sh:namespace "http://qudt.org/schema/qudt/"^^xsd:anyURI ; - sh:prefix "qudt"^^xsd:string ], - [ sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ; - sh:prefix "rdf"^^xsd:string ], - [ sh:namespace "http://qudt.org/vocab/unit/"^^xsd:anyURI ; - sh:prefix "unit"^^xsd:string ], - [ a sh:PrefixDeclaration ; - sh:namespace "http://qudt.org/vocab/unit/"^^xsd:anyURI ; - sh:prefix "unit"^^xsd:string ], - [ a sh:PrefixDeclaration ; - sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; + [ sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; sh:prefix "rdfs"^^xsd:string ], - [ sh:namespace "http://qudt.org/vocab/quantitykind/"^^xsd:anyURI ; - sh:prefix "quantitykind"^^xsd:string ], [ sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ; sh:prefix "rdf"^^xsd:string ], - [ sh:namespace "http://www.w3.org/ns/shacl#"^^xsd:anyURI ; - sh:prefix "sh"^^xsd:string ], [ a sh:PrefixDeclaration ; sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ; sh:prefix "rdf"^^xsd:string ], + [ sh:namespace "http://data.ashrae.org/standard223#"^^xsd:anyURI ; + sh:prefix "s223"^^xsd:string ], [ a sh:PrefixDeclaration ; - sh:namespace "http://www.w3.org/ns/shacl#"^^xsd:anyURI ; - sh:prefix "sh"^^xsd:string ], + sh:namespace "http://www.w3.org/2002/07/owl#"^^xsd:anyURI ; + sh:prefix "owl"^^xsd:string ], + [ sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; + sh:prefix "rdfs"^^xsd:string ], + [ sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; + sh:prefix "rdfs"^^xsd:string ], [ sh:namespace "http://data.ashrae.org/standard223#"^^xsd:anyURI ; sh:prefix "s223"^^xsd:string ], + [ a sh:PrefixDeclaration ; + sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ; + sh:prefix "skos"^^xsd:string ], + [ sh:namespace "http://data.ashrae.org/standard223#"^^xsd:anyURI ; + sh:prefix "s223"^^xsd:string ], + [ a sh:PrefixDeclaration ; + sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI ; + sh:prefix "dcterms"^^xsd:string ], + [ a sh:PrefixDeclaration ; + sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ; + sh:prefix "skos"^^xsd:string ], + [ sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ; + sh:prefix "rdfs"^^xsd:string ], [ a sh:PrefixDeclaration ; sh:namespace "http://qudt.org/vocab/unit/"^^xsd:anyURI ; sh:prefix "unit"^^xsd:string ], - [ a sh:PrefixDeclaration ; - sh:namespace "http://qudt.org/vocab/dimensionvector/"^^xsd:anyURI ; - sh:prefix "qkdv"^^xsd:string ] . + [ sh:namespace "http://qudt.org/schema/qudt/"^^xsd:anyURI ; + sh:prefix "qudt"^^xsd:string ] . a ns1:SystemOfUnits ; rdfs:label "CGS System of Units ESU"@en ; @@ -94219,18 +94225,18 @@ s223:Electricity-AC a s223:Class, s223:hasVoltage s223:Numerical-Voltage ; rdfs:comment "This class has enumerated instances of all AC forms of electricity."^^xsd:string ; rdfs:subClassOf s223:Constituent-Electricity ; - sh:property [ rdfs:comment "An electricity AC medium must have a frequency"^^xsd:string ; - sh:class s223:Numerical-Frequency ; - sh:minCount 1 ; - sh:path s223:hasFrequency ], - [ rdfs:comment "An electricity AC medium must have a number of electrical phases."^^xsd:string ; + sh:property [ rdfs:comment "An electricity AC medium must have a number of electrical phases."^^xsd:string ; sh:class s223:Numerical-NumberOfElectricalPhases ; sh:minCount 1 ; sh:path s223:hasNumberOfElectricalPhases ], [ rdfs:comment "An electricity AC medium must have a voltage."^^xsd:string ; sh:minCount 1 ; sh:or ( [ sh:class s223:Numerical-LineLineVoltage ] [ sh:class s223:Numerical-LineNeutralVoltage ] [ sh:class s223:Numerical-Voltage ] ) ; - sh:path s223:hasVoltage ] . + sh:path s223:hasVoltage ], + [ rdfs:comment "An electricity AC medium must have a frequency"^^xsd:string ; + sh:class s223:Numerical-Frequency ; + sh:minCount 1 ; + sh:path s223:hasFrequency ] . rdfs:label "QUDT SHACL Schema Supplement Version 2.1.41"^^xsd:string ; ns2:hasGraphMetadata ns2:GMD_SHACLQUDTOVERLAY-SCHEMA ; @@ -95822,7 +95828,7 @@ FILTER (NOT EXISTS {$this rdfs:comment ?something}) . a ns1:SystemOfUnits ; rdfs:label "CGS System of Units"@en ; - dcterms:description "

The centimetre-gram-second system (abbreviated CGS or cgs) is a variant of the metric system of physical units based on centimetre as the unit of length, gram as a unit of mass, and second as a unit of time. All CGS mechanical units are unambiguously derived from these three base units, but there are several different ways of extending the CGS system to cover electromagnetism. The CGS system has been largely supplanted by the MKS system, based on metre, kilogram, and second. Note that the term cgs is ambiguous, since there are several variants with conflicting definitions of electromagnetic quantities and units. The unqualified term is generally associated with the Gaussian system of units, so this more precise URI is preferred.

"^^rdf:HTML ; + dcterms:description "

The centimetre-gram-second system (abbreviated CGS or cgs) is a variant of the metric system of physical units based on centimetre as the unit of length, gram as a unit of mass, and second as a unit of time. All CGS mechanical units are unambiguously derived from these three base units, but there are several different ways of extending the CGS system to cover electromagnetism. The CGS system has been largely supplanted by the MKS system, based on metre, kilogram, and second. Note that the term cgs is ambiguous, since there are several variants with conflicting definitions of electromagnetic quantities and units. The unqualified term is generally associated with the Gaussian system of units, so this more precise URI is preferred."^^rdf:HTML ; ns1:abbreviation "CGS"^^xsd:string ; ns1:dbpediaMatch "http://dbpedia.org/resource/Centimetre_gram_second_system_of_units"^^xsd:anyURI ; ns1:hasBaseUnit ,