Skip to content

Commit 0994084

Browse files
valexandeschivmeister
authored andcommitted
feat: solving @listname in ContractTerm
1 parent 39330d5 commit 0994084

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/mappings/Lot.rml.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3036,7 +3036,7 @@ tedm:MG-ContractTerm-foreseesContractSpecificTerm-Lot_ND-LotProcurementScope a r
30363036
rr:subjectMap
30373037
[
30383038
rdfs:label "ND-LotProcurementScope";
3039-
rml:reference "if (exists(cbc:ProcurementTypeCode[not(@listName) or @listName='contract-nature']) or exists(cac:PlannedPeriod/cbc:StartDate) or exists(cac:PlannedPeriod/cbc:EndDate) or exists(cac:PlannedPeriod/cbc:DurationMeasure)) 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";
3039+
rml:reference "if (exists(cbc:ProcurementTypeCode[@listName='contract-nature']) or exists(cac:PlannedPeriod/cbc:DurationMeasure) or exists(cac:PlannedPeriod/cbc:StartDate) or exists(cac:PlannedPeriod/cbc:EndDate) or exists(cac:PlannedPeriod/cbc:DescriptionCode)) 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";
30403040
rr:class epo:ContractTerm
30413041
] ;
30423042
rr:predicateObjectMap
@@ -3049,7 +3049,7 @@ tedm:MG-ContractTerm-foreseesContractSpecificTerm-Lot_ND-LotProcurementScope a r
30493049
rdfs:label "at-voc:contract-nature" ;
30503050
rr:parentTriplesMap tedm:contract-nature ;
30513051
rr:joinCondition [
3052-
rr:child "cbc:ProcurementTypeCode[not(@listName) or @listName='contract-nature']";
3052+
rr:child "cbc:ProcurementTypeCode[@listName='contract-nature']";
30533053
rr:parent "code.value" ;
30543054
] ;
30553055
] ;

0 commit comments

Comments
 (0)