Skip to content

Commit

Permalink
working, but something is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
henriettelienrebnor committed Sep 23, 2024
1 parent 95ae97a commit ba22905
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions henriteste/PropertyBreakBlock.map.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
rr:termType rr:IRI;
rr:class imf:PropertyBreak, imf:Block;
] ;
rr:predicateObjectMap [
rr:predicate imf:partOf;
rr:objectMap [
rr:template "https://assetid.equinor.com/plantx#{../@ID}";
rr:termType rr:IRI
]
] ;
rr:predicateObjectMap [
rr:predicate imf:hasTerminal;
rr:objectMap [
Expand Down
14 changes: 14 additions & 0 deletions henriteste/PropertyBreakTerminal.map.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
rr:template "https://assetid.equinor.com/plantx#{concat(@ID, '_input')}";
rr:termType rr:IRI;
rr:class imf:InputTerminal;
] ;
rr:predicateObjectMap [
rr:predicate imf:hasConnector;
rr:objectMap [
rr:template "https://assetid.equinor.com/plantx#{concat(../PipingComponent[last()]/@ID, '_connector')}";
rr:termType rr:IRI
]
] .

# Mapping to imf:OutputTerminal
Expand All @@ -34,4 +41,11 @@
rr:template "https://assetid.equinor.com/plantx#{concat(@ID, '_output')}";
rr:termType rr:IRI;
rr:class imf:OutputTerminal;
] ;
rr:predicateObjectMap [
rr:predicate imf:hasConnector;
rr:objectMap [
rr:template "https://assetid.equinor.com/plantx#{concat(@ID, '_connector')}";
rr:termType rr:IRI
]
] .

0 comments on commit ba22905

Please sign in to comment.