Showing
2 changed files
with
336 additions
and
1 deletions
... | @@ -19,9 +19,343 @@ | ... | @@ -19,9 +19,343 @@ |
19 | 19 | ||
20 | <http://www.reportinghub.no/ep/spin/mpr-tables> | 20 | <http://www.reportinghub.no/ep/spin/mpr-tables> |
21 | rdf:type owl:Ontology ; | 21 | rdf:type owl:Ontology ; |
22 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; | 22 | + owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> ; |
23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
24 | 24 | ||
25 | +mpr-tables:Cargo | ||
26 | + rdf:type rhspin:TableTemplate ; | ||
27 | + rdfs:label "Cargo Information"^^xsd:string ; | ||
28 | + rdfs:subClassOf rhspin:MPRGTableTemplates ; | ||
29 | + spin:body | ||
30 | + [ rdf:type sp:Select ; | ||
31 | + sp:orderBy ([ sp:varName "facilityName"^^xsd:string | ||
32 | + ] [ sp:varName "purposeTypeName"^^xsd:string | ||
33 | + ]) ; | ||
34 | + sp:resultVariables ([ sp:varName "facilityName"^^xsd:string | ||
35 | + ] [ sp:varName "purposeTypeName"^^xsd:string | ||
36 | + ] [ sp:varName "materialTypeName"^^xsd:string | ||
37 | + ] [ sp:varName "definitionTypeName"^^xsd:string | ||
38 | + ] [ sp:varName "movementType"^^xsd:string | ||
39 | + ] [ sp:varName "cargoNumber"^^xsd:string | ||
40 | + ] [ sp:varName "cargoBatchNumber"^^xsd:string | ||
41 | + ] [ sp:varName "volumeValue"^^xsd:string | ||
42 | + ] [ sp:varName "shipperName"^^xsd:string | ||
43 | + ] [ sp:varName "destinationName"^^xsd:string | ||
44 | + ]) ; | ||
45 | + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
46 | + sp:predicate rdf:type ; | ||
47 | + sp:subject | ||
48 | + [ sp:varName "productionReport"^^xsd:string | ||
49 | + ] | ||
50 | + ] [ sp:object | ||
51 | + [ sp:varName "productionReport"^^xsd:string | ||
52 | + ] ; | ||
53 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
54 | + sp:subject | ||
55 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
56 | + ] | ||
57 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
58 | + sp:predicate rdf:type ; | ||
59 | + sp:subject | ||
60 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
61 | + ] | ||
62 | + ] [ sp:object | ||
63 | + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | ||
64 | + ] ; | ||
65 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
66 | + sp:subject | ||
67 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
68 | + ] | ||
69 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
70 | + sp:predicate rdf:type ; | ||
71 | + sp:subject | ||
72 | + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | ||
73 | + ] | ||
74 | + ] [ sp:object | ||
75 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
76 | + ] ; | ||
77 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
78 | + sp:subject | ||
79 | + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | ||
80 | + ] | ||
81 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
82 | + sp:predicate rdf:type ; | ||
83 | + sp:subject | ||
84 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
85 | + ] | ||
86 | + ] [ sp:object | ||
87 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
88 | + ] ; | ||
89 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
90 | + sp:subject | ||
91 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
92 | + ] | ||
93 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | ||
94 | + sp:predicate rdf:type ; | ||
95 | + sp:subject | ||
96 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
97 | + ] | ||
98 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting> ; | ||
99 | + sp:predicate rdf:type ; | ||
100 | + sp:subject | ||
101 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
102 | + ] | ||
103 | + ] [ sp:object | ||
104 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
105 | + ] ; | ||
106 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
107 | + sp:subject | ||
108 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
109 | + ] | ||
110 | + ] [ sp:object | ||
111 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
112 | + ] ; | ||
113 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
114 | + sp:subject | ||
115 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
116 | + ] | ||
117 | + ] [ sp:object | ||
118 | + [ sp:varName "facilityName"^^xsd:string | ||
119 | + ] ; | ||
120 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
121 | + sp:subject | ||
122 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
123 | + ] | ||
124 | + ] [ sp:object | ||
125 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
126 | + ] ; | ||
127 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
128 | + sp:subject | ||
129 | + [ sp:varName "productFlowPartOfMixedPart"^^xsd:string | ||
130 | + ] | ||
131 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | ||
132 | + sp:predicate rdf:type ; | ||
133 | + sp:subject | ||
134 | + [ sp:varName "productFlowPartOfMixedPart"^^xsd:string | ||
135 | + ] | ||
136 | + ] [ sp:object | ||
137 | + [ sp:varName "productFlowPartOfMixedPart"^^xsd:string | ||
138 | + ] ; | ||
139 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
140 | + sp:subject | ||
141 | + [ sp:varName "productFlowInMonth"^^xsd:string | ||
142 | + ] | ||
143 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowDuringMonth> ; | ||
144 | + sp:predicate rdf:type ; | ||
145 | + sp:subject | ||
146 | + [ sp:varName "productFlowInMonth"^^xsd:string | ||
147 | + ] | ||
148 | + ] [ sp:object | ||
149 | + [ sp:varName "materialFlowedInMonth"^^xsd:string | ||
150 | + ] ; | ||
151 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | ||
152 | + sp:subject | ||
153 | + [ sp:varName "productFlowInMonth"^^xsd:string | ||
154 | + ] | ||
155 | + ] [ sp:object | ||
156 | + [ sp:varName "materialFlowedInMonth"^^xsd:string | ||
157 | + ] ; | ||
158 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ; | ||
159 | + sp:subject | ||
160 | + [ sp:varName "spatialPartOfProductFlowInMonth"^^xsd:string | ||
161 | + ] | ||
162 | + ] [ sp:object | ||
163 | + [ sp:varName "spatialPartOfProductFlowInMonth"^^xsd:string | ||
164 | + ] ; | ||
165 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
166 | + sp:subject | ||
167 | + [ sp:varName "movedProduct"^^xsd:string | ||
168 | + ] | ||
169 | + ] [ sp:object | ||
170 | + [ sp:varName "cargoNumber"^^xsd:string | ||
171 | + ] ; | ||
172 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#cargoNumber> ; | ||
173 | + sp:subject | ||
174 | + [ sp:varName "movedProduct"^^xsd:string | ||
175 | + ] | ||
176 | + ] [ sp:object | ||
177 | + [ sp:varName "cargoBatchNumber"^^xsd:string | ||
178 | + ] ; | ||
179 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#cargoBatchNumber> ; | ||
180 | + sp:subject | ||
181 | + [ sp:varName "movedProduct"^^xsd:string | ||
182 | + ] | ||
183 | + ] [ sp:object | ||
184 | + [ sp:varName "movedProduct"^^xsd:string | ||
185 | + ] ; | ||
186 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
187 | + sp:subject | ||
188 | + [ sp:varName "volumeOfMovedProduct"^^xsd:string | ||
189 | + ] | ||
190 | + ] [ sp:object | ||
191 | + [ sp:varName "volumeQuantity"^^xsd:string | ||
192 | + ] ; | ||
193 | + sp:predicate rdf:type ; | ||
194 | + sp:subject | ||
195 | + [ sp:varName "volumeOfMovedProduct"^^xsd:string | ||
196 | + ] | ||
197 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
198 | + sp:predicate rdf:type ; | ||
199 | + sp:subject | ||
200 | + [ sp:varName "volumeQuantity"^^xsd:string | ||
201 | + ] | ||
202 | + ] [ sp:object | ||
203 | + [ sp:varName "volumeValue"^^xsd:string | ||
204 | + ] ; | ||
205 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ; | ||
206 | + sp:subject | ||
207 | + [ sp:varName "volumeQuantity"^^xsd:string | ||
208 | + ] | ||
209 | + ] [ sp:object | ||
210 | + [ sp:varName "movedProduct"^^xsd:string | ||
211 | + ] ; | ||
212 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ; | ||
213 | + sp:subject | ||
214 | + [ sp:varName "movementOfProduct"^^xsd:string | ||
215 | + ] | ||
216 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MovementOfProduct> ; | ||
217 | + sp:predicate rdf:type ; | ||
218 | + sp:subject | ||
219 | + [ sp:varName "movementOfProduct"^^xsd:string | ||
220 | + ] | ||
221 | + ] [ rdf:type sp:Optional ; | ||
222 | + sp:elements ([ sp:object | ||
223 | + [ sp:varName "movementOfProductType"^^xsd:string | ||
224 | + ] ; | ||
225 | + sp:predicate rdf:type ; | ||
226 | + sp:subject | ||
227 | + [ sp:varName "movementOfProduct"^^xsd:string | ||
228 | + ] | ||
229 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MovementOfProductType> ; | ||
230 | + sp:predicate rdf:type ; | ||
231 | + sp:subject | ||
232 | + [ sp:varName "movementOfProductType"^^xsd:string | ||
233 | + ] | ||
234 | + ] [ sp:object | ||
235 | + [ sp:varName "movementType"^^xsd:string | ||
236 | + ] ; | ||
237 | + sp:predicate rdfs:label ; | ||
238 | + sp:subject | ||
239 | + [ sp:varName "movementOfProductType"^^xsd:string | ||
240 | + ] | ||
241 | + ]) | ||
242 | + ] [ rdf:type sp:Optional ; | ||
243 | + sp:elements ([ sp:object | ||
244 | + [ sp:varName "destination"^^xsd:string | ||
245 | + ] ; | ||
246 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#destination> ; | ||
247 | + sp:subject | ||
248 | + [ sp:varName "movementOfProduct"^^xsd:string | ||
249 | + ] | ||
250 | + ] [ rdf:type sp:Optional ; | ||
251 | + sp:elements ([ sp:object | ||
252 | + [ sp:varName "destinationName"^^xsd:string | ||
253 | + ] ; | ||
254 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
255 | + sp:subject | ||
256 | + [ sp:varName "destination"^^xsd:string | ||
257 | + ] | ||
258 | + ]) | ||
259 | + ] [ rdf:type sp:Optional ; | ||
260 | + sp:elements ([ sp:object | ||
261 | + [ sp:varName "destinationName"^^xsd:string | ||
262 | + ] ; | ||
263 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
264 | + sp:subject | ||
265 | + [ sp:varName "destination"^^xsd:string | ||
266 | + ] | ||
267 | + ]) | ||
268 | + ]) | ||
269 | + ] [ rdf:type sp:Optional ; | ||
270 | + sp:elements ([ sp:object | ||
271 | + [ sp:varName "shipperPart"^^xsd:string | ||
272 | + ] ; | ||
273 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#shipper> ; | ||
274 | + sp:subject | ||
275 | + [ sp:varName "movementOfProduct"^^xsd:string | ||
276 | + ] | ||
277 | + ] [ sp:object | ||
278 | + [ sp:varName "shipper"^^xsd:string | ||
279 | + ] ; | ||
280 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
281 | + sp:subject | ||
282 | + [ sp:varName "shipperPart"^^xsd:string | ||
283 | + ] | ||
284 | + ] [ sp:object | ||
285 | + [ sp:varName "shipperName"^^xsd:string | ||
286 | + ] ; | ||
287 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
288 | + sp:subject | ||
289 | + [ sp:varName "shipper"^^xsd:string | ||
290 | + ] | ||
291 | + ]) | ||
292 | + ] [ rdf:type sp:Optional ; | ||
293 | + sp:elements ([ sp:object | ||
294 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
295 | + ] ; | ||
296 | + sp:predicate rdf:type ; | ||
297 | + sp:subject | ||
298 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
299 | + ] | ||
300 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
301 | + sp:predicate rdf:type ; | ||
302 | + sp:subject | ||
303 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
304 | + ] | ||
305 | + ] [ sp:object | ||
306 | + [ sp:varName "purposeTypeName"^^xsd:string | ||
307 | + ] ; | ||
308 | + sp:predicate rdfs:label ; | ||
309 | + sp:subject | ||
310 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
311 | + ] | ||
312 | + ]) | ||
313 | + ] [ rdf:type sp:Optional ; | ||
314 | + sp:elements ([ sp:object | ||
315 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
316 | + ] ; | ||
317 | + sp:predicate rdf:type ; | ||
318 | + sp:subject | ||
319 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
320 | + ] | ||
321 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; | ||
322 | + sp:predicate rdf:type ; | ||
323 | + sp:subject | ||
324 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
325 | + ] | ||
326 | + ] [ sp:object | ||
327 | + [ sp:varName "materialTypeName"^^xsd:string | ||
328 | + ] ; | ||
329 | + sp:predicate rdfs:label ; | ||
330 | + sp:subject | ||
331 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
332 | + ] | ||
333 | + ]) | ||
334 | + ] [ rdf:type sp:Optional ; | ||
335 | + sp:elements ([ sp:object | ||
336 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
337 | + ] ; | ||
338 | + sp:predicate rdf:type ; | ||
339 | + sp:subject | ||
340 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
341 | + ] | ||
342 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
343 | + sp:predicate rdf:type ; | ||
344 | + sp:subject | ||
345 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
346 | + ] | ||
347 | + ] [ sp:object | ||
348 | + [ sp:varName "definitionTypeName"^^xsd:string | ||
349 | + ] ; | ||
350 | + sp:predicate rdfs:label ; | ||
351 | + sp:subject | ||
352 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
353 | + ] | ||
354 | + ]) | ||
355 | + ]) | ||
356 | + ] ; | ||
357 | + rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Flow type"^^xsd:string "Movement Type"^^xsd:string "Cargo Number"^^xsd:string "Cargo Batch"^^xsd:string "Volume"^^xsd:string "Shipper"^^xsd:string "Destination"^^xsd:string) . | ||
358 | + | ||
25 | mpr-tables:GasSales | 359 | mpr-tables:GasSales |
26 | rdf:type rhspin:TableTemplate ; | 360 | rdf:type rhspin:TableTemplate ; |
27 | rdfs:label "Gas Sales"^^xsd:string ; | 361 | rdfs:label "Gas Sales"^^xsd:string ; | ... | ... |
... | @@ -175,6 +175,7 @@ OPTIONAL { | ... | @@ -175,6 +175,7 @@ OPTIONAL { |
175 | 175 | ||
176 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" /> | 176 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" /> |
177 | 177 | ||
178 | + <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" /> | ||
178 | 179 | ||
179 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" /> | 180 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" /> |
180 | 181 | ... | ... |
-
Please register or login to post a comment