Skip to content

Commit d1511cb

Browse files
committed
Fix BT-67(b)-Procedure(-Language) with versioned mapping for v1.12+
There was a change in the XPath for BT-67(b)-Procedure that goes along with the vocabulary change for BT-67(a)-Procedure. This triggered a general RMLMapper error on the language mapping function, as it matched the older XPath, which expects a language tag. In such a case the notice may have failed to get through the transformation, as not all tools will be aware that output is still produced despite the error. Updating the XPath for SDK v1.12+ yields a non-match for current notices, and therefore the error will not trigger. Note that in the event there are any valid XPaths that are expected to come with a language attribute, such an error will still be generated. The underlying issue will therefore need to be solved in an appropriate way (adding guards, reporting upstream, error-handling in tools). Note: The error manifests in notices like 336207-2025 for this specific case, and some SDK v1.3 example notices for the general missing-language case. Also, the language TriplesMap has been kept in its original formatting, though not ideal, as we may need to be able to trace it back in its original form at a later time. Fixes TEDSWS-359.
1 parent 2ac9bd6 commit d1511cb

24 files changed

Lines changed: 1107 additions & 418 deletions

File tree

mappings/package_eforms_sdk1.10_epo4.0/transformation/mappings/Lot.rml.ttl

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3862,7 +3862,7 @@ tedm:MG-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a
38623862
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path()) || '?response_type=raw')}" ;
38633863
rr:class epo:ExclusionGround
38643864
] ;
3865-
# BT-67(a)-Procedure is in versioned files due to different vocabulary resource files (criterion vs. exclusion-ground v1.12+)
3865+
# BT-67(a)-Procedure and the lang TMap for (b) below are in versioned files due to different vocabulary resource files (criterion vs. exclusion-ground v1.12+) and changed XPath
38663866
# rr:predicateObjectMap
38673867
# [
38683868
# rdfs:label "BT-67(b)-Procedure";
@@ -4787,43 +4787,6 @@ tedm:MG-langString-description-EAuctionTechnique-usesTechnique-Lot_ND-AuctionTer
47874787
] ;
47884788
rdfs:label "MG-EAuctionTechnique" .
47894789

4790-
tedm:MG-langString-description-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a rr:TriplesMap ;
4791-
rml:logicalSource [
4792-
rml:source "data/source.xml" ;
4793-
rml:iterator "/*/cac:TenderingTerms/cac:TendererQualificationRequest/cac:SpecificTendererRequirement/cbc:Description" ;
4794-
rml:referenceFormulation ql:XPath ;
4795-
] ;
4796-
rr:subjectMap [
4797-
rr:class epo-not:ExclusionGround ;
4798-
rdfs:label "ND-ExclusionGrounds" ;
4799-
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path(..)) || '?response_type=raw')}" ;
4800-
] ;
4801-
rr:predicateObjectMap [
4802-
rr:predicate dct:description ;
4803-
rr:objectMap [
4804-
rml:reference "." ;
4805-
rml:languageMap [
4806-
fnml:functionValue [
4807-
rr:predicateObjectMap [
4808-
rr:predicate idlab-fn:str ;
4809-
rr:objectMap [
4810-
rml:reference "@languageID" ;
4811-
] ;
4812-
] ;
4813-
rr:predicateObjectMap tedm:idlab-fn_executes_lookup ;
4814-
rr:predicateObjectMap tedm:idlab-fn_fromColumn_code ;
4815-
rr:predicateObjectMap tedm:idlab-fn_inputFile_language ;
4816-
rr:predicateObjectMap tedm:idlab-fn_toColumn_code ;
4817-
] ;
4818-
] ;
4819-
rdfs:comment "Language of Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
4820-
rdfs:label "BT-67(b)-Procedure-Language" ;
4821-
] ;
4822-
rdfs:comment "Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
4823-
rdfs:label "BT-67(b)-Procedure" ;
4824-
] ;
4825-
rdfs:label "MG-ExclusionGround" .
4826-
48274790
tedm:MG-langString-description-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
48284791
rml:logicalSource [
48294792
rml:source "data/source.xml" ;

mappings/package_eforms_sdk1.10_epo4.0/transformation/mappings/Lot_v0-1.11.rml.ttl

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,40 @@ tedm:MG-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a
6767
] ;
6868
] ;
6969
.
70+
71+
tedm:MG-langString-description-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a rr:TriplesMap ;
72+
rml:logicalSource [
73+
rml:source "data/source.xml" ;
74+
rml:iterator "/*/cac:TenderingTerms/cac:TendererQualificationRequest/cac:SpecificTendererRequirement/cbc:Description" ;
75+
rml:referenceFormulation ql:XPath ;
76+
] ;
77+
rr:subjectMap [
78+
rr:class epo-not:ExclusionGround ;
79+
rdfs:label "ND-ExclusionGrounds" ;
80+
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path(..)) || '?response_type=raw')}" ;
81+
] ;
82+
rr:predicateObjectMap [
83+
rr:predicate dct:description ;
84+
rr:objectMap [
85+
rml:reference "." ;
86+
rml:languageMap [
87+
fnml:functionValue [
88+
rr:predicateObjectMap [
89+
rr:predicate idlab-fn:str ;
90+
rr:objectMap [
91+
rml:reference "@languageID" ;
92+
] ;
93+
] ;
94+
rr:predicateObjectMap tedm:idlab-fn_executes_lookup ;
95+
rr:predicateObjectMap tedm:idlab-fn_fromColumn_code ;
96+
rr:predicateObjectMap tedm:idlab-fn_inputFile_language ;
97+
rr:predicateObjectMap tedm:idlab-fn_toColumn_code ;
98+
] ;
99+
] ;
100+
rdfs:comment "Language of Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
101+
rdfs:label "BT-67(b)-Procedure-Language" ;
102+
] ;
103+
rdfs:comment "Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
104+
rdfs:label "BT-67(b)-Procedure" ;
105+
] ;
106+
rdfs:label "MG-ExclusionGround" .

