Skip to content

Commit 7ff4d1d

Browse files
committed
Fix refersToPreviousNotice for notices without ChangeReason
The mapping for BT-758-notice has been mistakenly placed under the TMap for ND-ChangeReason, which has a different iterator and context, mainly to express the reason for a change. However, a ChangeInformation notice like 207280-2025 may not necessarily have a ChangeReason, and therefore the only right place where this should be declared is where concernsNotice is -- at ND-Changes. Fixes gh-156.
1 parent 4353fc6 commit 7ff4d1d

11 files changed

Lines changed: 154 additions & 154 deletions

File tree

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ tedm:MG-ChangeInformation_ND-ChangeReason a rr:TriplesMap ;
7878
# ] ;
7979
# ] ;
8080
# ] ;
81-
rr:predicateObjectMap
82-
[
83-
rdfs:label "BT-758-notice";
84-
rr:predicate epo:refersToPreviousNotice ;
85-
rr:objectMap
86-
[
87-
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
88-
rr:joinCondition [
89-
rr:child "path(..)";
90-
rr:parent "path(.)";
91-
];
92-
] ;
93-
] ;
9481
.
9582

9683
tedm:MG-ChangeInformation_ND-Change a rr:TriplesMap ;
@@ -214,7 +201,20 @@ tedm:MG-Notice-concernsNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;
214201
[
215202
rr:parentTriplesMap tedm:MG-Notice_ND-Root ;
216203
] ;
217-
]
204+
] ;
205+
rr:predicateObjectMap
206+
[
207+
rdfs:label "BT-758-notice" ;
208+
rr:predicate epo:refersToPreviousNotice ;
209+
rr:objectMap
210+
[
211+
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
212+
rr:joinCondition [
213+
rr:child "path(.)" ;
214+
rr:parent "path(.)" ;
215+
];
216+
] ;
217+
] ;
218218
.
219219

220220
tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ tedm:MG-ChangeInformation_ND-ChangeReason a rr:TriplesMap ;
7878
# ] ;
7979
# ] ;
8080
# ] ;
81-
rr:predicateObjectMap
82-
[
83-
rdfs:label "BT-758-notice";
84-
rr:predicate epo:refersToPreviousNotice ;
85-
rr:objectMap
86-
[
87-
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
88-
rr:joinCondition [
89-
rr:child "path(..)";
90-
rr:parent "path(.)";
91-
];
92-
] ;
93-
] ;
9481
.
9582

9683
tedm:MG-ChangeInformation_ND-Change a rr:TriplesMap ;
@@ -214,7 +201,20 @@ tedm:MG-Notice-concernsNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;
214201
[
215202
rr:parentTriplesMap tedm:MG-Notice_ND-Root ;
216203
] ;
217-
]
204+
] ;
205+
rr:predicateObjectMap
206+
[
207+
rdfs:label "BT-758-notice" ;
208+
rr:predicate epo:refersToPreviousNotice ;
209+
rr:objectMap
210+
[
211+
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
212+
rr:joinCondition [
213+
rr:child "path(.)" ;
214+
rr:parent "path(.)" ;
215+
];
216+
] ;
217+
] ;
218218
.
219219

220220
tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ tedm:MG-ChangeInformation_ND-ChangeReason a rr:TriplesMap ;
7878
# ] ;
7979
# ] ;
8080
# ] ;
81-
rr:predicateObjectMap
82-
[
83-
rdfs:label "BT-758-notice";
84-
rr:predicate epo:refersToPreviousNotice ;
85-
rr:objectMap
86-
[
87-
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
88-
rr:joinCondition [
89-
rr:child "path(..)";
90-
rr:parent "path(.)";
91-
];
92-
] ;
93-
] ;
9481
.
9582

9683
tedm:MG-ChangeInformation_ND-Change a rr:TriplesMap ;
@@ -214,7 +201,20 @@ tedm:MG-Notice-concernsNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;
214201
[
215202
rr:parentTriplesMap tedm:MG-Notice_ND-Root ;
216203
] ;
217-
]
204+
] ;
205+
rr:predicateObjectMap
206+
[
207+
rdfs:label "BT-758-notice" ;
208+
rr:predicate epo:refersToPreviousNotice ;
209+
rr:objectMap
210+
[
211+
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
212+
rr:joinCondition [
213+
rr:child "path(.)" ;
214+
rr:parent "path(.)" ;
215+
];
216+
] ;
217+
] ;
218218
.
219219

