<?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>InvolvementByReferenceOfIndividualInActivity</TemplateName>
	<defaultRdsId>R0FB304EF06B0455FA517DF676C6CAA78</defaultRdsId>
	<Status>UPDATED MAR2023</Status>
	<TIPPredicate>isInvolvedByReferenceInActivity</TIPPredicate><Description>A PossibleIndividual is involved-by-reference in an Activity, where the type of involvement is defined by an instance of ClassOfInvolvementByReference.</Description>
<Example>The Activity A543859 (WELDING of line RZ17801) is involved-by-reference in an Activity A563846 (PROGRESS REPORTING on Area 17 in 2021 week 16) in the Role of REPORTED OBJECT.</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] individual [hasInvolved] is involved-by-reference in [EssentialType] Activity [hasActivity] in an [hasInvolvementRole] Role</Definition><ScopeNote/><AdminNote/><LiftedAndLoweredGraph>IN-ACTIV-080-20211223.png</LiftedAndLoweredGraph>
	<LiftedTemplate>
	    	<LiftedTemplateElements><Ref>1</Ref>
	    		<URI>dm:Activity</URI>
	    	</LiftedTemplateElements>
	    	<LiftedTemplateElements><Ref>2</Ref>
	    		<URI>dm:PossibleIndividual</URI>
	    	</LiftedTemplateElements><LiftedTemplateElements><Ref>3</Ref><URI>dm:Role</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>4</Ref><URI>dm:SpecializationByRole</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>5</Ref><URI>dm:RoleAndDomain</URI></LiftedTemplateElements>
	    	<LiftedTemplateElements><Ref>6</Ref>
	    		<URI>dm:ClassOfInvolvementByReference</URI>
	    	</LiftedTemplateElements><LiftedTemplateElements><Ref>7</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>8</Ref><URI>dm:TemporalWholePart</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>9</Ref><URI>dm:Activity</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>10</Ref><URI>dm:InvolvementByReference</URI></LiftedTemplateElements>
	<LiftedTemplateElements><Ref>11</Ref><URI>dm:PossibleIndividual</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>12</Ref><URI>dm:TemporalWholePart</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>13</Ref><URI>dm:Beginning</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>14</Ref><URI>dm:Beginning</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>15</Ref><URI>dm:PointInTime</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>16</Ref><URI>dm:ClassOfIdentification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>17</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>hasInvolved</RoleName><RoleObjectType>dm:PossibleIndividual</RoleObjectType><RoleExample/></TemplateSignature><TemplateSignature><RoleNo>3</RoleNo><RoleName>hasInvolvementRole</RoleName><RoleObjectType>dm:Role</RoleObjectType><RoleExample/></TemplateSignature></PropertiesOfLoweredTemplate>
	<LoweredTemplateOWLcode>
    		<![CDATA[
		]]>
 	 </LoweredTemplateOWLcode>
	<LoweredTemplateFOLcode><![CDATA[InvolvementByReferenceOfIndividualInActivity(hasActivity, hasInvolved, hasInvolvementRole) <->
Activity(hasActivity) &
PossibleIndividual(hasInvolved) &
Role(hasInvolvementRole) &
exists u1 exists u2 exists u3 exists u4 exists u5 exists u6 exists u7(
       SpecializationByRoleTemplate(u6, hasInvolvementRole) &
       RoleAndDomain(u6) &
       ClassOfInvolvementByReference(u7) &
       classOfInvolved(u7, u6) &
       ClassificationTemplate(u2, u7) &
       TemporalWholePartTemplate(u1, hasActivity) &
       Activity(u1) &
       InvolvementByReferenceTriple(u2, u3, u1) &
       TemporalWholePartTemplate(u3, hasInvolved) &
       PossibleIndividual(u3) &
       BeginningTemplate(u4, u1) &
       BeginningTemplate(u4, u3) &
       PointInTime(u4) &
       ClassOfIdentificationTemplate(u5, u4) &
       RepresentationOfGregorianDateAndUtcTime(u5)) .]]>
</LoweredTemplateFOLcode>

<LoweredTemplateInstanceListing>
<![CDATA[GENERIC DEFINITION

tpl:InvolvementByReferenceOfIndividualInActivity
      rdfs:subClassOf dm:Template ;
      rdfs:isDefinedBy  tpl:IN-ACTIV-080.xml ;
      tpl:hasActivity dm:Activity ;
      tpl:hasInvolved dm:PossibleIndividual ;
      tpl:hasInvolvementRole dm:Role ;
      meta:valEffectiveDate xsd:dateTime .

# EXAMPLE - The Activity A543859 (WELDING of line RZ17801) is involved-by-reference in an Activity A563846 (PROGRESS REPORTING on Area 17 in 2021 week 16) in the Role of REPORTED OBJECT.

ex:98669b5b-daaf-4876-aa75-61fca128d900
      rdf:type tpl:InvolvementByReferenceOfIndividualInActivity ;
      tpl:hasActivity ex:a204b3c6-bba3-46ce-a323-3c95ba801382 ; # A563846 (reporting)
      tpl:hasInvolved ex:7945174f-3893-45f0-8e92-4caf95966b96 ; # A543859 (welding)
      tpl:hasInvolvementRole rdl:RDS2220203 ; # REPORTED OBJECT
      meta:valEffectiveDate "2021-09-21T14:47:00Z"^^xsd:dateTime .
]]>
</LoweredTemplateInstanceListing>
</TemplateSpecification>
