<?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>ClassOfIndividualHasPropertyWithVariance</TemplateName>
	<defaultRdsId>RE6296BA6FD79414AA4FA296EF578E768</defaultRdsId>
	<Status>UPDATED MAR2023</Status>
	<TIPPredicate>coHasPropertyWithVariance</TIPPredicate><Description>Members of a ClassOfIndividual have a Property with a plus and minus variance.</Description>
	<Example>Members of ClassOfInanimatePhysicalObject 'CO-P-101' weigh 240kg +90g -50g</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>TemplateForClassOfProperty</SubClassOf><Definition>Any member of [EssentialType] class [hasPossessorType] possesses a [hasPropertyType] of [valPropertyValue] [hasScale] +[valPositiveVarianceValue] [hasVarianceScale] -[valNegativeVarianceValue] [hasVarianceScale]</Definition><ScopeNote>For variances expressed in a percentage use the template PropertyWithPercentageVarianceOfClassOfIndividual</ScopeNote><AdminNote/><LiftedAndLoweredGraph>CL-PTYST-400-20220123.png</LiftedAndLoweredGraph>
	<LiftedTemplate>
	    	<LiftedTemplateElements><Ref>1</Ref>
	    		<URI>dm:ClassOfIndividual</URI>
	    	</LiftedTemplateElements>
	    	
	    	<LiftedTemplateElements><Ref>2</Ref>
	    		<URI>dm:SinglePropertyDimension</URI>
	    	</LiftedTemplateElements>
	<LiftedTemplateElements><Ref>3</Ref><URI>dm:ClassOfExpressInformationRepresentation</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>4</Ref><URI>dm:Scale</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>rdl:RDS222625</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>12</Ref><URI>dm:PropertyRange</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>13</Ref><URI>dm:Specialization</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>14</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>15</Ref><URI>dm:Property</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>16</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>17</Ref><URI>dm:PropertyQuantification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>18</Ref><URI>dm:ArithmeticNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>19</Ref><URI>dm:ClassOfIdentification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>20</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>21</Ref><URI>dm:Property</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>22</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>23</Ref><URI>dm:PropertyQuantification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>24</Ref><URI>dm:ArithmeticNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>25</Ref><URI>dm:ClassOfIdentification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>26</Ref><URI>dm:MultidimensionalNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>27</Ref><URI>dm:FunctionalMapping</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>28</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>29</Ref><URI>rdl:RDS2220043</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>30</Ref><URI>dm:UpperBoundOfPropertyRange</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>31</Ref><URI>dm:Property</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>32</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>33</Ref><URI>dm:PropertyQuantification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>34</Ref><URI>dm:ArithmeticNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>35</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>36</Ref><URI>dm:Property</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>37</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>38</Ref><URI>dm:PropertyQuantification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>39</Ref><URI>dm:ArithmeticNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>40</Ref><URI>dm:ClassOfIdentification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>41</Ref><URI>dm:MultidimensionalNumber</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>42</Ref><URI>dm:FunctionalMapping</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>43</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>44</Ref><URI>rdl:RDS2220042</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>45</Ref><URI>dm:LowerBoundOfPropertyRange</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>46</Ref><URI>dm:Property</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>47</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>48</Ref><URI>dm:PropertyQuantification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>49</Ref><URI>dm:ArithmeticNumber</URI></LiftedTemplateElements></LiftedTemplate>
	<PropertiesOfLoweredTemplate>
    		
    		
    		
  	<TemplateSignature><RoleNo>1</RoleNo><RoleName>hasPossessorType</RoleName><RoleObjectType>dm:ClassOfIndividual</RoleObjectType><RoleExample/></TemplateSignature><TemplateSignature><RoleNo>2</RoleNo><RoleName>hasPropertyType</RoleName><RoleObjectType>dm:SinglePropertyDimension</RoleObjectType><RoleExample>use ID from RDL</RoleExample></TemplateSignature><TemplateSignature><RoleNo>3</RoleNo><RoleName>valPropertyValue</RoleName><RoleObjectType>dm:ClassOfExpressInformationRepresentation</RoleObjectType><RoleExample>expressed in Role 5 Scale</RoleExample></TemplateSignature><TemplateSignature><RoleNo>4</RoleNo><RoleName>hasScale</RoleName><RoleObjectType>dm:Scale</RoleObjectType><RoleExample>use ID from RDL</RoleExample></TemplateSignature><TemplateSignature><RoleNo>5</RoleNo><RoleName>valPositiveVariance</RoleName><RoleObjectType>dm:ClassOfExpressInformationRepresentation</RoleObjectType><RoleExample>expressed in Role 8 Scale</RoleExample></TemplateSignature><TemplateSignature><RoleNo>6</RoleNo><RoleName>valNegativeVariance</RoleName><RoleObjectType>dm:ClassOfExpressInformationRepresentation</RoleObjectType><RoleExample>expressed in Role 8 Scale</RoleExample></TemplateSignature><TemplateSignature><RoleNo>7</RoleNo><RoleName>hasVarianceScale</RoleName><RoleObjectType>dm:Scale</RoleObjectType><RoleExample>use ID from RDL</RoleExample></TemplateSignature></PropertiesOfLoweredTemplate>
	<LoweredTemplateOWLcode>
    		<![CDATA[
		]]>
 	 </LoweredTemplateOWLcode>
	<LoweredTemplateFOLcode><![CDATA[ClassOfIndividualHasPropertyWithVariance(hasPossessorType, hasPropertyType, valPropertyValue, hasScale, valPositiveVariance, valNegativeVariance, hasVarianceScale) <->
ClassOfIndividual(hasPossessorType) &
SinglePropertyDimension(hasPropertyType) &
ClassOfExpressInformationRepresentation(valPropertyValue) &
Scale(hasScale) &
ClassOfExpressInformationRepresentation(valPositiveVariance) &
ClassOfExpressInformationRepresentation(valNegativeVariance) &
Scale(hasVarianceScale) &
exists u1 exists u2 exists u3 exists u4 exists u5 exists u6 exists u7 exists v1 exists v2 exists v3 exists v4 exists v5 exists v6 exists v7 exists v8 exists v9 exists w1 exists w2 exists w3 exists w4 exists w5 exists w6 exists w7 exists w8 exists w9(
      ClassOfIndividual(u1) &
      ClassOfTemporalWholePartTemplate(u1, hasPossessorType) &
      ClassOfClassificationTriple(u2, u1, u4) &
      rdl_RDS222625(u3) &
         end1Cardinality(u2, u3) &
      SpecializationTemplate(u4, hasPropertyType) &
      Property(u5) &
      ClassificationTemplate(u5, u4) &
      PropertyQuantificationTriple(u6, u5, u7) &
      ClassificationTemplate(u6, hasScale) &
      ArithmeticNumber(u7) &
      ClassOfIdentificationTemplate(valPropertyValue, u7) &
      Property(v1) &
      ClassificationTemplate(v1, hasPropertyType) &
      PropertyQuantificationTriple(v2, v1, v3) &
      ClassificationTemplate(v2, hasVarianceScale) &
      ArithmeticNumber(v3) &
      ClassOfIdentificationTemplate(valPositiveVariance, v3) &
      Property(v7) &
      UpperBoundOfPropertyRangeTemplate(v7, u4) &
      PropertyQuantificationTriple(v8, v7, v9) &
      ClassificationTemplate(v8, hasScale) &
      ArithmeticNumber(v9) &      
      MultidimensionalNumber(v4) &
         hasElement1(v4, u7) &
         hasElement2(v4, v3) &
      FunctionalMappingTriple(v5, v4, v9) &
      rdl_RDS2220043(v6) &
      ClassificationTemplate(v5, v6) &
      Property(w1) &
      ClassificationTemplate(w1, hasScale) &
      PropertyQuantificationTriple(w2, w1, w3) &
      ClassificationTemplate(w2, hasVarianceScale) &
      ArithmeticNumber(w3) &
      ClassOfIdentificationTemplate(valNegativeVariance, w3) &
      Property(w7) &
      UpperBoundOfPropertyRangeTemplate(w7, u4) &
      PropertyQuantificationTriple(w8, w7, w9) &
      ClassificationTemplate(w8, hasScale) &
      ArithmeticNumber(w9) &      
      MultidimensionalNumber(w4) &
         hasElement1(w4, u7) &
         hasElement2(w4, w3) &
      FunctionalMappingTriple(w5, w4, w9) &
      rdl_RDS2220042(w6) &
      ClassificationTemplate(w5, w6)) .]]>
