TIP0010 - Definition of ClassOfRelationshipWithSignature - dual participation

latest update: 2017-01-31    

TIP0010C- Definition of ClassOfRelationshipWithSignature - dual participation

NARRATIVE

OtherRelationship needs to be classified in order to define its meaning.

This TIP shall be used with great care in order to warrant proper mapping by the recipient of the information. The scope is, in fact, endless, because everything can be linked to everything else, be it that, at times, the semantics may be unclear.

This TIP requires extensive usage of many picklists that are an excerpt of the RDL and/or a local extension thereof.

Both related instances of ClassOfPhysicalObject are participating in the ClassOfActivity (that is: their members can physically participate in any member Activity)

SIGNATURE

NOTE - The cardinality of Participant1 indicates in how many instances of OtherRelationship, that are members of this "ClassOfOtherRelationship" (actually called ClassOfRelationshipWithSignature in Part 2), Participant1 can play its role in at the same time. This information can be used to avoid that too many (or too few) instances involve that participant.

PICKLISTS (compose per application based on the RDL or local extension thereof)

Select var_Activity from an Activity picklist

Select var_Participant1 and var_Participant2 from a PhysicalObject picklist, or subdivisions thereof like Person picklist, Organization picklist, etc

Select var_Participant1Role and var_Participant2Role from a Role picklist

Select var_Participant1Card and var_Participant2Card from a Cardinality picklist

 

GENERATED CODE

  

# DECLARED OBJECT

  

# Declaration of defined instance of ClassOfRelationshipWithSignature

  

<TGUID1> rdf:type dm:ClassOfRelationshipWithSignature ;

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

<TGUID2> rdf:type tpl:ClassifiedIdentificationOfClassOfIndividual ;

    tpl:hasIdentified <TGUID1>;

    tpl:valIdentifier "var_IdentOfOOI" ;

    tpl:hasIdentificationType <var_IdentType> ; # from picklist

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

  

# TEMPLATE

  

<TGUID3> rdf:type tpl:ClassOfOtherRelationshipWithDualParticipation ;

    tpl:hasParticipantType1 <var_Participant1> ;

    tpl:hasRoleOfParticipant1 <var_Participant1Role> ;

    tpl:hasActivityType <var_Activity> ;

    tpl:hasParticipantType2 <var_Participant2> ;

    tpl:hasRoleOfParticipant2 <var_Participant2Role> ;

    tpl:hasCardinalityOfParticipant1 <var_Participant1Card> ;

    tpl:hasCardinalityOfParticipant2 <var_Participant2Card> ;

    tpl:hasDefined <TGUID1> ;

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

MAPPING TO TRIPLES

<TGUID1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.15926.org/dm/ClassOfRelationshipWithSignature> .

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

 

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

<TGUID2> <http://data.15926.org/tpl/hasIdentified> <TGUID1> .

<TGUID2> <http://data.15926.org/tpl/valIdentifier> "var_IdentOfOOI" .

<TGUID2> <http://data.15926.org/tpl/hasIdentificationType> <var_IdentType> .

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

 

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

<TGUID3> <http://data.15926.org/tpl/hasParticipantType1> <var_Participant1> .

<TGUID3> <http://data.15926.org/tpl/hasRoleOfParticipant1> <var_Participant1Role> .

<TGUID3> <http://data.15926.org/tpl/hasActivityType> <var_Activity> .

<TGUID3> <http://data.15926.org/tpl/hasParticipantType2> <var_Participant2> .

<TGUID3> <http://data.15926.org/tpl/hasRoleOfParticipant2> <var_Participant2Role> .

<TGUID3> <http://data.15926.org/tpl/hasCardinalityOfParticipant1> <var_Participant1Card> .

<TGUID3> <http://data.15926.org/tpl/hasCardinalityOfParticipant2> <var_Participant2Card> .

<TGUID3> <http://data.15926.org/tpl/hasDefined> <TGUID1> .

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