TIP2400 - A Document refers to an Object

latest update: 2017-02-05    

TIP2400 - A Document refers to an Object

General

On a Document a reference is made to an Object (class of individual). Both must have been declared already with TIP0001.

EXAMPLE - Pump with tag number B14-P101 is referred to on P&ID BM34723-rev2 .

NOTE 1 - Don't count on inheritance here and create this TIP for each revision of the Document.

NOTE 2 - This relationship is important for a coupling between lifecycle information and documents stored in an EDMS.

INPUT

The Document-(sheet)-revision number  is: var_IdentOfOOI1

The human-readable identifier (e.g. tag number) of the referred Object is: var_IdentOfOOI2

 


TIP2400C - A Document refers to a PhysicalObject class

NARRATIVE

On a Document a reference is made to an instance of a subtype of ClassOfPhysicalObject. Both have been declared already with TIP0001.

SIGNATURE

 

GENERATED CODE

  

# DECLARED OBJECTS

  

# Fetch CGUID1 of the referred ClassOfIndividual against var_IdentOfOOI1 and CGUID2 of the document against var_IdentOfOOI2

  

TEMPLATE

  

<TGUID3> rdf:type tpl:ReferenceToClassOfIndividualOnDocument ;

         tpl:hasReferred <CGUID1(var_IdentOfOOI1)> ;

         tpl:hasDocument <CGUID2(var_IdentOfOOI2)> ;

         meta:valEffectiveDate "var_dateTime"^^xsd:dateTime .

 

MAPPING TO TRIPLES 

   

<TGUID3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.15926.org/tpl/ReferenceToClassOfIndividualOnDocument> .

<TGUID3> <http://data.15926.org/tpl/hasReferred> <CGUID1(var_IdentOfOOI1)> .

<TGUID3> <http://data.15926.org/tpl/hasDocument> <CGUID2(var_IdentOfOOI2)> .

<TGUID3> <http://data.15926.org/meta/valEffectiveDate> "var_dateTime"^^<http://www.w3.org/2001/XMLSchema#dateTime> .

  


TIP2400T - A Document refers to individual PhysicalObject

NARRATIVE

On a Document a reference is made to an instance of PossibleIndividual. Both have been declared already with TIP0001.

SIGNATURE

 

GENERATED CODE

  

# DECLARED OBJECTS

  

# Fetch TGUID1 of the referred Individual against var_IdentOfOOI1 and TGUID2 of the document against var_IdentOfOOI2

  

TEMPLATE

  

<TGUID3> rdf:type tpl:ReferenceToIndividualOnDocument ;

         tpl:hasReferred <TGUID1(var_IdentOfOOI1)> ;

         tpl:hasDocument <TGUID2(var_IdentOfOOI2)> ;

         meta:valEffectiveDate "var_dateTime"^^xsd:dateTime .

 

MAPPING TO TRIPLES 

   

<TGUID3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.15926.org/tpl/ReferenceToIndividualOnDocument> .

<TGUID3> <http://data.15926.org/tpl/hasReferred> <TGUID1(var_IdentOfOOI1)> .

<TGUID3> <http://data.15926.org/tpl/hasDocument> <TGUID2(var_IdentOfOOI2)> .

<TGUID3> <http://data.15926.org/meta/valEffectiveDate> "var_dateTime"^^<http://www.w3.org/2001/XMLSchema#dateTime> .