Skip to content

Commit

Permalink
Added network segment map
Browse files Browse the repository at this point in the history
  • Loading branch information
daghovland committed Aug 21, 2024
1 parent 0c913be commit 69fa106
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ dexpi.properties
pandid.xml
pandid.trig
imf-ontology.owl.ttl
rml/segments.trig
client/.idea
2 changes: 2 additions & 0 deletions owl/dexpi.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ dexpi:Equipment rdf:type owl:Class ;
rdfs:subClassOf dexpi:PipingOrEquipment .
dexpi:Nozzle rdf:type owl:Class ;
rdfs:subClassOf dexpi:PipingOrEquipment .
dexpi:PipingNetworkSegment rdf:type owl:Class ;
rdfs:subClassOf dexpi:PipingOrEquipment .

### Generated by the OWL API (version 4.5.26.2023-07-17T20:34:13Z) https://github.com/owlcs/owlapi
30 changes: 16 additions & 14 deletions rml/piping-network-segment-map.rml.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,22 @@
rr:class "https://rdf.equinor.com/dexpi#PipingNetworkSegment", "http://ns.imfid.org/imf#Connector, http://ns.imfid.org/imf#Block";
].

# :PipingNetworkSegmentMap rr:predicateObjectMap [
# rr:predicate imf:connectedTo;
# rr:objectMap [
# rr:template "https://assetid.equinor.com/plantx#{Connection/@FromID}";
# rr:termType rr:IRI
# ];
# ],
# [
# rr:predicate imf:connectedTo;
# rr:objectMap [
# rr:template "https://assetid.equinor.com/plantx#{Connection/@ToID}";
# rr:termType rr:IRI
# ];
# ] .
:PipingNetworkSegmentMap rr:predicateObjectMap [
rr:predicate imf:connectedTo;
rr:objectMap [
rr:template "https://assetid.equinor.com/plantx#{Connection/@FromID}";
rr:termType rr:IRI
];
rr:predicate imf:connectedTo;
rr:objectMap [
rr:template "https://assetid.equinor.com/plantx#{Connection/@ToID}";
rr:termType rr:IRI
];
rr:predicate rdfs:label;
rr:objectMap [
rml:reference "Label/Text/@String"
]
] .


# :PipingNetworkSegmentMap rr:predicateObjectMap [
Expand Down

0 comments on commit 69fa106

Please sign in to comment.