Skip to content

Commit 5eafb38

Browse files
valexandeschivmeister
authored andcommitted
feat: cover for True and TRUE in the conditions of EAuctionTechnique
1 parent 0994084 commit 5eafb38

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
@@ -1293,7 +1293,7 @@ tedm:MG-EAuctionTechnique-usesTechnique-Lot_ND-AuctionTerms a rr:TriplesMap ;
12931293
# Avoid type-only epo:EAuctionTechnique:
12941294
# Only instantiate when we can also emit at least one predicate (currently: epo:hasUsage).
12951295
# Here: create only when the auction is actually used (true/1).
1296-
rml:reference "if (normalize-space(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" ;
1296+
rml:reference "if (lower-case(normalize-space(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" ;
12971297
rr:class epo:EAuctionTechnique ;
12981298
] ;
12991299
rr:predicateObjectMap
@@ -1305,7 +1305,7 @@ tedm:MG-EAuctionTechnique-usesTechnique-Lot_ND-AuctionTerms a rr:TriplesMap ;
13051305
[
13061306
rdfs:label "at-voc:usage";
13071307
rdfs:comment "translation of 'true' to at-voc:usage:used";
1308-
rml:reference "if (normalize-space(cbc:AuctionConstraintIndicator) = ('true','1')) then 'http://publications.europa.eu/resource/authority/usage/used' else null";
1308+
rml:reference "if (lower-case(normalize-space(cbc:AuctionConstraintIndicator)) = ('true','1')) then 'http://publications.europa.eu/resource/authority/usage/used' else null";
13091309
rr:termType rr:IRI
13101310
] ;
13111311
] ;

0 commit comments

Comments
 (0)