220220
tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ tedm:MG-ChangeInformation_ND-ChangeReason a rr:TriplesMap ;
7878
# ] ;
7979
# ] ;
8080
# ] ;
81-
rr:predicateObjectMap
82-
[
83-
rdfs:label "BT-758-notice";
84-
rr:predicate epo:refersToPreviousNotice ;
85-
rr:objectMap
86-
[
87-
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
88-
rr:joinCondition [
89-
rr:child "path(..)";
90-
rr:parent "path(.)";
91-
];
92-
] ;
93-
] ;
9481
.
9582

9683
tedm:MG-ChangeInformation_ND-Change a rr:TriplesMap ;
@@ -214,7 +201,20 @@ tedm:MG-Notice-concernsNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;
214201
[
215202
rr:parentTriplesMap tedm:MG-Notice_ND-Root ;
216203
] ;
217-
]
204+
] ;
205+
rr:predicateObjectMap
206+
[
207+
rdfs:label "BT-758-notice" ;
208+
rr:predicate epo:refersToPreviousNotice ;
209+
rr:objectMap
210+
[
211+
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
212+
rr:joinCondition [
213+
rr:child "path(.)" ;
214+
rr:parent "path(.)" ;
215+
];
216+
] ;
217+
] ;
218218
.
219219

220220
tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ tedm:MG-ChangeInformation_ND-ChangeReason a rr:TriplesMap ;
7878
# ] ;
7979
# ] ;
8080
# ] ;
81-
rr:predicateObjectMap
82-
[
83-
rdfs:label "BT-758-notice";
84-
rr:predicate epo:refersToPreviousNotice ;
85-
rr:objectMap
86-
[
87-
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
88-
rr:joinCondition [
89-
rr:child "path(..)";
90-
rr:parent "path(.)";
91-
];
92-
] ;
93-
] ;
9481
.
9582

9683
tedm:MG-ChangeInformation_ND-Change a rr:TriplesMap ;
@@ -214,7 +201,20 @@ tedm:MG-Notice-concernsNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;
214201
[
215202
rr:parentTriplesMap tedm:MG-Notice_ND-Root ;
216203
] ;
217-
]
204+
] ;
205+
rr:predicateObjectMap
206+
[
207+
rdfs:label "BT-758-notice" ;
208+
rr:predicate epo:refersToPreviousNotice ;
209+
rr:objectMap
210+
[
211+
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
212+
rr:joinCondition [
213+
rr:child "path(.)" ;
214+
rr:parent "path(.)" ;
215+
];
216+
] ;
217+
] ;
218218
.
219219

220220
tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ tedm:MG-ChangeInformation_ND-ChangeReason a rr:TriplesMap ;
7878
# ] ;
7979
# ] ;
8080
# ] ;
81-
rr:predicateObjectMap
82-
[
83-
rdfs:label "BT-758-notice";
84-
rr:predicate epo:refersToPreviousNotice ;
85-
rr:objectMap
86-
[
87-
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
88-
rr:joinCondition [
89-
rr:child "path(..)";
90-
rr:parent "path(.)";
91-
];
92-
] ;
93-
] ;
9481
.
9582

9683
tedm:MG-ChangeInformation_ND-Change a rr:TriplesMap ;
@@ -214,7 +201,20 @@ tedm:MG-Notice-concernsNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;
214201
[
215202
rr:parentTriplesMap tedm:MG-Notice_ND-Root ;
216203
] ;
217-
]
204+
] ;
205+
rr:predicateObjectMap
206+
[
207+
rdfs:label "BT-758-notice" ;
208+
rr:predicate epo:refersToPreviousNotice ;
209+
rr:objectMap
210+
[
211+
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
212+
rr:joinCondition [
213+
rr:child "path(.)" ;
214+
rr:parent "path(.)" ;
215+
];
216+
] ;
217+
] ;
218218
.
219219

