Skip to content

Commit

Permalink
Merge pull request #21 from julianrojas87/dev
Browse files Browse the repository at this point in the history
Fix for #19 and better URI strategy
  • Loading branch information
julianrojas87 authored Jan 28, 2021
2 parents 62d4301 + dc1a307 commit 463e27f
Show file tree
Hide file tree
Showing 19 changed files with 2,610 additions and 2,314 deletions.
41 changes: 28 additions & 13 deletions mappings/internal-node-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,35 @@ variables:
referenceFormulation: &referenceFormulation csv

mappings:
internal-node-link:
internal-node-link-in-out:
sources:
- access: *host
type: *typeMSSQL
credentials: *credentials
queryFormulation: *queryFormulation
referenceFormulation: *referenceFormulation
query: SELECT TRIM(OP2.UOPID) AS UOPID, LineEdges2.ID AS INCOMING, LineEdges1.ID AS OUTGOING, LineEdges2.VersionID AS StartV, LineEdges1.VersionID AS EndV FROM RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.ID != LineEdges2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;
s: http://era.europa.eu/abstraction#INL_$(UOPID)_$(INCOMING)_$(OUTGOING)_$(StartV)
query: SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineEdges1.ID != LineEdges2.ID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;
s: http://era.europa.eu/abstraction#INL_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)
po:
- [a, era:InternalNodeLink]
- [era:bidirectional, "true", xsd:boolean]
- [era:startPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(INCOMING)_$(StartV)~iri]
- [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(OUTGOING)_$(EndV)~iri]
- [era:startPort, http://era.europa.eu/abstraction#NP_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)~iri]
- [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)~iri]

internal-node-link-out-in:
sources:
- access: *host
type: *typeMSSQL
credentials: *credentials
queryFormulation: *queryFormulation
referenceFormulation: *referenceFormulation
query: SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND Tracks2.ID != Tracks1.ID AND LineEdges2.LineNodeStartID = LineNodes2.ID AND LineEdges1.LineNodeEndID = LineNodes1.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;
s: http://era.europa.eu/abstraction#INL_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)
po:
- [a, era:InternalNodeLink]
- [era:bidirectional, "true", xsd:boolean]
- [era:startPort, http://era.europa.eu/abstraction#NP_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)~iri]
- [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)~iri]

