<?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>DefinitionOfShapeRepresentation</TemplateName>
	<defaultRdsId>R0BA36AB5FB82499E97ACBB5026BE7EA3</defaultRdsId>
	<Status>UPDATED MAR2023</Status>
	<TIPPredicate>coShapeIsRepresentedBy</TIPPredicate><Description>Members of a Shape are definded with a ClassOfExpressInformationRepresentation, , that is classified with a ClassOfClassOfInformationRepresentation, that defines the rules, language and/or format.</Description>
	<Example>The shape of a Circular Flat Washer is defined in ISO 15926 Part 3 code.</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>TemplateForShapeOfClass</SubClassOf><Definition>Any member of the shape [hasShape] is represented by [hasRepresentation], that complies with the requirements of [hasRepresentationType].</Definition><ScopeNote/><AdminNote/><LiftedAndLoweredGraph>CL-SHAPE-400-20230228.png</LiftedAndLoweredGraph>
	<LiftedTemplate>
	    	<LiftedTemplateElements><Ref>1</Ref>
	    		<URI>dm:Shape</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:Classification</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>5</Ref><URI>dm:ClassOfTemporalWholePart</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>6</Ref><URI>dm:Shape</URI></LiftedTemplateElements><LiftedTemplateElements><Ref>7</Ref><URI>dm:ClassOfDefinition</URI></LiftedTemplateElements></LiftedTemplate>
	<PropertiesOfLoweredTemplate>



  	<TemplateSignature><RoleNo>1</RoleNo><RoleName>hasShape</RoleName><RoleObjectType>dm:Shape</RoleObjectType><RoleExample>use ID for 'P3_Circular Flat Washer' from local RDL extension</RoleExample></TemplateSignature><TemplateSignature><RoleNo>2</RoleNo><RoleName>hasRepresentation</RoleName><RoleObjectType>dm:ClassOfExpressInformationRepresentation</RoleObjectType><RoleExample>Enter UUID of instance of DetailingOfInformationRepresentation</RoleExample></TemplateSignature><TemplateSignature><RoleNo>3</RoleNo><RoleName>hasRepresentationType</RoleName><RoleObjectType>dm:ClassOfClassOfInformationRepresentation</RoleObjectType><RoleExample/></TemplateSignature></PropertiesOfLoweredTemplate>
	<LoweredTemplateOWLcode>
    		<![CDATA[
		]]>
 	 </LoweredTemplateOWLcode>
	<LoweredTemplateFOLcode><![CDATA[DefinitionOfShapeRepresentation(hasShape, hasRepresentation) <->
Shape(hasShape) &
ClassOfExpressInformationRepresentation(hasRepresentation) &
ClassOfClassOfInformationRepresentation(hasRepresentationType) &
ClassificationTemplate(hasRepresentation, hasRepresentationType) &
exists u1(
      ClassOfTemporalWholePartTemplate(u1, hasShape) &
      Shape(u1) &
      ClassOfDefinitionTemplate(hasRepresentation, u1)) .]]>
</LoweredTemplateFOLcode>

<LoweredTemplateInstanceListing>
<![CDATA[GENERIC DEFINITION

tpl:DefinitionOfShapeRepresentation
      rdfs:subClassOf dm:Template ;
      rdfs:isDefinedBy  tpl:CL-SHAPE-400.xml ;
      tpl:hasShape dm:Shape ;
      tpl:hasRepresentation dm:ClassOfExpressInformationRepresentation ;
      tpl:hasRepresentationType dm:ClassOfClassOfInformationRepresentation ;
      meta:valEffectiveDate xsd:dateTime .

# EXAMPLE - The shape of a Circular Flat Washer, defined in ISO 15926 Part 3, that complies with exrdl:R47372, that is user-defined as P3 Circular Flatwasher as an XML Literal in XML.
      
ex:215652c5-0fb9-4c5e-add8-94e3d18c4582
      rdf:type tpl:DefinitionOfShapeRepresentation ;
      tpl:hasShape ex:fa54ec70-0b78-4c1f-bfd9-eb458860eb81 ; # the ID of the declared Shape
      tpl:hasRepresentation "(ISO 15926-3 code)" ;
      tpl:hasRepresentationType exrdl:R47372 ; # user-defined requirements
      meta:valEffectiveDate "2022-11-18T14:37:00Z"^^xsd:dateTime .
]]>
</LoweredTemplateInstanceListing>
</TemplateSpecification>
