Showing
2 changed files
with
845 additions
and
119 deletions
... | @@ -19,29 +19,26 @@ | ... | @@ -19,29 +19,26 @@ |
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://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> ; | 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> ; |
23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
24 | 24 | ||
25 | -mpr-tables:ProductionFlows | 25 | +mpr-tables:GasSales |
26 | rdf:type rhspin:TableTemplate ; | 26 | rdf:type rhspin:TableTemplate ; |
27 | - rdfs:label "Production flows"^^xsd:string ; | 27 | + rdfs:label "Gas Sales"^^xsd:string ; |
28 | rdfs:subClassOf rhspin:MPRGTableTemplates ; | 28 | rdfs:subClassOf rhspin:MPRGTableTemplates ; |
29 | spin:body | 29 | spin:body |
30 | [ rdf:type sp:Select ; | 30 | [ rdf:type sp:Select ; |
31 | - sp:resultVariables ([ sp:varName "productionFlowFacilityName"^^xsd:string | 31 | + sp:orderBy ([ sp:varName "facilityName"^^xsd:string |
32 | - ] [ sp:varName "productionFlowName"^^xsd:string | 32 | + ] [ sp:varName "purposeTypeName"^^xsd:string |
33 | - ] [ sp:varName "productionFlowDefinitionTypeName"^^xsd:string | 33 | + ]) ; |
34 | - ] [ sp:varName "productionFlowDefinitionSubTypeName"^^xsd:string | 34 | + sp:resultVariables ([ sp:varName "facilityName"^^xsd:string |
35 | - ] [ sp:varName "productionFlowPurposeTypeName"^^xsd:string | 35 | + ] [ sp:varName "purposeTypeName"^^xsd:string |
36 | - ] [ sp:varName "productFlowName"^^xsd:string | 36 | + ] [ sp:varName "materialTypeName"^^xsd:string |
37 | - ] [ sp:varName "productFlowMaterialTypeName"^^xsd:string | 37 | + ] [ sp:varName "definitionTypeName"^^xsd:string |
38 | - ] [ sp:varName "productFlowGrossOrNetTypeName"^^xsd:string | 38 | + ] [ sp:varName "sellerName"^^xsd:string |
39 | - ] [ sp:varName "productFlowInPeriodDurationTypeName"^^xsd:string | 39 | + ] [ sp:varName "buyerName"^^xsd:string |
40 | - ] [ sp:varName "massValueString"^^xsd:string | 40 | + ] [ sp:varName "volumeValue"^^xsd:string |
41 | - ] [ sp:varName "pressureInAtmospheres"^^xsd:string | 41 | + ] [ sp:varName "workValue"^^xsd:string |
42 | - ] [ sp:varName "temperatureInCelsius"^^xsd:string | ||
43 | - ] [ sp:varName "volumeInMetre3"^^xsd:string | ||
44 | - ] [ sp:varName "grossCalorificValueInMegaJouleMetre_3"^^xsd:string | ||
45 | ]) ; | 42 | ]) ; |
46 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 43 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
47 | sp:predicate rdf:type ; | 44 | sp:predicate rdf:type ; |
... | @@ -79,8 +76,13 @@ mpr-tables:ProductionFlows | ... | @@ -79,8 +76,13 @@ mpr-tables:ProductionFlows |
79 | sp:subject | 76 | sp:subject |
80 | [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | 77 | [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string |
81 | ] | 78 | ] |
79 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
80 | + sp:predicate rdf:type ; | ||
81 | + sp:subject | ||
82 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
83 | + ] | ||
82 | ] [ sp:object | 84 | ] [ sp:object |
83 | - [ sp:varName "productionFlow"^^xsd:string | 85 | + [ sp:varName "productionFlowWhole"^^xsd:string |
84 | ] ; | 86 | ] ; |
85 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 87 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
86 | sp:subject | 88 | sp:subject |
... | @@ -89,166 +91,498 @@ mpr-tables:ProductionFlows | ... | @@ -89,166 +91,498 @@ mpr-tables:ProductionFlows |
89 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | 91 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; |
90 | sp:predicate rdf:type ; | 92 | sp:predicate rdf:type ; |
91 | sp:subject | 93 | sp:subject |
92 | - [ sp:varName "productionFlow"^^xsd:string | 94 | + [ sp:varName "productionFlowWhole"^^xsd:string |
95 | + ] | ||
96 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ; | ||
97 | + sp:predicate rdf:type ; | ||
98 | + sp:subject | ||
99 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
100 | + ] | ||
101 | + ] [ sp:object | ||
102 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
103 | + ] ; | ||
104 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
105 | + sp:subject | ||
106 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
93 | ] | 107 | ] |
94 | ] [ sp:object | 108 | ] [ sp:object |
95 | [ sp:varName "productionFlowFacility"^^xsd:string | 109 | [ sp:varName "productionFlowFacility"^^xsd:string |
96 | ] ; | 110 | ] ; |
97 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | 111 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; |
98 | sp:subject | 112 | sp:subject |
99 | - [ sp:varName "productionFlow"^^xsd:string | 113 | + [ sp:varName "productionFlowWhole"^^xsd:string |
100 | ] | 114 | ] |
101 | ] [ sp:object | 115 | ] [ sp:object |
102 | - [ sp:varName "productionFlowFacilityName"^^xsd:string | 116 | + [ sp:varName "facilityName"^^xsd:string |
103 | ] ; | 117 | ] ; |
104 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 118 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
105 | sp:subject | 119 | sp:subject |
106 | [ sp:varName "productionFlowFacility"^^xsd:string | 120 | [ sp:varName "productionFlowFacility"^^xsd:string |
107 | ] | 121 | ] |
122 | + ] [ sp:object | ||
123 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
124 | + ] ; | ||
125 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
126 | + sp:subject | ||
127 | + [ sp:varName "productFlowPartOfMixedPart"^^xsd:string | ||
128 | + ] | ||
129 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | ||
130 | + sp:predicate rdf:type ; | ||
131 | + sp:subject | ||
132 | + [ sp:varName "productFlowPartOfMixedPart"^^xsd:string | ||
133 | + ] | ||
134 | + ] [ sp:object | ||
135 | + [ sp:varName "productFlowPartOfMixedPart"^^xsd:string | ||
136 | + ] ; | ||
137 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
138 | + sp:subject | ||
139 | + [ sp:varName "productFlowInMonth"^^xsd:string | ||
140 | + ] | ||
141 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowDuringMonth> ; | ||
142 | + sp:predicate rdf:type ; | ||
143 | + sp:subject | ||
144 | + [ sp:varName "productFlowInMonth"^^xsd:string | ||
145 | + ] | ||
146 | + ] [ sp:object | ||
147 | + [ sp:varName "materialFlowedInMonth"^^xsd:string | ||
148 | + ] ; | ||
149 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | ||
150 | + sp:subject | ||
151 | + [ sp:varName "productFlowInMonth"^^xsd:string | ||
152 | + ] | ||
153 | + ] [ sp:object | ||
154 | + [ sp:varName "materialFlowedInMonth"^^xsd:string | ||
155 | + ] ; | ||
156 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ; | ||
157 | + sp:subject | ||
158 | + [ sp:varName "spatialPartOfProductFlowInMonth"^^xsd:string | ||
159 | + ] | ||
160 | + ] [ sp:object | ||
161 | + [ sp:varName "spatialPartOfProductFlowInMonth"^^xsd:string | ||
162 | + ] ; | ||
163 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
164 | + sp:subject | ||
165 | + [ sp:varName "movedProduct"^^xsd:string | ||
166 | + ] | ||
167 | + ] [ sp:object | ||
168 | + [ sp:varName "movedProduct"^^xsd:string | ||
169 | + ] ; | ||
170 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ; | ||
171 | + sp:subject | ||
172 | + [ sp:varName "productTransaction"^^xsd:string | ||
173 | + ] | ||
174 | + ] [ sp:object | ||
175 | + [ sp:varName "workQuantity"^^xsd:string | ||
176 | + ] ; | ||
177 | + sp:predicate rdf:type ; | ||
178 | + sp:subject | ||
179 | + [ sp:varName "movedProduct"^^xsd:string | ||
180 | + ] | ||
181 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; | ||
182 | + sp:predicate rdf:type ; | ||
183 | + sp:subject | ||
184 | + [ sp:varName "workQuantity"^^xsd:string | ||
185 | + ] | ||
186 | + ] [ sp:object | ||
187 | + [ sp:varName "workValue"^^xsd:string | ||
188 | + ] ; | ||
189 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ; | ||
190 | + sp:subject | ||
191 | + [ sp:varName "workQuantity"^^xsd:string | ||
192 | + ] | ||
193 | + ] [ sp:object | ||
194 | + [ sp:varName "movedProduct"^^xsd:string | ||
195 | + ] ; | ||
196 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
197 | + sp:subject | ||
198 | + [ sp:varName "volumeOfMovedProduct"^^xsd:string | ||
199 | + ] | ||
200 | + ] [ sp:object | ||
201 | + [ sp:varName "volumeQuantity"^^xsd:string | ||
202 | + ] ; | ||
203 | + sp:predicate rdf:type ; | ||
204 | + sp:subject | ||
205 | + [ sp:varName "volumeOfMovedProduct"^^xsd:string | ||
206 | + ] | ||
207 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
208 | + sp:predicate rdf:type ; | ||
209 | + sp:subject | ||
210 | + [ sp:varName "volumeQuantity"^^xsd:string | ||
211 | + ] | ||
212 | + ] [ sp:object | ||
213 | + [ sp:varName "volumeValue"^^xsd:string | ||
214 | + ] ; | ||
215 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ; | ||
216 | + sp:subject | ||
217 | + [ sp:varName "volumeQuantity"^^xsd:string | ||
218 | + ] | ||
219 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductTransaction> ; | ||
220 | + sp:predicate rdf:type ; | ||
221 | + sp:subject | ||
222 | + [ sp:varName "productTransaction"^^xsd:string | ||
223 | + ] | ||
224 | + ] [ sp:object | ||
225 | + [ sp:varName "productMovement"^^xsd:string | ||
226 | + ] ; | ||
227 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
228 | + sp:subject | ||
229 | + [ sp:varName "productTransaction"^^xsd:string | ||
230 | + ] | ||
231 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MovementOfProduct> ; | ||
232 | + sp:predicate rdf:type ; | ||
233 | + sp:subject | ||
234 | + [ sp:varName "productMovement"^^xsd:string | ||
235 | + ] | ||
236 | + ] [ sp:object | ||
237 | + [ sp:varName "salesActivity"^^xsd:string | ||
238 | + ] ; | ||
239 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
240 | + sp:subject | ||
241 | + [ sp:varName "productMovement"^^xsd:string | ||
242 | + ] | ||
243 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SalesActivity> ; | ||
244 | + sp:predicate rdf:type ; | ||
245 | + sp:subject | ||
246 | + [ sp:varName "salesActivity"^^xsd:string | ||
247 | + ] | ||
248 | + ] [ sp:object | ||
249 | + [ sp:varName "sellerPart"^^xsd:string | ||
250 | + ] ; | ||
251 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#seller> ; | ||
252 | + sp:subject | ||
253 | + [ sp:varName "salesActivity"^^xsd:string | ||
254 | + ] | ||
255 | + ] [ sp:object | ||
256 | + [ sp:varName "seller"^^xsd:string | ||
257 | + ] ; | ||
258 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
259 | + sp:subject | ||
260 | + [ sp:varName "sellerPart"^^xsd:string | ||
261 | + ] | ||
262 | + ] [ sp:object | ||
263 | + [ sp:varName "sellerName"^^xsd:string | ||
264 | + ] ; | ||
265 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
266 | + sp:subject | ||
267 | + [ sp:varName "seller"^^xsd:string | ||
268 | + ] | ||
108 | ] [ rdf:type sp:Optional ; | 269 | ] [ rdf:type sp:Optional ; |
109 | sp:elements ([ sp:object | 270 | sp:elements ([ sp:object |
110 | - [ sp:varName "productionFlowName"^^xsd:string | 271 | + [ sp:varName "buyerPart"^^xsd:string |
111 | ] ; | 272 | ] ; |
112 | - sp:predicate rdfs:label ; | 273 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#buyer> ; |
113 | sp:subject | 274 | sp:subject |
114 | - [ sp:varName "productionFlow"^^xsd:string | 275 | + [ sp:varName "salesActivity"^^xsd:string |
115 | ] | 276 | ] |
116 | - ]) | 277 | + ] [ sp:object |
117 | - ] [ rdf:type sp:Optional ; | 278 | + [ sp:varName "buyer"^^xsd:string |
118 | - sp:elements ([ sp:object | ||
119 | - [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
120 | ] ; | 279 | ] ; |
121 | - sp:predicate rdf:type ; | 280 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
122 | - sp:subject | ||
123 | - [ sp:varName "productionFlow"^^xsd:string | ||
124 | - ] | ||
125 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
126 | - sp:predicate rdf:type ; | ||
127 | sp:subject | 281 | sp:subject |
128 | - [ sp:varName "productionFlowDefinitionType"^^xsd:string | 282 | + [ sp:varName "buyerPart"^^xsd:string |
129 | ] | 283 | ] |
130 | ] [ sp:object | 284 | ] [ sp:object |
131 | - [ sp:varName "productionFlowDefinitionTypeName"^^xsd:string | 285 | + [ sp:varName "buyerName"^^xsd:string |
132 | ] ; | 286 | ] ; |
133 | - sp:predicate rdfs:label ; | 287 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
134 | sp:subject | 288 | sp:subject |
135 | - [ sp:varName "productionFlowDefinitionType"^^xsd:string | 289 | + [ sp:varName "buyer"^^xsd:string |
136 | ] | 290 | ] |
137 | ]) | 291 | ]) |
138 | ] [ rdf:type sp:Optional ; | 292 | ] [ rdf:type sp:Optional ; |
139 | sp:elements ([ sp:object | 293 | sp:elements ([ sp:object |
140 | - [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | 294 | + [ sp:varName "productionFlowPurposeType"^^xsd:string |
141 | ] ; | 295 | ] ; |
142 | sp:predicate rdf:type ; | 296 | sp:predicate rdf:type ; |
143 | sp:subject | 297 | sp:subject |
144 | - [ sp:varName "productionFlow"^^xsd:string | 298 | + [ sp:varName "productionFlowWhole"^^xsd:string |
145 | ] | 299 | ] |
146 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionSubType> ; | 300 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; |
147 | sp:predicate rdf:type ; | 301 | sp:predicate rdf:type ; |
148 | sp:subject | 302 | sp:subject |
149 | - [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | 303 | + [ sp:varName "productionFlowPurposeType"^^xsd:string |
150 | ] | 304 | ] |
151 | ] [ sp:object | 305 | ] [ sp:object |
152 | - [ sp:varName "productionFlowDefinitionSubTypeName"^^xsd:string | 306 | + [ sp:varName "purposeTypeName"^^xsd:string |
153 | ] ; | 307 | ] ; |
154 | sp:predicate rdfs:label ; | 308 | sp:predicate rdfs:label ; |
155 | sp:subject | 309 | sp:subject |
156 | - [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | 310 | + [ sp:varName "productionFlowPurposeType"^^xsd:string |
157 | ] | 311 | ] |
158 | ]) | 312 | ]) |
159 | ] [ rdf:type sp:Optional ; | 313 | ] [ rdf:type sp:Optional ; |
160 | sp:elements ([ sp:object | 314 | sp:elements ([ sp:object |
161 | - [ sp:varName "productionFlowPurposeType"^^xsd:string | 315 | + [ sp:varName "productFlowMaterialType"^^xsd:string |
162 | ] ; | 316 | ] ; |
163 | sp:predicate rdf:type ; | 317 | sp:predicate rdf:type ; |
164 | sp:subject | 318 | sp:subject |
165 | - [ sp:varName "productionFlow"^^xsd:string | 319 | + [ sp:varName "productionFlowMixedPart"^^xsd:string |
166 | ] | 320 | ] |
167 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | 321 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; |
168 | sp:predicate rdf:type ; | 322 | sp:predicate rdf:type ; |
169 | sp:subject | 323 | sp:subject |
170 | - [ sp:varName "productionFlowPurposeType"^^xsd:string | 324 | + [ sp:varName "productFlowMaterialType"^^xsd:string |
171 | ] | 325 | ] |
172 | ] [ sp:object | 326 | ] [ sp:object |
173 | - [ sp:varName "productionFlowPurposeTypeName"^^xsd:string | 327 | + [ sp:varName "materialTypeName"^^xsd:string |
174 | ] ; | 328 | ] ; |
175 | sp:predicate rdfs:label ; | 329 | sp:predicate rdfs:label ; |
176 | sp:subject | 330 | sp:subject |
177 | - [ sp:varName "productionFlowPurposeType"^^xsd:string | 331 | + [ sp:varName "productFlowMaterialType"^^xsd:string |
178 | ] | 332 | ] |
179 | ]) | 333 | ]) |
180 | ] [ rdf:type sp:Optional ; | 334 | ] [ rdf:type sp:Optional ; |
181 | sp:elements ([ sp:object | 335 | sp:elements ([ sp:object |
182 | - [ sp:varName "productFlowInReportingPeriod"^^xsd:string | 336 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string |
183 | ] ; | 337 | ] ; |
184 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | 338 | + sp:predicate rdf:type ; |
185 | sp:subject | 339 | sp:subject |
186 | - [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | 340 | + [ sp:varName "productionFlowWhole"^^xsd:string |
187 | ] | 341 | ] |
188 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | 342 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; |
189 | sp:predicate rdf:type ; | 343 | sp:predicate rdf:type ; |
190 | sp:subject | 344 | sp:subject |
191 | - [ sp:varName "productFlowInReportingPeriod"^^xsd:string | 345 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string |
192 | ] | 346 | ] |
193 | - ] [ rdf:type sp:Optional ; | 347 | + ] [ sp:object |
194 | - sp:elements ([ sp:object | 348 | + [ sp:varName "definitionTypeName"^^xsd:string |
195 | - [ sp:varName "productFlow"^^xsd:string | 349 | + ] ; |
196 | - ] ; | 350 | + sp:predicate rdfs:label ; |
197 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 351 | + sp:subject |
198 | - sp:subject | 352 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string |
199 | - [ sp:varName "productFlowInReportingPeriod"^^xsd:string | 353 | + ] |
200 | - ] | 354 | + ]) |
201 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ; | 355 | + ]) |
202 | - sp:predicate rdf:type ; | 356 | + ] ; |
203 | - sp:subject | 357 | + rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Flow type"^^xsd:string "Seller"^^xsd:string "Buyer"^^xsd:string "Volume"^^xsd:string "Work"^^xsd:string) . |
204 | - [ sp:varName "productFlow"^^xsd:string | 358 | + |
205 | - ] | 359 | +mpr-tables:ProductionFlows |
206 | - ] [ rdf:type sp:Optional ; | 360 | + rdf:type rhspin:TableTemplate ; |
207 | - sp:elements ([ sp:object | 361 | + rdfs:label "Production flows"^^xsd:string ; |
208 | - [ sp:varName "productFlowName"^^xsd:string | 362 | + rdfs:subClassOf rhspin:MPRGTableTemplates ; |
209 | - ] ; | 363 | + spin:body |
210 | - sp:predicate rdfs:label ; | 364 | + [ rdf:type sp:Select ; |
211 | - sp:subject | 365 | + sp:resultVariables ([ sp:varName "productionFlowFacilityName"^^xsd:string |
212 | - [ sp:varName "productFlow"^^xsd:string | 366 | + ] [ sp:varName "productionFlowName"^^xsd:string |
213 | - ] | 367 | + ] [ sp:varName "productionFlowDefinitionTypeName"^^xsd:string |
214 | - ]) | 368 | + ] [ sp:varName "productionFlowDefinitionSubTypeName"^^xsd:string |
215 | - ] [ rdf:type sp:Optional ; | 369 | + ] [ sp:varName "productionFlowPurposeTypeName"^^xsd:string |
216 | - sp:elements ([ sp:object | 370 | + ] [ sp:varName "productFlowName"^^xsd:string |
217 | - [ sp:varName "productFlowMaterialType"^^xsd:string | 371 | + ] [ sp:varName "productFlowMaterialTypeName"^^xsd:string |
218 | - ] ; | 372 | + ] [ sp:varName "productFlowGrossOrNetTypeName"^^xsd:string |
219 | - sp:predicate rdf:type ; | 373 | + ] [ sp:varName "productFlowInPeriodDurationTypeName"^^xsd:string |
220 | - sp:subject | 374 | + ] [ sp:varName "massValueString"^^xsd:string |
221 | - [ sp:varName "productFlow"^^xsd:string | 375 | + ] [ sp:varName "pressureInAtmospheres"^^xsd:string |
222 | - ] | 376 | + ] [ sp:varName "temperatureInCelsius"^^xsd:string |
223 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; | 377 | + ] [ sp:varName "volumeInMetre3"^^xsd:string |
224 | - sp:predicate rdf:type ; | 378 | + ] [ sp:varName "grossCalorificValueInMegaJouleMetre_3"^^xsd:string |
225 | - sp:subject | 379 | + ]) ; |
226 | - [ sp:varName "productFlowMaterialType"^^xsd:string | 380 | + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
227 | - ] | 381 | + sp:predicate rdf:type ; |
228 | - ] [ sp:object | 382 | + sp:subject |
229 | - [ sp:varName "productFlowMaterialTypeName"^^xsd:string | 383 | + [ sp:varName "productionReport"^^xsd:string |
230 | - ] ; | 384 | + ] |
231 | - sp:predicate rdfs:label ; | 385 | + ] [ sp:object |
232 | - sp:subject | 386 | + [ sp:varName "productionReport"^^xsd:string |
233 | - [ sp:varName "productFlowMaterialType"^^xsd:string | 387 | + ] ; |
234 | - ] | 388 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
235 | - ]) | 389 | + sp:subject |
236 | - ] [ rdf:type sp:Optional ; | 390 | + [ sp:varName "productVolumeReport"^^xsd:string |
237 | - sp:elements ([ sp:object | 391 | + ] |
238 | - [ sp:varName "productFlowGrossOrNetType"^^xsd:string | 392 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; |
239 | - ] ; | 393 | + sp:predicate rdf:type ; |
240 | - sp:predicate rdf:type ; | 394 | + sp:subject |
241 | - sp:subject | 395 | + [ sp:varName "productVolumeReport"^^xsd:string |
242 | - [ sp:varName "productFlow"^^xsd:string | 396 | + ] |
243 | - ] | 397 | + ] [ sp:object |
244 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType> ; | 398 | + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string |
245 | - sp:predicate rdf:type ; | 399 | + ] ; |
246 | - sp:subject | 400 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
247 | - [ sp:varName "productFlowGrossOrNetType"^^xsd:string | 401 | + sp:subject |
248 | - ] | 402 | + [ sp:varName "productVolumeReport"^^xsd:string |
249 | - ] [ sp:object | 403 | + ] |
250 | - [ sp:varName "productFlowGrossOrNetTypeName"^^xsd:string | 404 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; |
251 | - ] ; | 405 | + sp:predicate rdf:type ; |
406 | + sp:subject | ||
407 | + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | ||
408 | + ] | ||
409 | + ] [ sp:object | ||
410 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
411 | + ] ; | ||
412 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
413 | + sp:subject | ||
414 | + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | ||
415 | + ] | ||
416 | + ] [ sp:object | ||
417 | + [ sp:varName "productionFlow"^^xsd:string | ||
418 | + ] ; | ||
419 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
420 | + sp:subject | ||
421 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
422 | + ] | ||
423 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | ||
424 | + sp:predicate rdf:type ; | ||
425 | + sp:subject | ||
426 | + [ sp:varName "productionFlow"^^xsd:string | ||
427 | + ] | ||
428 | + ] [ sp:object | ||
429 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
430 | + ] ; | ||
431 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
432 | + sp:subject | ||
433 | + [ sp:varName "productionFlow"^^xsd:string | ||
434 | + ] | ||
435 | + ] [ sp:object | ||
436 | + [ sp:varName "productionFlowFacilityName"^^xsd:string | ||
437 | + ] ; | ||
438 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
439 | + sp:subject | ||
440 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
441 | + ] | ||
442 | + ] [ rdf:type sp:Optional ; | ||
443 | + sp:elements ([ sp:object | ||
444 | + [ sp:varName "productionFlowName"^^xsd:string | ||
445 | + ] ; | ||
446 | + sp:predicate rdfs:label ; | ||
447 | + sp:subject | ||
448 | + [ sp:varName "productionFlow"^^xsd:string | ||
449 | + ] | ||
450 | + ]) | ||
451 | + ] [ rdf:type sp:Optional ; | ||
452 | + sp:elements ([ sp:object | ||
453 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
454 | + ] ; | ||
455 | + sp:predicate rdf:type ; | ||
456 | + sp:subject | ||
457 | + [ sp:varName "productionFlow"^^xsd:string | ||
458 | + ] | ||
459 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
460 | + sp:predicate rdf:type ; | ||
461 | + sp:subject | ||
462 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
463 | + ] | ||
464 | + ] [ sp:object | ||
465 | + [ sp:varName "productionFlowDefinitionTypeName"^^xsd:string | ||
466 | + ] ; | ||
467 | + sp:predicate rdfs:label ; | ||
468 | + sp:subject | ||
469 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
470 | + ] | ||
471 | + ]) | ||
472 | + ] [ rdf:type sp:Optional ; | ||
473 | + sp:elements ([ sp:object | ||
474 | + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | ||
475 | + ] ; | ||
476 | + sp:predicate rdf:type ; | ||
477 | + sp:subject | ||
478 | + [ sp:varName "productionFlow"^^xsd:string | ||
479 | + ] | ||
480 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionSubType> ; | ||
481 | + sp:predicate rdf:type ; | ||
482 | + sp:subject | ||
483 | + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | ||
484 | + ] | ||
485 | + ] [ sp:object | ||
486 | + [ sp:varName "productionFlowDefinitionSubTypeName"^^xsd:string | ||
487 | + ] ; | ||
488 | + sp:predicate rdfs:label ; | ||
489 | + sp:subject | ||
490 | + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | ||
491 | + ] | ||
492 | + ]) | ||
493 | + ] [ rdf:type sp:Optional ; | ||
494 | + sp:elements ([ sp:object | ||
495 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
496 | + ] ; | ||
497 | + sp:predicate rdf:type ; | ||
498 | + sp:subject | ||
499 | + [ sp:varName "productionFlow"^^xsd:string | ||
500 | + ] | ||
501 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
502 | + sp:predicate rdf:type ; | ||
503 | + sp:subject | ||
504 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
505 | + ] | ||
506 | + ] [ sp:object | ||
507 | + [ sp:varName "productionFlowPurposeTypeName"^^xsd:string | ||
508 | + ] ; | ||
509 | + sp:predicate rdfs:label ; | ||
510 | + sp:subject | ||
511 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
512 | + ] | ||
513 | + ]) | ||
514 | + ] [ rdf:type sp:Optional ; | ||
515 | + sp:elements ([ sp:object | ||
516 | + [ sp:varName "productFlowInReportingPeriod"^^xsd:string | ||
517 | + ] ; | ||
518 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
519 | + sp:subject | ||
520 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
521 | + ] | ||
522 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | ||
523 | + sp:predicate rdf:type ; | ||
524 | + sp:subject | ||
525 | + [ sp:varName "productFlowInReportingPeriod"^^xsd:string | ||
526 | + ] | ||
527 | + ] [ rdf:type sp:Optional ; | ||
528 | + sp:elements ([ sp:object | ||
529 | + [ sp:varName "productFlow"^^xsd:string | ||
530 | + ] ; | ||
531 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
532 | + sp:subject | ||
533 | + [ sp:varName "productFlowInReportingPeriod"^^xsd:string | ||
534 | + ] | ||
535 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ; | ||
536 | + sp:predicate rdf:type ; | ||
537 | + sp:subject | ||
538 | + [ sp:varName "productFlow"^^xsd:string | ||
539 | + ] | ||
540 | + ] [ rdf:type sp:Optional ; | ||
541 | + sp:elements ([ sp:object | ||
542 | + [ sp:varName "productFlowName"^^xsd:string | ||
543 | + ] ; | ||
544 | + sp:predicate rdfs:label ; | ||
545 | + sp:subject | ||
546 | + [ sp:varName "productFlow"^^xsd:string | ||
547 | + ] | ||
548 | + ]) | ||
549 | + ] [ rdf:type sp:Optional ; | ||
550 | + sp:elements ([ sp:object | ||
551 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
552 | + ] ; | ||
553 | + sp:predicate rdf:type ; | ||
554 | + sp:subject | ||
555 | + [ sp:varName "productFlow"^^xsd:string | ||
556 | + ] | ||
557 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; | ||
558 | + sp:predicate rdf:type ; | ||
559 | + sp:subject | ||
560 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
561 | + ] | ||
562 | + ] [ sp:object | ||
563 | + [ sp:varName "productFlowMaterialTypeName"^^xsd:string | ||
564 | + ] ; | ||
565 | + sp:predicate rdfs:label ; | ||
566 | + sp:subject | ||
567 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
568 | + ] | ||
569 | + ]) | ||
570 | + ] [ rdf:type sp:Optional ; | ||
571 | + sp:elements ([ sp:object | ||
572 | + [ sp:varName "productFlowGrossOrNetType"^^xsd:string | ||
573 | + ] ; | ||
574 | + sp:predicate rdf:type ; | ||
575 | + sp:subject | ||
576 | + [ sp:varName "productFlow"^^xsd:string | ||
577 | + ] | ||
578 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType> ; | ||
579 | + sp:predicate rdf:type ; | ||
580 | + sp:subject | ||
581 | + [ sp:varName "productFlowGrossOrNetType"^^xsd:string | ||
582 | + ] | ||
583 | + ] [ sp:object | ||
584 | + [ sp:varName "productFlowGrossOrNetTypeName"^^xsd:string | ||
585 | + ] ; | ||
252 | sp:predicate rdfs:label ; | 586 | sp:predicate rdfs:label ; |
253 | sp:subject | 587 | sp:subject |
254 | [ sp:varName "productFlowGrossOrNetType"^^xsd:string | 588 | [ sp:varName "productFlowGrossOrNetType"^^xsd:string |
... | @@ -434,7 +768,7 @@ mpr-tables:ProductionFlows | ... | @@ -434,7 +768,7 @@ mpr-tables:ProductionFlows |
434 | 768 | ||
435 | mpr-tables:ProductionFlowsAll | 769 | mpr-tables:ProductionFlowsAll |
436 | rdf:type rhspin:TableTemplate ; | 770 | rdf:type rhspin:TableTemplate ; |
437 | - rdfs:label "Production flows - All"^^xsd:string ; | 771 | + rdfs:label "Production"^^xsd:string ; |
438 | rdfs:subClassOf rhspin:MPRGTableTemplates ; | 772 | rdfs:subClassOf rhspin:MPRGTableTemplates ; |
439 | spin:body | 773 | spin:body |
440 | [ rdf:type sp:Select ; | 774 | [ rdf:type sp:Select ; |
... | @@ -504,6 +838,13 @@ mpr-tables:ProductionFlowsAll | ... | @@ -504,6 +838,13 @@ mpr-tables:ProductionFlowsAll |
504 | sp:subject | 838 | sp:subject |
505 | [ sp:varName "productionFlowWhole"^^xsd:string | 839 | [ sp:varName "productionFlowWhole"^^xsd:string |
506 | ] | 840 | ] |
841 | + ] [ rdf:type sp:NotExists ; | ||
842 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ; | ||
843 | + sp:predicate rdf:type ; | ||
844 | + sp:subject | ||
845 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
846 | + ] | ||
847 | + ]) | ||
507 | ] [ sp:object | 848 | ] [ sp:object |
508 | [ sp:varName "productionFlowMixedPart"^^xsd:string | 849 | [ sp:varName "productionFlowMixedPart"^^xsd:string |
509 | ] ; | 850 | ] ; |
... | @@ -518,6 +859,13 @@ mpr-tables:ProductionFlowsAll | ... | @@ -518,6 +859,13 @@ mpr-tables:ProductionFlowsAll |
518 | sp:subject | 859 | sp:subject |
519 | [ sp:varName "productionFlowWhole"^^xsd:string | 860 | [ sp:varName "productionFlowWhole"^^xsd:string |
520 | ] | 861 | ] |
862 | + ] [ rdf:type sp:NotExists ; | ||
863 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
864 | + sp:predicate rdf:type ; | ||
865 | + sp:subject | ||
866 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
867 | + ] | ||
868 | + ]) | ||
521 | ] [ sp:object | 869 | ] [ sp:object |
522 | [ sp:varName "facilityName"^^xsd:string | 870 | [ sp:varName "facilityName"^^xsd:string |
523 | ] ; | 871 | ] ; |
... | @@ -993,7 +1341,7 @@ mpr-tables:ProductionInventory | ... | @@ -993,7 +1341,7 @@ mpr-tables:ProductionInventory |
993 | 1341 | ||
994 | mpr-tables:ProductionInventoryAll | 1342 | mpr-tables:ProductionInventoryAll |
995 | rdf:type rhspin:TableTemplate ; | 1343 | rdf:type rhspin:TableTemplate ; |
996 | - rdfs:label "Production inventory - All"^^xsd:string ; | 1344 | + rdfs:label "Production Inventory"^^xsd:string ; |
997 | rdfs:subClassOf rhspin:MPRGTableTemplates ; | 1345 | rdfs:subClassOf rhspin:MPRGTableTemplates ; |
998 | spin:body | 1346 | spin:body |
999 | [ rdf:type sp:Select ; | 1347 | [ rdf:type sp:Select ; |
... | @@ -1240,3 +1588,376 @@ mpr-tables:ProductionInventoryAll | ... | @@ -1240,3 +1588,376 @@ mpr-tables:ProductionInventoryAll |
1240 | ]) | 1588 | ]) |
1241 | ] ; | 1589 | ] ; |
1242 | rhspin:tableHeaders ("Material"^^xsd:string "Material Type"^^xsd:string "Mass"^^xsd:string "Density"^^xsd:string) . | 1590 | rhspin:tableHeaders ("Material"^^xsd:string "Material Type"^^xsd:string "Mass"^^xsd:string "Density"^^xsd:string) . |
1591 | + | ||
1592 | +mpr-tables:WellProductionFlows | ||
1593 | + rdf:type rhspin:TableTemplate ; | ||
1594 | + rdfs:label "Well Production"^^xsd:string ; | ||
1595 | + rdfs:subClassOf rhspin:MPRGTableTemplates ; | ||
1596 | + spin:body | ||
1597 | + [ rdf:type sp:Select ; | ||
1598 | + sp:orderBy ([ sp:varName "facilityName"^^xsd:string | ||
1599 | + ] [ sp:varName "purposeTypeName"^^xsd:string | ||
1600 | + ]) ; | ||
1601 | + sp:resultVariables ([ sp:varName "facilityName"^^xsd:string | ||
1602 | + ] [ sp:varName "purposeTypeName"^^xsd:string | ||
1603 | + ] [ sp:varName "materialTypeName"^^xsd:string | ||
1604 | + ] [ sp:varName "massValueString"^^xsd:string | ||
1605 | + ] [ sp:varName "volumeValueString"^^xsd:string | ||
1606 | + ] [ sp:varName "temperatureInCelcius"^^xsd:string | ||
1607 | + ] [ sp:varName "definitionTypeName"^^xsd:string | ||
1608 | + ] [ sp:varName "definitionSubTypeName"^^xsd:string | ||
1609 | + ] [ sp:varName "grossOrNet"^^xsd:string | ||
1610 | + ]) ; | ||
1611 | + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
1612 | + sp:predicate rdf:type ; | ||
1613 | + sp:subject | ||
1614 | + [ sp:varName "productionReport"^^xsd:string | ||
1615 | + ] | ||
1616 | + ] [ sp:object | ||
1617 | + [ sp:varName "productionReport"^^xsd:string | ||
1618 | + ] ; | ||
1619 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
1620 | + sp:subject | ||
1621 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
1622 | + ] | ||
1623 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
1624 | + sp:predicate rdf:type ; | ||
1625 | + sp:subject | ||
1626 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
1627 | + ] | ||
1628 | + ] [ sp:object | ||
1629 | + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | ||
1630 | + ] ; | ||
1631 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
1632 | + sp:subject | ||
1633 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
1634 | + ] | ||
1635 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
1636 | + sp:predicate rdf:type ; | ||
1637 | + sp:subject | ||
1638 | + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | ||
1639 | + ] | ||
1640 | + ] [ sp:object | ||
1641 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
1642 | + ] ; | ||
1643 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
1644 | + sp:subject | ||
1645 | + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | ||
1646 | + ] | ||
1647 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
1648 | + sp:predicate rdf:type ; | ||
1649 | + sp:subject | ||
1650 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
1651 | + ] | ||
1652 | + ] [ sp:object | ||
1653 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
1654 | + ] ; | ||
1655 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1656 | + sp:subject | ||
1657 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
1658 | + ] | ||
1659 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | ||
1660 | + sp:predicate rdf:type ; | ||
1661 | + sp:subject | ||
1662 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
1663 | + ] | ||
1664 | + ] [ sp:object | ||
1665 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
1666 | + ] ; | ||
1667 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
1668 | + sp:subject | ||
1669 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
1670 | + ] | ||
1671 | + ] [ sp:object | ||
1672 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
1673 | + ] ; | ||
1674 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
1675 | + sp:subject | ||
1676 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
1677 | + ] | ||
1678 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
1679 | + sp:predicate rdf:type ; | ||
1680 | + sp:subject | ||
1681 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
1682 | + ] | ||
1683 | + ] [ sp:object | ||
1684 | + [ sp:varName "facilityName"^^xsd:string | ||
1685 | + ] ; | ||
1686 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
1687 | + sp:subject | ||
1688 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
1689 | + ] | ||
1690 | + ] [ rdf:type sp:Optional ; | ||
1691 | + sp:elements ([ sp:object | ||
1692 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
1693 | + ] ; | ||
1694 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1695 | + sp:subject | ||
1696 | + [ sp:varName "productFlowMixedPart"^^xsd:string | ||
1697 | + ] | ||
1698 | + ] [ sp:object | ||
1699 | + [ sp:varName "productFlowMixedPart"^^xsd:string | ||
1700 | + ] ; | ||
1701 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
1702 | + sp:subject | ||
1703 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
1704 | + ] | ||
1705 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | ||
1706 | + sp:predicate rdf:type ; | ||
1707 | + sp:subject | ||
1708 | + [ sp:varName "productFlowMixedPart"^^xsd:string | ||
1709 | + ] | ||
1710 | + ] [ sp:object | ||
1711 | + [ sp:varName "productFlowMixedPart"^^xsd:string | ||
1712 | + ] ; | ||
1713 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1714 | + sp:subject | ||
1715 | + [ sp:varName "flowDuringMonth"^^xsd:string | ||
1716 | + ] | ||
1717 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowDuringMonth> ; | ||
1718 | + sp:predicate rdf:type ; | ||
1719 | + sp:subject | ||
1720 | + [ sp:varName "flowDuringMonth"^^xsd:string | ||
1721 | + ] | ||
1722 | + ] [ sp:object | ||
1723 | + [ sp:varName "flowDuringMonthMaterial"^^xsd:string | ||
1724 | + ] ; | ||
1725 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | ||
1726 | + sp:subject | ||
1727 | + [ sp:varName "flowDuringMonth"^^xsd:string | ||
1728 | + ] | ||
1729 | + ] [ sp:object | ||
1730 | + [ sp:varName "materialQuantityValue"^^xsd:string | ||
1731 | + ] ; | ||
1732 | + sp:predicate rdf:type ; | ||
1733 | + sp:subject | ||
1734 | + [ sp:varName "flowDuringMonthMaterial"^^xsd:string | ||
1735 | + ] | ||
1736 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; | ||
1737 | + sp:predicate rdf:type ; | ||
1738 | + sp:subject | ||
1739 | + [ sp:varName "materialQuantityValue"^^xsd:string | ||
1740 | + ] | ||
1741 | + ] [ sp:object | ||
1742 | + [ sp:varName "materialValue"^^xsd:string | ||
1743 | + ] ; | ||
1744 | + sp:predicate | ||
1745 | + [ sp:varName "materialProperty"^^xsd:string | ||
1746 | + ] ; | ||
1747 | + sp:subject | ||
1748 | + [ sp:varName "materialQuantityValue"^^xsd:string | ||
1749 | + ] | ||
1750 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ; | ||
1751 | + sp:predicate rdf:type ; | ||
1752 | + sp:subject | ||
1753 | + [ sp:varName "materialProperty"^^xsd:string | ||
1754 | + ] | ||
1755 | + ] [ sp:object | ||
1756 | + [ sp:varName "materialPropertyName"^^xsd:string | ||
1757 | + ] ; | ||
1758 | + sp:predicate rdfs:label ; | ||
1759 | + sp:subject | ||
1760 | + [ sp:varName "materialProperty"^^xsd:string | ||
1761 | + ] | ||
1762 | + ] [ rdf:type sp:Bind ; | ||
1763 | + sp:expression | ||
1764 | + [ rdf:type fn:concat ; | ||
1765 | + sp:arg1 [ rdf:type spif:decimalFormat ; | ||
1766 | + arg:number | ||
1767 | + [ sp:varName "materialValue"^^xsd:string | ||
1768 | + ] ; | ||
1769 | + arg:pattern "#.##" | ||
1770 | + ] ; | ||
1771 | + sp:arg2 " " ; | ||
1772 | + sp:arg3 [ sp:varName "materialPropertyName"^^xsd:string | ||
1773 | + ] | ||
1774 | + ] ; | ||
1775 | + sp:variable | ||
1776 | + [ sp:varName "massValueString"^^xsd:string | ||
1777 | + ] | ||
1778 | + ] [ sp:object | ||
1779 | + [ sp:varName "flowDuringMonthMaterial"^^xsd:string | ||
1780 | + ] ; | ||
1781 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1782 | + sp:subject | ||
1783 | + [ sp:varName "stateOfMaterialThatFlowsInPeriod"^^xsd:string | ||
1784 | + ] | ||
1785 | + ] [ rdf:type sp:Optional ; | ||
1786 | + sp:elements ([ sp:object | ||
1787 | + [ sp:varName "temperature"^^xsd:string | ||
1788 | + ] ; | ||
1789 | + sp:predicate rdf:type ; | ||
1790 | + sp:subject | ||
1791 | + [ sp:varName "stateOfMaterialThatFlowsInPeriod"^^xsd:string | ||
1792 | + ] | ||
1793 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
1794 | + sp:predicate rdf:type ; | ||
1795 | + sp:subject | ||
1796 | + [ sp:varName "temperature"^^xsd:string | ||
1797 | + ] | ||
1798 | + ] [ sp:object | ||
1799 | + [ sp:varName "temperatureInCelcius"^^xsd:string | ||
1800 | + ] ; | ||
1801 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#celsius> ; | ||
1802 | + sp:subject | ||
1803 | + [ sp:varName "temperature"^^xsd:string | ||
1804 | + ] | ||
1805 | + ]) | ||
1806 | + ] [ sp:object | ||
1807 | + [ sp:varName "volume"^^xsd:string | ||
1808 | + ] ; | ||
1809 | + sp:predicate rdf:type ; | ||
1810 | + sp:subject | ||
1811 | + [ sp:varName "stateOfMaterialThatFlowsInPeriod"^^xsd:string | ||
1812 | + ] | ||
1813 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
1814 | + sp:predicate rdf:type ; | ||
1815 | + sp:subject | ||
1816 | + [ sp:varName "volume"^^xsd:string | ||
1817 | + ] | ||
1818 | + ] [ sp:object | ||
1819 | + [ sp:varName "volumeValue"^^xsd:string | ||
1820 | + ] ; | ||
1821 | + sp:predicate | ||
1822 | + [ sp:varName "volumePredicate"^^xsd:string | ||
1823 | + ] ; | ||
1824 | + sp:subject | ||
1825 | + [ sp:varName "volume"^^xsd:string | ||
1826 | + ] | ||
1827 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ; | ||
1828 | + sp:predicate rdf:type ; | ||
1829 | + sp:subject | ||
1830 | + [ sp:varName "volumePredicate"^^xsd:string | ||
1831 | + ] | ||
1832 | + ] [ sp:object | ||
1833 | + [ sp:varName "volumeUnit"^^xsd:string | ||
1834 | + ] ; | ||
1835 | + sp:predicate rdfs:label ; | ||
1836 | + sp:subject | ||
1837 | + [ sp:varName "volumePredicate"^^xsd:string | ||
1838 | + ] | ||
1839 | + ] [ rdf:type sp:Bind ; | ||
1840 | + sp:expression | ||
1841 | + [ rdf:type fn:concat ; | ||
1842 | + sp:arg1 [ rdf:type spif:decimalFormat ; | ||
1843 | + arg:number | ||
1844 | + [ sp:varName "volumeValue"^^xsd:string | ||
1845 | + ] ; | ||
1846 | + arg:pattern "#.##" | ||
1847 | + ] ; | ||
1848 | + sp:arg2 " " ; | ||
1849 | + sp:arg3 [ sp:varName "volumeUnit"^^xsd:string | ||
1850 | + ] | ||
1851 | + ] ; | ||
1852 | + sp:variable | ||
1853 | + [ sp:varName "volumeValueString"^^xsd:string | ||
1854 | + ] | ||
1855 | + ]) | ||
1856 | + ] [ rdf:type sp:Optional ; | ||
1857 | + sp:elements ([ sp:object | ||
1858 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
1859 | + ] ; | ||
1860 | + sp:predicate rdf:type ; | ||
1861 | + sp:subject | ||
1862 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
1863 | + ] | ||
1864 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
1865 | + sp:predicate rdf:type ; | ||
1866 | + sp:subject | ||
1867 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
1868 | + ] | ||
1869 | + ] [ sp:object | ||
1870 | + [ sp:varName "purposeTypeName"^^xsd:string | ||
1871 | + ] ; | ||
1872 | + sp:predicate rdfs:label ; | ||
1873 | + sp:subject | ||
1874 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
1875 | + ] | ||
1876 | + ]) | ||
1877 | + ] [ rdf:type sp:Optional ; | ||
1878 | + sp:elements ([ sp:object | ||
1879 | + [ sp:varName "productionFlowPartGrossOrNetType"^^xsd:string | ||
1880 | + ] ; | ||
1881 | + sp:predicate rdf:type ; | ||
1882 | + sp:subject | ||
1883 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
1884 | + ] | ||
1885 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType> ; | ||
1886 | + sp:predicate rdf:type ; | ||
1887 | + sp:subject | ||
1888 | + [ sp:varName "productionFlowPartGrossOrNetType"^^xsd:string | ||
1889 | + ] | ||
1890 | + ] [ sp:object | ||
1891 | + [ sp:varName "grossOrNet"^^xsd:string | ||
1892 | + ] ; | ||
1893 | + sp:predicate rdfs:label ; | ||
1894 | + sp:subject | ||
1895 | + [ sp:varName "productionFlowPartGrossOrNetType"^^xsd:string | ||
1896 | + ] | ||
1897 | + ]) | ||
1898 | + ] [ rdf:type sp:Optional ; | ||
1899 | + sp:elements ([ sp:object | ||
1900 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
1901 | + ] ; | ||
1902 | + sp:predicate rdf:type ; | ||
1903 | + sp:subject | ||
1904 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
1905 | + ] | ||
1906 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; | ||
1907 | + sp:predicate rdf:type ; | ||
1908 | + sp:subject | ||
1909 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
1910 | + ] | ||
1911 | + ] [ sp:object | ||
1912 | + [ sp:varName "materialTypeName"^^xsd:string | ||
1913 | + ] ; | ||
1914 | + sp:predicate rdfs:label ; | ||
1915 | + sp:subject | ||
1916 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
1917 | + ] | ||
1918 | + ]) | ||
1919 | + ] [ rdf:type sp:Optional ; | ||
1920 | + sp:elements ([ sp:object | ||
1921 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
1922 | + ] ; | ||
1923 | + sp:predicate rdf:type ; | ||
1924 | + sp:subject | ||
1925 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
1926 | + ] | ||
1927 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
1928 | + sp:predicate rdf:type ; | ||
1929 | + sp:subject | ||
1930 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
1931 | + ] | ||
1932 | + ] [ sp:object | ||
1933 | + [ sp:varName "definitionTypeName"^^xsd:string | ||
1934 | + ] ; | ||
1935 | + sp:predicate rdfs:label ; | ||
1936 | + sp:subject | ||
1937 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
1938 | + ] | ||
1939 | + ]) | ||
1940 | + ] [ rdf:type sp:Optional ; | ||
1941 | + sp:elements ([ sp:object | ||
1942 | + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | ||
1943 | + ] ; | ||
1944 | + sp:predicate rdf:type ; | ||
1945 | + sp:subject | ||
1946 | + [ sp:varName "productionFlowMixedPart"^^xsd:string | ||
1947 | + ] | ||
1948 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionSubType> ; | ||
1949 | + sp:predicate rdf:type ; | ||
1950 | + sp:subject | ||
1951 | + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | ||
1952 | + ] | ||
1953 | + ] [ sp:object | ||
1954 | + [ sp:varName "definitionSubTypeName"^^xsd:string | ||
1955 | + ] ; | ||
1956 | + sp:predicate rdfs:label ; | ||
1957 | + sp:subject | ||
1958 | + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | ||
1959 | + ] | ||
1960 | + ]) | ||
1961 | + ]) | ||
1962 | + ] ; | ||
1963 | + rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Mass"^^xsd:string "Volume"^^xsd:string "Temperature C"^^xsd:string "Flow type"^^xsd:string "Flow subtype"^^xsd:string "Gross/Net"^^xsd:string) . | ... | ... |
... | @@ -171,11 +171,16 @@ OPTIONAL { | ... | @@ -171,11 +171,16 @@ OPTIONAL { |
171 | 171 | ||
172 | </ui:forEach> --> | 172 | </ui:forEach> --> |
173 | 173 | ||
174 | + <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:GasSales" /> | ||
174 | 175 | ||
175 | - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlows" /> | 176 | + <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" /> |
177 | + | ||
178 | + | ||
176 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" /> | 179 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" /> |
177 | - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionInventory" /> | 180 | + |
178 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionInventoryAll" /> | 181 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionInventoryAll" /> |
179 | - | 182 | + |
183 | + | ||
184 | + | ||
180 | </ui:group> | 185 | </ui:group> |
181 | 186 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment