Showing
2 changed files
with
544 additions
and
539 deletions
This diff could not be displayed because it is too large.
... | @@ -22,62 +22,95 @@ | ... | @@ -22,62 +22,95 @@ |
22 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> | 22 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> |
23 | spin:rule | 23 | spin:rule |
24 | [ rdf:type sp:Construct ; | 24 | [ rdf:type sp:Construct ; |
25 | - rdfs:comment "STEP 20032 Inherit start dates from the report context if necessary"^^xsd:string ; | 25 | + rdfs:comment "STEP 20030 Record the start and end date-times"^^xsd:string ; |
26 | sp:templates ([ sp:object | 26 | sp:templates ([ sp:object |
27 | - [ sp:varName "dateStart"^^xsd:string | 27 | + [ sp:varName "dTimStart"^^xsd:string |
28 | ] ; | 28 | ] ; |
29 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 29 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
30 | sp:subject | 30 | sp:subject |
31 | [ sp:varName "productionFlow"^^xsd:string | 31 | [ sp:varName "productionFlow"^^xsd:string |
32 | ] | 32 | ] |
33 | ] [ sp:object | 33 | ] [ sp:object |
34 | - [ sp:varName "dateStart"^^xsd:string | 34 | + [ sp:varName "dTimEnd"^^xsd:string |
35 | + ] ; | ||
36 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
37 | + sp:subject | ||
38 | + [ sp:varName "productionFlow"^^xsd:string | ||
39 | + ] | ||
40 | + ] [ sp:object | ||
41 | + [ sp:varName "dTimEnd"^^xsd:string | ||
42 | + ] ; | ||
43 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
44 | + sp:subject | ||
45 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
46 | + ] | ||
47 | + ] [ sp:object | ||
48 | + [ sp:varName "dTimStart"^^xsd:string | ||
35 | ] ; | 49 | ] ; |
36 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 50 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
37 | sp:subject | 51 | sp:subject |
38 | [ sp:varName "productionInventory"^^xsd:string | 52 | [ sp:varName "productionInventory"^^xsd:string |
39 | ] | 53 | ] |
40 | ] [ sp:object | 54 | ] [ sp:object |
41 | - [ sp:varName "dateStart"^^xsd:string | 55 | + [ sp:varName "dTimEnd"^^xsd:string |
56 | + ] ; | ||
57 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
58 | + sp:subject | ||
59 | + [ sp:varName "productionInventory"^^xsd:string | ||
60 | + ] | ||
61 | + ] [ sp:object | ||
62 | + [ sp:varName "dTimEnd"^^xsd:string | ||
63 | + ] ; | ||
64 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
65 | + sp:subject | ||
66 | + [ sp:varName "productionInventoryToDate"^^xsd:string | ||
67 | + ] | ||
68 | + ] [ sp:object | ||
69 | + [ sp:varName "dTimStart"^^xsd:string | ||
42 | ] ; | 70 | ] ; |
43 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 71 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
44 | sp:subject | 72 | sp:subject |
45 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 73 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
46 | ] | 74 | ] |
75 | + ] [ sp:object | ||
76 | + [ sp:varName "dTimEnd"^^xsd:string | ||
77 | + ] ; | ||
78 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
79 | + sp:subject | ||
80 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
81 | + ] | ||
82 | + ] [ sp:object | ||
83 | + [ sp:varName "dTimEnd"^^xsd:string | ||
84 | + ] ; | ||
85 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
86 | + sp:subject | ||
87 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
88 | + ] | ||
47 | ]) ; | 89 | ]) ; |
48 | sp:where ([ sp:object | 90 | sp:where ([ sp:object |
49 | [ sp:varName "productVolumeRef"^^xsd:string | 91 | [ sp:varName "productVolumeRef"^^xsd:string |
50 | ] ; | 92 | ] ; |
51 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 93 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
52 | sp:subject spin:_this | 94 | sp:subject spin:_this |
53 | - ] [ sp:object | ||
54 | - [ sp:varName "dateStart"^^xsd:string | ||
55 | - ] ; | ||
56 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ; | ||
57 | - sp:subject spin:_this | ||
58 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | 95 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
59 | sp:predicate rdf:type ; | 96 | sp:predicate rdf:type ; |
60 | sp:subject | 97 | sp:subject |
61 | [ sp:varName "productVolumeRef"^^xsd:string | 98 | [ sp:varName "productVolumeRef"^^xsd:string |
62 | ] | 99 | ] |
63 | - ] [ rdf:type sp:NotExists ; | 100 | + ] [ sp:object |
64 | - sp:elements ([ sp:object | 101 | + [ sp:varName "dTimStart"^^xsd:string |
65 | - [ sp:varName "dateStartx"^^xsd:string | 102 | + ] ; |
66 | - ] ; | 103 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ; |
67 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; | 104 | + sp:subject |
68 | - sp:subject | 105 | + [ sp:varName "productVolumeRef"^^xsd:string |
69 | - [ sp:varName "productVolumeRef"^^xsd:string | 106 | + ] |
70 | - ] | 107 | + ] [ sp:object |
71 | - ]) | 108 | + [ sp:varName "dTimEnd"^^xsd:string |
72 | - ] [ rdf:type sp:NotExists ; | 109 | + ] ; |
73 | - sp:elements ([ sp:object | 110 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ; |
74 | - [ sp:varName "dTimStartx"^^xsd:string | 111 | + sp:subject |
75 | - ] ; | 112 | + [ sp:varName "productVolumeRef"^^xsd:string |
76 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ; | 113 | + ] |
77 | - sp:subject | ||
78 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
79 | - ] | ||
80 | - ]) | ||
81 | ] [ sp:object | 114 | ] [ sp:object |
82 | [ sp:varName "productVolumeRef"^^xsd:string | 115 | [ sp:varName "productVolumeRef"^^xsd:string |
83 | ] ; | 116 | ] ; |
... | @@ -154,124 +187,142 @@ | ... | @@ -154,124 +187,142 @@ |
154 | ] ; | 187 | ] ; |
155 | spin:rule | 188 | spin:rule |
156 | [ rdf:type sp:Construct ; | 189 | [ rdf:type sp:Construct ; |
157 | - rdfs:comment """STEP 20060 Set the facility operator | 190 | + rdfs:comment "STEP 20031 Record the start and end dates"^^xsd:string ; |
158 | -role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | 191 | + sp:templates ([ sp:object |
159 | - sp:templates ([ sp:object _:b1 ; | 192 | + [ sp:varName "dateStart"^^xsd:string |
160 | - sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; | 193 | + ] ; |
194 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
161 | sp:subject | 195 | sp:subject |
162 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 196 | + [ sp:varName "productionFlow"^^xsd:string |
163 | ] | 197 | ] |
164 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; | ||
165 | - sp:predicate rdf:type ; | ||
166 | - sp:subject _:b1 | ||
167 | ] [ sp:object | 198 | ] [ sp:object |
168 | - [ sp:varName "operator"^^xsd:string | 199 | + [ sp:varName "dateEnd"^^xsd:string |
169 | ] ; | 200 | ] ; |
170 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 201 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
171 | - sp:subject _:b1 | 202 | + sp:subject |
172 | - ]) ; | 203 | + [ sp:varName "productionFlow"^^xsd:string |
173 | - sp:where ([ sp:object | 204 | + ] |
174 | - [ sp:varName "productVolumeRef"^^xsd:string | 205 | + ] [ sp:object |
206 | + [ sp:varName "dateEnd"^^xsd:string | ||
175 | ] ; | 207 | ] ; |
176 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 208 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
177 | - sp:subject spin:_this | 209 | + sp:subject |
210 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
211 | + ] | ||
178 | ] [ sp:object | 212 | ] [ sp:object |
179 | - [ sp:varName "productVolumeRef"^^xsd:string | 213 | + [ sp:varName "dateStart"^^xsd:string |
180 | ] ; | 214 | ] ; |
181 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 215 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
216 | + sp:subject | ||
217 | + [ sp:varName "productionInventory"^^xsd:string | ||
218 | + ] | ||
219 | + ] [ sp:object | ||
220 | + [ sp:varName "dateEnd"^^xsd:string | ||
221 | + ] ; | ||
222 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
223 | + sp:subject | ||
224 | + [ sp:varName "productionInventory"^^xsd:string | ||
225 | + ] | ||
226 | + ] [ sp:object | ||
227 | + [ sp:varName "dateEnd"^^xsd:string | ||
228 | + ] ; | ||
229 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
230 | + sp:subject | ||
231 | + [ sp:varName "productionInventoryToDate"^^xsd:string | ||
232 | + ] | ||
233 | + ] [ sp:object | ||
234 | + [ sp:varName "dateStart"^^xsd:string | ||
235 | + ] ; | ||
236 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
182 | sp:subject | 237 | sp:subject |
183 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 238 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
184 | ] | 239 | ] |
185 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 240 | + ] [ sp:object |
186 | - sp:predicate rdf:type ; | 241 | + [ sp:varName "dateEnd"^^xsd:string |
242 | + ] ; | ||
243 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
187 | sp:subject | 244 | sp:subject |
188 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 245 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
189 | ] | 246 | ] |
247 | + ] [ sp:object | ||
248 | + [ sp:varName "dateEnd"^^xsd:string | ||
249 | + ] ; | ||
250 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
251 | + sp:subject | ||
252 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
253 | + ] | ||
254 | + ]) ; | ||
255 | + sp:where ([ sp:object | ||
256 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
257 | + ] ; | ||
258 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
259 | + sp:subject spin:_this | ||
190 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | 260 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
191 | sp:predicate rdf:type ; | 261 | sp:predicate rdf:type ; |
192 | sp:subject | 262 | sp:subject |
193 | [ sp:varName "productVolumeRef"^^xsd:string | 263 | [ sp:varName "productVolumeRef"^^xsd:string |
194 | ] | 264 | ] |
195 | ] [ sp:object | 265 | ] [ sp:object |
196 | - [ sp:varName "operatorRef"^^xsd:string | 266 | + [ sp:varName "dateStart"^^xsd:string |
197 | ] ; | 267 | ] ; |
198 | - sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ; | 268 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; |
199 | sp:subject | 269 | sp:subject |
200 | [ sp:varName "productVolumeRef"^^xsd:string | 270 | [ sp:varName "productVolumeRef"^^xsd:string |
201 | ] | 271 | ] |
202 | ] [ sp:object | 272 | ] [ sp:object |
203 | - [ sp:varName "operatorRef"^^xsd:string | 273 | + [ sp:varName "dateEnd"^^xsd:string |
204 | ] ; | 274 | ] ; |
205 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 275 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; |
206 | - sp:subject | ||
207 | - [ sp:varName "operator"^^xsd:string | ||
208 | - ] | ||
209 | - ]) | ||
210 | - ] ; | ||
211 | - spin:rule | ||
212 | - [ rdf:type sp:Construct ; | ||
213 | - rdfs:comment "STEP 20011 Create the period ProductionFlow and the ProductionFlowToDate - if necessary ."^^xsd:string ; | ||
214 | - sp:templates ([ sp:object _:b2 ; | ||
215 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
216 | sp:subject | 276 | sp:subject |
217 | - [ sp:varName "productVolumeReport"^^xsd:string | 277 | + [ sp:varName "productVolumeRef"^^xsd:string |
218 | ] | 278 | ] |
219 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
220 | - sp:predicate rdf:type ; | ||
221 | - sp:subject _:b2 | ||
222 | ] [ sp:object | 279 | ] [ sp:object |
223 | [ sp:varName "productVolumeRef"^^xsd:string | 280 | [ sp:varName "productVolumeRef"^^xsd:string |
224 | ] ; | 281 | ] ; |
225 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 282 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
226 | - sp:subject _:b2 | ||
227 | - ] [ sp:object _:b3 ; | ||
228 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
229 | - sp:subject _:b2 | ||
230 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
231 | - sp:predicate rdf:type ; | ||
232 | - sp:subject _:b3 | ||
233 | - ] [ sp:object _:b2 ; | ||
234 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
235 | sp:subject | 283 | sp:subject |
236 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 284 | + [ sp:varName "productionFlow"^^xsd:string |
237 | ] | 285 | ] |
238 | - ] [ sp:object _:b3 ; | 286 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; |
239 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | 287 | + sp:predicate rdf:type ; |
240 | sp:subject | 288 | sp:subject |
241 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 289 | + [ sp:varName "productionFlow"^^xsd:string |
242 | ] | 290 | ] |
243 | - ]) ; | 291 | + ] [ sp:object |
244 | - sp:where ([ sp:object spin:_this ; | 292 | + [ sp:varName "productionFlowToDate"^^xsd:string |
245 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 293 | + ] ; |
294 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
246 | sp:subject | 295 | sp:subject |
247 | - [ sp:varName "productionReport"^^xsd:string | 296 | + [ sp:varName "productionFlow"^^xsd:string |
248 | ] | 297 | ] |
249 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 298 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; |
250 | sp:predicate rdf:type ; | 299 | sp:predicate rdf:type ; |
251 | sp:subject | 300 | sp:subject |
252 | - [ sp:varName "productionReport"^^xsd:string | 301 | + [ sp:varName "productionFlowToDate"^^xsd:string |
253 | ] | 302 | ] |
254 | ] [ sp:object | 303 | ] [ sp:object |
255 | [ sp:varName "productVolumeRef"^^xsd:string | 304 | [ sp:varName "productVolumeRef"^^xsd:string |
256 | ] ; | 305 | ] ; |
257 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 306 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
258 | - sp:subject spin:_this | 307 | + sp:subject |
259 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | 308 | + [ sp:varName "productionInventory"^^xsd:string |
309 | + ] | ||
310 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ; | ||
260 | sp:predicate rdf:type ; | 311 | sp:predicate rdf:type ; |
261 | sp:subject | 312 | sp:subject |
262 | - [ sp:varName "productVolumeRef"^^xsd:string | 313 | + [ sp:varName "productionInventory"^^xsd:string |
263 | ] | 314 | ] |
264 | ] [ sp:object | 315 | ] [ sp:object |
265 | - [ sp:varName "productVolumeRef"^^xsd:string | 316 | + [ sp:varName "productionInventoryToDate"^^xsd:string |
266 | ] ; | 317 | ] ; |
267 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 318 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
268 | sp:subject | 319 | sp:subject |
269 | - [ sp:varName "productVolumeReport"^^xsd:string | 320 | + [ sp:varName "productionInventory"^^xsd:string |
270 | ] | 321 | ] |
271 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | 322 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate> ; |
272 | sp:predicate rdf:type ; | 323 | sp:predicate rdf:type ; |
273 | sp:subject | 324 | sp:subject |
274 | - [ sp:varName "productVolumeReport"^^xsd:string | 325 | + [ sp:varName "productionInventoryToDate"^^xsd:string |
275 | ] | 326 | ] |
276 | ] [ sp:object | 327 | ] [ sp:object |
277 | [ sp:varName "productVolumeRef"^^xsd:string | 328 | [ sp:varName "productVolumeRef"^^xsd:string |
... | @@ -301,187 +352,27 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -301,187 +352,27 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
301 | ] ; | 352 | ] ; |
302 | spin:rule | 353 | spin:rule |
303 | [ rdf:type sp:Construct ; | 354 | [ rdf:type sp:Construct ; |
304 | - rdfs:comment "STEP 20050 Set the context facility - installation is always specified"^^xsd:string ; | 355 | + rdfs:comment """STEP 20060 Set the facility operator |
305 | - sp:templates ([ sp:object | 356 | +role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
306 | - [ sp:varName "contextFacility"^^xsd:string | 357 | + sp:templates ([ sp:object _:b1 ; |
307 | - ] ; | 358 | + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; |
308 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
309 | sp:subject | 359 | sp:subject |
310 | - [ sp:varName "productionFacility"^^xsd:string | 360 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
311 | ] | 361 | ] |
362 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; | ||
363 | + sp:predicate rdf:type ; | ||
364 | + sp:subject _:b1 | ||
365 | + ] [ sp:object | ||
366 | + [ sp:varName "operator"^^xsd:string | ||
367 | + ] ; | ||
368 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
369 | + sp:subject _:b1 | ||
312 | ]) ; | 370 | ]) ; |
313 | sp:where ([ sp:object | 371 | sp:where ([ sp:object |
314 | [ sp:varName "productVolumeRef"^^xsd:string | 372 | [ sp:varName "productVolumeRef"^^xsd:string |
315 | ] ; | 373 | ] ; |
316 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 374 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
317 | sp:subject spin:_this | 375 | sp:subject spin:_this |
318 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
319 | - sp:predicate rdf:type ; | ||
320 | - sp:subject | ||
321 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
322 | - ] | ||
323 | - ] [ sp:object | ||
324 | - [ sp:varName "installationRef"^^xsd:string | ||
325 | - ] ; | ||
326 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; | ||
327 | - sp:subject | ||
328 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
329 | - ] | ||
330 | - ] [ sp:object | ||
331 | - [ sp:varName "installationRef"^^xsd:string | ||
332 | - ] ; | ||
333 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
334 | - sp:subject | ||
335 | - [ sp:varName "productionFacility"^^xsd:string | ||
336 | - ] | ||
337 | - ] [ sp:object | ||
338 | - [ sp:varName "contextFacilityRef"^^xsd:string | ||
339 | - ] ; | ||
340 | - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; | ||
341 | - sp:subject | ||
342 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
343 | - ] | ||
344 | - ] [ sp:object | ||
345 | - [ sp:varName "contextFacilityRef"^^xsd:string | ||
346 | - ] ; | ||
347 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
348 | - sp:subject | ||
349 | - [ sp:varName "contextFacility"^^xsd:string | ||
350 | - ] | ||
351 | - ]) | ||
352 | - ] ; | ||
353 | - spin:rule | ||
354 | - [ rdf:type sp:Construct ; | ||
355 | - rdfs:comment "STEP 20033 Inherit end dates from the report context if necessary"^^xsd:string ; | ||
356 | - sp:templates ([ sp:object | ||
357 | - [ sp:varName "dateEnd"^^xsd:string | ||
358 | - ] ; | ||
359 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
360 | - sp:subject | ||
361 | - [ sp:varName "productionFlow"^^xsd:string | ||
362 | - ] | ||
363 | - ] [ sp:object | ||
364 | - [ sp:varName "dateEnd"^^xsd:string | ||
365 | - ] ; | ||
366 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
367 | - sp:subject | ||
368 | - [ sp:varName "productionFlowToDate"^^xsd:string | ||
369 | - ] | ||
370 | - ] [ sp:object | ||
371 | - [ sp:varName "dateEnd"^^xsd:string | ||
372 | - ] ; | ||
373 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
374 | - sp:subject | ||
375 | - [ sp:varName "productionInventory"^^xsd:string | ||
376 | - ] | ||
377 | - ] [ sp:object | ||
378 | - [ sp:varName "dateEnd"^^xsd:string | ||
379 | - ] ; | ||
380 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
381 | - sp:subject | ||
382 | - [ sp:varName "productionInventoryToDate"^^xsd:string | ||
383 | - ] | ||
384 | - ] [ sp:object | ||
385 | - [ sp:varName "dateEnd"^^xsd:string | ||
386 | - ] ; | ||
387 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
388 | - sp:subject | ||
389 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
390 | - ] | ||
391 | - ] [ sp:object | ||
392 | - [ sp:varName "dateEnd"^^xsd:string | ||
393 | - ] ; | ||
394 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
395 | - sp:subject | ||
396 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
397 | - ] | ||
398 | - ]) ; | ||
399 | - sp:where ([ sp:object | ||
400 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
401 | - ] ; | ||
402 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
403 | - sp:subject spin:_this | ||
404 | - ] [ sp:object | ||
405 | - [ sp:varName "dateEnd"^^xsd:string | ||
406 | - ] ; | ||
407 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ; | ||
408 | - sp:subject spin:_this | ||
409 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
410 | - sp:predicate rdf:type ; | ||
411 | - sp:subject | ||
412 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
413 | - ] | ||
414 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
415 | - sp:predicate rdf:type ; | ||
416 | - sp:subject | ||
417 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
418 | - ] | ||
419 | - ] [ rdf:type sp:NotExists ; | ||
420 | - sp:elements ([ sp:object | ||
421 | - [ sp:varName "dateEndx"^^xsd:string | ||
422 | - ] ; | ||
423 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; | ||
424 | - sp:subject | ||
425 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
426 | - ] | ||
427 | - ]) | ||
428 | - ] [ rdf:type sp:NotExists ; | ||
429 | - sp:elements ([ sp:object | ||
430 | - [ sp:varName "dTimEndx"^^xsd:string | ||
431 | - ] ; | ||
432 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ; | ||
433 | - sp:subject | ||
434 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
435 | - ] | ||
436 | - ]) | ||
437 | - ] [ sp:object | ||
438 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
439 | - ] ; | ||
440 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
441 | - sp:subject | ||
442 | - [ sp:varName "productionFlow"^^xsd:string | ||
443 | - ] | ||
444 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
445 | - sp:predicate rdf:type ; | ||
446 | - sp:subject | ||
447 | - [ sp:varName "productionFlow"^^xsd:string | ||
448 | - ] | ||
449 | - ] [ sp:object | ||
450 | - [ sp:varName "productionFlowToDate"^^xsd:string | ||
451 | - ] ; | ||
452 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
453 | - sp:subject | ||
454 | - [ sp:varName "productionFlow"^^xsd:string | ||
455 | - ] | ||
456 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
457 | - sp:predicate rdf:type ; | ||
458 | - sp:subject | ||
459 | - [ sp:varName "productionFlowToDate"^^xsd:string | ||
460 | - ] | ||
461 | - ] [ sp:object | ||
462 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
463 | - ] ; | ||
464 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
465 | - sp:subject | ||
466 | - [ sp:varName "productionInventory"^^xsd:string | ||
467 | - ] | ||
468 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ; | ||
469 | - sp:predicate rdf:type ; | ||
470 | - sp:subject | ||
471 | - [ sp:varName "productionInventory"^^xsd:string | ||
472 | - ] | ||
473 | - ] [ sp:object | ||
474 | - [ sp:varName "productionInventoryToDate"^^xsd:string | ||
475 | - ] ; | ||
476 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
477 | - sp:subject | ||
478 | - [ sp:varName "productionInventory"^^xsd:string | ||
479 | - ] | ||
480 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate> ; | ||
481 | - sp:predicate rdf:type ; | ||
482 | - sp:subject | ||
483 | - [ sp:varName "productionInventoryToDate"^^xsd:string | ||
484 | - ] | ||
485 | ] [ sp:object | 376 | ] [ sp:object |
486 | [ sp:varName "productVolumeRef"^^xsd:string | 377 | [ sp:varName "productVolumeRef"^^xsd:string |
487 | ] ; | 378 | ] ; |
... | @@ -494,105 +385,30 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -494,105 +385,30 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
494 | sp:subject | 385 | sp:subject |
495 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 386 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
496 | ] | 387 | ] |
497 | - ] [ sp:object | ||
498 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
499 | - ] ; | ||
500 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
501 | - sp:subject | ||
502 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
503 | - ] | ||
504 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
505 | - sp:predicate rdf:type ; | ||
506 | - sp:subject | ||
507 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
508 | - ] | ||
509 | - ]) | ||
510 | - ] ; | ||
511 | - spin:rule | ||
512 | - [ rdf:type sp:Construct ; | ||
513 | - rdfs:comment "STEP 20020 Add the report kind ."^^xsd:string ; | ||
514 | - sp:templates ([ sp:object | ||
515 | - [ sp:varName "reportKind"^^xsd:string | ||
516 | - ] ; | ||
517 | - sp:predicate rdf:type ; | ||
518 | - sp:subject | ||
519 | - [ sp:varName "productVolumeReport"^^xsd:string | ||
520 | - ] | ||
521 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReportKind> ; | ||
522 | - sp:predicate rdf:type ; | ||
523 | - sp:subject | ||
524 | - [ sp:varName "reportKind"^^xsd:string | ||
525 | - ] | ||
526 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
527 | - sp:predicate rdfs:subClassOf ; | ||
528 | - sp:subject | ||
529 | - [ sp:varName "reportKind"^^xsd:string | ||
530 | - ] | ||
531 | - ] [ sp:object | ||
532 | - [ sp:varName "kind"^^xsd:string | ||
533 | - ] ; | ||
534 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
535 | - sp:subject | ||
536 | - [ sp:varName "reportKind"^^xsd:string | ||
537 | - ] | ||
538 | - ]) ; | ||
539 | - sp:where ([ sp:object | ||
540 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
541 | - ] ; | ||
542 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
543 | - sp:subject spin:_this | ||
544 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | 388 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
545 | sp:predicate rdf:type ; | 389 | sp:predicate rdf:type ; |
546 | sp:subject | 390 | sp:subject |
547 | [ sp:varName "productVolumeRef"^^xsd:string | 391 | [ sp:varName "productVolumeRef"^^xsd:string |
548 | ] | 392 | ] |
549 | ] [ sp:object | 393 | ] [ sp:object |
550 | - [ sp:varName "productVolumeRef"^^xsd:string | 394 | + [ sp:varName "operatorRef"^^xsd:string |
551 | - ] ; | ||
552 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
553 | - sp:subject | ||
554 | - [ sp:varName "productVolumeReport"^^xsd:string | ||
555 | - ] | ||
556 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
557 | - sp:predicate rdf:type ; | ||
558 | - sp:subject | ||
559 | - [ sp:varName "productVolumeReport"^^xsd:string | ||
560 | - ] | ||
561 | - ] [ sp:object | ||
562 | - [ sp:varName "nameRef"^^xsd:string | ||
563 | ] ; | 395 | ] ; |
564 | - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | 396 | + sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ; |
565 | sp:subject | 397 | sp:subject |
566 | [ sp:varName "productVolumeRef"^^xsd:string | 398 | [ sp:varName "productVolumeRef"^^xsd:string |
567 | ] | 399 | ] |
568 | ] [ sp:object | 400 | ] [ sp:object |
569 | - [ sp:varName "name"^^xsd:string | 401 | + [ sp:varName "operatorRef"^^xsd:string |
570 | - ] ; | ||
571 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
572 | - sp:subject | ||
573 | - [ sp:varName "nameRef"^^xsd:string | ||
574 | - ] | ||
575 | - ] [ sp:object | ||
576 | - [ sp:varName "kind"^^xsd:string | ||
577 | ] ; | 402 | ] ; |
578 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ; | 403 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
579 | sp:subject | 404 | sp:subject |
580 | - [ sp:varName "productVolumeRef"^^xsd:string | 405 | + [ sp:varName "operator"^^xsd:string |
581 | - ] | ||
582 | - ] [ rdf:type sp:Bind ; | ||
583 | - sp:expression | ||
584 | - [ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ; | ||
585 | - sp:arg1 [ sp:varName "kind"^^xsd:string | ||
586 | - ] | ||
587 | - ] ; | ||
588 | - sp:variable | ||
589 | - [ sp:varName "reportKind"^^xsd:string | ||
590 | ] | 406 | ] |
591 | ]) | 407 | ]) |
592 | ] ; | 408 | ] ; |
593 | spin:rule | 409 | spin:rule |
594 | [ rdf:type sp:Construct ; | 410 | [ rdf:type sp:Construct ; |
595 | - rdfs:comment "STEP 20040 Set the production facility - supplied"^^xsd:string ; | 411 | + rdfs:comment "STEP 20041 Set the production facility - taken from context"^^xsd:string ; |
596 | sp:templates ([ sp:object | 412 | sp:templates ([ sp:object |
597 | [ sp:varName "productionFacility"^^xsd:string | 413 | [ sp:varName "productionFacility"^^xsd:string |
598 | ] ; | 414 | ] ; |
... | @@ -615,30 +431,40 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -615,30 +431,40 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
615 | [ sp:varName "productVolumeRef"^^xsd:string | 431 | [ sp:varName "productVolumeRef"^^xsd:string |
616 | ] | 432 | ] |
617 | ]) ; | 433 | ]) ; |
618 | - sp:where ([ sp:object | 434 | + sp:where ([ sp:object spin:_this ; |
619 | - [ sp:varName "productVolumeRef"^^xsd:string | 435 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
620 | - ] ; | 436 | + sp:subject |
621 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 437 | + [ sp:varName "productionFacility"^^xsd:string |
622 | - sp:subject spin:_this | 438 | + ] |
623 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | 439 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; |
624 | sp:predicate rdf:type ; | 440 | sp:predicate rdf:type ; |
625 | sp:subject | 441 | sp:subject |
626 | - [ sp:varName "productVolumeRef"^^xsd:string | 442 | + [ sp:varName "productionFacility"^^xsd:string |
627 | ] | 443 | ] |
628 | ] [ sp:object | 444 | ] [ sp:object |
629 | - [ sp:varName "installationRef"^^xsd:string | 445 | + [ sp:varName "normalizedProductionFacilityName"^^xsd:string |
630 | ] ; | 446 | ] ; |
631 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; | 447 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; |
632 | - sp:subject | 448 | + sp:subject spin:_this |
633 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
634 | - ] | ||
635 | ] [ sp:object | 449 | ] [ sp:object |
636 | - [ sp:varName "installationRef"^^xsd:string | 450 | + [ sp:varName "productVolumeRef"^^xsd:string |
637 | ] ; | 451 | ] ; |
638 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 452 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
453 | + sp:subject spin:_this | ||
454 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
455 | + sp:predicate rdf:type ; | ||
639 | sp:subject | 456 | sp:subject |
640 | - [ sp:varName "productionFacility"^^xsd:string | 457 | + [ sp:varName "productVolumeRef"^^xsd:string |
641 | ] | 458 | ] |
459 | + ] [ rdf:type sp:NotExists ; | ||
460 | + sp:elements ([ sp:object | ||
461 | + [ sp:varName "installationRefx"^^xsd:string | ||
462 | + ] ; | ||
463 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; | ||
464 | + sp:subject | ||
465 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
466 | + ] | ||
467 | + ]) | ||
642 | ] [ sp:object | 468 | ] [ sp:object |
643 | [ sp:varName "productVolumeRef"^^xsd:string | 469 | [ sp:varName "productVolumeRef"^^xsd:string |
644 | ] ; | 470 | ] ; |
... | @@ -659,19 +485,9 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -659,19 +485,9 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
659 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 485 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
660 | ] | 486 | ] |
661 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | 487 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; |
662 | - sp:predicate rdf:type ; | 488 | + sp:predicate rdf:type ; |
663 | - sp:subject | 489 | + sp:subject |
664 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 490 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
665 | - ] | ||
666 | - ] [ rdf:type sp:Bind ; | ||
667 | - sp:expression | ||
668 | - [ rdf:type spl:object ; | ||
669 | - sp:arg1 [ sp:varName "installationRef"^^xsd:string | ||
670 | - ] ; | ||
671 | - sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> | ||
672 | - ] ; | ||
673 | - sp:variable | ||
674 | - [ sp:varName "normalizedProductionFacilityName"^^xsd:string | ||
675 | ] | 491 | ] |
676 | ]) | 492 | ]) |
677 | ] ; | 493 | ] ; |
... | @@ -680,46 +496,46 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -680,46 +496,46 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
680 | rdfs:comment "STEP 20010 Create the ProductVolumeReport; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ; | 496 | rdfs:comment "STEP 20010 Create the ProductVolumeReport; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ; |
681 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | 497 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; |
682 | sp:predicate rdf:type ; | 498 | sp:predicate rdf:type ; |
683 | - sp:subject _:b4 | 499 | + sp:subject _:b2 |
684 | ] [ sp:object | 500 | ] [ sp:object |
685 | [ sp:varName "productionReport"^^xsd:string | 501 | [ sp:varName "productionReport"^^xsd:string |
686 | ] ; | 502 | ] ; |
687 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 503 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
688 | - sp:subject _:b4 | 504 | + sp:subject _:b2 |
689 | ] [ sp:object | 505 | ] [ sp:object |
690 | [ sp:varName "name"^^xsd:string | 506 | [ sp:varName "name"^^xsd:string |
691 | ] ; | 507 | ] ; |
692 | sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | 508 | sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
693 | - sp:subject _:b4 | 509 | + sp:subject _:b2 |
694 | ] [ sp:object | 510 | ] [ sp:object |
695 | [ sp:varName "reportPeriodType"^^xsd:string | 511 | [ sp:varName "reportPeriodType"^^xsd:string |
696 | ] ; | 512 | ] ; |
697 | sp:predicate rdf:type ; | 513 | sp:predicate rdf:type ; |
698 | - sp:subject _:b4 | 514 | + sp:subject _:b2 |
699 | ] [ sp:object | 515 | ] [ sp:object |
700 | [ sp:varName "productVolumeRef"^^xsd:string | 516 | [ sp:varName "productVolumeRef"^^xsd:string |
701 | ] ; | 517 | ] ; |
702 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 518 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
703 | - sp:subject _:b4 | 519 | + sp:subject _:b2 |
704 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 520 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
705 | sp:predicate rdf:type ; | 521 | sp:predicate rdf:type ; |
706 | - sp:subject _:b5 | 522 | + sp:subject _:b3 |
707 | ] [ sp:object | 523 | ] [ sp:object |
708 | [ sp:varName "productVolumeRef"^^xsd:string | 524 | [ sp:varName "productVolumeRef"^^xsd:string |
709 | ] ; | 525 | ] ; |
710 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 526 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
711 | - sp:subject _:b5 | 527 | + sp:subject _:b3 |
712 | - ] [ sp:object _:b6 ; | 528 | + ] [ sp:object _:b4 ; |
713 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 529 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
714 | - sp:subject _:b5 | 530 | + sp:subject _:b3 |
715 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | 531 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; |
716 | sp:predicate rdf:type ; | 532 | sp:predicate rdf:type ; |
717 | - sp:subject _:b6 | 533 | + sp:subject _:b4 |
718 | ] [ sp:object | 534 | ] [ sp:object |
719 | [ sp:varName "title"^^xsd:string | 535 | [ sp:varName "title"^^xsd:string |
720 | ] ; | 536 | ] ; |
721 | sp:predicate <http://purl.org/dc/elements/1.1/title> ; | 537 | sp:predicate <http://purl.org/dc/elements/1.1/title> ; |
722 | - sp:subject _:b4 | 538 | + sp:subject _:b2 |
723 | ]) ; | 539 | ]) ; |
724 | sp:where ([ sp:object spin:_this ; | 540 | sp:where ([ sp:object spin:_this ; |
725 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 541 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
... | @@ -793,65 +609,267 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -793,65 +609,267 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
793 | ] ; | 609 | ] ; |
794 | spin:rule | 610 | spin:rule |
795 | [ rdf:type sp:Construct ; | 611 | [ rdf:type sp:Construct ; |
796 | - rdfs:comment "STEP 20030 Record the start and end date-times"^^xsd:string ; | 612 | + rdfs:comment "STEP 20012 Create the period ProductionInventory and the ProductionInventoryToDate."^^xsd:string ; |
613 | + sp:templates ([ sp:object _:b5 ; | ||
614 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
615 | + sp:subject | ||
616 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
617 | + ] | ||
618 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ; | ||
619 | + sp:predicate rdf:type ; | ||
620 | + sp:subject _:b5 | ||
621 | + ] [ sp:object | ||
622 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
623 | + ] ; | ||
624 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
625 | + sp:subject _:b5 | ||
626 | + ] [ sp:object _:b6 ; | ||
627 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
628 | + sp:subject _:b5 | ||
629 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate> ; | ||
630 | + sp:predicate rdf:type ; | ||
631 | + sp:subject _:b6 | ||
632 | + ] [ sp:object _:b5 ; | ||
633 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; | ||
634 | + sp:subject | ||
635 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
636 | + ] | ||
637 | + ] [ sp:object _:b6 ; | ||
638 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; | ||
639 | + sp:subject | ||
640 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
641 | + ] | ||
642 | + ]) ; | ||
643 | + sp:where ([ sp:object spin:_this ; | ||
644 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
645 | + sp:subject | ||
646 | + [ sp:varName "productionReport"^^xsd:string | ||
647 | + ] | ||
648 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
649 | + sp:predicate rdf:type ; | ||
650 | + sp:subject | ||
651 | + [ sp:varName "productionReport"^^xsd:string | ||
652 | + ] | ||
653 | + ] [ sp:object | ||
654 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
655 | + ] ; | ||
656 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
657 | + sp:subject spin:_this | ||
658 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
659 | + sp:predicate rdf:type ; | ||
660 | + sp:subject | ||
661 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
662 | + ] | ||
663 | + ] [ sp:object | ||
664 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
665 | + ] ; | ||
666 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
667 | + sp:subject | ||
668 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
669 | + ] | ||
670 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
671 | + sp:predicate rdf:type ; | ||
672 | + sp:subject | ||
673 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
674 | + ] | ||
675 | + ] [ sp:object | ||
676 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
677 | + ] ; | ||
678 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
679 | + sp:subject | ||
680 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
681 | + ] | ||
682 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
683 | + sp:predicate rdf:type ; | ||
684 | + sp:subject | ||
685 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
686 | + ] | ||
687 | + ] [ sp:object | ||
688 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
689 | + ] ; | ||
690 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
691 | + sp:subject | ||
692 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
693 | + ] | ||
694 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
695 | + sp:predicate rdf:type ; | ||
696 | + sp:subject | ||
697 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
698 | + ] | ||
699 | + ]) | ||
700 | + ] ; | ||
701 | + spin:rule | ||
702 | + [ rdf:type sp:Construct ; | ||
703 | + rdfs:comment "STEP 20032 Inherit start dates from the report context if necessary"^^xsd:string ; | ||
797 | sp:templates ([ sp:object | 704 | sp:templates ([ sp:object |
798 | - [ sp:varName "dTimStart"^^xsd:string | 705 | + [ sp:varName "dateStart"^^xsd:string |
799 | ] ; | 706 | ] ; |
800 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 707 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
801 | sp:subject | 708 | sp:subject |
802 | [ sp:varName "productionFlow"^^xsd:string | 709 | [ sp:varName "productionFlow"^^xsd:string |
803 | ] | 710 | ] |
804 | ] [ sp:object | 711 | ] [ sp:object |
805 | - [ sp:varName "dTimEnd"^^xsd:string | 712 | + [ sp:varName "dateStart"^^xsd:string |
806 | ] ; | 713 | ] ; |
807 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 714 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
715 | + sp:subject | ||
716 | + [ sp:varName "productionInventory"^^xsd:string | ||
717 | + ] | ||
718 | + ] [ sp:object | ||
719 | + [ sp:varName "dateStart"^^xsd:string | ||
720 | + ] ; | ||
721 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
722 | + sp:subject | ||
723 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
724 | + ] | ||
725 | + ]) ; | ||
726 | + sp:where ([ sp:object | ||
727 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
728 | + ] ; | ||
729 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
730 | + sp:subject spin:_this | ||
731 | + ] [ sp:object | ||
732 | + [ sp:varName "dateStart"^^xsd:string | ||
733 | + ] ; | ||
734 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ; | ||
735 | + sp:subject spin:_this | ||
736 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
737 | + sp:predicate rdf:type ; | ||
738 | + sp:subject | ||
739 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
740 | + ] | ||
741 | + ] [ rdf:type sp:NotExists ; | ||
742 | + sp:elements ([ sp:object | ||
743 | + [ sp:varName "dateStartx"^^xsd:string | ||
744 | + ] ; | ||
745 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; | ||
746 | + sp:subject | ||
747 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
748 | + ] | ||
749 | + ]) | ||
750 | + ] [ rdf:type sp:NotExists ; | ||
751 | + sp:elements ([ sp:object | ||
752 | + [ sp:varName "dTimStartx"^^xsd:string | ||
753 | + ] ; | ||
754 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ; | ||
755 | + sp:subject | ||
756 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
757 | + ] | ||
758 | + ]) | ||
759 | + ] [ sp:object | ||
760 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
761 | + ] ; | ||
762 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
763 | + sp:subject | ||
764 | + [ sp:varName "productionFlow"^^xsd:string | ||
765 | + ] | ||
766 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
767 | + sp:predicate rdf:type ; | ||
808 | sp:subject | 768 | sp:subject |
809 | [ sp:varName "productionFlow"^^xsd:string | 769 | [ sp:varName "productionFlow"^^xsd:string |
810 | ] | 770 | ] |
811 | ] [ sp:object | 771 | ] [ sp:object |
812 | - [ sp:varName "dTimEnd"^^xsd:string | 772 | + [ sp:varName "productionFlowToDate"^^xsd:string |
813 | ] ; | 773 | ] ; |
814 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 774 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
775 | + sp:subject | ||
776 | + [ sp:varName "productionFlow"^^xsd:string | ||
777 | + ] | ||
778 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
779 | + sp:predicate rdf:type ; | ||
815 | sp:subject | 780 | sp:subject |
816 | [ sp:varName "productionFlowToDate"^^xsd:string | 781 | [ sp:varName "productionFlowToDate"^^xsd:string |
817 | ] | 782 | ] |
818 | ] [ sp:object | 783 | ] [ sp:object |
819 | - [ sp:varName "dTimStart"^^xsd:string | 784 | + [ sp:varName "productVolumeRef"^^xsd:string |
820 | ] ; | 785 | ] ; |
821 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 786 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
787 | + sp:subject | ||
788 | + [ sp:varName "productionInventory"^^xsd:string | ||
789 | + ] | ||
790 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ; | ||
791 | + sp:predicate rdf:type ; | ||
822 | sp:subject | 792 | sp:subject |
823 | [ sp:varName "productionInventory"^^xsd:string | 793 | [ sp:varName "productionInventory"^^xsd:string |
824 | ] | 794 | ] |
825 | ] [ sp:object | 795 | ] [ sp:object |
826 | - [ sp:varName "dTimEnd"^^xsd:string | 796 | + [ sp:varName "productionInventoryToDate"^^xsd:string |
827 | ] ; | 797 | ] ; |
828 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 798 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
829 | sp:subject | 799 | sp:subject |
830 | [ sp:varName "productionInventory"^^xsd:string | 800 | [ sp:varName "productionInventory"^^xsd:string |
831 | ] | 801 | ] |
802 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate> ; | ||
803 | + sp:predicate rdf:type ; | ||
804 | + sp:subject | ||
805 | + [ sp:varName "productionInventoryToDate"^^xsd:string | ||
806 | + ] | ||
832 | ] [ sp:object | 807 | ] [ sp:object |
833 | - [ sp:varName "dTimEnd"^^xsd:string | 808 | + [ sp:varName "productVolumeRef"^^xsd:string |
834 | ] ; | 809 | ] ; |
835 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 810 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
836 | sp:subject | 811 | sp:subject |
837 | - [ sp:varName "productionInventoryToDate"^^xsd:string | 812 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
813 | + ] | ||
814 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
815 | + sp:predicate rdf:type ; | ||
816 | + sp:subject | ||
817 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
838 | ] | 818 | ] |
839 | ] [ sp:object | 819 | ] [ sp:object |
840 | - [ sp:varName "dTimStart"^^xsd:string | 820 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
841 | ] ; | 821 | ] ; |
842 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 822 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
843 | sp:subject | 823 | sp:subject |
844 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 824 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
845 | ] | 825 | ] |
826 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
827 | + sp:predicate rdf:type ; | ||
828 | + sp:subject | ||
829 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
830 | + ] | ||
831 | + ]) | ||
832 | + ] ; | ||
833 | + spin:rule | ||
834 | + [ rdf:type sp:Construct ; | ||
835 | + rdfs:comment "STEP 20033 Inherit end dates from the report context if necessary"^^xsd:string ; | ||
836 | + sp:templates ([ sp:object | ||
837 | + [ sp:varName "dateEnd"^^xsd:string | ||
838 | + ] ; | ||
839 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
840 | + sp:subject | ||
841 | + [ sp:varName "productionFlow"^^xsd:string | ||
842 | + ] | ||
846 | ] [ sp:object | 843 | ] [ sp:object |
847 | - [ sp:varName "dTimEnd"^^xsd:string | 844 | + [ sp:varName "dateEnd"^^xsd:string |
845 | + ] ; | ||
846 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
847 | + sp:subject | ||
848 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
849 | + ] | ||
850 | + ] [ sp:object | ||
851 | + [ sp:varName "dateEnd"^^xsd:string | ||
852 | + ] ; | ||
853 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
854 | + sp:subject | ||
855 | + [ sp:varName "productionInventory"^^xsd:string | ||
856 | + ] | ||
857 | + ] [ sp:object | ||
858 | + [ sp:varName "dateEnd"^^xsd:string | ||
859 | + ] ; | ||
860 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
861 | + sp:subject | ||
862 | + [ sp:varName "productionInventoryToDate"^^xsd:string | ||
863 | + ] | ||
864 | + ] [ sp:object | ||
865 | + [ sp:varName "dateEnd"^^xsd:string | ||
848 | ] ; | 866 | ] ; |
849 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 867 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
850 | sp:subject | 868 | sp:subject |
851 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 869 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
852 | ] | 870 | ] |
853 | ] [ sp:object | 871 | ] [ sp:object |
854 | - [ sp:varName "dTimEnd"^^xsd:string | 872 | + [ sp:varName "dateEnd"^^xsd:string |
855 | ] ; | 873 | ] ; |
856 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 874 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
857 | sp:subject | 875 | sp:subject |
... | @@ -863,25 +881,39 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -863,25 +881,39 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
863 | ] ; | 881 | ] ; |
864 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 882 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
865 | sp:subject spin:_this | 883 | sp:subject spin:_this |
866 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
867 | - sp:predicate rdf:type ; | ||
868 | - sp:subject | ||
869 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
870 | - ] | ||
871 | ] [ sp:object | 884 | ] [ sp:object |
872 | - [ sp:varName "dTimStart"^^xsd:string | 885 | + [ sp:varName "dateEnd"^^xsd:string |
873 | ] ; | 886 | ] ; |
874 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ; | 887 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ; |
888 | + sp:subject spin:_this | ||
889 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
890 | + sp:predicate rdf:type ; | ||
875 | sp:subject | 891 | sp:subject |
876 | [ sp:varName "productVolumeRef"^^xsd:string | 892 | [ sp:varName "productVolumeRef"^^xsd:string |
877 | ] | 893 | ] |
878 | - ] [ sp:object | 894 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
879 | - [ sp:varName "dTimEnd"^^xsd:string | 895 | + sp:predicate rdf:type ; |
880 | - ] ; | ||
881 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ; | ||
882 | sp:subject | 896 | sp:subject |
883 | [ sp:varName "productVolumeRef"^^xsd:string | 897 | [ sp:varName "productVolumeRef"^^xsd:string |
884 | ] | 898 | ] |
899 | + ] [ rdf:type sp:NotExists ; | ||
900 | + sp:elements ([ sp:object | ||
901 | + [ sp:varName "dateEndx"^^xsd:string | ||
902 | + ] ; | ||
903 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; | ||
904 | + sp:subject | ||
905 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
906 | + ] | ||
907 | + ]) | ||
908 | + ] [ rdf:type sp:NotExists ; | ||
909 | + sp:elements ([ sp:object | ||
910 | + [ sp:varName "dTimEndx"^^xsd:string | ||
911 | + ] ; | ||
912 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ; | ||
913 | + sp:subject | ||
914 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
915 | + ] | ||
916 | + ]) | ||
885 | ] [ sp:object | 917 | ] [ sp:object |
886 | [ sp:varName "productVolumeRef"^^xsd:string | 918 | [ sp:varName "productVolumeRef"^^xsd:string |
887 | ] ; | 919 | ] ; |
... | @@ -958,7 +990,7 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -958,7 +990,7 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
958 | ] ; | 990 | ] ; |
959 | spin:rule | 991 | spin:rule |
960 | [ rdf:type sp:Construct ; | 992 | [ rdf:type sp:Construct ; |
961 | - rdfs:comment "STEP 20041 Set the production facility - taken from context"^^xsd:string ; | 993 | + rdfs:comment "STEP 20040 Set the production facility - supplied"^^xsd:string ; |
962 | sp:templates ([ sp:object | 994 | sp:templates ([ sp:object |
963 | [ sp:varName "productionFacility"^^xsd:string | 995 | [ sp:varName "productionFacility"^^xsd:string |
964 | ] ; | 996 | ] ; |
... | @@ -973,19 +1005,6 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -973,19 +1005,6 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
973 | sp:subject | 1005 | sp:subject |
974 | [ sp:varName "productionFacilityToDate"^^xsd:string | 1006 | [ sp:varName "productionFacilityToDate"^^xsd:string |
975 | ] | 1007 | ] |
976 | - ] [ sp:object | ||
977 | - [ sp:varName "normalizedProductionFacilityName"^^xsd:string | ||
978 | - ] ; | ||
979 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; | ||
980 | - sp:subject | ||
981 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
982 | - ] | ||
983 | - ]) ; | ||
984 | - sp:where ([ sp:object spin:_this ; | ||
985 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
986 | - sp:subject | ||
987 | - [ sp:varName "productionFacility"^^xsd:string | ||
988 | - ] | ||
989 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | 1008 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; |
990 | sp:predicate rdf:type ; | 1009 | sp:predicate rdf:type ; |
991 | sp:subject | 1010 | sp:subject |
... | @@ -995,8 +1014,11 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -995,8 +1014,11 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
995 | [ sp:varName "normalizedProductionFacilityName"^^xsd:string | 1014 | [ sp:varName "normalizedProductionFacilityName"^^xsd:string |
996 | ] ; | 1015 | ] ; |
997 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; | 1016 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; |
998 | - sp:subject spin:_this | 1017 | + sp:subject |
999 | - ] [ sp:object | 1018 | + [ sp:varName "productVolumeRef"^^xsd:string |
1019 | + ] | ||
1020 | + ]) ; | ||
1021 | + sp:where ([ sp:object | ||
1000 | [ sp:varName "productVolumeRef"^^xsd:string | 1022 | [ sp:varName "productVolumeRef"^^xsd:string |
1001 | ] ; | 1023 | ] ; |
1002 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 1024 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
... | @@ -1006,15 +1028,20 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1006,15 +1028,20 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
1006 | sp:subject | 1028 | sp:subject |
1007 | [ sp:varName "productVolumeRef"^^xsd:string | 1029 | [ sp:varName "productVolumeRef"^^xsd:string |
1008 | ] | 1030 | ] |
1009 | - ] [ rdf:type sp:NotExists ; | 1031 | + ] [ sp:object |
1010 | - sp:elements ([ sp:object | 1032 | + [ sp:varName "installationRef"^^xsd:string |
1011 | - [ sp:varName "installationRefx"^^xsd:string | 1033 | + ] ; |
1012 | - ] ; | 1034 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; |
1013 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; | 1035 | + sp:subject |
1014 | - sp:subject | 1036 | + [ sp:varName "productVolumeRef"^^xsd:string |
1015 | - [ sp:varName "productVolumeRef"^^xsd:string | 1037 | + ] |
1016 | - ] | 1038 | + ] [ sp:object |
1017 | - ]) | 1039 | + [ sp:varName "installationRef"^^xsd:string |
1040 | + ] ; | ||
1041 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
1042 | + sp:subject | ||
1043 | + [ sp:varName "productionFacility"^^xsd:string | ||
1044 | + ] | ||
1018 | ] [ sp:object | 1045 | ] [ sp:object |
1019 | [ sp:varName "productVolumeRef"^^xsd:string | 1046 | [ sp:varName "productVolumeRef"^^xsd:string |
1020 | ] ; | 1047 | ] ; |
... | @@ -1039,73 +1066,95 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1039,73 +1066,95 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
1039 | sp:subject | 1066 | sp:subject |
1040 | [ sp:varName "productionFacilityToDate"^^xsd:string | 1067 | [ sp:varName "productionFacilityToDate"^^xsd:string |
1041 | ] | 1068 | ] |
1069 | + ] [ rdf:type sp:Bind ; | ||
1070 | + sp:expression | ||
1071 | + [ rdf:type spl:object ; | ||
1072 | + sp:arg1 [ sp:varName "installationRef"^^xsd:string | ||
1073 | + ] ; | ||
1074 | + sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> | ||
1075 | + ] ; | ||
1076 | + sp:variable | ||
1077 | + [ sp:varName "normalizedProductionFacilityName"^^xsd:string | ||
1078 | + ] | ||
1042 | ]) | 1079 | ]) |
1043 | ] ; | 1080 | ] ; |
1044 | spin:rule | 1081 | spin:rule |
1045 | [ rdf:type sp:Construct ; | 1082 | [ rdf:type sp:Construct ; |
1046 | - rdfs:comment "STEP 20031 Record the start and end dates"^^xsd:string ; | 1083 | + rdfs:comment "STEP 20050 Set the context facility - installation is always specified"^^xsd:string ; |
1047 | sp:templates ([ sp:object | 1084 | sp:templates ([ sp:object |
1048 | - [ sp:varName "dateStart"^^xsd:string | 1085 | + [ sp:varName "contextFacility"^^xsd:string |
1049 | ] ; | 1086 | ] ; |
1050 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 1087 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
1051 | sp:subject | 1088 | sp:subject |
1052 | - [ sp:varName "productionFlow"^^xsd:string | 1089 | + [ sp:varName "productionFacility"^^xsd:string |
1053 | ] | 1090 | ] |
1054 | - ] [ sp:object | 1091 | + ]) ; |
1055 | - [ sp:varName "dateEnd"^^xsd:string | 1092 | + sp:where ([ sp:object |
1093 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1056 | ] ; | 1094 | ] ; |
1057 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1095 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
1096 | + sp:subject spin:_this | ||
1097 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
1098 | + sp:predicate rdf:type ; | ||
1058 | sp:subject | 1099 | sp:subject |
1059 | - [ sp:varName "productionFlow"^^xsd:string | 1100 | + [ sp:varName "productVolumeRef"^^xsd:string |
1060 | ] | 1101 | ] |
1061 | ] [ sp:object | 1102 | ] [ sp:object |
1062 | - [ sp:varName "dateEnd"^^xsd:string | 1103 | + [ sp:varName "installationRef"^^xsd:string |
1063 | ] ; | 1104 | ] ; |
1064 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1105 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; |
1065 | sp:subject | 1106 | sp:subject |
1066 | - [ sp:varName "productionFlowToDate"^^xsd:string | 1107 | + [ sp:varName "productVolumeRef"^^xsd:string |
1067 | ] | 1108 | ] |
1068 | ] [ sp:object | 1109 | ] [ sp:object |
1069 | - [ sp:varName "dateStart"^^xsd:string | 1110 | + [ sp:varName "installationRef"^^xsd:string |
1070 | ] ; | 1111 | ] ; |
1071 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 1112 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1072 | sp:subject | 1113 | sp:subject |
1073 | - [ sp:varName "productionInventory"^^xsd:string | 1114 | + [ sp:varName "productionFacility"^^xsd:string |
1074 | ] | 1115 | ] |
1075 | ] [ sp:object | 1116 | ] [ sp:object |
1076 | - [ sp:varName "dateEnd"^^xsd:string | 1117 | + [ sp:varName "contextFacilityRef"^^xsd:string |
1077 | ] ; | 1118 | ] ; |
1078 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1119 | + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; |
1079 | sp:subject | 1120 | sp:subject |
1080 | - [ sp:varName "productionInventory"^^xsd:string | 1121 | + [ sp:varName "productVolumeRef"^^xsd:string |
1081 | ] | 1122 | ] |
1082 | ] [ sp:object | 1123 | ] [ sp:object |
1083 | - [ sp:varName "dateEnd"^^xsd:string | 1124 | + [ sp:varName "contextFacilityRef"^^xsd:string |
1084 | ] ; | 1125 | ] ; |
1085 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1126 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1086 | sp:subject | 1127 | sp:subject |
1087 | - [ sp:varName "productionInventoryToDate"^^xsd:string | 1128 | + [ sp:varName "contextFacility"^^xsd:string |
1088 | ] | 1129 | ] |
1089 | - ] [ sp:object | 1130 | + ]) |
1090 | - [ sp:varName "dateStart"^^xsd:string | 1131 | + ] ; |
1132 | + spin:rule | ||
1133 | + [ rdf:type sp:Construct ; | ||
1134 | + rdfs:comment "STEP 20020 Add the report kind ."^^xsd:string ; | ||
1135 | + sp:templates ([ sp:object | ||
1136 | + [ sp:varName "reportKind"^^xsd:string | ||
1091 | ] ; | 1137 | ] ; |
1092 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 1138 | + sp:predicate rdf:type ; |
1093 | sp:subject | 1139 | sp:subject |
1094 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1140 | + [ sp:varName "productVolumeReport"^^xsd:string |
1095 | ] | 1141 | ] |
1096 | - ] [ sp:object | 1142 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReportKind> ; |
1097 | - [ sp:varName "dateEnd"^^xsd:string | 1143 | + sp:predicate rdf:type ; |
1098 | - ] ; | ||
1099 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
1100 | sp:subject | 1144 | sp:subject |
1101 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1145 | + [ sp:varName "reportKind"^^xsd:string |
1146 | + ] | ||
1147 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
1148 | + sp:predicate rdfs:subClassOf ; | ||
1149 | + sp:subject | ||
1150 | + [ sp:varName "reportKind"^^xsd:string | ||
1102 | ] | 1151 | ] |
1103 | ] [ sp:object | 1152 | ] [ sp:object |
1104 | - [ sp:varName "dateEnd"^^xsd:string | 1153 | + [ sp:varName "kind"^^xsd:string |
1105 | ] ; | 1154 | ] ; |
1106 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1155 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
1107 | sp:subject | 1156 | sp:subject |
1108 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 1157 | + [ sp:varName "reportKind"^^xsd:string |
1109 | ] | 1158 | ] |
1110 | ]) ; | 1159 | ]) ; |
1111 | sp:where ([ sp:object | 1160 | sp:where ([ sp:object |
... | @@ -1119,102 +1168,58 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1119,102 +1168,58 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
1119 | [ sp:varName "productVolumeRef"^^xsd:string | 1168 | [ sp:varName "productVolumeRef"^^xsd:string |
1120 | ] | 1169 | ] |
1121 | ] [ sp:object | 1170 | ] [ sp:object |
1122 | - [ sp:varName "dateStart"^^xsd:string | ||
1123 | - ] ; | ||
1124 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; | ||
1125 | - sp:subject | ||
1126 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1127 | - ] | ||
1128 | - ] [ sp:object | ||
1129 | - [ sp:varName "dateEnd"^^xsd:string | ||
1130 | - ] ; | ||
1131 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; | ||
1132 | - sp:subject | ||
1133 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1134 | - ] | ||
1135 | - ] [ sp:object | ||
1136 | [ sp:varName "productVolumeRef"^^xsd:string | 1171 | [ sp:varName "productVolumeRef"^^xsd:string |
1137 | ] ; | 1172 | ] ; |
1138 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1173 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1139 | sp:subject | 1174 | sp:subject |
1140 | - [ sp:varName "productionFlow"^^xsd:string | 1175 | + [ sp:varName "productVolumeReport"^^xsd:string |
1141 | ] | 1176 | ] |
1142 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | 1177 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; |
1143 | sp:predicate rdf:type ; | 1178 | sp:predicate rdf:type ; |
1144 | sp:subject | 1179 | sp:subject |
1145 | - [ sp:varName "productionFlow"^^xsd:string | 1180 | + [ sp:varName "productVolumeReport"^^xsd:string |
1146 | ] | 1181 | ] |
1147 | ] [ sp:object | 1182 | ] [ sp:object |
1148 | - [ sp:varName "productionFlowToDate"^^xsd:string | 1183 | + [ sp:varName "nameRef"^^xsd:string |
1149 | ] ; | 1184 | ] ; |
1150 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1185 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; |
1151 | - sp:subject | ||
1152 | - [ sp:varName "productionFlow"^^xsd:string | ||
1153 | - ] | ||
1154 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
1155 | - sp:predicate rdf:type ; | ||
1156 | sp:subject | 1186 | sp:subject |
1157 | - [ sp:varName "productionFlowToDate"^^xsd:string | ||
1158 | - ] | ||
1159 | - ] [ sp:object | ||
1160 | [ sp:varName "productVolumeRef"^^xsd:string | 1187 | [ sp:varName "productVolumeRef"^^xsd:string |
1161 | - ] ; | ||
1162 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
1163 | - sp:subject | ||
1164 | - [ sp:varName "productionInventory"^^xsd:string | ||
1165 | - ] | ||
1166 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ; | ||
1167 | - sp:predicate rdf:type ; | ||
1168 | - sp:subject | ||
1169 | - [ sp:varName "productionInventory"^^xsd:string | ||
1170 | ] | 1188 | ] |
1171 | ] [ sp:object | 1189 | ] [ sp:object |
1172 | - [ sp:varName "productionInventoryToDate"^^xsd:string | 1190 | + [ sp:varName "name"^^xsd:string |
1173 | ] ; | 1191 | ] ; |
1174 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1192 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
1175 | - sp:subject | ||
1176 | - [ sp:varName "productionInventory"^^xsd:string | ||
1177 | - ] | ||
1178 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate> ; | ||
1179 | - sp:predicate rdf:type ; | ||
1180 | sp:subject | 1193 | sp:subject |
1181 | - [ sp:varName "productionInventoryToDate"^^xsd:string | 1194 | + [ sp:varName "nameRef"^^xsd:string |
1182 | ] | 1195 | ] |
1183 | ] [ sp:object | 1196 | ] [ sp:object |
1184 | - [ sp:varName "productVolumeRef"^^xsd:string | 1197 | + [ sp:varName "kind"^^xsd:string |
1185 | ] ; | 1198 | ] ; |
1186 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1199 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ; |
1187 | - sp:subject | ||
1188 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
1189 | - ] | ||
1190 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
1191 | - sp:predicate rdf:type ; | ||
1192 | sp:subject | 1200 | sp:subject |
1193 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1201 | + [ sp:varName "productVolumeRef"^^xsd:string |
1194 | ] | 1202 | ] |
1195 | - ] [ sp:object | 1203 | + ] [ rdf:type sp:Bind ; |
1196 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 1204 | + sp:expression |
1205 | + [ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ; | ||
1206 | + sp:arg1 [ sp:varName "kind"^^xsd:string | ||
1207 | + ] | ||
1197 | ] ; | 1208 | ] ; |
1198 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1209 | + sp:variable |
1199 | - sp:subject | 1210 | + [ sp:varName "reportKind"^^xsd:string |
1200 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
1201 | - ] | ||
1202 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
1203 | - sp:predicate rdf:type ; | ||
1204 | - sp:subject | ||
1205 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1206 | ] | 1211 | ] |
1207 | ]) | 1212 | ]) |
1208 | ] ; | 1213 | ] ; |
1209 | spin:rule | 1214 | spin:rule |
1210 | [ rdf:type sp:Construct ; | 1215 | [ rdf:type sp:Construct ; |
1211 | - rdfs:comment "STEP 20012 Create the period ProductionInventory and the ProductionInventoryToDate - if necessary ."^^xsd:string ; | 1216 | + rdfs:comment "STEP 20011 Create the period ProductionFlow and the ProductionFlowToDate."^^xsd:string ; |
1212 | sp:templates ([ sp:object _:b7 ; | 1217 | sp:templates ([ sp:object _:b7 ; |
1213 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 1218 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
1214 | sp:subject | 1219 | sp:subject |
1215 | [ sp:varName "productVolumeReport"^^xsd:string | 1220 | [ sp:varName "productVolumeReport"^^xsd:string |
1216 | ] | 1221 | ] |
1217 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ; | 1222 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; |
1218 | sp:predicate rdf:type ; | 1223 | sp:predicate rdf:type ; |
1219 | sp:subject _:b7 | 1224 | sp:subject _:b7 |
1220 | ] [ sp:object | 1225 | ] [ sp:object |
... | @@ -1225,16 +1230,16 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1225,16 +1230,16 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
1225 | ] [ sp:object _:b8 ; | 1230 | ] [ sp:object _:b8 ; |
1226 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1231 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
1227 | sp:subject _:b7 | 1232 | sp:subject _:b7 |
1228 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryToDate> ; | 1233 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; |
1229 | sp:predicate rdf:type ; | 1234 | sp:predicate rdf:type ; |
1230 | sp:subject _:b8 | 1235 | sp:subject _:b8 |
1231 | ] [ sp:object _:b7 ; | 1236 | ] [ sp:object _:b7 ; |
1232 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; | 1237 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; |
1233 | sp:subject | 1238 | sp:subject |
1234 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1239 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
1235 | ] | 1240 | ] |
1236 | ] [ sp:object _:b8 ; | 1241 | ] [ sp:object _:b8 ; |
1237 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; | 1242 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; |
1238 | sp:subject | 1243 | sp:subject |
1239 | [ sp:varName "productionFacilityToDate"^^xsd:string | 1244 | [ sp:varName "productionFacilityToDate"^^xsd:string |
1240 | ] | 1245 | ] |
... | @@ -1300,5 +1305,5 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ... | @@ -1300,5 +1305,5 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; |
1300 | 1305 | ||
1301 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> | 1306 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> |
1302 | rdf:type owl:Ontology ; | 1307 | rdf:type owl:Ontology ; |
1303 | - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ; | 1308 | + owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; |
1304 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 1309 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
-
Please register or login to post a comment