Skip to content

Commit 39330d5

Browse files
valexandeschivmeister
authored andcommitted
feat: solving cbc:Description check on epo:ContractTerm
1 parent 911c2ca commit 39330d5

2 files changed

Lines changed: 216 additions & 224 deletions

File tree

src/mappings/Lot.rml.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4413,7 +4413,7 @@ tedm:MG-ContractTerm-foreseesContractSpecificTerm-Lot_ND-LotPlacePerformance a r
44134413
rr:subjectMap
44144414
[
44154415
rdfs:label "ND-LotProcurementScope";
4416-
rml:reference "if (false()) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/ContractTerm$' || replace(translate(path(../..), concat(codepoints-to-string(123), codepoints-to-string(125), '/[]'), ' _'), 'Q .*? ', '') else null" ;
4416+
rml:reference "if (exists(cbc:Description) and normalize-space(cbc:Description) != '') then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/ContractTerm$' || replace(translate(path(../..), concat(codepoints-to-string(123), codepoints-to-string(125), '/[]'), ' _'), 'Q .*? ', '') else null" ;
44174417
rr:class epo:ContractTerm
44184418
] ;
44194419
# rr:predicateObjectMap

0 commit comments

Comments
 (0)