<?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>ClassOfInformationObjectHasFormatBeforeClassOfEvent</TemplateName>
	<defaultRdsId>0F656D952BD942CAAB33DBE9CBED1DBA</defaultRdsId>
	<Status>UPDATED MAR2023</Status>
	<SubClassOf>docHasFormatBeforeEvent</SubClassOf>
	<Definition>Any member of [EssentialType] class [hasPossessorType] has a [hasFormat] format before [hasEventType]</Definition>
	<TIPPredicate>coDocumentHasFormatBeforeEvent</TIPPredicate><Description>The contents of members of a ClassOfInformationObject, before the occurrence members of a ClassOfEvent, are in a given format.</Description>
	<Example>Members of document type "PIPING ISOMETRIC DRAWING" shall have a PDF format before the START OF FABRICATION.</Example>
	<Notes>At instantiation of this template it is mandatory to add meta:valEffectiveDate with the dateTime that the represented information became effective.</Notes>
	<ScopeNote/><AdminNote/>
	<LiftedAndLoweredGraph>CL-DOCS-260-20220129.png</LiftedAndLoweredGraph>
	<LiftedTemplate>
	    	<LiftedTemplateElements><Ref>1</Ref>
	    		<URI>dm:ClassOfInformationObject</URI>
	    	</LiftedTemplateElements>
	    	
	    	<LiftedTemplateElements><Ref>2</Ref>
	    		<URI>dm:RepresentationForm</URI>
	    	</LiftedTemplateElements><LiftedTemplateElements><Ref>3</Ref><URI>dm:ClassOfEvent</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>4</Ref><URI>dm:ClassOfTemporalWholePart</URI></LiftedTemplateElements>
	<LiftedTemplateElements><Ref>5</Ref><URI>dm:ClassOfInformationObject</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>6</Ref><URI>dm:Specialization</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>7</Ref><URI>dm:ClassOfInformationRepresentation</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>8</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>9</Ref><URI>dm:ClassOfClassOfInformationRepresentation</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>10</Ref><URI>dm:Specialization</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>11</Ref><URI>dm:ClassOfTemporalSequence</URI></LiftedTemplateElements></LiftedTemplate>
	<PropertiesOfLoweredTemplate>



  	<TemplateSignature><RoleNo>1</RoleNo><RoleName>hasDocument</RoleName><RoleObjectType>dm:ClassOfInformationObject</RoleObjectType><RoleExample/></TemplateSignature><TemplateSignature><RoleNo>2</RoleNo><RoleName>hasFormat</RoleName><RoleObjectType>dm:RepresentationForm</RoleObjectType><RoleExample>use the ID from RDL</RoleExample></TemplateSignature><TemplateSignature><RoleNo>3</RoleNo><RoleName>hasEventType</RoleName><RoleObjectType>dm:ClassOfEvent</RoleObjectType><RoleExample>use the ID from RDL</RoleExample></TemplateSignature></PropertiesOfLoweredTemplate>
	<LoweredTemplateOWLcode>
    		<![CDATA[
		]]>
 	 </LoweredTemplateOWLcode>
	<LoweredTemplateFOLcode><![CDATA[ClassOfInformationObjectHasFormatBeforeClassOfEvent(hasDocument, hasFormat, hasEventType) <->
ClassOfInformationObject(hasDocument) &
RepresentationForm(hasFormat) &
ClassOfEvent(hasEventType) &
exists u1 exists u2 exists u3(
      ClassOfInformationObject(u1) &
      ClassOfTemporalWholePartTemplate(u1, hasDocument) &
      ClassOfTemporalSequenceTemplate(u1, hasEventType) &
      ClassOfInformationRepresentation(u2) &
      SpecializationTemplate(u1, u2) &
      ClassOfClassOfInformationRepresentation(u3) &
      ClassificationTemplate(u2, u3) &
      SpecializationTemplate(u3, hasFormat)) .]]>
</LoweredTemplateFOLcode>

	<LoweredTemplateInstanceListing>
<![CDATA[GENERIC DEFINITION

tpl:ClassOfInformationObjectHasFormatBeforeClassOfEvent
      rdfs:subClassOf dm:Template ;
      rdfs:isDefinedBy  tpl:CL-DOCS-260.xml ;
      tpl:hasDocument  dm:ClassOfInformationObject ;
      tpl:hasFormat  dm:RepresentationForm ;
      tpl:hasEventType dm:ClassOfEvent ;
      meta:valEffectiveDate xsd:dateTime .

# EXAMPLE - Members of document type "PIPING ISOMETRIC DRAWING" shall have a format PDF before the START OF FABRICATION.

ex:08681d94-e770-4822-b04c-03f6d57ef24b
      rdf:type tpl:ClassOfInformationObjectHasFormatBeforeClassOfEvent ;
      tpl:hasDocument ex:83d25886-83da-4975-8ff6-7149fd772e8e ; # Isometric Fr-47383-rev2
      tpl:hasFormat rdl:RDS2224723 ; # PDF
      tpl:hasEventType rdl:RDS2227312 ; # START OF FABRICATION
      meta:valEffectiveDate "2021-07-20T15:07:00Z"^^xsd:dateTime .
]]>
</LoweredTemplateInstanceListing>
</TemplateSpecification>
