Mapping of a functional design of a control loop

latest update 2022-10-31  

Introduction

Functional design of a control loop is based on instances of dm:FunctionalObject:

The loop

The following combined instrument loop will be mapped:

The functions have acronyms that are defined in the RDL (search for FUNCTION(math)

The way these function blocks are defined and used is as follows:

This can be shown with lowered templates:

where the user can design a template for each type of function.

Declarations

Returning to the mapping of the instrument loop, first all participants are declared:

Then the templates:

Listing

The result of the mapping is shown below.

@prefix : <http://www.p1234.xyz-corp.com/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dm: <http://data.15926.org/dm> .
@prefix lci: <http://data.15926.org/lci> .
@prefix meta: <http://data.15926.org/meta/> .
@prefix tpl: <http://data.15926.org/tpl/> .
@prefix rdl: <http://data.15926.org/rdl/> .
@prefix xyzrdl: <http://www.rdl.xyz-corp.com/> . # local RDL extension

#    ///////////////////////////////////////////
#    //
#    // THIS ONTOLOGY REPRESENTS A CONTROL LOOP
#    //
#    ///////////////////////////////////////////
#   ////////////////////////////////////
#   //
#   // Declarations of control functions
#   //
#   ////////////////////////////////////

# Declaration of FT-5703
:d7afd22a-afee-4e62-ba42-9dcfd0b59740 rdf:type lci:FunctionalObject, rdl:RDS11566095 ; # FUNCTION IN-A
    rdfs:label "FT-5703" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FIC-5703
:08e4a5f9-45a5-4e31-adcc-97fd51900052 rdf:type lci:FunctionalObject, rdl:RDS11566815 ; # FUNCTION CS
    rdfs:label "FIC-5703" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FPV-5703
:1b2be583-937f-44d5-b5fa-bd07bf2b7e5b rdf:type lci:FunctionalObject, rdl:RDS11564745 ; # FUNCTION OUT-A
    rdfs:label "FPV-5703" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FY-5703
:ed675119-69ba-445b-a8fd-caf7ddf109ba rdf:type lci:FunctionalObject, rdl:RDS11566950 ; # FUNCTION ADD
    rdfs:label "FY-5703" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FSL-5703
:62a7cce8-b558-4fea-ba89-a1ae13cceeb4 rdf:type lci:FunctionalObject, rdl:RDS11566590 ; # FUNCTION C
    rdfs:label "FSL-5703" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FT-5705
:61fa4d5a-f6fd-425c-a670-e7516a1dc873 rdf:type lci:FunctionalObject, rdl:RDS11566095 ; # FUNCTION IN-A
    rdfs:label "FT-5705" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FIC-5705
:38fb3b10-c49f-4b5e-a5b7-f120392d5ab8 rdf:type lci:FunctionalObject, rdl:RDS11566815 ; # FUNCTION CS
    rdfs:label "FIC-5705" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FPV-5705
:00131102-7ad7-4fbe-acfa-44b2004c53e2 rdf:type lci:FunctionalObject, rdl:RDS11564745 ; # FUNCTION OUT-A
    rdfs:label "FPV-5705" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

#   ////////////////////////////////////
#   //
#   // Declarations of ports
#   //
#   ////////////////////////////////////
# Declaration of FT-5703-O
:b3504678-eae6-4004-8c2b-66b1a5ad40a3 rdf:type lci:FunctionalObject, rdl:RDS2229078 ; # SIGNAL OUTPUT PORT
    rdfs:label "FT-5703-O" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FIC-5703-I
:b105acbe-f8f9-410a-8a15-aece6fbf5e59 rdf:type lci:FunctionalObject, rdl:RDS2229077 ; # SIGNAL INPUT PORT
    rdfs:label "FIC-5703-I" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FIC-5703-O
:c838f0a9-13df-4660-baed-019f421178da rdf:type lci:FunctionalObject, rdl:RDS2229078 ; # SIGNAL OUTPUT PORT
    rdfs:label "FIC-5703-O" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FPV-5703-I
:4aa5d22b-86f0-484d-a8bb-25d1706a28ce rdf:type lci:FunctionalObject, rdl:RDS2229077 ; # SIGNAL INPUT PORT
    rdfs:label "FPV-5703-I" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FY-5703-I1
:be5f6ba3-a9c3-4e35-b64e-09cb7795bbab rdf:type lci:FunctionalObject, rdl:RDS2229077 ; # SIGNAL INPUT PORT
    rdfs:label "FY-5703-I1" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FY-5703-I2
:629489a5-b573-4f0d-abeb-d3f53349a1f5 rdf:type lci:FunctionalObject, rdl:RDS2229077 ; # SIGNAL INPUT PORT
    rdfs:label "FY-5703-I2" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FY-5703-O
:a9eb1b8f-9277-4c45-9949-527401caab2b rdf:type lci:FunctionalObject, rdl:RDS2229078 ; # SIGNAL OUTPUT PORT
    rdfs:label "FY-5703-O" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FSL-5703-I
:a60a7cd4-117a-4d5e-8dd9-8b4f869c653b rdf:type lci:FunctionalObject, rdl:RDS2229077 ; # SIGNAL INPUT PORT
    rdfs:label "FSL-5703-I" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FT-5705-O
:161073bb-7df6-4be3-b900-f46ad2fc1cb1 rdf:type lci:FunctionalObject, rdl:RDS2229078 ; # SIGNAL OUTPUT PORT
    rdfs:label "FT-5705-O" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FIC-5705-I
:87b60658-73d6-4fb4-8eb1-abf30a58d655 rdf:type lci:FunctionalObject, rdl:RDS2229077 ; # SIGNAL INPUT PORT
    rdfs:label "FIC-5705-I" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FIC-5705-O
:76c6a256-27b6-4927-9abf-3a47f05ca679 rdf:type lci:FunctionalObject, rdl:RDS2229078 ; # SIGNAL OUTPUT PORT
    rdfs:label "FIC-5705-O" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of FPV-5705-I
:bbd866f5-6361-4e6e-871e-760333621ce6 rdf:type lci:FunctionalObject, rdl:RDS2229077 ; # SIGNAL INPUT PORT
    rdfs:label "FPV-5705-I" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

#   ////////////////////////////////////
#   //
#   // Declarations of signals
#   //
#   ////////////////////////////////////

# Declaration of signal F-5703-1
:6be24b6a-1386-409f-8e3c-ebb24c3bf79e rdf:type lci:InformationObject, rdl:RDS8499820 ; # ANALOGUE SIGNAL
    rdfs:label "F-5703-1" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of signal F-5703-2
:71d1d363-23dc-4789-980d-dc07620fb4fc rdf:type lci:InformationObject, rdl:RDS8499820 ; # ANALOGUE SIGNAL
    rdfs:label "F-5703-2" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of signal F-5703-3
:1f287f15-1478-44d3-8672-dda867096bc2 rdf:type lci:InformationObject, rdl:RDS8499820 ; # ANALOGUE SIGNAL
    rdfs:label "F-5703-3" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of signal F-5705-1
:648b810c-4873-4bbd-b2b6-854183fa84f8 rdf:type lci:InformationObject, rdl:RDS8499820 ; # ANALOGUE SIGNAL
    rdfs:label "F-5705-1" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

# Declaration of signal F-5705-2
:827008ab-f633-4230-abf5-f9907d9ebf16 rdf:type lci:InformationObject, rdl:RDS8499820 ; # ANALOGUE SIGNAL
    rdfs:label "F-5705-2" ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

#   ////////////////////////////////////
#   //
#   // Ports belong to Control Functions
#   //
#   ////////////////////////////////////

:22c745d6-4606-48ef-9d29-0221617ac868 rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :d7afd22a-afee-4e62-ba42-9dcfd0b59740 ; # FT-5703
    tpl:hasPart :b3504678-eae6-4004-8c2b-66b1a5ad40a3 ; # FT-5703-O
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:b52ffb97-36a4-4270-8187-c1b25561c05f rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :08e4a5f9-45a5-4e31-adcc-97fd51900052 ; # FIC-5703
    tpl:hasPart :b105acbe-f8f9-410a-8a15-aece6fbf5e59 ; # FIC-5703-I
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:de3eb018-57f7-493a-a53c-c8c258fab3bb rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :08e4a5f9-45a5-4e31-adcc-97fd51900052 ; # FIC-5703
    tpl:hasPart :c838f0a9-13df-4660-baed-019f421178da ; # FIC-5703-O
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:335e332e-8e33-430c-83f6-be6a9bd81c7f rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :1b2be583-937f-44d5-b5fa-bd07bf2b7e5b ; # FPV-5703
    tpl:hasPart :4aa5d22b-86f0-484d-a8bb-25d1706a28ce ; # FPV-5703-I
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:48bca0db-8103-40db-8d0c-cedc82e8b379 rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :ed675119-69ba-445b-a8fd-caf7ddf109ba ; # FY-5703
    tpl:hasPart :be5f6ba3-a9c3-4e35-b64e-09cb7795bbab ; # FY-5703-I1
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:e6bc529b-9c04-4a06-854e-cf988508bf89 rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :ed675119-69ba-445b-a8fd-caf7ddf109ba ; # FY-5703
    tpl:hasPart :629489a5-b573-4f0d-abeb-d3f53349a1f5 ; # FY-5703-I2
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:ec27f582-a60a-4439-8462-a2cd4a2985ad rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :ed675119-69ba-445b-a8fd-caf7ddf109ba ; # FY-5703
    tpl:hasPart :a9eb1b8f-9277-4c45-9949-527401caab2b ; # FY-5703-O
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:d0f7593b-75ec-4c7b-aeb9-ecd7e3657102 rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :62a7cce8-b558-4fea-ba89-a1ae13cceeb4 ; # FSL-5703
    tpl:hasPart :a60a7cd4-117a-4d5e-8dd9-8b4f869c653b ; # FSL-5703-I
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:f5c3ed16-3b67-4d44-af67-9129d99f0b05 rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :61fa4d5a-f6fd-425c-a670-e7516a1dc873 ; # FT-5705
    tpl:hasPart :161073bb-7df6-4be3-b900-f46ad2fc1cb1 ; # FT-5705-O
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:efbc505e-52d3-4ad5-a2fa-b57558b1fea0 rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :38fb3b10-c49f-4b5e-a5b7-f120392d5ab8 ; # FIC-5705
    tpl:hasPart :87b60658-73d6-4fb4-8eb1-abf30a58d655 ; # FIC-5705-I
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:3979bb32-91b4-4c86-a812-2869d4612e62 rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :38fb3b10-c49f-4b5e-a5b7-f120392d5ab8 ; # FIC-5705
    tpl:hasPart :76c6a256-27b6-4927-9abf-3a47f05ca679 ; # FIC-5705-O
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:a0d84064-285e-4da4-8ec3-43d6a391a85f rdf:type tpl:AssemblyOfAnIndividual ;
    tpl:hasWhole :00131102-7ad7-4fbe-acfa-44b2004c53e2 ; # FPV-5705
    tpl:hasPart :bbd866f5-6361-4e6e-871e-760333621ce6 ; # FPV-5705-I
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

#   ////////////////////////////////////////////////////////
#   //
#   // Source and Destination of Streams of InformationObject
#   //
#   ////////////////////////////////////////////////////////

:7a3c0a24-c966-4229-a94b-a4aeafce9741 rdf:type tpl:StreamHasSource ;
    tpl:hasStream :6be24b6a-1386-409f-8e3c-ebb24c3bf79e ; # F-5703-1
    tpl:hasSource :b3504678-eae6-4004-8c2b-66b1a5ad40a3 ; # FT-5703-O
    tpl:hasRelationshipType rdl:RDS2229028 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:9a5726cf-5a5d-4e68-8973-0c526301c05e rdf:type tpl:StreamHasDestination ;
    tpl:hasStream :6be24b6a-1386-409f-8e3c-ebb24c3bf79e ; # F-5703-1
    tpl:hasDestination :b105acbe-f8f9-410a-8a15-aece6fbf5e59 ; # FIC-5703-I
    tpl:hasRelationshipType rdl:RDS2229029 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:21a78f92-12e0-4947-b7e0-9671b6d6545b rdf:type tpl:StreamHasDestination ;
    tpl:hasStream :6be24b6a-1386-409f-8e3c-ebb24c3bf79e ; # F-5703-1
    tpl:hasDestination :be5f6ba3-a9c3-4e35-b64e-09cb7795bbab ; # FY-5703-I1
    tpl:hasRelationshipType rdl:RDS2229029 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:ed5878eb-e156-4a47-b10e-f48ff44ace82 rdf:type tpl:StreamHasSource ;
    tpl:hasStream :71d1d363-23dc-4789-980d-dc07620fb4fc ; # F-5703-2
    tpl:hasSource :c838f0a9-13df-4660-baed-019f421178da ; # FIC-5703-O
    tpl:hasRelationshipType rdl:RDS2229028 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:b15fec0f-edd3-4a5c-ba50-ede97eef149e rdf:type tpl:StreamHasDestination ;
    tpl:hasStream :71d1d363-23dc-4789-980d-dc07620fb4fc ; # F-5703-2
    tpl:hasDestination :4aa5d22b-86f0-484d-a8bb-25d1706a28ce ; # FPV-5703-I
    tpl:hasRelationshipType rdl:RDS2229029 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:67b15c86-0026-4003-b6c3-4ea7d962c839 rdf:type tpl:StreamHasSource ;
    tpl:hasStream :1f287f15-1478-44d3-8672-dda867096bc2 ; # F-5703-3
    tpl:hasSource :a9eb1b8f-9277-4c45-9949-527401caab2b ; # FY-5703-O
    tpl:hasRelationshipType rdl:RDS2229028 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:7b43f435-0e8d-43d9-88b3-b66ede8dcadb rdf:type tpl:StreamHasDestination ;
    tpl:hasStream :1f287f15-1478-44d3-8672-dda867096bc2 ; # F-5703-3
    tpl:hasDestination :a60a7cd4-117a-4d5e-8dd9-8b4f869c653b ; # FSL-5703-I
    tpl:hasRelationshipType rdl:RDS2229029 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:2a900b49-b5ad-425d-9c76-ad2c4d92ac6a rdf:type tpl:StreamHasSource ;
    tpl:hasStream :648b810c-4873-4bbd-b2b6-854183fa84f8 ; # F-5705-1
    tpl:hasSource :161073bb-7df6-4be3-b900-f46ad2fc1cb1 ; # FT-5705-O
    tpl:hasRelationshipType rdl:RDS2229028 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:dedb84a4-dedb-45b5-8e76-9865849cac83 rdf:type tpl:StreamHasDestination ;
    tpl:hasStream :648b810c-4873-4bbd-b2b6-854183fa84f8 ; # F-5705-1
    tpl:hasDestination :629489a5-b573-4f0d-abeb-d3f53349a1f5 ; # FY-5703-I2
    tpl:hasRelationshipType rdl:RDS2229029 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:b22e5113-ccdf-4597-9612-957e311d632a rdf:type tpl:StreamHasDestination ;
    tpl:hasStream :648b810c-4873-4bbd-b2b6-854183fa84f8 ; # F-5705-1
    tpl:hasDestination :87b60658-73d6-4fb4-8eb1-abf30a58d655 ; # FIC-5705-I
    tpl:hasRelationshipType rdl:RDS2229029 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:79fc9943-4349-4024-b562-8aca285cca90 rdf:type tpl:StreamHasSource ;
    tpl:hasStream :827008ab-f633-4230-abf5-f9907d9ebf16 ; # F-5705-2
    tpl:hasSource :76c6a256-27b6-4927-9abf-3a47f05ca679 ; # FIC-5705-O
    tpl:hasRelationshipType rdl:RDS2229028 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .

:fcaf2b87-1490-42cf-be6f-c918ca14ce4f rdf:type tpl:StreamHasDestination ;
    tpl:hasStream :827008ab-f633-4230-abf5-f9907d9ebf16 ; # F-5705-2
    tpl:hasDestination :bbd866f5-6361-4e6e-871e-760333621ce6 ; # FPV-5705-I
    tpl:hasRelationshipType rdl:RDS2229029 ;
    meta:valEffectiveDate "2013-09-15T13:29:00Z"^^xsd:dateTime .