220220
tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ tedm:MG-ChangeInformation_ND-ChangeReason a rr:TriplesMap ;
7878
# ] ;
7979
# ] ;
8080
# ] ;
81-
rr:predicateObjectMap
82-
[
83-
rdfs:label "BT-758-notice";
84-
rr:predicate epo:refersToPreviousNotice ;
85-
rr:objectMap
86-
[
87-
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
88-
rr:joinCondition [
89-
rr:child "path(..)";
90-
rr:parent "path(.)";
91-
];
92-
] ;
93-
] ;
9481
.
9582

9683
tedm:MG-ChangeInformation_ND-Change a rr:TriplesMap ;
@@ -214,7 +201,20 @@ tedm:MG-Notice-concernsNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;
214201
[
215202
rr:parentTriplesMap tedm:MG-Notice_ND-Root ;
216203
] ;
217-
]
204+
] ;
205+
rr:predicateObjectMap
206+
[
207+
rdfs:label "BT-758-notice" ;
208+
rr:predicate epo:refersToPreviousNotice ;
209+
rr:objectMap
210+
[
211+
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
212+
rr:joinCondition [
213+
rr:child "path(.)" ;
214+
rr:parent "path(.)" ;
215+
];
216+
] ;
217+
] ;
218218
.
219219

220220
tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ tedm:MG-ChangeInformation_ND-ChangeReason a rr:TriplesMap ;
7878
# ] ;
7979
# ] ;
8080
# ] ;
81-
rr:predicateObjectMap
82-
[
83-
rdfs:label "BT-758-notice";
84-
rr:predicate epo:refersToPreviousNotice ;
85-
rr:objectMap
86-
[
87-
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
88-
rr:joinCondition [
89-
rr:child "path(..)";
90-
rr:parent "path(.)";
91-
];
92-
] ;
93-
] ;
9481
.
9582

9683
tedm:MG-ChangeInformation_ND-Change a rr:TriplesMap ;
@@ -214,7 +201,20 @@ tedm:MG-Notice-concernsNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;
214201
[
215202
rr:parentTriplesMap tedm:MG-Notice_ND-Root ;
216203
] ;
217-
]
204+
] ;
205+
rr:predicateObjectMap
206+
[
207+
rdfs:label "BT-758-notice" ;
208+
rr:predicate epo:refersToPreviousNotice ;
209+
rr:objectMap
210+
[
211+
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
212+
rr:joinCondition [
213+
rr:child "path(.)" ;
214+
rr:parent "path(.)" ;
215+
];
216+
] ;
217+
] ;
218218
.
219219

220220
tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ tedm:MG-ChangeInformation_ND-ChangeReason a rr:TriplesMap ;
7878
# ] ;
7979
# ] ;
8080
# ] ;
81-
rr:predicateObjectMap
82-
[
83-
rdfs:label "BT-758-notice";
84-
rr:predicate epo:refersToPreviousNotice ;
85-
rr:objectMap
86-
[
87-
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
88-
rr:joinCondition [
89-
rr:child "path(..)";
90-
rr:parent "path(.)";
91-
];
92-
] ;
93-
] ;
9481
.
9582

9683
tedm:MG-ChangeInformation_ND-Change a rr:TriplesMap ;
@@ -214,7 +201,20 @@ tedm:MG-Notice-concernsNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;
214201
[
215202
rr:parentTriplesMap tedm:MG-Notice_ND-Root ;
216203
] ;
217-
]
204+
] ;
205+
rr:predicateObjectMap
206+
[
207+
rdfs:label "BT-758-notice" ;
208+
rr:predicate epo:refersToPreviousNotice ;
209+
rr:objectMap
210+
[
211+
rr:parentTriplesMap tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes ;
212+
rr:joinCondition [
213+
rr:child "path(.)" ;
214+
rr:parent "path(.)" ;
215+
];
216+
] ;
217+
] ;
218218
.
219219

220220
tedm:MG-Notice-refersToPreviousNotice-ChangeInformation_ND-Changes a rr:TriplesMap ;

0 commit comments

Comments
 (0)