Skip to content

Commit fa04350

Browse files
valexandeschivmeister
authored andcommitted
feat: commit 2/3 for EAuctionTechnique dangling entities
1 parent fe91a33 commit fa04350

2 files changed

Lines changed: 6 additions & 14 deletions

File tree

src/mappings/Lot.rml.ttl

Lines changed: 5 additions & 9 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 (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" ;
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 (normalize-space(cbc:AuctionConstraintIndicator) = ('true','1')) then 'http://publications.europa.eu/resource/authority/usage/used' else null";
13131309
rr:termType rr:IRI
13141310
] ;
13151311
] ;

src/output-pin.ttl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
epo:involvesProcurementDocument <http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/ProcurementDocument$_PriorInformationNotice1_ProcurementProjectLot1_TenderingTerms1ADOC-0001>;
3232
epo:isProcurementDocumentRestricted false .
3333

34-
<http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/AuctionTerms$_PriorInformationNotice1_ProcurementProjectLot1_TenderingProcess1_AuctionTerms1>
35-
a epo:EAuctionTechnique .
36-
3734
<http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/Buyer/ORG-0001>
3835
a epo:Buyer;
3936
epo:hasBuyerProfile "https://univie.vemap.com"^^xsd:anyURI;
@@ -154,8 +151,7 @@
154151
epo:specifiesProcurementCriterion <http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/ParticipationCondition$_PriorInformationNotice1_ProcurementProjectLot1_TenderingTerms1_TendererQualificationRequest1>,
155152
<http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/SelectionCriterion$_PriorInformationNotice1_ProcurementProjectLot1_TenderingTerms1_UBLExtensions1_UBLExtension1_ExtensionContent1_EformsExtension1_SelectionCriteria1>;
156153
epo:usesChannel <http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/Channel$_PriorInformationNotice1_ProcurementProjectLot1_TenderingProcess1>;
157-
epo:usesTechnique <http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/AuctionTerms$_PriorInformationNotice1_ProcurementProjectLot1_TenderingProcess1_AuctionTerms1>,
158-
<http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/DynamicPurchaseSystemTechnicalUsage$_PriorInformationNotice1_ProcurementProjectLot1_TenderingProcess1>;
154+
epo:usesTechnique <http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/DynamicPurchaseSystemTechnicalUsage$_PriorInformationNotice1_ProcurementProjectLot1_TenderingProcess1>;
159155
dct:description "Die Universität Wien, plant im Rahmen des Programms u:room eine Optimierung der Raum- und Ressourcenverwaltung durch die Einführung einer Kombination von CAFM (Computer-Aided Facility Management)-, IWM (Integrated Workplace Management)-, CRS (Classroom Scheduling)- sowie RM (Room Management)-Systemen."@de;
160156
dct:title "Markterkundung u:room (Flächenmanagement an der Universität Wien)"@de;
161157
adms:identifier <http://data.europa.eu/a4g/resource/2afbdda5-3157-46c5-a45e-510a04414240-01/Identifier/LOT-0001> .

0 commit comments

Comments
 (0)