Skip to content

Commit cb22860

Browse files
authored
Merge pull request #160 from OP-TED/feature/TEDSWS-369/TED9-56_legal-basis
Missing BT-01(c)-Procedure legal basis ID if description is absent
2 parents 3791a14 + b2e7887 commit cb22860

11 files changed

Lines changed: 143 additions & 0 deletions

File tree

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

mappings/package_eforms_sdk1.11_epo4.0/transformation/mappings/Procedure.rml.ttl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

mappings/package_eforms_sdk1.12_epo4.0/transformation/mappings/Procedure.rml.ttl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

mappings/package_eforms_sdk1.13_epo4.0/transformation/mappings/Procedure.rml.ttl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

mappings/package_eforms_sdk1.3_epo4.0/transformation/mappings/Procedure.rml.ttl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

mappings/package_eforms_sdk1.5_epo4.0/transformation/mappings/Procedure.rml.ttl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

mappings/package_eforms_sdk1.6_epo4.0/transformation/mappings/Procedure.rml.ttl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

mappings/package_eforms_sdk1.7_epo4.0/transformation/mappings/Procedure.rml.ttl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

mappings/package_eforms_sdk1.8_epo4.0/transformation/mappings/Procedure.rml.ttl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

mappings/package_eforms_sdk1.9_epo4.0/transformation/mappings/Procedure.rml.ttl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ tedm:MG-Procedure_ND-LocalLegalBasisWithID a rr:TriplesMap ;
196196
# rml:reference "cbc:ID";
197197
# ] ;
198198
# ];
199+
# this is a workaround for the ID not being mappable as an ID, and rather repurposed as the description
200+
rr:predicateObjectMap
201+
[
202+
rdfs:label "BT-01(c)-Procedure" ;
203+
rdfs:comment "Procedure Legal Basis (ID) as Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID " ;
204+
rr:predicate epo:hasLegalBasisDescription ;
205+
rr:objectMap
206+
[
207+
rdfs:label "BT-01(c)-Procedure" ;
208+
rdfs:comment "Language of Procedure Legal Basis (Description) of MG-Procedure under ND-LocalLegalBasisWithID" ;
209+
rml:reference "if(not(exists(cbc:DocumentDescription))) then cbc:ID else null" ;
210+
] ;
211+
] ;
199212
# rr:predicateObjectMap
200213
# [
201214
# rdfs:label "BT-01(d)-Procedure";

0 commit comments

Comments
 (0)