mappings/package_eforms_sdk1.11_epo4.0/transformation/mappings/Lot.rml.ttl

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3862,7 +3862,7 @@ tedm:MG-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a
38623862
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path()) || '?response_type=raw')}" ;
38633863
rr:class epo:ExclusionGround
38643864
] ;
3865-
# BT-67(a)-Procedure is in versioned files due to different vocabulary resource files (criterion vs. exclusion-ground v1.12+)
3865+
# BT-67(a)-Procedure and the lang TMap for (b) below are in versioned files due to different vocabulary resource files (criterion vs. exclusion-ground v1.12+) and changed XPath
38663866
# rr:predicateObjectMap
38673867
# [
38683868
# rdfs:label "BT-67(b)-Procedure";
@@ -4787,43 +4787,6 @@ tedm:MG-langString-description-EAuctionTechnique-usesTechnique-Lot_ND-AuctionTer
47874787
] ;
47884788
rdfs:label "MG-EAuctionTechnique" .
47894789

4790-
tedm:MG-langString-description-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a rr:TriplesMap ;
4791-
rml:logicalSource [
4792-
rml:source "data/source.xml" ;
4793-
rml:iterator "/*/cac:TenderingTerms/cac:TendererQualificationRequest/cac:SpecificTendererRequirement/cbc:Description" ;
4794-
rml:referenceFormulation ql:XPath ;
4795-
] ;
4796-
rr:subjectMap [
4797-
rr:class epo-not:ExclusionGround ;
4798-
rdfs:label "ND-ExclusionGrounds" ;
4799-
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path(..)) || '?response_type=raw')}" ;
4800-
] ;
4801-
rr:predicateObjectMap [
4802-
rr:predicate dct:description ;
4803-
rr:objectMap [
4804-
rml:reference "." ;
4805-
rml:languageMap [
4806-
fnml:functionValue [
4807-
rr:predicateObjectMap [
4808-
rr:predicate idlab-fn:str ;
4809-
rr:objectMap [
4810-
rml:reference "@languageID" ;
4811-
] ;
4812-
] ;
4813-
rr:predicateObjectMap tedm:idlab-fn_executes_lookup ;
4814-
rr:predicateObjectMap tedm:idlab-fn_fromColumn_code ;
4815-
rr:predicateObjectMap tedm:idlab-fn_inputFile_language ;
4816-
rr:predicateObjectMap tedm:idlab-fn_toColumn_code ;
4817-
] ;
4818-
] ;
4819-
rdfs:comment "Language of Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
4820-
rdfs:label "BT-67(b)-Procedure-Language" ;
4821-
] ;
4822-
rdfs:comment "Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
4823-
rdfs:label "BT-67(b)-Procedure" ;
4824-
] ;
4825-
rdfs:label "MG-ExclusionGround" .
4826-
48274790
tedm:MG-langString-description-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
48284791
rml:logicalSource [
48294792
rml:source "data/source.xml" ;

mappings/package_eforms_sdk1.11_epo4.0/transformation/mappings/Lot_v0-1.11.rml.ttl

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,40 @@ tedm:MG-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a
6767
] ;
6868
] ;
6969
.
70+
71+
tedm:MG-langString-description-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a rr:TriplesMap ;
72+
rml:logicalSource [
73+
rml:source "data/source.xml" ;
74+
rml:iterator "/*/cac:TenderingTerms/cac:TendererQualificationRequest/cac:SpecificTendererRequirement/cbc:Description" ;
75+
rml:referenceFormulation ql:XPath ;
76+
] ;
77+
rr:subjectMap [
78+
rr:class epo-not:ExclusionGround ;
79+
rdfs:label "ND-ExclusionGrounds" ;
80+
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path(..)) || '?response_type=raw')}" ;
81+
] ;
82+
rr:predicateObjectMap [
83+
rr:predicate dct:description ;
84+
rr:objectMap [
85+
rml:reference "." ;
86+
rml:languageMap [
87+
fnml:functionValue [
88+
rr:predicateObjectMap [
89+
rr:predicate idlab-fn:str ;
90+
rr:objectMap [
91+
rml:reference "@languageID" ;
92+
] ;
93+
] ;
94+
rr:predicateObjectMap tedm:idlab-fn_executes_lookup ;
95+
rr:predicateObjectMap tedm:idlab-fn_fromColumn_code ;
96+
rr:predicateObjectMap tedm:idlab-fn_inputFile_language ;
97+
rr:predicateObjectMap tedm:idlab-fn_toColumn_code ;
98+
] ;
99+
] ;
100+
rdfs:comment "Language of Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
101+
rdfs:label "BT-67(b)-Procedure-Language" ;
102+
] ;
103+
rdfs:comment "Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
104+
rdfs:label "BT-67(b)-Procedure" ;
105+
] ;
106+
rdfs:label "MG-ExclusionGround" .

