Skip to content

Commit 57cc0a4

Browse files
committed
Fix isFundedBy Fund identifier instantiation
Identifiers of funds from more than one Lot would be taken for all of the funds. A join condition fixes this. See 227801-2025.xml (CN v1.13). Affects an older mapping/field although relevant for files of the latest SDK.
1 parent cf244b1 commit 57cc0a4

34 files changed

Lines changed: 272 additions & 136 deletions

File tree

mappings/package_can_v1.10/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

mappings/package_can_v1.11/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

mappings/package_can_v1.12/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

mappings/package_can_v1.13/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

mappings/package_can_v1.3/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

mappings/package_can_v1.4/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

mappings/package_can_v1.5/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

mappings/package_can_v1.6/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

mappings/package_can_v1.7/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

mappings/package_can_v1.8/transformation/mappings/Lot.rml.ttl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,13 +2070,17 @@ tedm:MG-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20702070
rr:predicateObjectMap
20712071
[
20722072
rdfs:label "BT-5010-Lot";
2073-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2073+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
20742074
rr:predicate adms:identifier ;
20752075
rr:objectMap
20762076
[
2077-
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding;
2077+
rr:parentTriplesMap tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding ;
2078+
rr:joinCondition [
2079+
rr:child "path()" ;
2080+
rr:parent "path()" ;
2081+
] ;
20782082
] ;
2079-
];
2083+
] ;
20802084
.
20812085

20822086
tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
@@ -2097,7 +2101,7 @@ tedm:MG-Identifier-identifier-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
20972101
[
20982102
tedm:minSDKVersion "1.9.1" ;
20992103
rdfs:label "BT-5010-Lot";
2100-
rdfs:comment "EUFundsFinancingIdentifier of MG-Identifierunder ND-Funding";
2104+
rdfs:comment "EU Funds Financing Identifier of MG-Identifierunder ND-Funding";
21012105
rr:predicate skos:notation ;
21022106
rr:objectMap
21032107
[

0 commit comments

Comments
 (0)