Skip to content

Commit 3abc5d3

Browse files
committed
chore: sync all packages and update hashes
1 parent 4c5644f commit 3abc5d3

95 files changed

Lines changed: 700 additions & 700 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

mappings/package_eforms_sdk1.10_epo4.0/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@
6666
]
6767
}
6868
},
69-
"mapping_suite_hash_digest": "4d2bc48083fef57a3cd7166f70bb96ed9f46dcda286d2e07d9cf34058e50ab06"
69+
"mapping_suite_hash_digest": "38908081378e51a856741a951c320032f09a0a55b8c315cf5cbafa8717d77543"
7070
}

mappings/package_eforms_sdk1.10_epo4.0/transformation/mappings/Contract-can.rml.ttl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ tedm:MG-Contract_ND-SettledContract a rr:TriplesMap ;
7070
rr:subjectMap
7171
[
7272
rdfs:label "ND-SettledContract" ;
73-
rr:template "http://data.europa.eu/a4g/resource/{/*/cbc:ID[@schemeName='notice-id']}-{/*/cbc:VersionID}/Contract/{cbc:ID}" ;
73+
# some data apparently do not have ContractReference -- we can guard against that to avoid an empty resource in such cases, but we choose to have that be empty for now
74+
#rml:reference "if (exists(cbc:ID) and (exists(efac:ContractReference/cbc:ID) or exists(cbc:IssueDate) or exists(cbc:Title) or exists(cbc:URI) or exists(efbc:ContractFrameworkIndicator) or exists(efac:Funding) or exists(efac:LotTender) or exists(cac:SignatoryParty))) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/Contract/' || cbc:ID else null" ;
75+
rml:reference "if (exists(cbc:ID)) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/Contract/' || cbc:ID else null" ;
7476
rr:class epo:Contract
7577
] ;
7678
rr:predicateObjectMap

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

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,10 @@ tedm:MG-EAuctionTechnique-usesTechnique-Lot_ND-AuctionTerms a rr:TriplesMap ;
12901290
rr:subjectMap
12911291
[
12921292
rdfs:label "ND-AuctionTerms";
1293-
rr:template "http://data.europa.eu/a4g/resource/{/*/cbc:ID[@schemeName='notice-id']}-{/*/cbc:VersionID}/AuctionTerms${replace(translate(path(), concat(codepoints-to-string(123), codepoints-to-string(125), '/[]'), ' _'), 'Q .*? ', '')}" ;
1293+
# Avoid type-only epo:EAuctionTechnique:
1294+
# Only instantiate when we can also emit at least one predicate (currently: epo:hasUsage).
1295+
# Here: create only when the auction is actually used (true/1).
1296+
rml:reference "if (lower-case(cbc:AuctionConstraintIndicator) = ('true','1')) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/AuctionTerms$' || replace(translate(path(), concat(codepoints-to-string(123), codepoints-to-string(125), '/[]'), ' _'), 'Q .*? ', '') else null" ;
12941297
rr:class epo:EAuctionTechnique ;
12951298
] ;
12961299
rr:predicateObjectMap
@@ -1302,14 +1305,7 @@ tedm:MG-EAuctionTechnique-usesTechnique-Lot_ND-AuctionTerms a rr:TriplesMap ;
13021305
[
13031306
rdfs:label "at-voc:usage";
13041307
rdfs:comment "translation of 'true' to at-voc:usage:used";
1305-
rml:reference "if(cbc:AuctionConstraintIndicator/text()='true') then 'http://publications.europa.eu/resource/authority/usage/used' else null";
1306-
rr:termType rr:IRI
1307-
] ;
1308-
rr:objectMap
1309-
[
1310-
rdfs:label "at-voc:usage";
1311-
rdfs:comment "translation of 'false' to at-voc:usage:n-used";
1312-
rml:reference "if(cbc:AuctionConstraintIndicator/text()='false') then 'http://publications.europa.eu/resource/authority/usage/n-used' else null";
1308+
rml:reference "if (lower-case(cbc:AuctionConstraintIndicator) = ('true','1')) then 'http://publications.europa.eu/resource/authority/usage/used' else null";
13131309
rr:termType rr:IRI
13141310
] ;
13151311
] ;
@@ -1438,7 +1434,7 @@ tedm:MG-DynamicPurchaseSystemTechnique-usesTechnique-Lot_ND-LotTenderingProcess
14381434
[
14391435
rdfs:label "ND-LotTenderingProcess";
14401436
# INFO: forbidden in subtypes 1-6, 14-15, 19, 23-24, 28, 32, 35-40, CEI, E1-E2, E6, T01-T02
1441-
rml:reference "if (exists(cac:ContractingSystem/cbc:ContractingSystemTypeCode)) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/DynamicPurchaseSystemTechnicalUsage$' || replace(replace(replace(path(), 'Q\\{[^}]+\\}', ''), '\\[([0-9]+)\\]', '$1'), '/', '_') else null" ;
1437+
rml:reference "if (exists(cac:ContractingSystem/cbc:ContractingSystemTypeCode[@listName='dps-usage'])) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/DynamicPurchaseSystemTechnicalUsage$' || replace(replace(replace(path(), 'Q\\{[^}]+\\}', ''), '\\[([0-9]+)\\]', '$1'), '/', '_') else null" ;
14421438
rr:class epo:DynamicPurchaseSystemTechnique
14431439
] ;
14441440
rr:predicateObjectMap
@@ -1613,7 +1609,7 @@ tedm:MG-MultipleStageProcedureTerm-isSubjectToLotSpecificTerm-Lot_ND-SecondStage
16131609
rr:subjectMap
16141610
[
16151611
rdfs:label "ND-SecondStage";
1616-
rml:reference "if (exists(cbc:LimitationDescription) or exists(cbc:MaximumQuantity) or exists(cbc:MinimumQuantity)) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/MultipleStageProcedureTerm$' || replace(replace(replace(path(../..), 'Q\\{[^}]+\\}', ''), '\\[([0-9]+)\\]', '$1'), '/', '_') else null" ;
1612+
rml:reference "if (exists(cbc:MaximumQuantity) or exists(cbc:MinimumQuantity)) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/MultipleStageProcedureTerm$' || replace(replace(replace(path(../..), 'Q\\{[^}]+\\}', ''), '\\[([0-9]+)\\]', '$1'), '/', '_') else null" ;
16171613
rr:class epo:MultipleStageProcedureTerm
16181614
] ;
16191615
rr:predicateObjectMap
@@ -3040,7 +3036,7 @@ tedm:MG-ContractTerm-foreseesContractSpecificTerm-Lot_ND-LotProcurementScope a r
30403036
rr:subjectMap
30413037
[
30423038
rdfs:label "ND-LotProcurementScope";
3043-
rr:template "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 .*? ', '')}";
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";
30443040
rr:class epo:ContractTerm
30453041
] ;
30463042
rr:predicateObjectMap
@@ -3655,7 +3651,7 @@ rdfs:label "MG-StrategicProcurement";
36553651
rr:subjectMap
36563652
[
36573653
rdfs:label "ND-StrategicProcurementType";
3658-
rr:template "http://data.europa.eu/a4g/resource/{/*/cbc:ID[@schemeName='notice-id']}-{/*/cbc:VersionID}/StrategicProcurement${replace(translate(path(..), concat(codepoints-to-string(123), codepoints-to-string(125), '/[]'), ' _'), 'Q .*? ', '')}" ;
3654+
rml:reference "if (cbc:ProcurementTypeCode/text()!='none') then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/StrategicProcurement$' || replace(replace(replace(path(..), 'Q\\{[^}]+\\}', ''), '\\[([0-9]+)\\]', '$1'), '/', '_') else null" ;
36593655
rr:class epo:StrategicProcurement
36603656
] ;
36613657
# rr:predicateObjectMap
@@ -3692,7 +3688,9 @@ rdfs:label "MG-StrategicProcurement";
36923688
rr:predicate rdf:type ;
36933689
rr:objectMap
36943690
[
3695-
rml:reference "if (cbc:ProcurementTypeCode/text()='env-imp') then 'http://data.europa.eu/a4g/ontology#GreenProcurement' else null" ;
3691+
# NOTE: Avoid generating type-only GreenProcurement on StrategicProcurement.
3692+
# Details come from BT-774 via environmental-impact mapping (GreenProcurement fulfillsRequirement).
3693+
rml:reference "if (false()) then 'http://data.europa.eu/a4g/ontology#GreenProcurement' else null" ;
36963694
rr:termType rr:IRI ;
36973695
] ;
36983696
rr:objectMap
@@ -4415,7 +4413,7 @@ tedm:MG-ContractTerm-foreseesContractSpecificTerm-Lot_ND-LotPlacePerformance a r
44154413
rr:subjectMap
44164414
[
44174415
rdfs:label "ND-LotProcurementScope";
4418-
rr:template "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 .*? ', '')}";
4416+
rml:reference "if (exists(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" ;
44194417
rr:class epo:ContractTerm
44204418
] ;
44214419
# rr:predicateObjectMap