internal-node-link-no-out:
sources:
Expand All @@ -35,13 +50,13 @@ mappings:
credentials: *credentials
queryFormulation: *queryFormulation
referenceFormulation: *referenceFormulation
query: SELECT TRIM(OP1.UOPID) AS UOPID, LineEdges1.ID AS Line1, LineEdges2.ID AS Line2, LineEdges1.VersionID AS StartV, LineEdges2.VersionID AS EndV FROM RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeEndID = LineNodes1.ID AND LineEdges1.ID != LineEdges2.ID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;
s: http://era.europa.eu/abstraction#INL_$(UOPID)_$(Line1)_$(Line2)_$(StartV)
query: SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND Tracks2.ID != Tracks1.ID AND LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeEndID = LineNodes1.ID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;
s: http://era.europa.eu/abstraction#INL_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)
po:
- [a, era:InternalNodeLink]
- [era:bidirectional, "true", xsd:boolean]
- [era:startPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(Line1)_$(StartV)~iri]
- [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(Line2)_$(EndV)~iri]
- [era:startPort, http://era.europa.eu/abstraction#NP_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)~iri]
- [era:endPort, http://era.europa.eu/abstraction#NP_$(OUTGOING_REMOTE_OP)_$(OUTGOING)_$(UOPID)~iri]

internal-node-link-no-in:
sources:
Expand All @@ -50,10 +65,10 @@ mappings:
credentials: *credentials
queryFormulation: *queryFormulation
referenceFormulation: *referenceFormulation
query: SELECT TRIM(OP1.UOPID) AS UOPID, LineEdges1.ID AS Line1, LineEdges2.ID AS Line2, LineEdges1.VersionID AS StartV, LineEdges2.VersionID AS EndV FROM RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE LineEdges2.LineNodeStartID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.ID != LineEdges2.ID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID ORDER BY OP2.UOPID;
s: http://era.europa.eu/abstraction#INL_$(UOPID)_$(Line1)_$(Line2)_$(StartV)
query: SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND Tracks2.ID != Tracks1.ID AND LineEdges2.LineNodeStartID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID
s: http://era.europa.eu/abstraction#INL_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)
po:
- [a, era:InternalNodeLink]
- [era:bidirectional, "true", xsd:boolean]
- [era:startPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(Line1)_$(StartV)~iri]
- [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(Line2)_$(EndV)~iri]
- [era:startPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(INCOMING)_$(INCOMING_REMOTE_OP)~iri]
- [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)~iri]
3 changes: 1 addition & 2 deletions mappings/keepers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ prefixes:
rdfs: "http://www.w3.org/2000/01/rdf-schema#"
schema: "https://schema.org/"
era: "http://era.europa.eu/ns#"
era-manufacturers: "http://era.europa.eu/manufacturers#"
xsd: "http://www.w3.org/2001/XMLSchema#"

mappings:
manufacturer:
keeper:
sources:
- ["data/wagons_rsdr.csv~csv"]
s: http://era.europa.eu/keepers#$(Keeper)
Expand Down
42 changes: 42 additions & 0 deletions mappings/line-national-ids.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
prefixes:
idlab-fn: "http://example.com/idlab/function/"
grel: "http://users.ugent.be/~bjdmeest/function/grel.ttl#"
eu-country: "http://publications.europa.eu/resource/authority/country/"
rdfs: "http://www.w3.org/2000/01/rdf-schema#"
era: "http://era.europa.eu/ns#"
xsd: "http://www.w3.org/2001/XMLSchema#"
variables:
connection:
access: &host //10.10.160.21:1433
type: &typeMSSQL mssql
credentials: &credentials
username: SA
password: ChooChoo2020
queryFormulation: &queryFormulation sql2008
referenceFormulation: &referenceFormulation csv

mappings:
line-national-ids:
sources:
- access: *host
type: *typeMSSQL
credentials: *credentials
queryFormulation: *queryFormulation
referenceFormulation: *referenceFormulation
query: SELECT DISTINCT UICLines.UICCode, MemberStates.Code FROM RINF.dbo.UICLines, RINF.dbo.MemberStates, RINF.dbo.MemberStateVersions WHERE UICLines.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID;
s: http://era.europa.eu/implementation#LNI_$(UICCode)
po:
- [a, era:LineNationalId]
- [rdfs:label, $(UICCode)]
- p: era:inCountry
o:
- mapping: eu-country
condition:
function: equal
parameters:
- [str1, $(Code)]
- [str2, $(code)]
eu-country:
sources:
- ["data/countries.csv~csv"]
s: $(eu)
18 changes: 9 additions & 9 deletions mappings/micro-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,48 +22,48 @@ mappings:
credentials: *credentials
queryFormulation: *queryFormulation
referenceFormulation: *referenceFormulation
query: SELECT SectionOfLines.ID, SOLTracks.TrackID, LineEdges.ID AS LineEdgeID, LineEdges.VersionID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS Direction FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.LookupValues WHERE LineEdges.ID=SectionOfLines.LineEdgeID AND LineEdges.VersionID=SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID=SectionOfLines.VersionID AND SOLTracks.Direction = LookupValues.ID;
s: http://era.europa.eu/abstraction#ML_$(ID)_$(VersionID)_$(TrackID)
query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS Direction FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.Tracks, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.Direction = LookupValues.ID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;
s: http://era.europa.eu/abstraction#ML_$(FROM_NODE)_$(UUID)_$(TO_NODE)
po:
- [a, era:MicroLink]
- [era:hasImplementation, http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID)~iri]
- [era:hasImplementation, http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE)~iri]
- p: era:startPort
o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(LineEdgeID)_$(VersionID)~iri
o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(UUID)_$(TO_NODE)~iri
condition:
function: idlab-fn:equal
parameters:
- [grel:valueParameter, $(Direction)]
- [grel:valueParameter2, "N"]
- p: era:startPort
o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(LineEdgeID)_$(VersionID)~iri
o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(UUID)_$(TO_NODE)~iri
condition:
function: idlab-fn:equal
parameters:
- [grel:valueParameter, $(Direction)]
- [grel:valueParameter2, "B"]
- p: era:startPort
o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(LineEdgeID)_$(VersionID)~iri
o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(UUID)_$(FROM_NODE)~iri
condition:
function: idlab-fn:equal
parameters:
- [grel:valueParameter, $(Direction)]
- [grel:valueParameter2, "O"]
- p: era:endPort
o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(LineEdgeID)_$(VersionID)~iri
o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(UUID)_$(FROM_NODE)~iri
condition:
function: idlab-fn:equal
parameters:
- [grel:valueParameter, $(Direction)]
- [grel:valueParameter2, "N"]
- p: era:endPort
o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(LineEdgeID)_$(VersionID)~iri
o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(UUID)_$(FROM_NODE)~iri
condition:
function: idlab-fn:equal
parameters:
- [grel:valueParameter, $(Direction)]
- [grel:valueParameter2, "B"]
- p: era:endPort
o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(LineEdgeID)_$(VersionID)~iri
o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(UUID)_$(TO_NODE)~iri
condition:
function: idlab-fn:equal
parameters:
Expand Down
Loading

0 comments on commit 463e27f

Please sign in to comment.