</LoweredTemplateFOLcode>

<LoweredTemplateInstanceListing>
<![CDATA[GENERIC DEFINITION

tpl:ClassOfIndividualHasPropertyWithVariance
      rdfs:subClassOf dm:Template ;
      rdfs:isDefinedBy  tpl:CL-PTYST-400.xml ;
      tpl:hasPossessorType dm:ClassOfIndividual ;   
      tpl:hasPropertyType dm:SinglePropertyDimension ;
      tpl:valPropertyValue xsd:decimal ;
      tpl:hasScale dm:Scale ; 
      tpl:valPositiveVariance xsd:decimal ; 
      tpl:valNegativeVariance xsd:decimal ; 
      tpl:hasVarianceScale dm:Scale ; 
      meta:valEffectiveDate xsd:dateTime .

# EXAMPLE - Members of ClassOfInanimatePhysicalObject 'CO-P-101' weigh 240kg +90g -50g

ex:26d5225d-eb01-4b41-bdb6-e2d4454a2876
      rdf:type tpl:ClassOfIndividualHasPropertyWithVariance ;
      tpl:hasPossessorType ex:f0266268-567e-4a76-a676-21eed8c50f57 ; # requirements class CO-P-101
      tpl:hasPropertyType rdl:RDS353339 ; # MASS
      tpl:valPropertyValue "240"^^xsd:decimal ;
      tpl:hasScale rdl:RDS1328669 ; # KILOGRAM
      tpl:valPositiveVariance "90"^^xsd:decimal ; 
      tpl:valNegativeVariance "50"^^xsd:decimal ; 
      tpl:hasVarianceScale rdl:RDS1325789 ; # GRAM
      meta:valEffectiveDate "2021-11-02T12:21:00Z"^^xsd:dateTime .
]]>
</LoweredTemplateInstanceListing>
</TemplateSpecification>