mappings/package_eforms_sdk1.10_epo4.0/transformation/mappings/LotAwardOutcome-can.rml.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ tedm:MG-LotAwardOutcome_ND-LotResult a rr:TriplesMap ;
9898
];
9999
rr:predicateObjectMap
100100
[
101-
rdfs:label "BT-709-LotResult";
101+
rdfs:label "BT-709-LotResult (object)";
102102
rdfs:comment "Framework Maximum Value of MG-MonetaryValue under ND-LotResultFAValues";
103103
rr:predicate epo:hasFrameworkAgreementMaximumValue ;
104104
rr:objectMap
@@ -142,8 +142,8 @@ tedm:MG-MonetaryValue-hasApproximateFrameworkAgreementValue-LotAwardOutcome_ND-L
142142
] ;
143143
rr:predicateObjectMap
144144
[
145-
rdfs:label "BT-709-LotResult-Currency";
146-
rdfs:comment "Currency of Framework Maximum Value of MG-MonetaryValue under ND-LotResultFAValues";
145+
rdfs:label "BT-660-LotResult-Currency";
146+
rdfs:comment "Currency of Framework Re-estimated Value of MG-MonetaryValue under ND-LotResultFAValues";
147147
rr:predicate epo:hasCurrency ;
148148
rr:objectMap
149149
[

mappings/package_eforms_sdk1.10_epo4.0/transformation/mappings/Lot_v1.9+.rml.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ tedm:MG-ProcurementDocument-involvesProcurementDocument-AccessTerm-isSubjectToLo
229229
rr:subjectMap
230230
[
231231
rdfs:label "ND-LotDocOfficialLanguage";
232-
rml:reference "if (exists(cbc:ID)) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/ProcurementDocument$' || replace(replace(replace(path(../../../../../..), 'Q\\{[^}]+\\}', ''), '\\[([0-9]+)\\]', '$1'), '/', '_') else null" ;
232+
rml:reference "if (exists(cbc:ID)) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/ProcurementDocument$' || concat(replace(replace(replace(path(../../../../../../..), 'Q\\{[^}]+\\}', ''), '\\[([0-9]+)\\]', '$1'), '/', '_'), encode-for-uri(../../../../../../cbc:ID/text())) else null" ;
233233
rr:class epo:ProcurementDocument
234234
] ;
235235
rml:logicalSource
@@ -267,7 +267,7 @@ tedm:MG-ProcurementDocument-involvesProcurementDocument-AccessTerm-isSubjectToLo
267267
rr:subjectMap
268268
[
269269
rdfs:label "ND-LotDocAllNonOfficialLanguages";
270-
rml:reference "if (exists(cbc:ID)) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/ProcurementDocument$' || replace(replace(replace(path(../../../../../..), 'Q\\{[^}]+\\}', ''), '\\[([0-9]+)\\]', '$1'), '/', '_') else null" ;
270+
rml:reference "if (exists(cbc:ID)) then 'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/ProcurementDocument$' || concat(replace(replace(replace(path(../../../../../../..), 'Q\\{[^}]+\\}', ''), '\\[([0-9]+)\\]', '$1'), '/', '_'), encode-for-uri(../../../../../../cbc:ID/text())) else null" ;
271271
rr:class epo:ProcurementDocument
272272
] ;
273273
rr:predicateObjectMap

mappings/package_eforms_sdk1.10_epo4.0/transformation/mappings/Procedure-can.rml.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tedm:MG-Procedure_ND-DirectAward a rr:TriplesMap ;
3535
rr:subjectMap
3636
[
3737
rdfs:label "ND-DirectAward";
38-
rr:template "http://data.europa.eu/a4g/resource/{/*/cbc:ID[@schemeName='notice-id']}-{/*/cbc:VersionID}/Procedure/{/*/cbc:ContractFolderID}" ;
38+
rml:reference "'http://data.europa.eu/a4g/resource/' || /*/cbc:ID[@schemeName='notice-id'] || '-' || /*/cbc:VersionID || '/Procedure/' || (if (exists(/*/cbc:ContractFolderID)) then encode-for-uri(/*/cbc:ContractFolderID) else '0000000-0000-4000-8000-000000000000')" ;
3939
rr:class epo:Procedure
4040
] ;
4141

0 commit comments

Comments
 (0)