<?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>ClassOfInformationObjectWithContents</TemplateName>
	<defaultRdsId>B06A3A86F1AC4CC785D3D525CB5D8D02</defaultRdsId>
	<Status>NEW MAY2024</Status>
	<SubClassOf>TemplateForClassInDocument</SubClassOf>
	<Definition>ClassOfInformationObject [hasInformationObjectType] has information contents externally defined in [hasContents], classified with [hasContentType]</Definition>
	<TIPPredicate>coDocumentIsSubclassOfRepres</TIPPredicate>
	<Description>A ClassOfInformationObject is a specialization of a ClassOfExpressInformationRepresentation, that is classified with an instance of ClassOfClassOfInformationRepresentation, to be declared first separately.</Description>
	<Example>A PID SYMBOL is defined with software code that is classified with "PID SYMBOL for Heat Exchanger (general) to ISO 10628-2 REGNO X8079 in JAVA and in SVG format"</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-110-20240501.png</LiftedAndLoweredGraph>
	<LiftedTemplate>
	    	<LiftedTemplateElements>
			<Ref>1</Ref>
	    		<URI>dm:ClassOfInformationObject</URI>
	    	</LiftedTemplateElements>
	    	<LiftedTemplateElements>
			<Ref>2</Ref>
	    		<URI>dm:ClassOfExpressInformationRepresentation</URI>
	    	</LiftedTemplateElements>
		<LiftedTemplateElements>
			<Ref>3</Ref>
			<URI>dm:ClassOfClassOfInformationRepresentation</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:Classification</URI>
		</LiftedTemplateElements>
	</LiftedTemplate>
	<PropertiesOfLoweredTemplate>
	  	<TemplateSignature>
			<RoleNo>1</RoleNo>
	  		<RoleName>hasInformationObjectType</RoleName>
	  		<RoleObjectType>dm:ClassOfInformationObject</RoleObjectType>
	  		<RoleExample/>
	  	</TemplateSignature>
		<TemplateSignature>
			<RoleNo>2</RoleNo>
			<RoleName>hasContents</RoleName>
			<RoleObjectType>dm:ClassOfExpressInformationRepresentation</RoleObjectType>
			<RoleExample/>
		</TemplateSignature>
		<TemplateSignature>
			<RoleNo>3</RoleNo>
			<RoleName>hasContentType</RoleName>
			<RoleObjectType>dm:ClassOfClassOfInformationRepresentation</RoleObjectType>
			<RoleExample/>
		</TemplateSignature>
	</PropertiesOfLoweredTemplate>
	<LoweredTemplateOWLcode>
    		<![CDATA[
		]]>
 	 </LoweredTemplateOWLcode>
	<LoweredTemplateFOLcode><![CDATA[ClassOfInformationObjectWithContents(hasInformationObjectType, hasContents, hasContentType) <->
		ClassOfInformationObject(hasInformationObjectType) &
		ClassOfExpressInformationRepresentation(hasContents) &
		ClassOfClassOfInformationRepresentation(hasContentType) &
		ClassificationTemplate(hasContents, hasContentType) &
		exists u(
		     SpecializationTemplate(u, hasContents) &
		     ClassOfInformationObject(u) &
		     ClassOfTemporalWholePartTemplate(u, hasInformationObjectType))) .
		]]>
	</LoweredTemplateFOLcode>

	<LoweredTemplateInstanceListing>
	<![CDATA[GENERIC DEFINITION

tpl:ClassOfInformationObjectWithContents
      rdf:type  dm:ClassOfTemplate ; 
      rdfs:isDefinedBy  tpl:CL-DOCS-100.xml ;
      tpl:hasInformationObjectType dm:ClassOfInformationObject ;
      tpl:hasContents  dm:ClassOfExpressInformationRepresentation ;
      tpl:hasContentType  dm:ClassOfClassOfInformationRepresentation ;
      meta:valEffectiveDate xsd:dateTime .

	# EXAMPLE - A PID SYMBOL has Information Contents, as defined in the related templates as, respectively, "PID SYMBOL for Heat Exchanger (general) to ISO 10628-2 REGNO X8079 in Java and in SVG format"

	ex:cfee555e-80c6-47dd-bbf9-46403d4bf325
	      rdf:type tpl:ClassOfInformationObjectWithContents ;
	      tpl:hasInformationObjectType rdl:RDS2220947 ; # P&ID SYMBOL
	      tpl:hasContents "......"^^xsd:base64Binary ; # Code listing for ISO 10628-2 REGNO X8079
	      tpl:hasContentTypeexrdl:R23848 ; # dm:ClassOfClassOfInformationObject with rules for P&ID SYMBOL for Heat Exchanger (general) to ISO 10628-2 REGNO X8079, in Java and in SVG format.
	      tpl:hasPresentationType xyzrdl:R58383 ;
	      meta:valEffectiveDate "2021-07-19T12:16:00Z"^^xsd:dateTime .
	]]>
	</LoweredTemplateInstanceListing>
</TemplateSpecification>
