<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="xsl-for-template-specification.xsl"?>
<TemplateSpecification xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xml-schema-for-template-specification.xsd">
	<TemplateName>ClassOfIndividualHasPropertyRatio</TemplateName>
	<defaultRdsId>R69AE641004224368AA48F7043BA0F9B7</defaultRdsId>
	<Status>UPDATED MAR2023</Status>
	<TIPPredicate>coHasPropertyRatio</TIPPredicate><Description>Members of ClassOfIndividual have a ratio between two property values of the same property type, expressed in a dimensionless real number.</Description>
	<Example>Members of requirements class CO-P-101 of pump P-101 have been designed for a duty cycle of 0.82</Example>
	<Notes>At instantiation of this template it is mandatory to add meta:valEffectiveDate with the dateTime that the represented information became effective.</Notes>
	<SubClassOf>TemplateForPropertyAndStatusOfClass</SubClassOf>
	<Definition>Any member of [EssentialType] class [hasPossessorType] has a [hasMultidimensionalPropertyType] which is a ratio between two [hasPropertyType]s with values [valPropertyValue1] and [valPropertyValue2] [hasScale], resulting in a ratio value [valPropertyRatio]</Definition>
	<ScopeNote>A duty cycle is the ratio of time that a mechanism spends in an active state, to the overall time available; Expression of the real number in a percentage has to be done in postprocessing.</ScopeNote><AdminNote/>
	<LiftedAndLoweredGraph>CL-PTYST-720-20220126.png</LiftedAndLoweredGraph>
	<LiftedTemplate>
	    	<LiftedTemplateElements><Ref>1</Ref>
	    		<URI>dm:MultidimensionalProperty</URI>
	    	</LiftedTemplateElements>
	    	
	    	<LiftedTemplateElements><Ref>2</Ref>
	    		<URI>dm:ClassOfIndividual</URI>
	    	</LiftedTemplateElements>
	<LiftedTemplateElements><Ref>3</Ref><URI>dm:SinglePropertyDimension</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>4</Ref><URI>dm:ClassOfExpressInformationRepresentation</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>5</Ref><URI>dm:ClassOfExpressInformationRepresentation</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>6</Ref><URI>dm:ClassOfExpressInformationRepresentation</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>7</Ref><URI>dm:Scale</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>8</Ref><URI>dm:ClassOfTemporalWholePart</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>9</Ref><URI>dm:ClassOfIndividual</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>10</Ref><URI>dm:ClassOfClassification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>11</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>12</Ref><URI>dm:Property</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>13</Ref><URI>dm:PropertyQuantification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>14</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>15</Ref><URI>dm:ArithmeticNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>16</Ref><URI>dm:ClassOfIdentification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>17</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>18</Ref><URI>dm:Property</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>19</Ref><URI>dm:PropertyQuantification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>20</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>21</Ref><URI>dm:ArithmeticNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>22</Ref><URI>dm:ClassOfIdentification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>23</Ref><URI>dm:MultidimensionalNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>24</Ref><URI>dm:FunctionalMapping</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>25</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>26</Ref><URI>dm:ClassOfFunctionalMapping</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>27</Ref><URI>dm:ArithmeticNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>28</Ref><URI>dm:ClassOfIdentification</URI></LiftedTemplateElements></LiftedTemplate>
	<PropertiesOfLoweredTemplate>



  	<TemplateSignature><RoleNo>1</RoleNo><RoleName>hasMultidimensionalPropertyType</RoleName><RoleObjectType>dm:MultidimensionalProperty</RoleObjectType><RoleExample/></TemplateSignature><TemplateSignature><RoleNo>2</RoleNo><RoleName>hasPossessorType</RoleName><RoleObjectType>dm:ClassOfIndividual</RoleObjectType><RoleExample/></TemplateSignature><TemplateSignature><RoleNo>3</RoleNo><RoleName>hasPropertyType</RoleName><RoleObjectType>dm:SinglePropertyDimension</RoleObjectType><RoleExample>use ID from RDL</RoleExample></TemplateSignature><TemplateSignature><RoleNo>4</RoleNo><RoleName>valPropertyValue1</RoleName><RoleObjectType>dm:ClassOfExpressInformationRepresentation</RoleObjectType><RoleExample/></TemplateSignature><TemplateSignature><RoleNo>5</RoleNo><RoleName>valPropertyValue2</RoleName><RoleObjectType>dm:ClassOfExpressInformationRepresentation</RoleObjectType><RoleExample/></TemplateSignature><TemplateSignature><RoleNo>6</RoleNo><RoleName>valPropertyRatio</RoleName><RoleObjectType>dm:ClassOfExpressInformationRepresentation</RoleObjectType><RoleExample/></TemplateSignature></PropertiesOfLoweredTemplate>
	<LoweredTemplateOWLcode>
    		<![CDATA[
		]]>
 	 </LoweredTemplateOWLcode>
	<LoweredTemplateFOLcode><![CDATA[ClassOfIndividualHasPropertyRatio(hasMultidimensionalPropertyType, hasPossessorType, hasPropertyType, valPropertyValue1, valPropertyValue2, valPropertyRatio, hasScale) <->
MultidimensionalProperty(hasMultidimensionalPropertyType) &
ClassOfIndividual(hasPossessorType) &
SinglePropertyDimension(hasPropertyType) &
ClassOfExpressInformationRepresentation(valPropertyValue1) &
ClassOfExpressInformationRepresentation(valPropertyValue2) &
ClassOfExpressInformationRepresentation(valPropertyRatio) &
Scale(hasScale) &
exists u1 exists u3  exists u4  exists u5  exists u6  exists u7 exists u8 exists u9 exists u10 exists u11 exists u12(
       ClassOfIndividual(u1) &
       ClassOfTemporalWholePartTemplate(u1, hasPossessorType) &
       ClassOfClassificationTemplate(u1, hasMultidimensionalPropertyType) &
       element1(hasMultidimensionalPropertyType, u3) &
       element2(hasMultidimensionalPropertyType, u6) &
       ClassificationTemplate(u2, hasMultidimensionalPropertyType) &
       Property(u3) &
       ClassificationTemplate(u3, hasPropertyType) &
       PropertyQuantificationTriple(u4, u3, u5) &
       ClassificationTemplate(u4, hasScale) &
       ArithmeticNumber(u5) &
       ClassOfIdentificationTemplate(valPropertyValue1, u5) &
       Property(u6) &
       ClassificationTemplate(u6, hasPropertyType) &
       PropertyQuantificationTriple(u7, u6, u8) &
       ClassificationTemplate(u7, hasScale) &
       ArithmeticNumber(u8) &
       ClassOfIdentificationTemplate(valPropertyValue2, u8) &
       MultidimensionalNumber(u9) &
          element1(u9, u5) &
          element2(u9, u8) & 
       FunctionalMappingTriple(u10, u9, u12) &
       ClassificationTemplate(u10, u11) &
       rdl_RDS11566410(u11) &
       ArithmeticNumberr(u12) &
       ClassOfIdentificationTemplate(valPropertyRatio, u12)) .]]>
</LoweredTemplateFOLcode>

<LoweredTemplateInstanceListing>
<![CDATA[GENERIC DEFINITION

tpl:ClassOfIndividualHasPropertyRatio
      rdfs:subClassOf dm:Template ;
      rdfs:isDefinedBy  tpl:CL-PTYST-720.xml ;
      tpl:hasMultidimensionalPropertyType  dm:MultidimensionalProperty ;
      tpl:hasPossessorType dm:ClassOfIndividual ; 
      tpl:hasPropertyType dm:SinglePropertyDimension ;
      tpl:valPropertyValue1 xsd:decimal ;
      tpl:valPropertyValue2 xsd:decimal ;
      tpl:valPropertyRatio xsd:decimal ;
      tpl:hasScale dm:Scale ;
      meta:valEffectiveDate xsd:dateTime .

# EXAMPLE - Members of requirements class CO-P-101 of pump P-101 have been designed for a duty cycle of 0.82

ex:e7db89f6-77dd-4108-a292-2c9f9eecfef6
      rdf:type tpl:ClassOfIndividualHasPropertyRatio ;
      tpl:hasMultidimensionalPropertyType rdl:RDS2227189 ; # DUTY CYCLE
      tpl:hasPossessorType ex:f0266268-567e-4a76-a676-21eed8c50f57 ; # requirements class CO-P-101
      tpl:hasPropertyType rdl:RDS356039 ; # TIME
      tpl:valPropertyValue1 "60"^^xsd:decimal ;
      tpl:valPropertyValue2 "73"^^xsd:decimal ;
      tpl:valPropertyRatio "0.82"^^xsd:decimal ;
      tpl:hasScale rdl:RDS1326734 ; # HOUR
      meta:valEffectiveDate "2021-11-02T15:11:00Z"^^xsd:dateTime .
]]>
</LoweredTemplateInstanceListing>
</TemplateSpecification>
