Hydrostatic Test Fluid Of ClassOfIndividual

latest update: 2017-10-23   

HydrostaticTestFluidOfClassOfIndividual

NARRATIVE

For the HYDROSTATIC TESTING of a PRESSURE RATED ARTEFACT a FLUID is being applied in the Role of TEST FLUID.

In fact a member of the tested object class and a member of the test fluid class participate in the same member of the activity class HYDROSTATIC TESTING in the Role of TESTED OBJECT and TEST FLUID respectively.

INFORMATION MODEL

SIGNATURE

tip:HydrostaticTestFluidOfClassOfIndividual

Role No

Role Variable

Description of Variable

Example of value

1

var_TestedObjectTag

Tag number of the instance of ClassOfInanimatePhysicalObject whose members shall be tested

B14-P-101

2

var_ActivityTagSuffix

User-defined suffix for the creation of a subtag for the declared instance of ClassOfActivity

-HYA

3

var_LiquidTagSuffix

User-defined suffix for the creation of a subtag for the declared instance of ClassOfCompound

-HYF

4

var_LiquidClassId

The applicable fluid type from the RDL

rdl:RDS1012769

5

var_dateTime

The effectivity xsd:dateTime of the information represented here

2017-09-10T14:57:00Z

PICK-LIST

The allowable test fluid type must be selected from Pick-list http://data.15926.org/esoc/HydrostaticTestFluidOfClassOfIndividual.var_LiquidClassId

GENERIC CODE

  

# DECLARED OBJECTS (NOTE - It is assumed that the tested object has already been declared)

 

# Declaration of testing activity class

  

:id({var_TestedObjectTag}{var_ActivityTagSuffix}) rdf:type dm:ClassOfActivity ;

    rdfs:subClassOf rdl:RDS9706787 ; # HYDROSTATIC TESTING

    rdfs:label "var_TestedObjectTagvar_ActivityTagSuffix" ;

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

 

# Declaration of test liquid class

  

:id({var_TestedObjectTag}{var_LiquidTagSuffix}) rdf:type dm:ClassOfCompound ;

    rdfs:subClassOf rdl:RDS427094 ; # LIQUID COMPOUND

    rdfs:label "var_TestedObjectTagvar_LiquidTagSuffix" ;

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

  

# TEMPLATES

  

# Participation of tested object in hydrostatic testing activity

  

:var_TemplateId1 rdf:type tpl:ClassOfParticipationDefinition ;

    tpl:hasActivityType :id({var_TestedObjectTag}{var_ActivityTagSuffix}) ; # declared hydrostatic testing activity class

    tpl:hasParticipantType :id(var_TestedObjectTag) ; # declared tested object class

    tpl:hasParticipantRole rdl:RDS2221130 ; # TESTED OBJECT

    tpl:hasCardinalityOfActivity rdl:RDS222625 ; # 1:1

    tpl:hasCardinalityOfParticipant rdl:RDS222625 ; # 1:1

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

  

# Participation of test liquid in hydrostatic testing activity

  

:var_TemplateId2 rdf:type tpl:ClassOfParticipationDefinition ;

    tpl:hasActivityType :id({var_TestedObjectTag}{var_ActivityTagSuffix}); # declared hydrostatic testing activity class

    tpl:hasParticipantType :id({var_TestedObjectTag}{ar_LiquidTagSuffix}) ; ; # declared test liquid class

    tpl:hasParticipantRole rdl:RDS2221131 ; # TEST FLUID

    tpl:hasCardinalityOfActivity rdl:RDS222624 ; # 0:1

    tpl:hasCardinalityOfParticipant rdl:RDS222625 ; # 1:1

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

  

# Defining the type of test liquid

  

:var_TemplateId3 rdf:type tpl:SpecializationByCompoundType ;

    tpl:hasSubClass :id({var_TestedObjectTag}{ar_LiquidTagSuffix}) ; # declared test liquid class

    tpl:hasSuperClass :id(var_LiquidClassId) ;

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