<?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>RecognitionOfInformation</TemplateName>
	<defaultRdsId>R09D240666B3E40C6AE1E174CF6F29209</defaultRdsId>
	<Status>UPDATED MAR2023</Status>
	<TIPPredicate>informationIsExposedByActivity</TIPPredicate><Description>An Activity recognizes information, expressed with a Template, where the type of recognition is defined with an instance of ClassOfRecognition.</Description>
<Example>"RECOGNITION BY OBSERVATION" results in the information "Corrosion electrode KE-104 indicates a corrosion rate of 1.5 mm/year" as expressed by an instance of template IndividualHasPropertyWithValue.</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>TemplateForActivity</SubClassOf><Definition>[EssentialType] Activity [hasActivity] recognizes (establishes) information through [hasRecognitionType], the result of which has been represented by a Template instance [hasRecognized]</Definition><ScopeNote>Use this template to link any information, represented with a template, to an Activity that revealed this information, such as measuring a temperature of something. In the latter case a thermocouple may be the PERFORMER of that Activity.</ScopeNote><AdminNote/><LiftedAndLoweredGraph>IN-ACTIV-160-20211225.png</LiftedAndLoweredGraph>
	<LiftedTemplate>
	    	<LiftedTemplateElements><Ref>1</Ref>
	    		<URI>dm:Activity</URI>
	    	</LiftedTemplateElements>
	    	<LiftedTemplateElements><Ref>2</Ref>
	    		<URI>lci:Template</URI>
	    	</LiftedTemplateElements><LiftedTemplateElements><Ref>3</Ref><URI>dm:ClassOfRecognition</URI></LiftedTemplateElements>
	    	<LiftedTemplateElements><Ref>4</Ref><URI>dm:TemporalWholePart</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>5</Ref><URI>dm:Activity</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>6</Ref><URI>dm:Classification</URI></LiftedTemplateElements>
	<LiftedTemplateElements><Ref>7</Ref><URI>dm:Recognition</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>8</Ref><URI>dm:Beginning</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>9</Ref><URI>dm:PointInTime</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>10</Ref><URI>dm:ClassOfIdentification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>11</Ref><URI>dm:RepresentationOfGregorianDateAndUtcTime</URI></LiftedTemplateElements></LiftedTemplate>
	<PropertiesOfLoweredTemplate>



  	<TemplateSignature><RoleNo>1</RoleNo><RoleName>hasActivity</RoleName><RoleObjectType>dm:Activity</RoleObjectType><RoleExample/></TemplateSignature><TemplateSignature><RoleNo>2</RoleNo><RoleName>hasRecognized</RoleName><RoleObjectType>lci:Template</RoleObjectType><RoleExample/></TemplateSignature><TemplateSignature><RoleNo>3</RoleNo><RoleName>hasRecognitionType</RoleName><RoleObjectType>dm:ClassOfRecognition</RoleObjectType><RoleExample>use ID from RDL or, in many cases, from a local RDL extension</RoleExample></TemplateSignature></PropertiesOfLoweredTemplate>
	<LoweredTemplateOWLcode>
    		<![CDATA[
		]]>
 	 </LoweredTemplateOWLcode>
	<LoweredTemplateFOLcode><![CDATA[RecognitionOfInformation(hasActivity, hasRecognized, hasRecognitionType) <->
Activity(hasActivity) &
Template(hasRecognized) &
ClassOfRecognition(hasRecognitionType) &
exists u1 exists u2 exists u3 exists u4(
       TemporalWholePartTemplate(u1, hasActivity) &
       Activity(u1) &
       RecognitionTriple(u2, hasRecognized, u1) &
       ClassificationTemplate(u2, hasRecognitionType) &
       BeginningTemplate(u3, u1) &
       PointInTime(u3) &
       ClassOfIdentificationTemplate(u4, u3) &
       RepresentationOfGregorianDateAndUtcTime(u4)) .]]>
</LoweredTemplateFOLcode>

<LoweredTemplateInstanceListing>
<![CDATA[GENERIC DEFINITION
      
tpl:RecognitionOfInformation
      rdfs:subClassOf dm:Template ;
      rdfs:isDefinedBy  tpl:IN-ACTIV-160.xml ;
      tpl:hasActivity dm:Activity ;
      tpl:hasRecognized lci:Template ;
      tpl:hasRecognitionType dm:ClassOfRecognition ;
      meta:valEffectiveDate xsd:dateTime .

# EXAMPLE - OBSERVING Activity A584332 results in the information "Corrosion electrode KE-104 has a corrosion rate of 1.5 mm/year" as expressed by an instance of template IndividualHasPropertyWithValue.

ex:d0af356e-090b-4c13-aea0-35eebbc0a84c
      rdf:type tpl:RecognitionOfInformation ;
      tpl:hasActivity ex:ee54ec45-571c-4df2-a175-e1349f39ddce ; # A584332
      tpl:hasRecognized ex:611c45cc-b020-44d3-8f22-00b4801b385c ; # Template instance with label "[CORROSION PROBE] individual [KE-104] has a [CORROSION RATE] of [1.5] [MILLIMETRE PER YEAR]"@en
      tpl:hasRecognitionType rdl:RDS2220203 ; # RECOGNITION BY OBSERVATION
      meta:valEffectiveDate "2021-09-21T21:01:00Z"^^xsd:dateTime .
]]>
</LoweredTemplateInstanceListing>
</TemplateSpecification>