mappings/package_eforms_sdk1.12_epo4.0/transformation/mappings/Lot.rml.ttl

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3862,7 +3862,7 @@ tedm:MG-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a
38623862
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path()) || '?response_type=raw')}" ;
38633863
rr:class epo:ExclusionGround
38643864
] ;
3865-
# BT-67(a)-Procedure is in versioned files due to different vocabulary resource files (criterion vs. exclusion-ground v1.12+)
3865+
# BT-67(a)-Procedure and the lang TMap for (b) below are in versioned files due to different vocabulary resource files (criterion vs. exclusion-ground v1.12+) and changed XPath
38663866
# rr:predicateObjectMap
38673867
# [
38683868
# rdfs:label "BT-67(b)-Procedure";
@@ -4787,43 +4787,6 @@ tedm:MG-langString-description-EAuctionTechnique-usesTechnique-Lot_ND-AuctionTer
47874787
] ;
47884788
rdfs:label "MG-EAuctionTechnique" .
47894789

4790-
tedm:MG-langString-description-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a rr:TriplesMap ;
4791-
rml:logicalSource [
4792-
rml:source "data/source.xml" ;
4793-
rml:iterator "/*/cac:TenderingTerms/cac:TendererQualificationRequest/cac:SpecificTendererRequirement/cbc:Description" ;
4794-
rml:referenceFormulation ql:XPath ;
4795-
] ;
4796-
rr:subjectMap [
4797-
rr:class epo-not:ExclusionGround ;
4798-
rdfs:label "ND-ExclusionGrounds" ;
4799-
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path(..)) || '?response_type=raw')}" ;
4800-
] ;
4801-
rr:predicateObjectMap [
4802-
rr:predicate dct:description ;
4803-
rr:objectMap [
4804-
rml:reference "." ;
4805-
rml:languageMap [
4806-
fnml:functionValue [
4807-
rr:predicateObjectMap [
4808-
rr:predicate idlab-fn:str ;
4809-
rr:objectMap [
4810-
rml:reference "@languageID" ;
4811-
] ;
4812-
] ;
4813-
rr:predicateObjectMap tedm:idlab-fn_executes_lookup ;
4814-
rr:predicateObjectMap tedm:idlab-fn_fromColumn_code ;
4815-
rr:predicateObjectMap tedm:idlab-fn_inputFile_language ;
4816-
rr:predicateObjectMap tedm:idlab-fn_toColumn_code ;
4817-
] ;
4818-
] ;
4819-
rdfs:comment "Language of Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
4820-
rdfs:label "BT-67(b)-Procedure-Language" ;
4821-
] ;
4822-
rdfs:comment "Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
4823-
rdfs:label "BT-67(b)-Procedure" ;
4824-
] ;
4825-
rdfs:label "MG-ExclusionGround" .
4826-
48274790
tedm:MG-langString-description-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
48284791
rml:logicalSource [
48294792
rml:source "data/source.xml" ;

mappings/package_eforms_sdk1.12_epo4.0/transformation/mappings/Lot_v1.12+.rml.ttl

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,40 @@ tedm:MG-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a
202202
] ;
203203
] ;
204204
.
205+
206+
tedm:MG-langString-description-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a rr:TriplesMap ;
207+
rml:logicalSource [
208+
rml:source "data/source.xml" ;
209+
rml:iterator "/*/cac:TenderingTerms/cac:TendererQualificationRequest[cac:SpecificTendererRequirement/cbc:TendererRequirementTypeCode/@listName='exclusion-ground']/cac:SpecificTendererRequirement/cbc:Description" ;
210+
rml:referenceFormulation ql:XPath ;
211+
] ;
212+
rr:subjectMap [
213+
rr:class epo-not:ExclusionGround ;
214+
rdfs:label "ND-ExclusionGrounds" ;
215+
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path(..)) || '?response_type=raw')}" ;
216+
] ;
217+
rr:predicateObjectMap [
218+
rr:predicate dct:description ;
219+
rr:objectMap [
220+
rml:reference "." ;
221+
rml:languageMap [
222+
fnml:functionValue [
223+
rr:predicateObjectMap [
224+
rr:predicate idlab-fn:str ;
225+
rr:objectMap [
226+
rml:reference "@languageID" ;
227+
] ;
228+
] ;
229+
rr:predicateObjectMap tedm:idlab-fn_executes_lookup ;
230+
rr:predicateObjectMap tedm:idlab-fn_fromColumn_code ;
231+
rr:predicateObjectMap tedm:idlab-fn_inputFile_language ;
232+
rr:predicateObjectMap tedm:idlab-fn_toColumn_code ;
233+
] ;
234+
] ;
235+
rdfs:comment "Language of Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
236+
rdfs:label "BT-67(b)-Procedure-Language" ;
237+
] ;
238+
rdfs:comment "Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
239+
rdfs:label "BT-67(b)-Procedure" ;
240+
] ;
241+
rdfs:label "MG-ExclusionGround" .

