Holger Knublauch

Formatting XML broke white space handling, removed Platform constraints

Showing 16 changed files with 4854 additions and 4711 deletions
...@@ -3,501 +3,633 @@ ...@@ -3,501 +3,633 @@
3 # imports: http://www.epim.no/schemas/mprml/1 3 # imports: http://www.epim.no/schemas/mprml/1
4 # imports: http://www.reportinghub.no/spin/rh 4 # imports: http://www.reportinghub.no/spin/rh
5 5
6 -@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . 6 +# c14n-version: 3
7 -@prefix arg: <http://spinrdf.org/arg#> . 7 +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
8 -@prefix fn: <http://www.w3.org/2005/xpath-functions#> . 8 +@prefix arg: <http://spinrdf.org/arg#> .
9 -@prefix mpr-proxy-constraints: <http://www.reportinghub.no/ep/spin/mpr-proxy-constraints#> . 9 +@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
10 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 10 +@prefix mpr-proxy-constraints: <http://www.reportinghub.no/ep/spin/mpr-proxy-constraints#> .
11 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 11 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
12 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 12 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
13 -@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . 13 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
14 -@prefix sp: <http://spinrdf.org/sp#> . 14 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
15 -@prefix spin: <http://spinrdf.org/spin#> . 15 +@prefix sp: <http://spinrdf.org/sp#> .
16 -@prefix spl: <http://spinrdf.org/spl#> . 16 +@prefix spin: <http://spinrdf.org/spin#> .
17 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 17 +@prefix spl: <http://spinrdf.org/spl#> .
18 - 18 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19 -arg:kindRef 19 +arg:kindRef
20 - rdf:type rdf:Property ; 20 + rdf:type rdf:Property ;
21 - rdfs:label "kind ref"^^xsd:string ; 21 + rdfs:label "kind ref"^^xsd:string ;
22 - rdfs:subPropertyOf sp:arg . 22 + rdfs:subPropertyOf sp:arg ;
23 - 23 +.
24 -<http://www.epim.no/schemas/mprml/1#Cs_businessAssociate> 24 +<http://www.epim.no/schemas/mprml/1#Cs_businessAssociate>
25 - spin:constraint 25 + spin:constraint [
26 - [ rdf:type sp:Construct ; 26 + rdf:type sp:Construct ;
27 - sp:templates ([ sp:object spin:ConstraintViolation ; 27 + sp:templates (
28 - sp:predicate rdf:type ; 28 + [
29 - sp:subject _:b1 29 + sp:object spin:ConstraintViolation ;
30 - ] [ sp:object 30 + sp:predicate rdf:type ;
31 - [ sp:varName "message"^^xsd:string 31 + sp:subject _:b46474 ;
32 - ] ; 32 + ]
33 - sp:predicate rdfs:label ; 33 + [
34 - sp:subject _:b1 34 + sp:object [
35 - ]) ; 35 + sp:varName "message"^^xsd:string ;
36 - sp:where ([ sp:object 36 + ] ;
37 - [ sp:varName "name"^^xsd:string 37 + sp:predicate rdfs:label ;
38 - ] ; 38 + sp:subject _:b46474 ;
39 - sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; 39 + ]
40 - sp:subject spin:_this 40 + ) ;
41 - ] [ rdf:type sp:TriplePath ; 41 + sp:where (
42 - sp:object "Operating Company" ; 42 + [
43 - sp:path [ rdf:type sp:SeqPath ; 43 + sp:object [
44 - sp:path1 <http://www.epim.no/schemas/mprml/1#roleRef> ; 44 + sp:varName "name"^^xsd:string ;
45 - sp:path2 <http://www.linkedmodel.org/schema/dtype#value> 45 + ] ;
46 - ] ; 46 + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
47 - sp:subject spin:_this 47 + sp:subject spin:_this ;
48 - ] [ rdf:type sp:Bind ; 48 + ]
49 - sp:expression 49 + [
50 - [ rdf:type rhspin:companyWithName ; 50 + rdf:type sp:TriplePath ;
51 - arg:name 51 + sp:object "Operating Company" ;
52 - [ sp:varName "name"^^xsd:string 52 + sp:path [
53 - ] 53 + rdf:type sp:SeqPath ;
54 - ] ; 54 + sp:path1 <http://www.epim.no/schemas/mprml/1#roleRef> ;
55 - sp:variable 55 + sp:path2 <http://www.linkedmodel.org/schema/dtype#value> ;
56 - [ sp:varName "company"^^xsd:string 56 + ] ;
57 - ] 57 + sp:subject spin:_this ;
58 - ] [ rdf:type sp:Filter ; 58 + ]
59 - sp:expression 59 + [
60 - [ rdf:type sp:not ; 60 + rdf:type sp:Bind ;
61 - sp:arg1 [ rdf:type sp:bound ; 61 + sp:expression [
62 - sp:arg1 [ sp:varName "company"^^xsd:string 62 + rdf:type rhspin:companyWithName ;
63 - ] 63 + arg:name [
64 - ] 64 + sp:varName "name"^^xsd:string ;
65 - ] 65 + ] ;
66 - ] [ rdf:type sp:Bind ; 66 + ] ;
67 - sp:expression 67 + sp:variable [
68 - [ rdf:type fn:concat ; 68 + sp:varName "company"^^xsd:string ;
69 - sp:arg1 "Invalid company name " ; 69 + ] ;
70 - sp:arg2 [ sp:varName "name"^^xsd:string 70 + ]
71 - ] 71 + [
72 - ] ; 72 + rdf:type sp:Filter ;
73 - sp:variable 73 + sp:expression [
74 - [ sp:varName "message"^^xsd:string 74 + rdf:type sp:not ;
75 - ] 75 + sp:arg1 [
76 - ]) 76 + rdf:type sp:bound ;
77 - ] . 77 + sp:arg1 [
78 - 78 + sp:varName "company"^^xsd:string ;
79 -<http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> 79 + ] ;
80 - spin:constraint 80 + ] ;
81 - [ rdf:type mpr-proxy-constraints:CheckId ; 81 + ] ;
82 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ; 82 + ]
83 - arg:type <http://www.reportinghub.no/ep/schema/facility#Facility> 83 + [
84 - ] ; 84 + rdf:type sp:Bind ;
85 - spin:constraint 85 + sp:expression [
86 - [ rdf:type mpr-proxy-constraints:CheckId ; 86 + rdf:type fn:concat ;
87 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ; 87 + sp:arg1 "Invalid company name " ;
88 - arg:type <http://www.reportinghub.no/ep/schema/facility#Field> 88 + sp:arg2 [
89 - ] ; 89 + sp:varName "name"^^xsd:string ;
90 - spin:constraint 90 + ] ;
91 - [ rdf:type mpr-proxy-constraints:CheckId ; 91 + ] ;
92 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ; 92 + sp:variable [
93 - arg:type <http://www.reportinghub.no/ep/schema/facility#Platform> 93 + sp:varName "message"^^xsd:string ;
94 - ] ; 94 + ] ;
95 - spin:constraint 95 + ]
96 - [ rdf:type mpr-proxy-constraints:CheckId ; 96 + ) ;
97 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ; 97 + ] ;
98 - arg:type <http://www.reportinghub.no/ep/schema/well#WellBore> 98 +.
99 - ] ; 99 +<http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct>
100 - spin:constraint 100 + spin:constraint [
101 - [ rdf:type mpr-proxy-constraints:CheckName ; 101 + rdf:type mpr-proxy-constraints:CheckId ;
102 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ; 102 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ;
103 - arg:type <http://www.reportinghub.no/ep/schema/facility#Facility> 103 + arg:type <http://www.reportinghub.no/ep/schema/facility#Field> ;
104 - ] ; 104 + ] ;
105 - spin:constraint 105 + spin:constraint [
106 - [ rdf:type mpr-proxy-constraints:CheckName ; 106 + rdf:type mpr-proxy-constraints:CheckId ;
107 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ; 107 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
108 - arg:type <http://www.reportinghub.no/ep/schema/facility#Field> 108 + arg:type <http://www.reportinghub.no/ep/schema/facility#Facility> ;
109 - ] ; 109 + ] ;
110 - spin:constraint 110 + spin:constraint [
111 - [ rdf:type mpr-proxy-constraints:CheckName ; 111 + rdf:type mpr-proxy-constraints:CheckId ;
112 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ; 112 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
113 - arg:type <http://www.reportinghub.no/ep/schema/facility#Platform> 113 + arg:type <http://www.reportinghub.no/ep/schema/well#WellBore> ;
114 - ] ; 114 + ] ;
115 - spin:constraint 115 + spin:constraint [
116 - [ rdf:type mpr-proxy-constraints:CheckName ; 116 + rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
117 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ; 117 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ;
118 - arg:type <http://www.reportinghub.no/ep/schema/well#WellBore> 118 + arg:type <http://www.reportinghub.no/ep/schema/facility#Field> ;
119 - ] ; 119 + ] ;
120 - spin:constraint 120 + spin:constraint [
121 - [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ; 121 + rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
122 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ; 122 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ;
123 - arg:type <http://www.reportinghub.no/ep/schema/facility#Facility> 123 + arg:type <http://www.reportinghub.no/ep/schema/facility#Platform> ;
124 - ] ; 124 + ] ;
125 - spin:constraint 125 + spin:constraint [
126 - [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ; 126 + rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
127 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ; 127 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
128 - arg:type <http://www.reportinghub.no/ep/schema/facility#Field> 128 + arg:type <http://www.reportinghub.no/ep/schema/facility#Facility> ;
129 - ] ; 129 + ] ;
130 - spin:constraint 130 + spin:constraint [
131 - [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ; 131 + rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
132 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ; 132 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
133 - arg:type <http://www.reportinghub.no/ep/schema/facility#Platform> 133 + arg:type <http://www.reportinghub.no/ep/schema/well#WellBore> ;
134 - ] ; 134 + ] ;
135 - spin:constraint 135 + spin:constraint [
136 - [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ; 136 + rdf:type mpr-proxy-constraints:CheckName ;
137 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ; 137 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ;
138 - arg:type <http://www.reportinghub.no/ep/schema/well#WellBore> 138 + arg:type <http://www.reportinghub.no/ep/schema/facility#Field> ;
139 - ] . 139 + ] ;
140 - 140 + spin:constraint [
141 -<http://www.epim.no/schemas/mprml/1#Obj_productVolume> 141 + rdf:type mpr-proxy-constraints:CheckName ;
142 - spin:constraint 142 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
143 - [ rdf:type sp:Construct ; 143 + arg:type <http://www.reportinghub.no/ep/schema/facility#Facility> ;
144 - sp:templates ([ sp:object spin:ConstraintViolation ; 144 + ] ;
145 - sp:predicate rdf:type ; 145 + spin:constraint [
146 - sp:subject _:b2 146 + rdf:type mpr-proxy-constraints:CheckName ;
147 - ] [ sp:object 147 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
148 - [ sp:varName "message"^^xsd:string 148 + arg:type <http://www.reportinghub.no/ep/schema/well#WellBore> ;
149 - ] ; 149 + ] ;
150 - sp:predicate rdfs:label ; 150 +.
151 - sp:subject _:b2 151 +<http://www.epim.no/schemas/mprml/1#Obj_productVolume>
152 - ]) ; 152 + spin:constraint [
153 - sp:where ([ rdf:type sp:TriplePath ; 153 + rdf:type sp:Construct ;
154 - sp:object 154 + sp:templates (
155 - [ sp:varName "name"^^xsd:string 155 + [
156 - ] ; 156 + sp:object spin:ConstraintViolation ;
157 - sp:path [ rdf:type sp:SeqPath ; 157 + sp:predicate rdf:type ;
158 - sp:path1 <http://www.epim.no/schemas/mprml/1#nameRef> ; 158 + sp:subject _:b3901 ;
159 - sp:path2 <http://www.linkedmodel.org/schema/dtype#value> 159 + ]
160 - ] ; 160 + [
161 - sp:subject spin:_this 161 + sp:object [
162 - ] [ rdf:type sp:Bind ; 162 + sp:varName "message"^^xsd:string ;
163 - sp:expression 163 + ] ;
164 - [ rdf:type rhspin:npdIndividualByName ; 164 + sp:predicate rdfs:label ;
165 - arg:name 165 + sp:subject _:b3901 ;
166 - [ sp:varName "name"^^xsd:string 166 + ]
167 - ] ; 167 + ) ;
168 - arg:type <http://www.reportinghub.no/ep/schema/facility#Field> 168 + sp:where (
169 - ] ; 169 + [
170 - sp:variable 170 + rdf:type sp:TriplePath ;
171 - [ sp:varName "field"^^xsd:string 171 + sp:object [
172 - ] 172 + sp:varName "name"^^xsd:string ;
173 - ] [ rdf:type sp:Filter ; 173 + ] ;
174 - sp:expression 174 + sp:path [
175 - [ rdf:type sp:not ; 175 + rdf:type sp:SeqPath ;
176 - sp:arg1 [ rdf:type sp:bound ; 176 + sp:path1 <http://www.epim.no/schemas/mprml/1#nameRef> ;
177 - sp:arg1 [ sp:varName "field"^^xsd:string 177 + sp:path2 <http://www.linkedmodel.org/schema/dtype#value> ;
178 - ] 178 + ] ;
179 - ] 179 + sp:subject spin:_this ;
180 - ] 180 + ]
181 - ] [ rdf:type sp:Bind ; 181 + [
182 - sp:expression 182 + rdf:type sp:Bind ;
183 - [ rdf:type fn:concat ; 183 + sp:expression [
184 - sp:arg1 "Invalid Field name " ; 184 + rdf:type rhspin:npdIndividualByName ;
185 - sp:arg2 [ sp:varName "name"^^xsd:string 185 + arg:name [
186 - ] 186 + sp:varName "name"^^xsd:string ;
187 - ] ; 187 + ] ;
188 - sp:variable 188 + arg:type <http://www.reportinghub.no/ep/schema/facility#Field> ;
189 - [ sp:varName "message"^^xsd:string 189 + ] ;
190 - ] 190 + sp:variable [
191 - ]) 191 + sp:varName "field"^^xsd:string ;
192 - ] . 192 + ] ;
193 - 193 + ]
194 -<http://www.epim.no/schemas/mprml/1#Obj_report> 194 + [
195 - spin:constraint 195 + rdf:type sp:Filter ;
196 - [ rdf:type sp:Construct ; 196 + sp:expression [
197 - sp:templates ([ sp:object spin:ConstraintViolation ; 197 + rdf:type sp:not ;
198 - sp:predicate rdf:type ; 198 + sp:arg1 [
199 - sp:subject _:b3 199 + rdf:type sp:bound ;
200 - ] [ sp:object 200 + sp:arg1 [
201 - [ sp:varName "message"^^xsd:string 201 + sp:varName "field"^^xsd:string ;
202 - ] ; 202 + ] ;
203 - sp:predicate rdfs:label ; 203 + ] ;
204 - sp:subject _:b3 204 + ] ;
205 - ]) ; 205 + ]
206 - sp:where ([ sp:object 206 + [
207 - [ sp:varName "installation"^^xsd:string 207 + rdf:type sp:Bind ;
208 - ] ; 208 + sp:expression [
209 - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; 209 + rdf:type fn:concat ;
210 - sp:subject spin:_this 210 + sp:arg1 "Invalid Field name " ;
211 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ; 211 + sp:arg2 [
212 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 212 + sp:varName "name"^^xsd:string ;
213 - sp:subject 213 + ] ;
214 - [ sp:varName "installation"^^xsd:string 214 + ] ;
215 - ] 215 + sp:variable [
216 - ] [ sp:object 216 + sp:varName "message"^^xsd:string ;
217 - [ sp:varName "fieldName"^^xsd:string 217 + ] ;
218 - ] ; 218 + ]
219 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 219 + ) ;
220 - sp:subject 220 + ] ;
221 - [ sp:varName "installation"^^xsd:string 221 +.
222 - ] 222 +<http://www.epim.no/schemas/mprml/1#Obj_report>
223 - ] [ rdf:type sp:Filter ; 223 + spin:constraint [
224 - sp:expression 224 + rdf:type sp:Construct ;
225 - [ rdf:type sp:not ; 225 + sp:templates (
226 - sp:arg1 [ rdf:type rhspin:currentUserIsOperatorOfFieldWithName ; 226 + [
227 - arg:fieldName 227 + sp:object spin:ConstraintViolation ;
228 - [ sp:varName "fieldName"^^xsd:string 228 + sp:predicate rdf:type ;
229 - ] 229 + sp:subject _:b384 ;
230 - ] 230 + ]
231 - ] 231 + [
232 - ] [ rdf:type sp:Bind ; 232 + sp:object [
233 - sp:expression 233 + sp:varName "message"^^xsd:string ;
234 - [ rdf:type fn:concat ; 234 + ] ;
235 - sp:arg1 "Your company is not the operator of field with name " ; 235 + sp:predicate rdfs:label ;
236 - sp:arg2 [ sp:varName "fieldName"^^xsd:string 236 + sp:subject _:b384 ;
237 - ] 237 + ]
238 - ] ; 238 + ) ;
239 - sp:variable 239 + sp:where (
240 - [ sp:varName "message"^^xsd:string 240 + [
241 - ] 241 + sp:object [
242 - ]) 242 + sp:varName "installation"^^xsd:string ;
243 - ] . 243 + ] ;
244 - 244 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
245 -<http://www.reportinghub.no/ep/spin/mpr-proxy-constraints> 245 + sp:subject spin:_this ;
246 - rdf:type owl:Ontology ; 246 + ]
247 - rdfs:comment "Collection of constraints that are executed on the SXML proxy ontology for MPR schema based reports."^^xsd:string ; 247 + [
248 - owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/spin/rh> ; 248 + sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
249 - owl:versionInfo "0.1.0"^^xsd:string . 249 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
250 - 250 + sp:subject [
251 -mpr-proxy-constraints:CheckId 251 + sp:varName "installation"^^xsd:string ;
252 - rdf:type spin:ConstructTemplate ; 252 + ] ;
253 - rdfs:label "Check id"^^xsd:string ; 253 + ]
254 - rdfs:subClassOf mpr-proxy-constraints:ConstraintTemplates ; 254 + [
255 - spin:body 255 + sp:object [
256 - [ rdf:type sp:Construct ; 256 + sp:varName "fieldName"^^xsd:string ;
257 - sp:templates ([ sp:object spin:ConstraintViolation ; 257 + ] ;
258 - sp:predicate rdf:type ; 258 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
259 - sp:subject _:b4 259 + sp:subject [
260 - ] [ sp:object 260 + sp:varName "installation"^^xsd:string ;
261 - [ sp:varName "message"^^xsd:string 261 + ] ;
262 - ] ; 262 + ]
263 - sp:predicate rdfs:label ; 263 + [
264 - sp:subject _:b4 264 + rdf:type sp:Filter ;
265 - ]) ; 265 + sp:expression [
266 - sp:where ([ sp:object 266 + rdf:type sp:not ;
267 - [ sp:varName "kindRef"^^xsd:string 267 + sp:arg1 [
268 - ] ; 268 + rdf:type rhspin:currentUserIsOperatorOfFieldWithName ;
269 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 269 + arg:fieldName [
270 - sp:subject spin:_this 270 + sp:varName "fieldName"^^xsd:string ;
271 - ] [ sp:object "NPD" ; 271 + ] ;
272 - sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; 272 + ] ;
273 - sp:subject spin:_this 273 + ] ;
274 - ] [ sp:object 274 + ]
275 - [ sp:varName "id"^^xsd:string 275 + [
276 - ] ; 276 + rdf:type sp:Bind ;
277 - sp:predicate <http://www.epim.no/schemas/mprml/1#uidRefValue> ; 277 + sp:expression [
278 - sp:subject spin:_this 278 + rdf:type fn:concat ;
279 - ] [ rdf:type sp:Bind ; 279 + sp:arg1 "Your company is not the operator of field with name " ;
280 - sp:expression 280 + sp:arg2 [
281 - [ rdf:type rhspin:npdIndividualById ; 281 + sp:varName "fieldName"^^xsd:string ;
282 - arg:id [ sp:varName "id"^^xsd:string 282 + ] ;
283 - ] ; 283 + ] ;
284 - arg:type 284 + sp:variable [
285 - [ sp:varName "type"^^xsd:string 285 + sp:varName "message"^^xsd:string ;
286 - ] 286 + ] ;
287 - ] ; 287 + ]
288 - sp:variable 288 + ) ;
289 - [ sp:varName "npd"^^xsd:string 289 + ] ;
290 - ] 290 +.
291 - ] [ rdf:type sp:Filter ; 291 +<http://www.reportinghub.no/ep/spin/mpr-proxy-constraints>
292 - sp:expression 292 + rdf:type owl:Ontology ;
293 - [ rdf:type sp:not ; 293 + rdfs:comment "Collection of constraints that are executed on the SXML proxy ontology for MPR schema based reports."^^xsd:string ;
294 - sp:arg1 [ rdf:type sp:bound ; 294 + owl:imports <http://spinrdf.org/spin> ;
295 - sp:arg1 [ sp:varName "npd"^^xsd:string 295 + owl:imports <http://www.epim.no/schemas/mprml/1> ;
296 - ] 296 + owl:imports <http://www.reportinghub.no/spin/rh> ;
297 - ] 297 + owl:versionInfo "0.1.0"^^xsd:string ;
298 - ] 298 +.
299 - ] [ rdf:type sp:Bind ; 299 +mpr-proxy-constraints:CheckId
300 - sp:expression 300 + rdf:type spin:ConstructTemplate ;
301 - [ rdf:type fn:concat ; 301 + spin:body [
302 - sp:arg1 "[RH-19] Invalid " ; 302 + rdf:type sp:Construct ;
303 - sp:arg2 [ rdf:type afn:localname ; 303 + sp:templates (
304 - sp:arg1 [ sp:varName "type"^^xsd:string 304 + [
305 - ] 305 + sp:object spin:ConstraintViolation ;
306 - ] ; 306 + sp:predicate rdf:type ;
307 - sp:arg3 " id " ; 307 + sp:subject _:b63838 ;
308 - sp:arg4 [ sp:varName "id"^^xsd:string 308 + ]
309 - ] 309 + [
310 - ] ; 310 + sp:object [
311 - sp:variable 311 + sp:varName "message"^^xsd:string ;
312 - [ sp:varName "message"^^xsd:string 312 + ] ;
313 - ] 313 + sp:predicate rdfs:label ;
314 - ]) 314 + sp:subject _:b63838 ;
315 - ] ; 315 + ]
316 - spin:labelTemplate "Must be NPD id of {?type}/{?kindRef}"^^xsd:string . 316 + ) ;
317 - 317 + sp:where (
318 -mpr-proxy-constraints:CheckIdAndNameMatch 318 + [
319 - rdf:type spin:ConstructTemplate ; 319 + sp:object [
320 - rdfs:label "NPD id and name must match"^^xsd:string ; 320 + sp:varName "kindRef"^^xsd:string ;
321 - rdfs:subClassOf mpr-proxy-constraints:ConstraintTemplates ; 321 + ] ;
322 - spin:body 322 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
323 - [ rdf:type sp:Construct ; 323 + sp:subject spin:_this ;
324 - sp:templates ([ sp:object spin:ConstraintViolation ; 324 + ]
325 - sp:predicate rdf:type ; 325 + [
326 - sp:subject _:b5 326 + sp:object "NPD" ;
327 - ] [ sp:object 327 + sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
328 - [ sp:varName "message"^^xsd:string 328 + sp:subject spin:_this ;
329 - ] ; 329 + ]
330 - sp:predicate rdfs:label ; 330 + [
331 - sp:subject _:b5 331 + sp:object [
332 - ]) ; 332 + sp:varName "id"^^xsd:string ;
333 - sp:where ([ sp:object 333 + ] ;
334 - [ sp:varName "kindRef"^^xsd:string 334 + sp:predicate <http://www.epim.no/schemas/mprml/1#uidRefValue> ;
335 - ] ; 335 + sp:subject spin:_this ;
336 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 336 + ]
337 - sp:subject spin:_this 337 + [
338 - ] [ sp:object "NPD" ; 338 + rdf:type sp:Bind ;
339 - sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; 339 + sp:expression [
340 - sp:subject spin:_this 340 + rdf:type rhspin:npdIndividualById ;
341 - ] [ sp:object 341 + arg:id [
342 - [ sp:varName "name"^^xsd:string 342 + sp:varName "id"^^xsd:string ;
343 - ] ; 343 + ] ;
344 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 344 + arg:type [
345 - sp:subject spin:_this 345 + sp:varName "type"^^xsd:string ;
346 - ] [ sp:object 346 + ] ;
347 - [ sp:varName "id"^^xsd:string 347 + ] ;
348 - ] ; 348 + sp:variable [
349 - sp:predicate <http://www.epim.no/schemas/mprml/1#uidRefValue> ; 349 + sp:varName "npd"^^xsd:string ;
350 - sp:subject spin:_this 350 + ] ;
351 - ] [ rdf:type sp:Bind ; 351 + ]
352 - sp:expression 352 + [
353 - [ rdf:type rhspin:npdIndividualById ; 353 + rdf:type sp:Filter ;
354 - arg:id [ sp:varName "id"^^xsd:string 354 + sp:expression [
355 - ] ; 355 + rdf:type sp:not ;
356 - arg:type 356 + sp:arg1 [
357 - [ sp:varName "type"^^xsd:string 357 + rdf:type sp:bound ;
358 - ] 358 + sp:arg1 [
359 - ] ; 359 + sp:varName "npd"^^xsd:string ;
360 - sp:variable 360 + ] ;
361 - [ sp:varName "byId"^^xsd:string 361 + ] ;
362 - ] 362 + ] ;
363 - ] [ rdf:type sp:Bind ; 363 + ]
364 - sp:expression 364 + [
365 - [ rdf:type rhspin:npdIndividualByName ; 365 + rdf:type sp:Bind ;
366 - arg:name 366 + sp:expression [
367 - [ sp:varName "name"^^xsd:string 367 + rdf:type fn:concat ;
368 - ] ; 368 + sp:arg1 "[RH-19] Invalid " ;
369 - arg:type 369 + sp:arg2 [
370 - [ sp:varName "type"^^xsd:string 370 + rdf:type afn:localname ;
371 - ] 371 + sp:arg1 [
372 - ] ; 372 + sp:varName "type"^^xsd:string ;
373 - sp:variable 373 + ] ;
374 - [ sp:varName "byName"^^xsd:string 374 + ] ;
375 - ] 375 + sp:arg3 " id " ;
376 - ] [ rdf:type sp:Filter ; 376 + sp:arg4 [
377 - sp:expression 377 + sp:varName "id"^^xsd:string ;
378 - [ rdf:type sp:and ; 378 + ] ;
379 - sp:arg1 [ rdf:type sp:or ; 379 + ] ;
380 - sp:arg1 [ rdf:type sp:bound ; 380 + sp:variable [
381 - sp:arg1 [ sp:varName "byId"^^xsd:string 381 + sp:varName "message"^^xsd:string ;
382 - ] 382 + ] ;
383 - ] ; 383 + ]
384 - sp:arg2 [ rdf:type sp:bound ; 384 + ) ;
385 - sp:arg1 [ sp:varName "byName"^^xsd:string 385 + ] ;
386 - ] 386 + spin:labelTemplate "Must be NPD id of {?type}/{?kindRef}"^^xsd:string ;
387 - ] 387 + rdfs:label "Check id"^^xsd:string ;
388 - ] ; 388 + rdfs:subClassOf mpr-proxy-constraints:ConstraintTemplates ;
389 - sp:arg2 [ rdf:type sp:ne ; 389 +.
390 - sp:arg1 [ sp:varName "byId"^^xsd:string 390 +mpr-proxy-constraints:CheckIdAndNameMatch
391 - ] ; 391 + rdf:type spin:ConstructTemplate ;
392 - sp:arg2 [ sp:varName "byName"^^xsd:string 392 + spin:body [
393 - ] 393 + rdf:type sp:Construct ;
394 - ] 394 + sp:templates (
395 - ] 395 + [
396 - ] [ rdf:type sp:Bind ; 396 + sp:object spin:ConstraintViolation ;
397 - sp:expression 397 + sp:predicate rdf:type ;
398 - [ rdf:type fn:concat ; 398 + sp:subject _:b30672 ;
399 - sp:arg1 "[RH-19] Mismatching " ; 399 + ]
400 - sp:arg2 [ rdf:type afn:localname ; 400 + [
401 - sp:arg1 [ sp:varName "type"^^xsd:string 401 + sp:object [
402 - ] 402 + sp:varName "message"^^xsd:string ;
403 - ] ; 403 + ] ;
404 - sp:arg3 " id: " ; 404 + sp:predicate rdfs:label ;
405 - sp:arg4 [ sp:varName "id"^^xsd:string 405 + sp:subject _:b30672 ;
406 - ] ; 406 + ]
407 - sp:arg5 " is not the NPD id of " ; 407 + ) ;
408 - sp:arg6 [ sp:varName "name"^^xsd:string 408 + sp:where (
409 - ] 409 + [
410 - ] ; 410 + sp:object [
411 - sp:variable 411 + sp:varName "kindRef"^^xsd:string ;
412 - [ sp:varName "message"^^xsd:string 412 + ] ;
413 - ] 413 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
414 - ]) 414 + sp:subject spin:_this ;
415 - ] ; 415 + ]
416 - spin:labelTemplate "NPD name and id of {?type}/{?kindRef} must match"^^xsd:string . 416 + [
417 - 417 + sp:object "NPD" ;
418 -mpr-proxy-constraints:CheckName 418 + sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
419 - rdf:type spin:ConstructTemplate ; 419 + sp:subject spin:_this ;
420 - rdfs:label "Check name"^^xsd:string ; 420 + ]
421 - rdfs:subClassOf mpr-proxy-constraints:ConstraintTemplates ; 421 + [
422 - spin:body 422 + sp:object [
423 - [ rdf:type sp:Construct ; 423 + sp:varName "name"^^xsd:string ;
424 - sp:templates ([ sp:object spin:ConstraintViolation ; 424 + ] ;
425 - sp:predicate rdf:type ; 425 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
426 - sp:subject _:b6 426 + sp:subject spin:_this ;
427 - ] [ sp:object 427 + ]
428 - [ sp:varName "message"^^xsd:string 428 + [
429 - ] ; 429 + sp:object [
430 - sp:predicate rdfs:label ; 430 + sp:varName "id"^^xsd:string ;
431 - sp:subject _:b6 431 + ] ;
432 - ]) ; 432 + sp:predicate <http://www.epim.no/schemas/mprml/1#uidRefValue> ;
433 - sp:where ([ sp:object 433 + sp:subject spin:_this ;
434 - [ sp:varName "kindRef"^^xsd:string 434 + ]
435 - ] ; 435 + [
436 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 436 + rdf:type sp:Bind ;
437 - sp:subject spin:_this 437 + sp:expression [
438 - ] [ sp:object "NPD" ; 438 + rdf:type rhspin:npdIndividualById ;
439 - sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; 439 + arg:id [
440 - sp:subject spin:_this 440 + sp:varName "id"^^xsd:string ;
441 - ] [ sp:object 441 + ] ;
442 - [ sp:varName "name"^^xsd:string 442 + arg:type [
443 - ] ; 443 + sp:varName "type"^^xsd:string ;
444 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 444 + ] ;
445 - sp:subject spin:_this 445 + ] ;
446 - ] [ rdf:type sp:Bind ; 446 + sp:variable [
447 - sp:expression 447 + sp:varName "byId"^^xsd:string ;
448 - [ rdf:type rhspin:npdIndividualByName ; 448 + ] ;
449 - arg:name 449 + ]
450 - [ sp:varName "name"^^xsd:string 450 + [
451 - ] ; 451 + rdf:type sp:Bind ;
452 - arg:type 452 + sp:expression [
453 - [ sp:varName "type"^^xsd:string 453 + rdf:type rhspin:npdIndividualByName ;
454 - ] 454 + arg:name [
455 - ] ; 455 + sp:varName "name"^^xsd:string ;
456 - sp:variable 456 + ] ;
457 - [ sp:varName "npd"^^xsd:string 457 + arg:type [
458 - ] 458 + sp:varName "type"^^xsd:string ;
459 - ] [ rdf:type sp:Filter ; 459 + ] ;
460 - sp:expression 460 + ] ;
461 - [ rdf:type sp:not ; 461 + sp:variable [
462 - sp:arg1 [ rdf:type sp:bound ; 462 + sp:varName "byName"^^xsd:string ;
463 - sp:arg1 [ sp:varName "npd"^^xsd:string 463 + ] ;
464 - ] 464 + ]
465 - ] 465 + [
466 - ] 466 + rdf:type sp:Filter ;
467 - ] [ rdf:type sp:Bind ; 467 + sp:expression [
468 - sp:expression 468 + rdf:type sp:and ;
469 - [ rdf:type fn:concat ; 469 + sp:arg1 [
470 - sp:arg1 [ rdf:type sp:add ; 470 + rdf:type sp:or ;
471 - sp:arg1 "[RH-19] Invalid " ; 471 + sp:arg1 [
472 - sp:arg2 [ rdf:type afn:localname ; 472 + rdf:type sp:bound ;
473 - sp:arg1 [ sp:varName "type"^^xsd:string 473 + sp:arg1 [
474 - ] 474 + sp:varName "byId"^^xsd:string ;
475 - ] 475 + ] ;
476 - ] ; 476 + ] ;
477 - sp:arg2 " name " ; 477 + sp:arg2 [
478 - sp:arg3 [ sp:varName "name"^^xsd:string 478 + rdf:type sp:bound ;
479 - ] 479 + sp:arg1 [
480 - ] ; 480 + sp:varName "byName"^^xsd:string ;
481 - sp:variable 481 + ] ;
482 - [ sp:varName "message"^^xsd:string 482 + ] ;
483 - ] 483 + ] ;
484 - ]) 484 + sp:arg2 [
485 - ] ; 485 + rdf:type sp:ne ;
486 - spin:labelTemplate "Must be NPD name of {?type}/{?kindRef}"^^xsd:string . 486 + sp:arg1 [
487 - 487 + sp:varName "byId"^^xsd:string ;
488 -mpr-proxy-constraints:ConstraintTemplates 488 + ] ;
489 - rdf:type spin:ConstructTemplate ; 489 + sp:arg2 [
490 - rdfs:label "Constraint templates"^^xsd:string ; 490 + sp:varName "byName"^^xsd:string ;
491 - rdfs:subClassOf spin:ConstructTemplates ; 491 + ] ;
492 - spin:constraint 492 + ] ;
493 - [ rdf:type spl:Argument ; 493 + ] ;
494 - rdfs:comment "The kind reference value."^^xsd:string ; 494 + ]
495 - spl:predicate arg:kindRef ; 495 + [
496 - spl:valueType <http://www.epim.no/schemas/mprml/1#ReportingFacility> 496 + rdf:type sp:Bind ;
497 - ] ; 497 + sp:expression [
498 - spin:constraint 498 + rdf:type fn:concat ;
499 - [ rdf:type spl:Argument ; 499 + sp:arg1 "[RH-19] Mismatching " ;
500 - rdfs:comment "The NPD type that the individual needs to have."^^xsd:string ; 500 + sp:arg2 [
501 - spl:predicate arg:type ; 501 + rdf:type afn:localname ;
502 - spl:valueType rdfs:Class 502 + sp:arg1 [
503 - ] . 503 + sp:varName "type"^^xsd:string ;
504 + ] ;
505 + ] ;
506 + sp:arg3 " id: " ;
507 + sp:arg4 [
508 + sp:varName "id"^^xsd:string ;
509 + ] ;
510 + sp:arg5 " is not the NPD id of " ;
511 + sp:arg6 [
512 + sp:varName "name"^^xsd:string ;
513 + ] ;
514 + ] ;
515 + sp:variable [
516 + sp:varName "message"^^xsd:string ;
517 + ] ;
518 + ]
519 + ) ;
520 + ] ;
521 + spin:labelTemplate "NPD name and id of {?type}/{?kindRef} must match"^^xsd:string ;
522 + rdfs:label "NPD id and name must match"^^xsd:string ;
523 + rdfs:subClassOf mpr-proxy-constraints:ConstraintTemplates ;
524 +.
525 +mpr-proxy-constraints:CheckName
526 + rdf:type spin:ConstructTemplate ;
527 + spin:body [
528 + rdf:type sp:Construct ;
529 + sp:templates (
530 + [
531 + sp:object spin:ConstraintViolation ;
532 + sp:predicate rdf:type ;
533 + sp:subject _:b81462 ;
534 + ]
535 + [
536 + sp:object [
537 + sp:varName "message"^^xsd:string ;
538 + ] ;
539 + sp:predicate rdfs:label ;
540 + sp:subject _:b81462 ;
541 + ]
542 + ) ;
543 + sp:where (
544 + [
545 + sp:object [
546 + sp:varName "kindRef"^^xsd:string ;
547 + ] ;
548 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
549 + sp:subject spin:_this ;
550 + ]
551 + [
552 + sp:object "NPD" ;
553 + sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
554 + sp:subject spin:_this ;
555 + ]
556 + [
557 + sp:object [
558 + sp:varName "name"^^xsd:string ;
559 + ] ;
560 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
561 + sp:subject spin:_this ;
562 + ]
563 + [
564 + rdf:type sp:Bind ;
565 + sp:expression [
566 + rdf:type rhspin:npdIndividualByName ;
567 + arg:name [
568 + sp:varName "name"^^xsd:string ;
569 + ] ;
570 + arg:type [
571 + sp:varName "type"^^xsd:string ;
572 + ] ;
573 + ] ;
574 + sp:variable [
575 + sp:varName "npd"^^xsd:string ;
576 + ] ;
577 + ]
578 + [
579 + rdf:type sp:Filter ;
580 + sp:expression [
581 + rdf:type sp:not ;
582 + sp:arg1 [
583 + rdf:type sp:bound ;
584 + sp:arg1 [
585 + sp:varName "npd"^^xsd:string ;
586 + ] ;
587 + ] ;
588 + ] ;
589 + ]
590 + [
591 + rdf:type sp:Bind ;
592 + sp:expression [
593 + rdf:type fn:concat ;
594 + sp:arg1 [
595 + rdf:type sp:add ;
596 + sp:arg1 "[RH-19] Invalid " ;
597 + sp:arg2 [
598 + rdf:type afn:localname ;
599 + sp:arg1 [
600 + sp:varName "type"^^xsd:string ;
601 + ] ;
602 + ] ;
603 + ] ;
604 + sp:arg2 " name " ;
605 + sp:arg3 [
606 + sp:varName "name"^^xsd:string ;
607 + ] ;
608 + ] ;
609 + sp:variable [
610 + sp:varName "message"^^xsd:string ;
611 + ] ;
612 + ]
613 + ) ;
614 + ] ;
615 + spin:labelTemplate "Must be NPD name of {?type}/{?kindRef}"^^xsd:string ;
616 + rdfs:label "Check name"^^xsd:string ;
617 + rdfs:subClassOf mpr-proxy-constraints:ConstraintTemplates ;
618 +.
619 +mpr-proxy-constraints:ConstraintTemplates
620 + rdf:type spin:ConstructTemplate ;
621 + spin:constraint [
622 + rdf:type spl:Argument ;
623 + spl:predicate arg:kindRef ;
624 + spl:valueType <http://www.epim.no/schemas/mprml/1#ReportingFacility> ;
625 + rdfs:comment "The kind reference value."^^xsd:string ;
626 + ] ;
627 + spin:constraint [
628 + rdf:type spl:Argument ;
629 + spl:predicate arg:type ;
630 + spl:valueType rdfs:Class ;
631 + rdfs:comment "The NPD type that the individual needs to have."^^xsd:string ;
632 + ] ;
633 + rdfs:label "Constraint templates"^^xsd:string ;
634 + rdfs:subClassOf spin:ConstructTemplates ;
635 +.
......
1 +<objects version="1.0(MPRML)" xmlns="http://www.epim.no/schemas/mprml/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2 + <documentInfo>
3 + <DocumentName namingSystem="EC">ÅSGARD July 2012</DocumentName>
4 + <DocumentAlias namingSystem="EC">ÅSGARD Copex Report</DocumentAlias>
5 + <DocumentDate>2012-08-05T00:00:00.0Z</DocumentDate>
6 + <documentClass namingSystem="EC">STATOIL</documentClass>
7 + <documentClass namingSystem="EC">Copex</documentClass>
8 + <FileCreationInformation>
9 + <FileCreationDate>2012-08-15T00:00:00.0Z</FileCreationDate>
10 + <SoftwareName>Energy Components</SoftwareName>
11 + <FileCreator>STATOIL</FileCreator>
12 + <Comment>NA</Comment>
13 + </FileCreationInformation>
14 + <Owner>STATOIL</Owner>
15 + </documentInfo>
16 + <context xsi:type="obj_report">
17 + <kind>Copex</kind>
18 + <title>ÅSGARD stock,cargo</title>
19 + <date>2012-07-01</date>
20 + <dateEnd>2012-07-31</dateEnd>
21 + <month>2012-07</month>
22 + <year>2012</year>
23 + <reportVersion>1.0</reportVersion>
24 + <reportStatus>final</reportStatus>
25 + <installation kind="field" namingSystem="NPD" uidRef="43765">ÅSGARD</installation>
26 + <operator>
27 + <name>STATOIL</name>
28 + <role>Operating company</role>
29 + </operator>
30 + </context>
31 + <object xsi:type="obj_productVolume">
32 + <name>KRISTIN</name>
33 + <installation kind="field" namingSystem="NPD" uidRef="1854729">KRISTIN</installation>
34 + <facility>
35 + <name kind="field" namingSystem="NPD" uidRef="1854729">KRISTIN</name>
36 + <flow>
37 + <name>KRISTIN allocated inventory</name>
38 + <kind>inventory</kind>
39 + <qualifier>allocated</qualifier>
40 + <product>
41 + <kind>oil - net</kind>
42 + <period>
43 + <kind>month</kind>
44 + <dateStart>2012-07-01</dateStart>
45 + <dateEnd>2012-07-31</dateEnd>
46 + <volumeValue>
47 + <volume uom="m3">102230.95</volume>
48 + <temp uom="degC">15</temp>
49 + <pres uom="atm">1</pres>
50 + </volumeValue>
51 + <mass uom="kg">89775316.91</mass>
52 + <densityValue>
53 + <density uom="kg/m3">788.76</density>
54 + <temp uom="degC">15</temp>
55 + <pres uom="atm">1</pres>
56 + </densityValue>
57 + <balanceSet>
58 + <kind>closing balance</kind>
59 + <balanceDetail>
60 + <owner>PETORO</owner>
61 + <volumeValue>
62 + <volume uom="m3">31599.586645</volume>
63 + <temp uom="degC">15</temp>
64 + <pres uom="atm">1</pres>
65 + </volumeValue>
66 + <mass uom="kg">27749550.4569</mass>
67 + </balanceDetail>
68 + <balanceDetail>
69 + <owner>TOTAL</owner>
70 + <volumeValue>
71 + <volume uom="m3">22010.323535</volume>
72 + <temp uom="degC">15</temp>
73 + <pres uom="atm">1</pres>
74 + </volumeValue>
75 + <mass uom="kg">19328625.7307</mass>
76 + </balanceDetail>
77 + <balanceDetail>
78 + <owner>STATOIL</owner>
79 + <volumeValue>
80 + <volume uom="m3">12962.88446</volume>
81 + <temp uom="degC">15</temp>
82 + <pres uom="atm">1</pres>
83 + </volumeValue>
84 + <mass uom="kg">11383510.1842</mass>
85 + </balanceDetail>
86 + <balanceDetail>
87 + <owner>EXXONMOBIL PROD</owner>
88 + <volumeValue>
89 + <volume uom="m3">7738.882915</volume>
90 + <temp uom="degC">15</temp>
91 + <pres uom="atm">1</pres>
92 + </volumeValue>
93 + <mass uom="kg">6795991.49009</mass>
94 + </balanceDetail>
95 + <balanceDetail>
96 + <owner>ENI NORGE</owner>
97 + <volumeValue>
98 + <volume uom="m3">27919.272445</volume>
99 + <temp uom="degC">15</temp>
100 + <pres uom="atm">1</pres>
101 + </volumeValue>
102 + <mass uom="kg">24517639.0481</mass>
103 + </balanceDetail>
104 + </balanceSet>
105 + </period>
106 + </product>
107 + </flow>
108 + </facility>
109 + </object>
110 +</objects>