<?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>DefinitionOfDocumentContentsFormat</TemplateName>
	<defaultRdsId>90F66448499A49EEA9D5EC654A135551</defaultRdsId>
	<Status>UPDATED MAR2023</Status>
	<TIPPredicate>coDocumentHasContentsInFormat</TIPPredicate><Description>Defining that the contents of a ClassOfInformationObject are in a given format by making it a specialization of a ClassOfInformationRepresentation, that is classified with a RepresentationForm.</Description>
	<Example>The API 610 PUMP DATA SHEET has contents that are in ASCII format.</Example>
	<Notes><![CDATA[At instantiation of this template it is mandatory to add meta:valEffectiveDate with the dateTime that the represented information became effective.
]]></Notes>
	<SubClassOf>TemplateForClassInDocument</SubClassOf><Definition>Any member of [EssentialType] class [hasDocument] has contents that are represented in [hasFormat] RepresentationForm</Definition><ScopeNote/><AdminNote/><LiftedAndLoweredGraph>CL-DOCS-250-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:ClassOfTemporalWholePart</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>4</Ref><URI>dm:ClassOfOfInformationObject</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>5</Ref><URI>dm:Specialization</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>6</Ref><URI>dm:ClassOfExpressInformationRepresentation</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>7</Ref><URI>dm:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>8</Ref><URI>dm:ClassOfClassOfInformationRepresentation</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>9</Ref><URI>dm:Specialization</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/></TemplateSignature></PropertiesOfLoweredTemplate>
	<LoweredTemplateOWLcode>
    		<![CDATA[
		]]>
 	 </LoweredTemplateOWLcode>
	<LoweredTemplateFOLcode><![CDATA[DefinitionOfDocumentContentsFileFormat(hasDocument, hasFormat) <->
ClassOfInformationObject(hasDocument) &
RepresentationForm(hasFormat) &
exists u1 exists u2 exists u3(
      ClassOfTemporalWholePartTemplate(u1, hasDocument) &
      ClassOfInformationObject(u1) &
      SpecializationTemplate(u1, u2) &
      ClassOfExpressInformationRepresentation(u2) &
      ClassificationTemplate(u2, u3) &
      ClassOfClassOfInformationRepresentation(u3) &
      SpecializationTemplate(u3, hasFormat)) .]]>
</LoweredTemplateFOLcode>

	<LoweredTemplateInstanceListing>
<![CDATA[GENERIC DEFINITION

tpl:DefinitionOfDocumentContentsFormat
      rdfs:subClassOf dm:Template ;
      rdfs:isDefinedBy  tpl:CL-DOCS-250.xml ;
      tpl:hasDocument dm:ClassOfInformationObject ;
      tpl:hasFormat  dm:RepresentationForm ;
      meta:valEffectiveDate xsd:dateTime .

# EXAMPLE - The API 610 PUMP DATA SHEET has contents that are in ASCII format.

ex:99bf795d-9a97-4a43-adea-7ad2be97e626
      rdf:type tpl:DefinitionOfDocumentContentsFormat ;
      tpl:hasDocument ex:f50e142d-613a-4985-afe3-334b0c7d4d90 ; # PL-43322-rev1
      tpl:hasFormat  rdl:RDS2221127 ; # ASCII
      meta:valEffectiveDate "2021-07-20T15:07:00Z"^^xsd:dateTime .
]]>
</LoweredTemplateInstanceListing>
</TemplateSpecification>