mappings/package_eforms_sdk1.13_epo4.0/transformation/mappings/Lot.rml.ttl

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3862,7 +3862,7 @@ tedm:MG-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a
38623862
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path()) || '?response_type=raw')}" ;
38633863
rr:class epo:ExclusionGround
38643864
] ;
3865-
# BT-67(a)-Procedure is in versioned files due to different vocabulary resource files (criterion vs. exclusion-ground v1.12+)
3865+
# BT-67(a)-Procedure and the lang TMap for (b) below are in versioned files due to different vocabulary resource files (criterion vs. exclusion-ground v1.12+) and changed XPath
38663866
# rr:predicateObjectMap
38673867
# [
38683868
# rdfs:label "BT-67(b)-Procedure";
@@ -4787,43 +4787,6 @@ tedm:MG-langString-description-EAuctionTechnique-usesTechnique-Lot_ND-AuctionTer
47874787
] ;
47884788
rdfs:label "MG-EAuctionTechnique" .
47894789

4790-
tedm:MG-langString-description-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a rr:TriplesMap ;
4791-
rml:logicalSource [
4792-
rml:source "data/source.xml" ;
4793-
rml:iterator "/*/cac:TenderingTerms/cac:TendererQualificationRequest/cac:SpecificTendererRequirement/cbc:Description" ;
4794-
rml:referenceFormulation ql:XPath ;
4795-
] ;
4796-
rr:subjectMap [
4797-
rr:class epo-not:ExclusionGround ;
4798-
rdfs:label "ND-ExclusionGrounds" ;
4799-
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path(..)) || '?response_type=raw')}" ;
4800-
] ;
4801-
rr:predicateObjectMap [
4802-
rr:predicate dct:description ;
4803-
rr:objectMap [
4804-
rml:reference "." ;
4805-
rml:languageMap [
4806-
fnml:functionValue [
4807-
rr:predicateObjectMap [
4808-
rr:predicate idlab-fn:str ;
4809-
rr:objectMap [
4810-
rml:reference "@languageID" ;
4811-
] ;
4812-
] ;
4813-
rr:predicateObjectMap tedm:idlab-fn_executes_lookup ;
4814-
rr:predicateObjectMap tedm:idlab-fn_fromColumn_code ;
4815-
rr:predicateObjectMap tedm:idlab-fn_inputFile_language ;
4816-
rr:predicateObjectMap tedm:idlab-fn_toColumn_code ;
4817-
] ;
4818-
] ;
4819-
rdfs:comment "Language of Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
4820-
rdfs:label "BT-67(b)-Procedure-Language" ;
4821-
] ;
4822-
rdfs:comment "Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
4823-
rdfs:label "BT-67(b)-Procedure" ;
4824-
] ;
4825-
rdfs:label "MG-ExclusionGround" .
4826-
48274790
tedm:MG-langString-description-Fund-isFundedBy-Lot_ND-Funding a rr:TriplesMap ;
48284791
rml:logicalSource [
48294792
rml:source "data/source.xml" ;

mappings/package_eforms_sdk1.13_epo4.0/transformation/mappings/Lot_v1.12+.rml.ttl

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,40 @@ tedm:MG-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a
202202
] ;
203203
] ;
204204
.
205+
206+
tedm:MG-langString-description-ExclusionGround-specifiesProcurementCriterion-Lot_ND-ExclusionGrounds a rr:TriplesMap ;
207+
rml:logicalSource [
208+
rml:source "data/source.xml" ;
209+
rml:iterator "/*/cac:TenderingTerms/cac:TendererQualificationRequest[cac:SpecificTendererRequirement/cbc:TendererRequirementTypeCode/@listName='exclusion-ground']/cac:SpecificTendererRequirement/cbc:Description" ;
210+
rml:referenceFormulation ql:XPath ;
211+
] ;
212+
rr:subjectMap [
213+
rr:class epo-not:ExclusionGround ;
214+
rdfs:label "ND-ExclusionGrounds" ;
215+
rr:template "http://data.europa.eu/a4g/resource/id_{replace(replace(/*/cbc:ID[@schemeName='notice-id'], ' ', '-' ), '/' , '-')}_ExclusionGround_{unparsed-text('https://digest-api.ted-data.eu/api/v1/hashing/fn/uuid/' || encode-for-uri(path(..)) || '?response_type=raw')}" ;
216+
] ;
217+
rr:predicateObjectMap [
218+
rr:predicate dct:description ;
219+
rr:objectMap [
220+
rml:reference "." ;
221+
rml:languageMap [
222+
fnml:functionValue [
223+
rr:predicateObjectMap [
224+
rr:predicate idlab-fn:str ;
225+
rr:objectMap [
226+
rml:reference "@languageID" ;
227+
] ;
228+
] ;
229+
rr:predicateObjectMap tedm:idlab-fn_executes_lookup ;
230+
rr:predicateObjectMap tedm:idlab-fn_fromColumn_code ;
231+
rr:predicateObjectMap tedm:idlab-fn_inputFile_language ;
232+
rr:predicateObjectMap tedm:idlab-fn_toColumn_code ;
233+
] ;
234+
] ;
235+
rdfs:comment "Language of Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
236+
rdfs:label "BT-67(b)-Procedure-Language" ;
237+
] ;
238+
rdfs:comment "Exclusion Grounds of MG-ExclusionGround under ND-ExclusionGrounds" ;
239+
rdfs:label "BT-67(b)-Procedure" ;
240+
] ;
241+
rdfs:label "MG-ExclusionGround" .

0 commit comments

Comments
 (0)