David Price

Merge branch 'master' into add-license

1 -# Saved by TopBraid on Tue Oct 11 17:40:23 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 14:27:22 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/flow 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/flow
3 # imports: http://www.reportinghub.no/ep/schema/1.0/core 3 # imports: http://www.reportinghub.no/ep/schema/1.0/core
4 +# imports: http://www.reportinghub.no/ep/schema/1.0/facility
4 5
5 @prefix ep-flow: <http://www.reportinghub.no/ep/schema/flow#> . 6 @prefix ep-flow: <http://www.reportinghub.no/ep/schema/flow#> .
6 @prefix owl: <http://www.w3.org/2002/07/owl#> . 7 @prefix owl: <http://www.w3.org/2002/07/owl#> .
...@@ -10,141 +11,141 @@ ...@@ -10,141 +11,141 @@
10 11
11 <http://www.reportinghub.no/ep/schema/1.0/flow> 12 <http://www.reportinghub.no/ep/schema/1.0/flow>
12 rdf:type owl:Ontology ; 13 rdf:type owl:Ontology ;
13 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ; 14 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 16
16 ep-flow:AllocatedFlow 17 ep-flow:AllocatedFlow
17 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 18 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
18 rdfs:label "allocated flow"^^xsd:string ; 19 rdfs:label "allocated flow"^^xsd:string ;
19 rdfs:subClassOf ep-flow:Flow . 20 rdfs:subClassOf ep-flow:Flow .
20 21
21 ep-flow:AqueousFlow 22 ep-flow:AqueousFlow
22 - rdf:type ep-flow:ProductType , owl:Class ; 23 + rdf:type owl:Class , ep-flow:ProductType ;
23 rdfs:label "aqueous flow"^^xsd:string ; 24 rdfs:label "aqueous flow"^^xsd:string ;
24 rdfs:subClassOf ep-flow:Flow . 25 rdfs:subClassOf ep-flow:Flow .
25 26
26 ep-flow:BudgetFlow 27 ep-flow:BudgetFlow
27 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 28 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
28 rdfs:label "budget flow"^^xsd:string ; 29 rdfs:label "budget flow"^^xsd:string ;
29 rdfs:subClassOf ep-flow:Flow . 30 rdfs:subClassOf ep-flow:Flow .
30 31
31 ep-flow:CarbonDioxideGasFlow 32 ep-flow:CarbonDioxideGasFlow
32 - rdf:type ep-flow:ProductType , owl:Class ; 33 + rdf:type owl:Class , ep-flow:ProductType ;
33 rdfs:label "carbon dioxide gas flow"^^xsd:string ; 34 rdfs:label "carbon dioxide gas flow"^^xsd:string ;
34 rdfs:subClassOf ep-flow:Flow . 35 rdfs:subClassOf ep-flow:Flow .
35 36
36 ep-flow:CarbonMonoxideGasFlow 37 ep-flow:CarbonMonoxideGasFlow
37 - rdf:type ep-flow:ProductType , owl:Class ; 38 + rdf:type owl:Class , ep-flow:ProductType ;
38 rdfs:label "carbon monoxide gas flow"^^xsd:string ; 39 rdfs:label "carbon monoxide gas flow"^^xsd:string ;
39 rdfs:subClassOf ep-flow:Flow . 40 rdfs:subClassOf ep-flow:Flow .
40 41
41 ep-flow:ChemicalFlow 42 ep-flow:ChemicalFlow
42 - rdf:type ep-flow:ProductType , owl:Class ; 43 + rdf:type owl:Class , ep-flow:ProductType ;
43 rdfs:label "chemical flow"^^xsd:string ; 44 rdfs:label "chemical flow"^^xsd:string ;
44 rdfs:subClassOf ep-flow:Flow . 45 rdfs:subClassOf ep-flow:Flow .
45 46
46 ep-flow:CondensateFlow 47 ep-flow:CondensateFlow
47 - rdf:type ep-flow:ProductType , owl:Class ; 48 + rdf:type owl:Class , ep-flow:ProductType ;
48 rdfs:label "condensate flow"^^xsd:string ; 49 rdfs:label "condensate flow"^^xsd:string ;
49 rdfs:subClassOf ep-flow:Flow . 50 rdfs:subClassOf ep-flow:Flow .
50 51
51 ep-flow:ConstraintFlow 52 ep-flow:ConstraintFlow
52 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 53 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
53 rdfs:label "constraint flow"^^xsd:string ; 54 rdfs:label "constraint flow"^^xsd:string ;
54 rdfs:subClassOf ep-flow:Flow . 55 rdfs:subClassOf ep-flow:Flow .
55 56
56 ep-flow:Consume 57 ep-flow:Consume
57 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 58 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
58 rdfs:label "consume"^^xsd:string ; 59 rdfs:label "consume"^^xsd:string ;
59 rdfs:subClassOf ep-flow:Flow . 60 rdfs:subClassOf ep-flow:Flow .
60 61
61 ep-flow:Consume-HPflare 62 ep-flow:Consume-HPflare
62 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 63 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
63 rdfs:label "consume - HP flare"^^xsd:string ; 64 rdfs:label "consume - HP flare"^^xsd:string ;
64 rdfs:subClassOf ep-flow:Consume-flare . 65 rdfs:subClassOf ep-flow:Consume-flare .
65 66
66 ep-flow:Consume-LPflare 67 ep-flow:Consume-LPflare
67 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 68 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
68 rdfs:label "consume - LP flare"^^xsd:string ; 69 rdfs:label "consume - LP flare"^^xsd:string ;
69 rdfs:subClassOf ep-flow:Consume-flare . 70 rdfs:subClassOf ep-flow:Consume-flare .
70 71
71 ep-flow:Consume-blackstart 72 ep-flow:Consume-blackstart
72 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 73 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
73 rdfs:label "consume - blackstart"^^xsd:string ; 74 rdfs:label "consume - blackstart"^^xsd:string ;
74 rdfs:subClassOf ep-flow:Consume . 75 rdfs:subClassOf ep-flow:Consume .
75 76
76 ep-flow:Consume-compressor 77 ep-flow:Consume-compressor
77 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 78 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
78 rdfs:label "consume - compressor"^^xsd:string ; 79 rdfs:label "consume - compressor"^^xsd:string ;
79 rdfs:subClassOf ep-flow:Consume . 80 rdfs:subClassOf ep-flow:Consume .
80 81
81 ep-flow:Consume-emitted 82 ep-flow:Consume-emitted
82 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 83 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
83 rdfs:label "consume - emitted"^^xsd:string ; 84 rdfs:label "consume - emitted"^^xsd:string ;
84 rdfs:subClassOf ep-flow:Consume . 85 rdfs:subClassOf ep-flow:Consume .
85 86
86 ep-flow:Consume-flare 87 ep-flow:Consume-flare
87 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 88 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
88 rdfs:label "consume - flare"^^xsd:string ; 89 rdfs:label "consume - flare"^^xsd:string ;
89 rdfs:subClassOf ep-flow:Consume . 90 rdfs:subClassOf ep-flow:Consume .
90 91
91 ep-flow:Consume-fuel 92 ep-flow:Consume-fuel
92 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 93 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
93 rdfs:label "consume - fuel"^^xsd:string ; 94 rdfs:label "consume - fuel"^^xsd:string ;
94 rdfs:subClassOf ep-flow:Consume . 95 rdfs:subClassOf ep-flow:Consume .
95 96
96 ep-flow:Consume-noncompressor 97 ep-flow:Consume-noncompressor
97 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 98 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
98 rdfs:label "consume - non-compressor"^^xsd:string ; 99 rdfs:label "consume - non-compressor"^^xsd:string ;
99 rdfs:subClassOf ep-flow:Consume . 100 rdfs:subClassOf ep-flow:Consume .
100 101
101 ep-flow:Consume-venting 102 ep-flow:Consume-venting
102 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 103 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
103 rdfs:label "consume - venting"^^xsd:string ; 104 rdfs:label "consume - venting"^^xsd:string ;
104 rdfs:subClassOf ep-flow:Consume . 105 rdfs:subClassOf ep-flow:Consume .
105 106
106 ep-flow:CuttingsFlow 107 ep-flow:CuttingsFlow
107 - rdf:type owl:Class , ep-flow:ProductType ; 108 + rdf:type ep-flow:ProductType , owl:Class ;
108 rdfs:label "cuttings flow"^^xsd:string ; 109 rdfs:label "cuttings flow"^^xsd:string ;
109 rdfs:subClassOf ep-flow:Flow . 110 rdfs:subClassOf ep-flow:Flow .
110 111
111 ep-flow:DerivedFlow 112 ep-flow:DerivedFlow
112 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 113 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
113 rdfs:label "derived flow"^^xsd:string ; 114 rdfs:label "derived flow"^^xsd:string ;
114 rdfs:subClassOf ep-flow:Flow . 115 rdfs:subClassOf ep-flow:Flow .
115 116
116 ep-flow:DieselFlow 117 ep-flow:DieselFlow
117 - rdf:type ep-flow:ProductType , owl:Class ; 118 + rdf:type owl:Class , ep-flow:ProductType ;
118 rdfs:label "diesel flow"^^xsd:string ; 119 rdfs:label "diesel flow"^^xsd:string ;
119 rdfs:subClassOf ep-flow:Flow . 120 rdfs:subClassOf ep-flow:Flow .
120 121
121 ep-flow:EstimatedFlow 122 ep-flow:EstimatedFlow
122 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 123 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
123 rdfs:label "estimated flow"^^xsd:string ; 124 rdfs:label "estimated flow"^^xsd:string ;
124 rdfs:subClassOf ep-flow:Flow . 125 rdfs:subClassOf ep-flow:Flow .
125 126
126 ep-flow:Ethane-componentFlow 127 ep-flow:Ethane-componentFlow
127 - rdf:type ep-flow:ProductType , owl:Class ; 128 + rdf:type owl:Class , ep-flow:ProductType ;
128 rdfs:label "ethane - component flow"^^xsd:string ; 129 rdfs:label "ethane - component flow"^^xsd:string ;
129 rdfs:subClassOf ep-flow:Flow . 130 rdfs:subClassOf ep-flow:Flow .
130 131
131 ep-flow:Export 132 ep-flow:Export
132 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 133 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
133 rdfs:label "export"^^xsd:string ; 134 rdfs:label "export"^^xsd:string ;
134 rdfs:subClassOf ep-flow:Flow . 135 rdfs:subClassOf ep-flow:Flow .
135 136
136 ep-flow:Export-nominated 137 ep-flow:Export-nominated
137 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 138 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
138 rdfs:label "export nominated"^^xsd:string ; 139 rdfs:label "export nominated"^^xsd:string ;
139 rdfs:subClassOf ep-flow:Export . 140 rdfs:subClassOf ep-flow:Export .
140 141
141 ep-flow:Export-requested 142 ep-flow:Export-requested
142 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 143 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
143 rdfs:label "export requested"^^xsd:string ; 144 rdfs:label "export requested"^^xsd:string ;
144 rdfs:subClassOf ep-flow:Export . 145 rdfs:subClassOf ep-flow:Export .
145 146
146 ep-flow:Export-shortfall 147 ep-flow:Export-shortfall
147 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 148 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
148 rdfs:label "export shortfall"^^xsd:string ; 149 rdfs:label "export shortfall"^^xsd:string ;
149 rdfs:subClassOf ep-flow:Export . 150 rdfs:subClassOf ep-flow:Export .
150 151
...@@ -154,32 +155,32 @@ ep-flow:Flow ...@@ -154,32 +155,32 @@ ep-flow:Flow
154 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 155 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
155 156
156 ep-flow:FlowDuringDay 157 ep-flow:FlowDuringDay
157 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 158 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
158 rdfs:label "flow during day"^^xsd:string ; 159 rdfs:label "flow during day"^^xsd:string ;
159 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 160 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
160 161
161 ep-flow:FlowDuringMonth 162 ep-flow:FlowDuringMonth
162 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 163 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
163 rdfs:label "flow during month"^^xsd:string ; 164 rdfs:label "flow during month"^^xsd:string ;
164 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 165 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
165 166
166 ep-flow:FlowDuringMonthToDate 167 ep-flow:FlowDuringMonthToDate
167 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 168 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
168 rdfs:label "flow during month to date"^^xsd:string ; 169 rdfs:label "flow during month to date"^^xsd:string ;
169 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 170 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
170 171
171 ep-flow:FlowDuringWeek 172 ep-flow:FlowDuringWeek
172 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 173 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
173 rdfs:label "flow during week"^^xsd:string ; 174 rdfs:label "flow during week"^^xsd:string ;
174 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 175 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
175 176
176 ep-flow:FlowDuringYear 177 ep-flow:FlowDuringYear
177 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 178 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
178 rdfs:label "flow during year"^^xsd:string ; 179 rdfs:label "flow during year"^^xsd:string ;
179 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 180 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
180 181
181 ep-flow:FlowDuringYearToDate 182 ep-flow:FlowDuringYearToDate
182 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 183 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
183 rdfs:label "flow during year to date"^^xsd:string ; 184 rdfs:label "flow during year to date"^^xsd:string ;
184 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 185 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
185 186
...@@ -196,117 +197,127 @@ ep-flow:FlowOfLiquid ...@@ -196,117 +197,127 @@ ep-flow:FlowOfLiquid
196 ep-flow:FlowOfMaterial 197 ep-flow:FlowOfMaterial
197 rdf:type owl:Class ; 198 rdf:type owl:Class ;
198 rdfs:label "flow of material"^^xsd:string ; 199 rdfs:label "flow of material"^^xsd:string ;
199 - rdfs:subClassOf ep-flow:Flow , ep-flow:TemporalPartOfAFlowOfMaterial . 200 + rdfs:subClassOf ep-flow:Flow .
200 201
201 ep-flow:Gas-componentInOilFlow 202 ep-flow:Gas-componentInOilFlow
202 - rdf:type ep-flow:ProductType , owl:Class ; 203 + rdf:type owl:Class , ep-flow:ProductType ;
203 rdfs:label "gas - component in oil flow"^^xsd:string ; 204 rdfs:label "gas - component in oil flow"^^xsd:string ;
204 rdfs:subClassOf ep-flow:Flow . 205 rdfs:subClassOf ep-flow:Flow .
205 206
206 ep-flow:Gas-richFlow 207 ep-flow:Gas-richFlow
207 - rdf:type ep-flow:ProductType , owl:Class ; 208 + rdf:type owl:Class , ep-flow:ProductType ;
208 rdfs:label "gas - rich flow"^^xsd:string ; 209 rdfs:label "gas - rich flow"^^xsd:string ;
209 rdfs:subClassOf ep-flow:Flow . 210 rdfs:subClassOf ep-flow:Flow .
210 211
211 ep-flow:GasFlow 212 ep-flow:GasFlow
212 - rdf:type ep-flow:ProductType , owl:Class ; 213 + rdf:type owl:Class , ep-flow:ProductType ;
213 rdfs:label "gas flow"^^xsd:string ; 214 rdfs:label "gas flow"^^xsd:string ;
214 rdfs:subClassOf ep-flow:Flow . 215 rdfs:subClassOf ep-flow:Flow .
215 216
216 ep-flow:Gaslift 217 ep-flow:Gaslift
217 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 218 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
218 rdfs:label "gas lift"^^xsd:string ; 219 rdfs:label "gas lift"^^xsd:string ;
219 rdfs:subClassOf ep-flow:Flow . 220 rdfs:subClassOf ep-flow:Flow .
220 221
221 ep-flow:I-butane-componentFlow 222 ep-flow:I-butane-componentFlow
222 - rdf:type ep-flow:ProductType , owl:Class ; 223 + rdf:type owl:Class , ep-flow:ProductType ;
223 rdfs:label "i-butane - component flow"^^xsd:string ; 224 rdfs:label "i-butane - component flow"^^xsd:string ;
224 rdfs:subClassOf ep-flow:Flow . 225 rdfs:subClassOf ep-flow:Flow .
225 226
226 ep-flow:Import 227 ep-flow:Import
227 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 228 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
228 rdfs:label "import"^^xsd:string ; 229 rdfs:label "import"^^xsd:string ;
229 rdfs:subClassOf ep-flow:Flow . 230 rdfs:subClassOf ep-flow:Flow .
230 231
231 ep-flow:Injection 232 ep-flow:Injection
232 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 233 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
233 rdfs:label "injection"^^xsd:string ; 234 rdfs:label "injection"^^xsd:string ;
234 rdfs:subClassOf ep-flow:Flow . 235 rdfs:subClassOf ep-flow:Flow .
235 236
236 ep-flow:Inventory 237 ep-flow:Inventory
237 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 238 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
238 rdfs:label "inventory"^^xsd:string ; 239 rdfs:label "inventory"^^xsd:string ;
239 rdfs:subClassOf ep-flow:Flow . 240 rdfs:subClassOf ep-flow:Flow .
240 241
241 ep-flow:MeasuredFlow 242 ep-flow:MeasuredFlow
242 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 243 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
243 rdfs:label "measured flow"^^xsd:string ; 244 rdfs:label "measured flow"^^xsd:string ;
244 rdfs:subClassOf ep-flow:Flow . 245 rdfs:subClassOf ep-flow:Flow .
245 246
246 ep-flow:N-butane-componentFlow 247 ep-flow:N-butane-componentFlow
247 - rdf:type ep-flow:ProductType , owl:Class ; 248 + rdf:type owl:Class , ep-flow:ProductType ;
248 rdfs:label "n-butane - component flow"^^xsd:string ; 249 rdfs:label "n-butane - component flow"^^xsd:string ;
249 rdfs:subClassOf ep-flow:Flow . 250 rdfs:subClassOf ep-flow:Flow .
250 251
251 ep-flow:NGL-componentInGasFlow 252 ep-flow:NGL-componentInGasFlow
252 - rdf:type ep-flow:ProductType , owl:Class ; 253 + rdf:type owl:Class , ep-flow:ProductType ;
253 rdfs:label "NGL - component in gas flow"^^xsd:string ; 254 rdfs:label "NGL - component in gas flow"^^xsd:string ;
254 rdfs:subClassOf ep-flow:Flow . 255 rdfs:subClassOf ep-flow:Flow .
255 256
256 ep-flow:NaturalGasLiquidFlow 257 ep-flow:NaturalGasLiquidFlow
257 - rdf:type ep-flow:ProductType , owl:Class ; 258 + rdf:type owl:Class , ep-flow:ProductType ;
258 rdfs:label "natural gas liquid flow"^^xsd:string ; 259 rdfs:label "natural gas liquid flow"^^xsd:string ;
259 rdfs:subClassOf ep-flow:Flow . 260 rdfs:subClassOf ep-flow:Flow .
260 261
261 ep-flow:NitrogenOxideGasFlow 262 ep-flow:NitrogenOxideGasFlow
262 - rdf:type ep-flow:ProductType , owl:Class ; 263 + rdf:type owl:Class , ep-flow:ProductType ;
263 rdfs:label "nitrogen oxide gas flow"^^xsd:string ; 264 rdfs:label "nitrogen oxide gas flow"^^xsd:string ;
264 rdfs:subClassOf ep-flow:Flow . 265 rdfs:subClassOf ep-flow:Flow .
265 266
266 ep-flow:Oil-componentInWaterFlow 267 ep-flow:Oil-componentInWaterFlow
267 - rdf:type ep-flow:ProductType , owl:Class ; 268 + rdf:type owl:Class , ep-flow:ProductType ;
268 rdfs:label "oil - component in water flow"^^xsd:string ; 269 rdfs:label "oil - component in water flow"^^xsd:string ;
269 rdfs:subClassOf ep-flow:Flow . 270 rdfs:subClassOf ep-flow:Flow .
270 271
271 ep-flow:Oil-netFlow 272 ep-flow:Oil-netFlow
272 - rdf:type ep-flow:ProductType , owl:Class ; 273 + rdf:type owl:Class , ep-flow:ProductType ;
273 rdfs:label "oil - net flow"^^xsd:string ; 274 rdfs:label "oil - net flow"^^xsd:string ;
274 rdfs:subClassOf ep-flow:Flow . 275 rdfs:subClassOf ep-flow:Flow .
275 276
276 ep-flow:OilAndGasFlow 277 ep-flow:OilAndGasFlow
277 - rdf:type ep-flow:ProductType , owl:Class ; 278 + rdf:type owl:Class , ep-flow:ProductType ;
278 rdfs:label "oil and gas flow"^^xsd:string ; 279 rdfs:label "oil and gas flow"^^xsd:string ;
279 rdfs:subClassOf ep-flow:Flow . 280 rdfs:subClassOf ep-flow:Flow .
280 281
281 ep-flow:OilFlow 282 ep-flow:OilFlow
282 - rdf:type owl:Class , ep-flow:ProductType ; 283 + rdf:type ep-flow:ProductType , owl:Class ;
283 rdfs:label "oil flow"^^xsd:string ; 284 rdfs:label "oil flow"^^xsd:string ;
284 rdfs:subClassOf ep-flow:Flow . 285 rdfs:subClassOf ep-flow:Flow .
285 286
286 ep-flow:OleicFlow 287 ep-flow:OleicFlow
287 - rdf:type ep-flow:ProductType , owl:Class ; 288 + rdf:type owl:Class , ep-flow:ProductType ;
288 rdfs:label "oleic flow"^^xsd:string ; 289 rdfs:label "oleic flow"^^xsd:string ;
289 rdfs:subClassOf ep-flow:Flow . 290 rdfs:subClassOf ep-flow:Flow .
290 291
291 ep-flow:Overboard 292 ep-flow:Overboard
292 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 293 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
293 rdfs:label "overboard"^^xsd:string ; 294 rdfs:label "overboard"^^xsd:string ;
294 rdfs:subClassOf ep-flow:Flow . 295 rdfs:subClassOf ep-flow:Flow .
295 296
297 +ep-flow:ProductFlow
298 + rdf:type owl:Class ;
299 + rdfs:label "product flow"^^xsd:string ;
300 + rdfs:subClassOf ep-flow:TemporalPartOfAProductFlow .
301 +
302 +ep-flow:ProductFlowToDate
303 + rdf:type owl:Class ;
304 + rdfs:label "product flow to date"^^xsd:string ;
305 + rdfs:subClassOf ep-flow:TemporalPartOfAProductFlow .
306 +
296 ep-flow:ProductType 307 ep-flow:ProductType
297 rdf:type rdfs:Class ; 308 rdf:type rdfs:Class ;
298 rdfs:label " product type"^^xsd:string ; 309 rdfs:label " product type"^^xsd:string ;
299 rdfs:subClassOf rdfs:Class . 310 rdfs:subClassOf rdfs:Class .
300 311
301 ep-flow:Production 312 ep-flow:Production
302 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 313 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
303 rdfs:label "production"^^xsd:string ; 314 rdfs:label "production"^^xsd:string ;
304 rdfs:subClassOf ep-flow:Flow . 315 rdfs:subClassOf ep-flow:Flow .
305 316
306 ep-flow:ProductionFlow 317 ep-flow:ProductionFlow
307 rdf:type owl:Class ; 318 rdf:type owl:Class ;
308 rdfs:label "production flow"^^xsd:string ; 319 rdfs:label "production flow"^^xsd:string ;
309 - rdfs:subClassOf ep-flow:Flow . 320 + rdfs:subClassOf ep-flow:TemporalPartOfAProductionFlow .
310 321
311 ep-flow:ProductionFlowDefinitionType 322 ep-flow:ProductionFlowDefinitionType
312 rdf:type rdfs:Class ; 323 rdf:type rdfs:Class ;
...@@ -318,18 +329,28 @@ ep-flow:ProductionFlowPurposeType ...@@ -318,18 +329,28 @@ ep-flow:ProductionFlowPurposeType
318 rdfs:label " production flow purpose type"^^xsd:string ; 329 rdfs:label " production flow purpose type"^^xsd:string ;
319 rdfs:subClassOf rdfs:Class . 330 rdfs:subClassOf rdfs:Class .
320 331
332 +ep-flow:ProductionFlowToDate
333 + rdf:type owl:Class ;
334 + rdfs:label "production flow to date"^^xsd:string ;
335 + rdfs:subClassOf ep-flow:TemporalPartOfAProductionFlow .
336 +
321 ep-flow:Propane-componentFlow 337 ep-flow:Propane-componentFlow
322 - rdf:type ep-flow:ProductType , owl:Class ; 338 + rdf:type owl:Class , ep-flow:ProductType ;
323 rdfs:label "propane - component flow"^^xsd:string ; 339 rdfs:label "propane - component flow"^^xsd:string ;
324 rdfs:subClassOf ep-flow:Flow . 340 rdfs:subClassOf ep-flow:Flow .
325 341
326 ep-flow:QuotaFlow 342 ep-flow:QuotaFlow
327 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 343 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
328 rdfs:label "quota flow"^^xsd:string ; 344 rdfs:label "quota flow"^^xsd:string ;
329 rdfs:subClassOf ep-flow:Flow . 345 rdfs:subClassOf ep-flow:Flow .
330 346
347 +ep-flow:SeparatorFlow
348 + rdf:type owl:Class ;
349 + rdfs:label "separator flow"^^xsd:string ;
350 + rdfs:subClassOf ep-flow:Flow .
351 +
331 ep-flow:SimulatedFlow 352 ep-flow:SimulatedFlow
332 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 353 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
333 rdfs:label "simulated flow"^^xsd:string ; 354 rdfs:label "simulated flow"^^xsd:string ;
334 rdfs:subClassOf ep-flow:Flow . 355 rdfs:subClassOf ep-flow:Flow .
335 356
...@@ -343,37 +364,52 @@ ep-flow:TemporalPartOfAFlowDurationType ...@@ -343,37 +364,52 @@ ep-flow:TemporalPartOfAFlowDurationType
343 rdfs:label "temporal part of a flow duration type"^^xsd:string ; 364 rdfs:label "temporal part of a flow duration type"^^xsd:string ;
344 rdfs:subClassOf rdfs:Class . 365 rdfs:subClassOf rdfs:Class .
345 366
346 -ep-flow:TemporalPartOfAFlowOfMaterial 367 +ep-flow:TemporalPartOfAProductFlow
347 rdf:type owl:Class ; 368 rdf:type owl:Class ;
348 - rdfs:label "temporal part of a flow of material"^^xsd:string ; 369 + rdfs:label "temporal part of a product flow"^^xsd:string ;
349 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> . 370 + rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
371 +
372 +ep-flow:TemporalPartOfAProductionFlow
373 + rdf:type owl:Class ;
374 + rdfs:label "temporal part of a production flow"^^xsd:string ;
375 + rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
350 376
351 ep-flow:VapourFlow 377 ep-flow:VapourFlow
352 - rdf:type ep-flow:ProductType , owl:Class ; 378 + rdf:type owl:Class , ep-flow:ProductType ;
353 rdfs:label "vapour flow"^^xsd:string ; 379 rdfs:label "vapour flow"^^xsd:string ;
354 rdfs:subClassOf ep-flow:Flow . 380 rdfs:subClassOf ep-flow:Flow .
355 381
356 ep-flow:Water-dischargeFlow 382 ep-flow:Water-dischargeFlow
357 - rdf:type ep-flow:ProductType , owl:Class ; 383 + rdf:type owl:Class , ep-flow:ProductType ;
358 rdfs:label "water - discharge flow"^^xsd:string ; 384 rdfs:label "water - discharge flow"^^xsd:string ;
359 rdfs:subClassOf ep-flow:Flow . 385 rdfs:subClassOf ep-flow:Flow .
360 386
361 ep-flow:Water-processedFlow 387 ep-flow:Water-processedFlow
362 - rdf:type ep-flow:ProductType , owl:Class ; 388 + rdf:type owl:Class , ep-flow:ProductType ;
363 rdfs:label "water - processed flow"^^xsd:string ; 389 rdfs:label "water - processed flow"^^xsd:string ;
364 rdfs:subClassOf ep-flow:Flow . 390 rdfs:subClassOf ep-flow:Flow .
365 391
366 ep-flow:WaterFlow 392 ep-flow:WaterFlow
367 - rdf:type ep-flow:ProductType , owl:Class ; 393 + rdf:type owl:Class , ep-flow:ProductType ;
368 rdfs:label "water flow"^^xsd:string ; 394 rdfs:label "water flow"^^xsd:string ;
369 rdfs:subClassOf ep-flow:Flow . 395 rdfs:subClassOf ep-flow:Flow .
370 396
397 +ep-flow:WellHeadFlow
398 + rdf:type owl:Class ;
399 + rdfs:label "well head flow"^^xsd:string ;
400 + rdfs:subClassOf ep-flow:Flow .
401 +
371 ep-flow:dailyAverageAmountOfMaterial 402 ep-flow:dailyAverageAmountOfMaterial
372 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 403 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
373 - rdfs:domain ep-flow:TemporalPartOfAFlowOfMaterial ;
374 rdfs:label "daily average amount of material"^^xsd:string ; 404 rdfs:label "daily average amount of material"^^xsd:string ;
375 rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . 405 rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> .
376 406
407 +ep-flow:facilityContainsFlow
408 + rdf:type owl:ObjectProperty ;
409 + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
410 + rdfs:label "facility contains flow"^^xsd:string ;
411 + rdfs:range ep-flow:Flow .
412 +
377 ep-flow:flowInto 413 ep-flow:flowInto
378 rdf:type owl:ObjectProperty ; 414 rdf:type owl:ObjectProperty ;
379 rdfs:domain ep-flow:Flow ; 415 rdfs:domain ep-flow:Flow ;
...@@ -394,8 +430,21 @@ ep-flow:flowOutOf ...@@ -394,8 +430,21 @@ ep-flow:flowOutOf
394 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; 430 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
395 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf . 431 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
396 432
433 +ep-flow:hasMixedPart
434 + rdf:type owl:ObjectProperty ;
435 + rdfs:domain ep-flow:Flow ;
436 + rdfs:label "has mixed part"^^xsd:string ;
437 + rdfs:range ep-flow:Flow ;
438 + rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> .
439 +
440 +ep-flow:hasNetworkPart
441 + rdf:type owl:ObjectProperty ;
442 + rdfs:domain ep-flow:Flow ;
443 + rdfs:label "has network part"^^xsd:string ;
444 + rdfs:range ep-flow:Flow ;
445 + rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> .
446 +
397 ep-flow:totalAmountOfMaterial 447 ep-flow:totalAmountOfMaterial
398 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 448 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
399 - rdfs:domain ep-flow:TemporalPartOfAFlowOfMaterial ;
400 rdfs:label "total amount of material"^^xsd:string ; 449 rdfs:label "total amount of material"^^xsd:string ;
401 rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . 450 rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> .
......
1 -# Saved by TopBraid on Tue Oct 11 21:13:23 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 12:01:32 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity
3 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
3 # imports: http://www.reportinghub.no/ep/schema/1.0/well 4 # imports: http://www.reportinghub.no/ep/schema/1.0/well
4 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose 5 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
5 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 6 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
6 # imports: http://www.reportinghub.no/ep/schema/1.0/activity 7 # imports: http://www.reportinghub.no/ep/schema/1.0/activity
7 # imports: http://www.reportinghub.no/ep/schema/1.0/facility 8 # imports: http://www.reportinghub.no/ep/schema/1.0/facility
9 +# imports: http://www.reportinghub.no/ep/schema/1.0/flow
8 10
11 +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
9 @prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> . 12 @prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> .
10 @prefix owl: <http://www.w3.org/2002/07/owl#> . 13 @prefix owl: <http://www.w3.org/2002/07/owl#> .
11 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 14 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
...@@ -14,9 +17,34 @@ ...@@ -14,9 +17,34 @@
14 17
15 <http://www.reportinghub.no/ep/schema/1.0/production-activity> 18 <http://www.reportinghub.no/ep/schema/1.0/production-activity>
16 rdf:type owl:Ontology ; 19 rdf:type owl:Ontology ;
17 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ; 20 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/flow> ;
18 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 21 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
19 22
23 +<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
24 + rdf:type ep-prodact:ProductionOperationClassByDuration .
25 +
26 +<http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity>
27 + rdf:type ep-prodact:ProductionOperationClassByDuration .
28 +
29 +<http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
30 + rdf:type owl:Class ;
31 + rdfs:label "production well test"^^xsd:string ;
32 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
33 +
34 +<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
35 + rdf:type ep-prodact:ProductionOperationClassByDuration .
36 +
37 +<http://www.reportinghub.no/ep/schema/activity#hasFlow>
38 + rdf:type owl:ObjectProperty ;
39 + rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
40 + rdfs:label "has flow"^^xsd:string ;
41 + rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
42 +
43 +ep-core:Mass
44 + rdf:type ep-core:PropertySpace , rdfs:Class ;
45 + rdfs:label "mass"^^xsd:string ;
46 + rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
47 +
20 <http://www.reportinghub.no/ep/schema/equipment#Manifold> 48 <http://www.reportinghub.no/ep/schema/equipment#Manifold>
21 rdf:type owl:Class ; 49 rdf:type owl:Class ;
22 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfAManifold> . 50 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfAManifold> .
...@@ -61,36 +89,44 @@ ep-prodact:AirTrafficOperation ...@@ -61,36 +89,44 @@ ep-prodact:AirTrafficOperation
61 rdf:type owl:Class ; 89 rdf:type owl:Class ;
62 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 90 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
63 91
64 -ep-prodact:AnnualProductionActivity 92 +ep-prodact:Alarm
65 rdf:type owl:Class ; 93 rdf:type owl:Class ;
94 + rdfs:subClassOf ep-prodact:PartOfProductionActivity .
95 +
96 +ep-prodact:AnnualProductionActivity
97 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
66 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 98 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
67 99
68 ep-prodact:AnnualProductionActivityToEndOfReportingPeriod 100 ep-prodact:AnnualProductionActivityToEndOfReportingPeriod
69 - rdf:type owl:Class ; 101 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
70 rdfs:subClassOf ep-prodact:AnnualProductionActivity . 102 rdfs:subClassOf ep-prodact:AnnualProductionActivity .
71 103
72 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod 104 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
73 - rdf:type owl:Class ; 105 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
74 rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod . 106 rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
75 107
76 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod 108 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
77 - rdf:type owl:Class ; 109 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
78 rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod . 110 rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
79 111
112 +ep-prodact:CargoShipOperation
113 + rdf:type owl:Class ;
114 + rdfs:subClassOf ep-prodact:PartOfProductionActivity .
115 +
80 ep-prodact:ConstructionOperation 116 ep-prodact:ConstructionOperation
81 rdf:type owl:Class ; 117 rdf:type owl:Class ;
82 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 118 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
83 119
84 ep-prodact:CumulativeProductionActivitySinceProductionBegan 120 ep-prodact:CumulativeProductionActivitySinceProductionBegan
85 - rdf:type owl:Class ; 121 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
86 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 122 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
87 123
88 ep-prodact:DailyProductionOperationsActivity 124 ep-prodact:DailyProductionOperationsActivity
89 - rdf:type owl:Class ; 125 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
90 rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> . 126 rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
91 127
92 ep-prodact:DailyProductionVolumeActivity 128 ep-prodact:DailyProductionVolumeActivity
93 - rdf:type owl:Class ; 129 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
94 rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> . 130 rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
95 131
96 ep-prodact:Deviation 132 ep-prodact:Deviation
...@@ -117,6 +153,14 @@ ep-prodact:FlowLine-Production ...@@ -117,6 +153,14 @@ ep-prodact:FlowLine-Production
117 rdf:type owl:Class ; 153 rdf:type owl:Class ;
118 rdfs:subClassOf ep-prodact:FlowLine . 154 rdfs:subClassOf ep-prodact:FlowLine .
119 155
156 +ep-prodact:FusionOfHSEActivitiesOverPeriod
157 + rdf:type owl:Class ;
158 + rdfs:subClassOf ep-prodact:FusionOfPartsOfProductionActivityOverPeriod .
159 +
160 +ep-prodact:FusionOfPartsOfProductionActivityOverPeriod
161 + rdf:type owl:Class ;
162 + rdfs:subClassOf ep-prodact:PartOfProductionActivity .
163 +
120 ep-prodact:HealthSafetyAndEnvironmentActivity 164 ep-prodact:HealthSafetyAndEnvironmentActivity
121 rdf:type owl:Class ; 165 rdf:type owl:Class ;
122 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 166 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
...@@ -162,13 +206,17 @@ ep-prodact:MedicalTreatmentInjury ...@@ -162,13 +206,17 @@ ep-prodact:MedicalTreatmentInjury
162 rdfs:subClassOf ep-prodact:Injury . 206 rdfs:subClassOf ep-prodact:Injury .
163 207
164 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod 208 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
165 - rdf:type owl:Class ; 209 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
166 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . 210 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
167 211
168 ep-prodact:NearMiss 212 ep-prodact:NearMiss
169 rdf:type owl:Class ; 213 rdf:type owl:Class ;
170 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 214 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
171 215
216 +ep-prodact:NotablePartOfProductionActivity
217 + rdf:type owl:Class ;
218 + rdfs:subClassOf ep-prodact:PartOfProductionActivity .
219 +
172 ep-prodact:PartOfProductionActivity 220 ep-prodact:PartOfProductionActivity
173 rdf:type owl:Class ; 221 rdf:type owl:Class ;
174 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 222 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
...@@ -178,9 +226,13 @@ ep-prodact:PowerStationFailure ...@@ -178,9 +226,13 @@ ep-prodact:PowerStationFailure
178 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 226 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
179 227
180 ep-prodact:ProductionActivityLastingLessThanAYear 228 ep-prodact:ProductionActivityLastingLessThanAYear
181 - rdf:type owl:Class ; 229 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
182 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 230 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
183 231
232 +ep-prodact:ProductionOperationClassByDuration
233 + rdf:type rdfs:Class ;
234 + rdfs:subClassOf owl:Class .
235 +
184 ep-prodact:ProductionOperationsActivity 236 ep-prodact:ProductionOperationsActivity
185 rdf:type owl:Class ; 237 rdf:type owl:Class ;
186 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 238 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
...@@ -213,6 +265,10 @@ ep-prodact:SafetyMeeting ...@@ -213,6 +265,10 @@ ep-prodact:SafetyMeeting
213 rdf:type ep-prodact:SafetyActivityType , owl:Class ; 265 rdf:type ep-prodact:SafetyActivityType , owl:Class ;
214 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 266 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
215 267
268 +ep-prodact:SampleAmountOfSubstance
269 + rdf:type owl:Class ;
270 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Fluid> .
271 +
216 ep-prodact:SentAshore 272 ep-prodact:SentAshore
217 rdf:type owl:Class ; 273 rdf:type owl:Class ;
218 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 274 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
...@@ -229,6 +285,14 @@ ep-prodact:SpillOrLeak ...@@ -229,6 +285,14 @@ ep-prodact:SpillOrLeak
229 rdf:type ep-prodact:SafetyActivityType , owl:Class ; 285 rdf:type ep-prodact:SafetyActivityType , owl:Class ;
230 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 286 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
231 287
288 +ep-prodact:WaterCleaningOperation
289 + rdf:type owl:Class ;
290 + rdfs:subClassOf ep-prodact:PartOfProductionActivity .
291 +
292 +ep-prodact:WaterSample
293 + rdf:type owl:Class ;
294 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance .
295 +
232 ep-prodact:WorkingUnderPermit 296 ep-prodact:WorkingUnderPermit
233 rdf:type ep-prodact:SafetyActivityType , owl:Class ; 297 rdf:type ep-prodact:SafetyActivityType , owl:Class ;
234 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 298 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
...@@ -237,11 +301,46 @@ ep-prodact:WorkingUnderPermitWithSJA ...@@ -237,11 +301,46 @@ ep-prodact:WorkingUnderPermitWithSJA
237 rdf:type ep-prodact:SafetyActivityType , owl:Class ; 301 rdf:type ep-prodact:SafetyActivityType , owl:Class ;
238 rdfs:subClassOf ep-prodact:WorkingUnderPermit . 302 rdfs:subClassOf ep-prodact:WorkingUnderPermit .
239 303
304 +ep-prodact:ammoniumDensity
305 + rdf:type owl:ObjectProperty ;
306 + rdfs:domain ep-prodact:WaterSample ;
307 + rdfs:range ep-core:Density .
308 +
309 +ep-prodact:amountOfOil
310 + rdf:type owl:ObjectProperty ;
311 + rdfs:domain ep-prodact:WaterSample ;
312 + rdfs:range ep-core:Mass .
313 +
314 +ep-prodact:classificationBySafetyActivityType
315 + rdf:type owl:ObjectProperty ;
316 + rdfs:domain ep-prodact:FusionOfHSEActivitiesOverPeriod ;
317 + rdfs:range ep-prodact:SafetyActivityType .
318 +
319 +ep-prodact:coulterCounter
320 + rdf:type owl:ObjectProperty ;
321 + rdfs:domain ep-prodact:WaterSample ;
322 + rdfs:range ep-core:SpecificMass .
323 +
324 +ep-prodact:glycolDensity
325 + rdf:type owl:ObjectProperty ;
326 + rdfs:domain ep-prodact:WaterSample ;
327 + rdfs:range ep-core:Density .
328 +
240 ep-prodact:hasPart 329 ep-prodact:hasPart
241 rdf:type owl:ObjectProperty ; 330 rdf:type owl:ObjectProperty ;
242 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 331 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
243 rdfs:range ep-prodact:PartOfProductionActivity . 332 rdfs:range ep-prodact:PartOfProductionActivity .
244 333
334 +ep-prodact:involvedVessel
335 + rdf:type owl:ObjectProperty ;
336 + rdfs:domain ep-prodact:MarineOperation ;
337 + rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#ShipOrBoat> .
338 +
339 +ep-prodact:involvement
340 + rdf:type owl:ObjectProperty ;
341 + rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
342 + rdfs:range ep-core:PhysicalObject .
343 +
245 ep-prodact:noOfDrillsOrExcercises 344 ep-prodact:noOfDrillsOrExcercises
246 rdf:type owl:DatatypeProperty ; 345 rdf:type owl:DatatypeProperty ;
247 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 346 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
...@@ -292,11 +391,66 @@ ep-prodact:noOfSpillsOrLeaks ...@@ -292,11 +391,66 @@ ep-prodact:noOfSpillsOrLeaks
292 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 391 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
293 rdfs:range xsd:integer . 392 rdfs:range xsd:integer .
294 393
394 +ep-prodact:oilInWater
395 + rdf:type owl:ObjectProperty ;
396 + rdfs:domain ep-prodact:WaterSample ;
397 + rdfs:range ep-core:SpecificMass .
398 +
399 +ep-prodact:oxygenInWater
400 + rdf:type owl:ObjectProperty ;
401 + rdfs:domain ep-prodact:WaterSample ;
402 + rdfs:range ep-core:SpecificMass .
403 +
404 +ep-prodact:phenolDensity
405 + rdf:type owl:ObjectProperty ;
406 + rdfs:domain ep-prodact:WaterSample ;
407 + rdfs:range ep-core:Density .
408 +
409 +ep-prodact:productionActivityPeriodClassification
410 + rdf:type owl:ObjectProperty ;
411 + rdfs:domain ep-prodact:FusionOfPartsOfProductionActivityOverPeriod ;
412 + rdfs:range ep-prodact:ProductionOperationClassByDuration .
413 +
414 +ep-prodact:residualChlorideInWater
415 + rdf:type owl:ObjectProperty ;
416 + rdfs:domain ep-prodact:WaterSample ;
417 + rdfs:range ep-core:SpecificMass .
418 +
419 +ep-prodact:samplePOint
420 + rdf:type owl:DatatypeProperty ;
421 + rdfs:domain ep-prodact:WaterSample ;
422 + rdfs:range xsd:string .
423 +
424 +ep-prodact:samplePhValue
425 + rdf:type owl:DatatypeProperty ;
426 + rdfs:domain ep-prodact:WaterSample ;
427 + rdfs:range xsd:double .
428 +
429 +ep-prodact:sampleTemperature
430 + rdf:type owl:ObjectProperty ;
431 + rdfs:domain ep-prodact:WaterSample ;
432 + rdfs:range ep-core:Temperature .
433 +
434 +ep-prodact:sampleTurbidity
435 + rdf:type owl:DatatypeProperty ;
436 + rdfs:domain ep-prodact:WaterSample ;
437 + rdfs:range xsd:double .
438 +
295 ep-prodact:totalNoOfPermitsIssued 439 ep-prodact:totalNoOfPermitsIssued
296 rdf:type owl:DatatypeProperty ; 440 rdf:type owl:DatatypeProperty ;
297 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 441 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
298 rdfs:range xsd:integer . 442 rdfs:range xsd:integer .
299 443
444 +ep-prodact:totalOrganicCarbonInWater
445 + rdf:type owl:ObjectProperty ;
446 + rdfs:domain ep-prodact:WaterSample ;
447 + rdfs:range ep-core:SpecificMass .
448 +
449 +ep-prodact:waterSampleTaken
450 + rdf:type owl:ObjectProperty ;
451 + rdfs:domain ep-prodact:WaterCleaningOperation ;
452 + rdfs:range ep-prodact:WaterSample .
453 +
300 ep-prodact:yearlyActivityToDate 454 ep-prodact:yearlyActivityToDate
301 rdf:type owl:ObjectProperty ; 455 rdf:type owl:ObjectProperty ;
302 rdfs:domain ep-prodact:ProductionActivityLastingLessThanAYear ; 456 rdfs:domain ep-prodact:ProductionActivityLastingLessThanAYear ;
......
...@@ -26,3 +26,57 @@ ep-core:hasSetOfAllPartsOfType ...@@ -26,3 +26,57 @@ ep-core:hasSetOfAllPartsOfType
26 ep-core:thousand_barrel 26 ep-core:thousand_barrel
27 rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ; 27 rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
28 rdfs:label "thousand barrel"^^xsd:string . 28 rdfs:label "thousand barrel"^^xsd:string .
29 +
30 +ep-core:MeasureOfFlowOfMaterial
31 + rdf:type ep-core:PropertySpace , rdfs:Class ;
32 + rdfs:label "measure of flow of material"^^xsd:string ;
33 + rdfs:subClassOf owl:Class .
34 +
35 +ep-core:VolumeFlowRateAt15degC1atm
36 + rdf:type rdfs:Class , ep-core:PropertySpace ;
37 + rdfs:label "volume flow rate at 15 degrees C 1 atmosphere"^^xsd:string ;
38 + rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial .
39 +
40 +ep-core:VolumeFlowRateAt1degC1atm
41 + rdf:type rdfs:Class , ep-core:PropertySpace ;
42 + rdfs:label "volume flow rate at 1 degrees C 1 atmosphere"^^xsd:string ;
43 + rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial .
44 +
45 +ep-core:VolumeFlowRateAt60degF1atm
46 + rdf:type rdfs:Class , ep-core:PropertySpace ;
47 + rdfs:label "volume flow rate at 60 degrees F 1 atmosphere"^^xsd:string ;
48 + rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial .
49 +
50 +ep-core:atmosphere
51 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
52 + rdfs:domain ep-core:Pressure ;
53 + rdfs:label "atmosphere"^^xsd:string .
54 +
55 +ep-core:barrel_day-1
56 + rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
57 + rdfs:domain ep-core:VolumetricFlowRate ;
58 + rdfs:label "barrel day-1"^^xsd:string .
59 +
60 +ep-core:centimetre
61 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
62 + rdfs:domain ep-core:Length ;
63 + rdfs:label "centimetre"^^xsd:string .
64 +
65 +ep-core:fahrenheit
66 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
67 + rdfs:domain ep-core:Temperature ;
68 + rdfs:label "fahrenheit"^^xsd:string .
69 +
70 +ep-core:inch_64
71 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
72 + rdfs:domain ep-core:Length ;
73 + rdfs:label "inch/64"^^xsd:string .
74 +
75 +ep-core:metre3_hour-1
76 + rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
77 + rdfs:domain ep-core:VolumetricFlowRate ;
78 + rdfs:label "metre3 hour-1"^^xsd:string .
79 +
80 +ep-core:thousand_barrel
81 + rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
82 + rdfs:label "thousand barrel"^^xsd:string .
...\ No newline at end of file ...\ No newline at end of file
......
1 -# Saved by TopBraid on Tue Oct 11 19:15:55 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 12:41:06 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-facility 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-facility
3 # imports: http://www.reportinghub.no/ep/schema/1.0/organization 3 # imports: http://www.reportinghub.no/ep/schema/1.0/organization
4 # imports: http://www.reportinghub.no/ep/schema/1.0/facility 4 # imports: http://www.reportinghub.no/ep/schema/1.0/facility
...@@ -15,12 +15,33 @@ ...@@ -15,12 +15,33 @@
15 owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; 15 owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
16 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 16 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
17 17
18 +<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
19 + rdf:type owl:Class ;
20 + rdfs:label "production facility to date"^^xsd:string ;
21 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
22 +
18 <http://www.reportinghub.no/ep/schema/facility#facilityOperator> 23 <http://www.reportinghub.no/ep/schema/facility#facilityOperator>
19 rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 24 rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
20 rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ; 25 rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
21 rdfs:label "facility operator"^^xsd:string ; 26 rdfs:label "facility operator"^^xsd:string ;
22 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . 27 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
23 28
29 +ep-prodfac:Boat
30 + rdf:type owl:Class ;
31 + rdfs:subClassOf ep-prodfac:ShipOrBoat .
32 +
33 +ep-prodfac:Ship
34 + rdf:type owl:Class ;
35 + rdfs:subClassOf ep-prodfac:ShipOrBoat .
36 +
37 +ep-prodfac:ShipOrBoat
38 + rdf:type owl:Class ;
39 + rdfs:subClassOf ep-prodfac:TemporalPartOfAShipOrBoat .
40 +
41 +ep-prodfac:TemporalPartOfAShipOrBoat
42 + rdf:type owl:Class ;
43 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
44 +
24 ep-prodfac:numberOfBedsAvailable 45 ep-prodfac:numberOfBedsAvailable
25 rdf:type owl:DatatypeProperty ; 46 rdf:type owl:DatatypeProperty ;
26 rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ; 47 rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
......
1 -# Saved by TopBraid on Tue Oct 11 12:55:49 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 00:15:06 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report
3 # imports: http://www.reportinghub.no/ep/schema/1.0/report 3 # imports: http://www.reportinghub.no/ep/schema/1.0/report
4 # imports: http://www.reportinghub.no/np/schema/1.0/npd 4 # imports: http://www.reportinghub.no/np/schema/1.0/npd
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
11 11
12 <http://www.reportinghub.no/ep/schema/1.0/production-report> 12 <http://www.reportinghub.no/ep/schema/1.0/production-report>
13 rdf:type owl:Ontology ; 13 rdf:type owl:Ontology ;
14 - owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/report> ; 14 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ;
15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
16 16
17 ep-prodreport:DailyProductionReport 17 ep-prodreport:DailyProductionReport
...@@ -34,8 +34,8 @@ ep-prodreport:ReportAliasIdentifier ...@@ -34,8 +34,8 @@ ep-prodreport:ReportAliasIdentifier
34 rdfs:subClassOf owl:Thing ; 34 rdfs:subClassOf owl:Thing ;
35 rdfs:subClassOf 35 rdfs:subClassOf
36 [ rdf:type owl:Restriction ; 36 [ rdf:type owl:Restriction ;
37 - owl:minCardinality "1"^^xsd:nonNegativeInteger ; 37 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
38 - owl:onProperty ep-prodreport:aliasName 38 + owl:onProperty ep-prodreport:isAliasFor
39 ] ; 39 ] ;
40 rdfs:subClassOf 40 rdfs:subClassOf
41 [ rdf:type owl:Restriction ; 41 [ rdf:type owl:Restriction ;
...@@ -44,8 +44,8 @@ ep-prodreport:ReportAliasIdentifier ...@@ -44,8 +44,8 @@ ep-prodreport:ReportAliasIdentifier
44 ] ; 44 ] ;
45 rdfs:subClassOf 45 rdfs:subClassOf
46 [ rdf:type owl:Restriction ; 46 [ rdf:type owl:Restriction ;
47 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 47 + owl:minCardinality "1"^^xsd:nonNegativeInteger ;
48 - owl:onProperty ep-prodreport:isAliasFor 48 + owl:onProperty ep-prodreport:aliasName
49 ] . 49 ] .
50 50
51 ep-prodreport:aliasName 51 ep-prodreport:aliasName
...@@ -54,7 +54,7 @@ ep-prodreport:aliasName ...@@ -54,7 +54,7 @@ ep-prodreport:aliasName
54 54
55 ep-prodreport:aliasOwner 55 ep-prodreport:aliasOwner
56 rdf:type owl:ObjectProperty ; 56 rdf:type owl:ObjectProperty ;
57 - rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . 57 + rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> .
58 58
59 ep-prodreport:disclaimer 59 ep-prodreport:disclaimer
60 rdf:type rdf:Property ; 60 rdf:type rdf:Property ;
......
1 +# Saved by TopBraid on Wed Oct 12 19:50:38 BST 2011
2 +# baseURI: http://www.reportinghub.no/ep/spin/dpr-tables
3 +# imports: http://www.reportinghub.no/ep/schema/1.0/production
4 +# imports: http://spinrdf.org/spin
5 +# imports: http://www.reportinghub.no/spin/rh
6 +
7 +@prefix dpr-tables: <http://www.reportinghub.no/ep/spin/dpr-tables#> .
8 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
9 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
11 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
12 +@prefix sp: <http://spinrdf.org/sp#> .
13 +@prefix spin: <http://spinrdf.org/spin#> .
14 +@prefix spl: <http://spinrdf.org/spl#> .
15 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
16 +
17 +<http://www.reportinghub.no/ep/spin/dpr-tables>
18 + rdf:type owl:Ontology ;
19 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/spin/rh> ;
20 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
21 +
22 +dpr-tables:WellInformation
23 + rdf:type rhspin:TableTemplate ;
24 + rdfs:subClassOf rhspin:TableTemplates ;
25 + spin:body
26 + [ rdf:type sp:Select ;
27 + sp:resultVariables ([ sp:varName "description"^^xsd:string
28 + ] _:b1 [ sp:varName "choke"^^xsd:string
29 + ] [ sp:varName "prod"^^xsd:string
30 + ]) ;
31 + sp:where ([ sp:object _:b2 ;
32 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
33 + sp:subject
34 + [ sp:varName "report"^^xsd:string
35 + ]
36 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
37 + sp:predicate rdf:type ;
38 + sp:subject _:b2
39 + ] [ sp:object _:b3 ;
40 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
41 + sp:subject _:b2
42 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationsActivity> ;
43 + sp:predicate rdf:type ;
44 + sp:subject _:b3
45 + ] [ rdf:type sp:Optional ;
46 + sp:elements ([ sp:object _:b1 ;
47 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfOwnCrew> ;
48 + sp:subject
49 + [ sp:varName "act"^^xsd:string
50 + ]
51 + ])
52 + ])
53 + ] ;
54 + rhspin:tableHeaders ("Description"^^xsd:string "Oil Net m3"^^xsd:string "Choke %"^^xsd:string "Prod Hours"^^xsd:string) .
55 +
56 +_:b2 sp:varName "dailyProductionActivity"^^xsd:string .
57 +
58 +_:b3 sp:varName "productionOperationsActivity"^^xsd:string .
59 +
60 +_:b1 sp:varName "oilNet"^^xsd:string .
1 +# Saved by TopBraid on Wed Oct 12 19:50:38 BST 2011
2 +# baseURI: null
3 +
4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix visual: <http://topbraid.org/visual#> .
11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 +
13 +[] rdf:type inference:Configuration ;
14 + composite:child
15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 + composite:index "0"^^xsd:int
17 + ] .
1 -# Saved by TopBraid on Wed Oct 12 14:16:37 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 18:07:56 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib 2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
3 # imports: http://www.reportinghub.no/ep/schema/1.0/geography 3 # imports: http://www.reportinghub.no/ep/schema/1.0/geography
4 # imports: http://www.reportinghub.no/ep/schema/1.0/well 4 # imports: http://www.reportinghub.no/ep/schema/1.0/well
...@@ -27,18 +27,90 @@ ...@@ -27,18 +27,90 @@
27 owl:imports <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/geography> , <http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed> ; 27 owl:imports <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/geography> , <http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed> ;
28 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 28 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
29 29
30 +ep-dpr-spin-lib:BuildDailyProductionReportURI
31 + rdf:type spin:Function ;
32 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
33 + spin:body
34 + [ rdf:type sp:Select ;
35 + rdfs:comment """arg1 is name of the document (this may to change when we sort out the identity lookup)
36 +arg2 is report date"""^^xsd:string ;
37 + sp:resultVariables (_:b1) ;
38 + sp:where ([ rdf:type sp:Bind ;
39 + sp:expression
40 + [ rdf:type ep-spin-lib:buildURI ;
41 + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionReport/" ;
42 + sp:arg2 [ rdf:type fn:concat ;
43 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
44 + sp:arg1 spin:_arg1
45 + ] ;
46 + sp:arg2 "$" ;
47 + sp:arg3 spin:_arg2
48 + ]
49 + ] ;
50 + sp:variable _:b1
51 + ])
52 + ] .
53 +
30 ep-dpr-spin-lib:Function 54 ep-dpr-spin-lib:Function
31 rdf:type spin:Function ; 55 rdf:type spin:Function ;
32 rdfs:label "function"^^xsd:string ; 56 rdfs:label "function"^^xsd:string ;
33 rdfs:subClassOf spin:Functions . 57 rdfs:subClassOf spin:Functions .
34 58
59 +ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI
60 + rdf:type spin:Function ;
61 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
62 + spin:body
63 + [ rdf:type sp:Select ;
64 + rdfs:comment """arg1 is name of the facility (this may to change when we sort out the identity lookup)
65 +arg2 is report end date"""^^xsd:string ;
66 + sp:resultVariables (_:b2) ;
67 + sp:where ([ rdf:type sp:Bind ;
68 + sp:expression
69 + [ rdf:type ep-spin-lib:buildURI ;
70 + sp:arg1 "https://www.reportinghub.no/ep/data/annualProductionActivityToEndOfReportingPeriod/" ;
71 + sp:arg2 [ rdf:type fn:concat ;
72 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
73 + sp:arg1 spin:_arg1
74 + ] ;
75 + sp:arg2 "$" ;
76 + sp:arg3 spin:_arg2
77 + ]
78 + ] ;
79 + sp:variable _:b2
80 + ])
81 + ] .
82 +
83 +ep-dpr-spin-lib:buildAnnualProductionOperationsActivityToEndOfPeriodURI
84 + rdf:type spin:Function ;
85 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
86 + spin:body
87 + [ rdf:type sp:Select ;
88 + rdfs:comment """arg1 is name of the facility (this may to change when we sort out the identity lookup)
89 +arg2 is report end date"""^^xsd:string ;
90 + sp:resultVariables (_:b3) ;
91 + sp:where ([ rdf:type sp:Bind ;
92 + sp:expression
93 + [ rdf:type ep-spin-lib:buildURI ;
94 + sp:arg1 "https://www.reportinghub.no/ep/data/annualProductionOperationsActivityToEndOfReportingPeriod/" ;
95 + sp:arg2 [ rdf:type fn:concat ;
96 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
97 + sp:arg1 spin:_arg1
98 + ] ;
99 + sp:arg2 "$" ;
100 + sp:arg3 spin:_arg2
101 + ]
102 + ] ;
103 + sp:variable _:b3
104 + ])
105 + ] .
106 +
35 ep-dpr-spin-lib:buildCountryURI 107 ep-dpr-spin-lib:buildCountryURI
36 rdf:type spin:Function ; 108 rdf:type spin:Function ;
37 rdfs:label "build Country URI"^^xsd:string ; 109 rdfs:label "build Country URI"^^xsd:string ;
38 rdfs:subClassOf ep-dpr-spin-lib:Function ; 110 rdfs:subClassOf ep-dpr-spin-lib:Function ;
39 spin:body 111 spin:body
40 [ rdf:type sp:Select ; 112 [ rdf:type sp:Select ;
41 - sp:resultVariables (_:b1) ; 113 + sp:resultVariables (_:b4) ;
42 sp:where ([ rdf:type sp:Bind ; 114 sp:where ([ rdf:type sp:Bind ;
43 sp:expression 115 sp:expression
44 [ rdf:type ep-spin-lib:buildURI ; 116 [ rdf:type ep-spin-lib:buildURI ;
...@@ -47,7 +119,78 @@ ep-dpr-spin-lib:buildCountryURI ...@@ -47,7 +119,78 @@ ep-dpr-spin-lib:buildCountryURI
47 sp:arg1 spin:_arg1 119 sp:arg1 spin:_arg1
48 ] 120 ]
49 ] ; 121 ] ;
50 - sp:variable _:b1 122 + sp:variable _:b4
123 + ])
124 + ] .
125 +
126 +ep-dpr-spin-lib:buildDailyProductionActivityURI
127 + rdf:type spin:Function ;
128 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
129 + spin:body
130 + [ rdf:type sp:Select ;
131 + rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
132 +arg2 is start date
133 +arg3 is end date"""^^xsd:string ;
134 + sp:resultVariables (_:b5) ;
135 + sp:where ([ rdf:type sp:Bind ;
136 + sp:expression
137 + [ rdf:type ep-spin-lib:buildURI ;
138 + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionActivity/" ;
139 + sp:arg2 [ rdf:type fn:concat ;
140 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
141 + sp:arg1 spin:_arg1
142 + ] ;
143 + sp:arg2 "$" ;
144 + sp:arg3 spin:_arg2 ;
145 + sp:arg4 "$" ;
146 + sp:arg5 spin:_arg3
147 + ]
148 + ] ;
149 + sp:variable _:b5
150 + ])
151 + ] .
152 +
153 +ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI
154 + rdf:type spin:Function ;
155 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
156 + spin:body
157 + [ rdf:type sp:Select ;
158 + rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
159 +arg2 is start date
160 +arg3 is end date"""^^xsd:string ;
161 + sp:resultVariables (_:b6) ;
162 + sp:where ([ rdf:type sp:Bind ;
163 + sp:expression
164 + [ rdf:type ep-spin-lib:buildURI ;
165 + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionOperationsActivity/" ;
166 + sp:arg2 [ rdf:type fn:concat ;
167 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
168 + sp:arg1 spin:_arg1
169 + ] ;
170 + sp:arg2 "$" ;
171 + sp:arg3 spin:_arg2 ;
172 + sp:arg4 "$" ;
173 + sp:arg5 spin:_arg3
174 + ]
175 + ] ;
176 + sp:variable _:b6
177 + ])
178 + ] .
179 +
180 +ep-dpr-spin-lib:buildFacilityURI
181 + rdf:type spin:Function ;
182 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
183 + spin:body
184 + [ rdf:type sp:Select ;
185 + rdfs:comment "arg1 is name of facility (this is going to change when we sort out the identity lookup)"^^xsd:string ;
186 + sp:resultVariables (_:b7) ;
187 + sp:where ([ rdf:type sp:Bind ;
188 + sp:expression
189 + [ rdf:type ep-spin-lib:buildURI ;
190 + sp:arg1 "https://www.reportinghub.no/ep/data/temporalPartOfAFacility/" ;
191 + sp:arg2 spin:_arg1
192 + ] ;
193 + sp:variable _:b7
51 ]) 194 ])
52 ] . 195 ] .
53 196
...@@ -57,7 +200,7 @@ ep-dpr-spin-lib:buildProductFlowURI ...@@ -57,7 +200,7 @@ ep-dpr-spin-lib:buildProductFlowURI
57 rdfs:subClassOf ep-dpr-spin-lib:Function ; 200 rdfs:subClassOf ep-dpr-spin-lib:Function ;
58 spin:body 201 spin:body
59 [ rdf:type sp:Select ; 202 [ rdf:type sp:Select ;
60 - sp:resultVariables (_:b2) ; 203 + sp:resultVariables (_:b8) ;
61 sp:where ([ rdf:type sp:Bind ; 204 sp:where ([ rdf:type sp:Bind ;
62 sp:expression 205 sp:expression
63 [ rdf:type ep-spin-lib:buildURI ; 206 [ rdf:type ep-spin-lib:buildURI ;
...@@ -68,7 +211,7 @@ ep-dpr-spin-lib:buildProductFlowURI ...@@ -68,7 +211,7 @@ ep-dpr-spin-lib:buildProductFlowURI
68 sp:arg3 spin:_arg2 211 sp:arg3 spin:_arg2
69 ] 212 ]
70 ] ; 213 ] ;
71 - sp:variable _:b2 214 + sp:variable _:b8
72 ]) 215 ])
73 ] . 216 ] .
74 217
...@@ -78,7 +221,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI ...@@ -78,7 +221,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
78 rdfs:subClassOf ep-dpr-spin-lib:Function ; 221 rdfs:subClassOf ep-dpr-spin-lib:Function ;
79 spin:body 222 spin:body
80 [ rdf:type sp:Select ; 223 [ rdf:type sp:Select ;
81 - sp:resultVariables (_:b3) ; 224 + sp:resultVariables (_:b9) ;
82 sp:where ([ rdf:type sp:Bind ; 225 sp:where ([ rdf:type sp:Bind ;
83 sp:expression 226 sp:expression
84 [ rdf:type ep-spin-lib:buildURI ; 227 [ rdf:type ep-spin-lib:buildURI ;
...@@ -87,7 +230,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI ...@@ -87,7 +230,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
87 sp:arg1 spin:_arg1 230 sp:arg1 spin:_arg1
88 ] 231 ]
89 ] ; 232 ] ;
90 - sp:variable _:b3 233 + sp:variable _:b9
91 ]) 234 ])
92 ] . 235 ] .
93 236
...@@ -97,7 +240,7 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -97,7 +240,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
97 rdfs:subClassOf ep-dpr-spin-lib:Function ; 240 rdfs:subClassOf ep-dpr-spin-lib:Function ;
98 spin:body 241 spin:body
99 [ rdf:type sp:Select ; 242 [ rdf:type sp:Select ;
100 - sp:resultVariables (_:b4) ; 243 + sp:resultVariables (_:b10) ;
101 sp:where ([ rdf:type sp:Bind ; 244 sp:where ([ rdf:type sp:Bind ;
102 sp:expression 245 sp:expression
103 [ rdf:type ep-spin-lib:buildURI ; 246 [ rdf:type ep-spin-lib:buildURI ;
...@@ -106,7 +249,7 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -106,7 +249,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
106 sp:arg1 spin:_arg1 249 sp:arg1 spin:_arg1
107 ] 250 ]
108 ] ; 251 ] ;
109 - sp:variable _:b4 252 + sp:variable _:b10
110 ]) 253 ])
111 ] . 254 ] .
112 255
...@@ -116,7 +259,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI ...@@ -116,7 +259,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
116 rdfs:subClassOf ep-dpr-spin-lib:Function ; 259 rdfs:subClassOf ep-dpr-spin-lib:Function ;
117 spin:body 260 spin:body
118 [ rdf:type sp:Select ; 261 [ rdf:type sp:Select ;
119 - sp:resultVariables (_:b5) ; 262 + sp:resultVariables (_:b11) ;
120 sp:where ([ rdf:type sp:Bind ; 263 sp:where ([ rdf:type sp:Bind ;
121 sp:expression 264 sp:expression
122 [ rdf:type ep-spin-lib:buildURI ; 265 [ rdf:type ep-spin-lib:buildURI ;
...@@ -129,7 +272,26 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI ...@@ -129,7 +272,26 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
129 sp:arg5 spin:_arg3 272 sp:arg5 spin:_arg3
130 ] 273 ]
131 ] ; 274 ] ;
132 - sp:variable _:b5 275 + sp:variable _:b11
276 + ])
277 + ] .
278 +
279 +ep-dpr-spin-lib:buildShipURI
280 + rdf:type spin:Function ;
281 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
282 + spin:body
283 + [ rdf:type sp:Select ;
284 + rdfs:comment "arg1 is name of the ship - assumed to be unique in this scope"^^xsd:string ;
285 + sp:resultVariables (_:b12) ;
286 + sp:where ([ rdf:type sp:Bind ;
287 + sp:expression
288 + [ rdf:type ep-spin-lib:buildURI ;
289 + sp:arg1 "https://www.reportinghub.no/ep/data/Ship/" ;
290 + sp:arg2 [ rdf:type ep-spin-lib:normalizeString ;
291 + sp:arg1 spin:_arg1
292 + ]
293 + ] ;
294 + sp:variable _:b12
133 ]) 295 ])
134 ] . 296 ] .
135 297
...@@ -139,7 +301,7 @@ ep-dpr-spin-lib:buildStateURI ...@@ -139,7 +301,7 @@ ep-dpr-spin-lib:buildStateURI
139 rdfs:subClassOf ep-dpr-spin-lib:Function ; 301 rdfs:subClassOf ep-dpr-spin-lib:Function ;
140 spin:body 302 spin:body
141 [ rdf:type sp:Select ; 303 [ rdf:type sp:Select ;
142 - sp:resultVariables (_:b6) ; 304 + sp:resultVariables (_:b13) ;
143 sp:where ([ rdf:type sp:Bind ; 305 sp:where ([ rdf:type sp:Bind ;
144 sp:expression 306 sp:expression
145 [ rdf:type ep-spin-lib:buildURI ; 307 [ rdf:type ep-spin-lib:buildURI ;
...@@ -148,7 +310,153 @@ ep-dpr-spin-lib:buildStateURI ...@@ -148,7 +310,153 @@ ep-dpr-spin-lib:buildStateURI
148 sp:arg1 spin:_arg1 310 sp:arg1 spin:_arg1
149 ] 311 ]
150 ] ; 312 ] ;
151 - sp:variable _:b6 313 + sp:variable _:b13
314 + ])
315 + ] .
316 +
317 +ep-dpr-spin-lib:buildTemporalPartOfFacilityURI
318 + rdf:type spin:Function ;
319 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
320 + spin:body
321 + [ rdf:type sp:Select ;
322 + rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
323 +arg2 is start date
324 +arg3 is end date"""^^xsd:string ;
325 + sp:resultVariables (_:b14) ;
326 + sp:where ([ rdf:type sp:Bind ;
327 + sp:expression
328 + [ rdf:type ep-spin-lib:buildURI ;
329 + sp:arg1 "https://www.reportinghub.no/ep/data/temporalPartOfAFacility/" ;
330 + sp:arg2 [ rdf:type fn:concat ;
331 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
332 + sp:arg1 spin:_arg1
333 + ] ;
334 + sp:arg2 "$" ;
335 + sp:arg3 spin:_arg2 ;
336 + sp:arg4 "$" ;
337 + sp:arg5 spin:_arg3
338 + ]
339 + ] ;
340 + sp:variable _:b14
341 + ])
342 + ] .
343 +
344 +ep-dpr-spin-lib:selectDurationScale
345 + rdf:type spin:Function ;
346 + rdfs:label "select Duration scale"^^xsd:string ;
347 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
348 + spin:body
349 + [ rdf:type sp:Select ;
350 + sp:resultVariables (_:b15) ;
351 + sp:where ([ rdf:type sp:Bind ;
352 + sp:expression
353 + [ rdf:type sp:if ;
354 + sp:arg1 [ rdf:type sp:eq ;
355 + sp:arg1 spin:_arg1 ;
356 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TU_h>
357 + ] ;
358 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#hour> ;
359 + sp:arg3 [ rdf:type sp:if ;
360 + sp:arg1 [ rdf:type sp:eq ;
361 + sp:arg1 spin:_arg1 ;
362 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TU_min>
363 + ] ;
364 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#minute> ;
365 + sp:arg3 [ rdf:type sp:if ;
366 + sp:arg1 [ rdf:type sp:eq ;
367 + sp:arg1 spin:_arg1 ;
368 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TU_s>
369 + ] ;
370 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#second> ;
371 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
372 + ]
373 + ]
374 + ] ;
375 + sp:variable _:b15
376 + ])
377 + ] .
378 +
379 +ep-dpr-spin-lib:selectLengthScale
380 + rdf:type spin:Function ;
381 + rdfs:label "select Length scale"^^xsd:string ;
382 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
383 + spin:body
384 + [ rdf:type sp:Select ;
385 + sp:resultVariables (_:b16) ;
386 + sp:where ([ rdf:type sp:Bind ;
387 + sp:expression
388 + [ rdf:type sp:if ;
389 + sp:arg1 [ rdf:type sp:eq ;
390 + sp:arg1 spin:_arg1 ;
391 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_in64>
392 + ] ;
393 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#inch_64> ;
394 + sp:arg3 [ rdf:type sp:if ;
395 + sp:arg1 [ rdf:type sp:eq ;
396 + sp:arg1 spin:_arg1 ;
397 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_m>
398 + ] ;
399 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre> ;
400 + sp:arg3 [ rdf:type sp:if ;
401 + sp:arg1 [ rdf:type sp:eq ;
402 + sp:arg1 spin:_arg1 ;
403 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_cm>
404 + ] ;
405 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#centimetre> ;
406 + sp:arg3 [ rdf:type sp:if ;
407 + sp:arg1 [ rdf:type sp:eq ;
408 + sp:arg1 spin:_arg1 ;
409 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_mm>
410 + ] ;
411 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#millimetre> ;
412 + sp:arg3 [ rdf:type sp:if ;
413 + sp:arg1 [ rdf:type sp:eq ;
414 + sp:arg1 spin:_arg1 ;
415 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_in>
416 + ] ;
417 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#inch> ;
418 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
419 + ]
420 + ]
421 + ]
422 + ]
423 + ] ;
424 + sp:variable _:b16
425 + ])
426 + ] .
427 +
428 +ep-dpr-spin-lib:selectPressureScale
429 + rdf:type spin:Function ;
430 + rdfs:label "select Pressure scale"^^xsd:string ;
431 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
432 + spin:body
433 + [ rdf:type sp:Select ;
434 + sp:resultVariables (_:b17) ;
435 + sp:where ([ rdf:type sp:Bind ;
436 + sp:expression
437 + [ rdf:type sp:if ;
438 + sp:arg1 [ rdf:type sp:eq ;
439 + sp:arg1 spin:_arg1 ;
440 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#PU_bar>
441 + ] ;
442 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#bar> ;
443 + sp:arg3 [ rdf:type sp:if ;
444 + sp:arg1 [ rdf:type sp:eq ;
445 + sp:arg1 spin:_arg1 ;
446 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#PU_atm>
447 + ] ;
448 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#atmosphere> ;
449 + sp:arg3 [ rdf:type sp:if ;
450 + sp:arg1 [ rdf:type sp:eq ;
451 + sp:arg1 spin:_arg1 ;
452 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#PU_MPa>
453 + ] ;
454 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#megaPa> ;
455 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
456 + ]
457 + ]
458 + ] ;
459 + sp:variable _:b17
152 ]) 460 ])
153 ] . 461 ] .
154 462
...@@ -158,7 +466,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -158,7 +466,7 @@ ep-dpr-spin-lib:selectProductType
158 rdfs:subClassOf ep-dpr-spin-lib:Function ; 466 rdfs:subClassOf ep-dpr-spin-lib:Function ;
159 spin:body 467 spin:body
160 [ rdf:type sp:Select ; 468 [ rdf:type sp:Select ;
161 - sp:resultVariables (_:b7) ; 469 + sp:resultVariables (_:b18) ;
162 sp:where ([ rdf:type sp:Bind ; 470 sp:where ([ rdf:type sp:Bind ;
163 sp:expression 471 sp:expression
164 [ rdf:type sp:if ; 472 [ rdf:type sp:if ;
...@@ -365,7 +673,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -365,7 +673,7 @@ ep-dpr-spin-lib:selectProductType
365 ] 673 ]
366 ] 674 ]
367 ] ; 675 ] ;
368 - sp:variable _:b7 676 + sp:variable _:b18
369 ]) 677 ])
370 ] . 678 ] .
371 679
...@@ -375,7 +683,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -375,7 +683,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
375 rdfs:subClassOf ep-dpr-spin-lib:Function ; 683 rdfs:subClassOf ep-dpr-spin-lib:Function ;
376 spin:body 684 spin:body
377 [ rdf:type sp:Select ; 685 [ rdf:type sp:Select ;
378 - sp:resultVariables (_:b8) ; 686 + sp:resultVariables (_:b19) ;
379 sp:where ([ rdf:type sp:Bind ; 687 sp:where ([ rdf:type sp:Bind ;
380 sp:expression 688 sp:expression
381 [ rdf:type sp:if ; 689 [ rdf:type sp:if ;
...@@ -554,7 +862,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -554,7 +862,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
554 ] 862 ]
555 ] 863 ]
556 ] ; 864 ] ;
557 - sp:variable _:b8 865 + sp:variable _:b19
558 ]) 866 ])
559 ] . 867 ] .
560 868
...@@ -564,7 +872,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -564,7 +872,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
564 rdfs:subClassOf ep-dpr-spin-lib:Function ; 872 rdfs:subClassOf ep-dpr-spin-lib:Function ;
565 spin:body 873 spin:body
566 [ rdf:type sp:Select ; 874 [ rdf:type sp:Select ;
567 - sp:resultVariables (_:b9) ; 875 + sp:resultVariables (_:b20) ;
568 sp:where ([ rdf:type sp:Bind ; 876 sp:where ([ rdf:type sp:Bind ;
569 sp:expression 877 sp:expression
570 [ rdf:type sp:if ; 878 [ rdf:type sp:if ;
...@@ -624,7 +932,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -624,7 +932,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
624 ] 932 ]
625 ] 933 ]
626 ] ; 934 ] ;
627 - sp:variable _:b9 935 + sp:variable _:b20
628 ]) 936 ])
629 ] . 937 ] .
630 938
...@@ -634,7 +942,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -634,7 +942,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
634 rdfs:subClassOf ep-dpr-spin-lib:Function ; 942 rdfs:subClassOf ep-dpr-spin-lib:Function ;
635 spin:body 943 spin:body
636 [ rdf:type sp:Select ; 944 [ rdf:type sp:Select ;
637 - sp:resultVariables (_:b10) ; 945 + sp:resultVariables (_:b21) ;
638 sp:where ([ rdf:type sp:Bind ; 946 sp:where ([ rdf:type sp:Bind ;
639 sp:expression 947 sp:expression
640 [ rdf:type sp:if ; 948 [ rdf:type sp:if ;
...@@ -652,7 +960,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -652,7 +960,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
652 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 960 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
653 ] 961 ]
654 ] ; 962 ] ;
655 - sp:variable _:b10 963 + sp:variable _:b21
656 ]) 964 ])
657 ] . 965 ] .
658 966
...@@ -662,7 +970,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -662,7 +970,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
662 rdfs:subClassOf ep-dpr-spin-lib:Function ; 970 rdfs:subClassOf ep-dpr-spin-lib:Function ;
663 spin:body 971 spin:body
664 [ rdf:type sp:Select ; 972 [ rdf:type sp:Select ;
665 - sp:resultVariables (_:b11) ; 973 + sp:resultVariables (_:b22) ;
666 sp:where ([ rdf:type sp:Bind ; 974 sp:where ([ rdf:type sp:Bind ;
667 sp:expression 975 sp:expression
668 [ rdf:type sp:if ; 976 [ rdf:type sp:if ;
...@@ -680,7 +988,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -680,7 +988,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
680 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 988 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
681 ] 989 ]
682 ] ; 990 ] ;
683 - sp:variable _:b11 991 + sp:variable _:b22
684 ]) 992 ])
685 ] . 993 ] .
686 994
...@@ -690,7 +998,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -690,7 +998,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
690 rdfs:subClassOf ep-dpr-spin-lib:Function ; 998 rdfs:subClassOf ep-dpr-spin-lib:Function ;
691 spin:body 999 spin:body
692 [ rdf:type sp:Select ; 1000 [ rdf:type sp:Select ;
693 - sp:resultVariables (_:b12) ; 1001 + sp:resultVariables (_:b23) ;
694 sp:where ([ rdf:type sp:Bind ; 1002 sp:where ([ rdf:type sp:Bind ;
695 sp:expression 1003 sp:expression
696 [ rdf:type sp:if ; 1004 [ rdf:type sp:if ;
...@@ -841,7 +1149,69 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -841,7 +1149,69 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
841 ] 1149 ]
842 ] 1150 ]
843 ] ; 1151 ] ;
844 - sp:variable _:b12 1152 + sp:variable _:b23
1153 + ])
1154 + ] .
1155 +
1156 +ep-dpr-spin-lib:selectProductionOperationPartType
1157 + rdf:type spin:Function ;
1158 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1159 + spin:body
1160 + [ rdf:type sp:Select ;
1161 + sp:resultVariables (_:b24) ;
1162 + sp:where ([ rdf:type sp:Bind ;
1163 + sp:expression
1164 + [ rdf:type sp:if ;
1165 + sp:arg1 [ rdf:type sp:eq ;
1166 + sp:arg1 spin:_arg1 ;
1167 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_production>
1168 + ] ;
1169 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
1170 + sp:arg3 [ rdf:type sp:if ;
1171 + sp:arg1 [ rdf:type sp:eq ;
1172 + sp:arg1 spin:_arg1 ;
1173 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_maintenance>
1174 + ] ;
1175 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#MaintenanceActivity> ;
1176 + sp:arg3 [ rdf:type sp:if ;
1177 + sp:arg1 [ rdf:type sp:eq ;
1178 + sp:arg1 spin:_arg1 ;
1179 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_powerstationfailure>
1180 + ] ;
1181 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#PowerStationFailure> ;
1182 + sp:arg3 [ rdf:type sp:if ;
1183 + sp:arg1 [ rdf:type sp:eq ;
1184 + sp:arg1 spin:_arg1 ;
1185 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_deviations>
1186 + ] ;
1187 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#Deviation> ;
1188 + sp:arg3 [ rdf:type sp:if ;
1189 + sp:arg1 [ rdf:type sp:eq ;
1190 + sp:arg1 spin:_arg1 ;
1191 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_airtraffic>
1192 + ] ;
1193 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AirTrafficOperation> ;
1194 + sp:arg3 [ rdf:type sp:if ;
1195 + sp:arg1 [ rdf:type sp:eq ;
1196 + sp:arg1 spin:_arg1 ;
1197 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_construction>
1198 + ] ;
1199 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#ConstructionOperation> ;
1200 + sp:arg3 [ rdf:type sp:if ;
1201 + sp:arg1 [ rdf:type sp:eq ;
1202 + sp:arg1 spin:_arg1 ;
1203 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TU_s>
1204 + ] ;
1205 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#second> ;
1206 + sp:arg3 <http://www.reportinghub.no/ep/schema/production-activity#PartOfProductionActivity>
1207 + ]
1208 + ]
1209 + ]
1210 + ]
1211 + ]
1212 + ]
1213 + ] ;
1214 + sp:variable _:b24
845 ]) 1215 ])
846 ] . 1216 ] .
847 1217
...@@ -851,7 +1221,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -851,7 +1221,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
851 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1221 rdfs:subClassOf ep-dpr-spin-lib:Function ;
852 spin:body 1222 spin:body
853 [ rdf:type sp:Select ; 1223 [ rdf:type sp:Select ;
854 - sp:resultVariables (_:b13) ; 1224 + sp:resultVariables (_:b25) ;
855 sp:where ([ rdf:type sp:Bind ; 1225 sp:where ([ rdf:type sp:Bind ;
856 sp:expression 1226 sp:expression
857 [ rdf:type sp:if ; 1227 [ rdf:type sp:if ;
...@@ -925,7 +1295,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -925,7 +1295,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
925 ] 1295 ]
926 ] 1296 ]
927 ] ; 1297 ] ;
928 - sp:variable _:b13 1298 + sp:variable _:b25
929 ]) 1299 ])
930 ] . 1300 ] .
931 1301
...@@ -934,7 +1304,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -934,7 +1304,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
934 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1304 rdfs:subClassOf ep-dpr-spin-lib:Function ;
935 spin:body 1305 spin:body
936 [ rdf:type sp:Select ; 1306 [ rdf:type sp:Select ;
937 - sp:resultVariables (_:b14) ; 1307 + sp:resultVariables (_:b26) ;
938 sp:where ([ rdf:type sp:Bind ; 1308 sp:where ([ rdf:type sp:Bind ;
939 sp:expression 1309 sp:expression
940 [ rdf:type sp:if ; 1310 [ rdf:type sp:if ;
...@@ -1078,7 +1448,56 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1078,7 +1448,56 @@ ep-dpr-spin-lib:selectSafetyActivityType
1078 ] 1448 ]
1079 ] 1449 ]
1080 ] ; 1450 ] ;
1081 - sp:variable _:b14 1451 + sp:variable _:b26
1452 + ])
1453 + ] .
1454 +
1455 +ep-dpr-spin-lib:selectSpecificVolumeScale
1456 + rdf:type spin:Function ;
1457 + rdfs:label "select SpecificVolume scale"^^xsd:string ;
1458 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1459 + spin:body
1460 + [ rdf:type sp:Select ;
1461 + sp:resultVariables (_:b27) ;
1462 + sp:where ([ rdf:type sp:Bind ;
1463 + sp:expression
1464 + [ rdf:type sp:if ;
1465 + sp:arg1 [ rdf:type sp:eq ;
1466 + sp:arg1 spin:_arg1 ;
1467 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
1468 + ] ;
1469 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
1470 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1471 + ] ;
1472 + sp:variable _:b27
1473 + ])
1474 + ] .
1475 +
1476 +ep-dpr-spin-lib:selectTemperatureScale
1477 + rdf:type spin:Function ;
1478 + rdfs:label "select Temperature scale"^^xsd:string ;
1479 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1480 + spin:body
1481 + [ rdf:type sp:Select ;
1482 + sp:resultVariables (_:b28) ;
1483 + sp:where ([ rdf:type sp:Bind ;
1484 + sp:expression
1485 + [ rdf:type sp:if ;
1486 + sp:arg1 [ rdf:type sp:eq ;
1487 + sp:arg1 spin:_arg1 ;
1488 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TTU_degC>
1489 + ] ;
1490 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#celsius> ;
1491 + sp:arg3 [ rdf:type sp:if ;
1492 + sp:arg1 [ rdf:type sp:eq ;
1493 + sp:arg1 spin:_arg1 ;
1494 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TTU_degF>
1495 + ] ;
1496 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fahrenheit> ;
1497 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1498 + ]
1499 + ] ;
1500 + sp:variable _:b28
1082 ]) 1501 ])
1083 ] . 1502 ] .
1084 1503
...@@ -1088,7 +1507,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1088,7 +1507,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1088 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1507 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1089 spin:body 1508 spin:body
1090 [ rdf:type sp:Select ; 1509 [ rdf:type sp:Select ;
1091 - sp:resultVariables (_:b15) ; 1510 + sp:resultVariables (_:b29) ;
1092 sp:where ([ rdf:type sp:Bind ; 1511 sp:where ([ rdf:type sp:Bind ;
1093 sp:expression 1512 sp:expression
1094 [ rdf:type sp:if ; 1513 [ rdf:type sp:if ;
...@@ -1162,7 +1581,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1162,7 +1581,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1162 ] 1581 ]
1163 ] 1582 ]
1164 ] ; 1583 ] ;
1165 - sp:variable _:b15 1584 + sp:variable _:b29
1166 ]) 1585 ])
1167 ] . 1586 ] .
1168 1587
...@@ -1171,7 +1590,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1171,7 +1590,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1171 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1590 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1172 spin:body 1591 spin:body
1173 [ rdf:type sp:Select ; 1592 [ rdf:type sp:Select ;
1174 - sp:resultVariables (_:b16) ; 1593 + sp:resultVariables (_:b30) ;
1175 sp:where ([ rdf:type sp:Bind ; 1594 sp:where ([ rdf:type sp:Bind ;
1176 sp:expression 1595 sp:expression
1177 [ rdf:type sp:if ; 1596 [ rdf:type sp:if ;
...@@ -1245,7 +1664,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1245,7 +1664,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1245 ] 1664 ]
1246 ] 1665 ]
1247 ] ; 1666 ] ;
1248 - sp:variable _:b16 1667 + sp:variable _:b30
1249 ]) 1668 ])
1250 ] . 1669 ] .
1251 1670
...@@ -1255,7 +1674,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1255,7 +1674,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1255 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1674 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1256 spin:body 1675 spin:body
1257 [ rdf:type sp:Select ; 1676 [ rdf:type sp:Select ;
1258 - sp:resultVariables (_:b17) ; 1677 + sp:resultVariables (_:b31) ;
1259 sp:where ([ rdf:type sp:Bind ; 1678 sp:where ([ rdf:type sp:Bind ;
1260 sp:expression 1679 sp:expression
1261 [ rdf:type sp:if ; 1680 [ rdf:type sp:if ;
...@@ -1280,7 +1699,77 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1280,7 +1699,77 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1280 ] 1699 ]
1281 ] 1700 ]
1282 ] ; 1701 ] ;
1283 - sp:variable _:b17 1702 + sp:variable _:b31
1703 + ])
1704 + ] .
1705 +
1706 +ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
1707 + rdf:type spin:Function ;
1708 + rdfs:label "select VolumeFlowRateAtStandardTemperaturePressureType"^^xsd:string ;
1709 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1710 + spin:body
1711 + [ rdf:type sp:Select ;
1712 + sp:resultVariables (_:b32) ;
1713 + sp:where ([ rdf:type sp:Bind ;
1714 + sp:expression
1715 + [ rdf:type sp:if ;
1716 + sp:arg1 [ rdf:type sp:eq ;
1717 + sp:arg1 spin:_arg1 ;
1718 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#STP_15degC1atm>
1719 + ] ;
1720 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#VolumeFlowRateAt15degC1atm> ;
1721 + sp:arg3 [ rdf:type sp:if ;
1722 + sp:arg1 [ rdf:type sp:eq ;
1723 + sp:arg1 spin:_arg1 ;
1724 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#STP_60degF1atm>
1725 + ] ;
1726 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#VolumeFlowRateAt60degF1atm> ;
1727 + sp:arg3 [ rdf:type sp:if ;
1728 + sp:arg1 [ rdf:type sp:eq ;
1729 + sp:arg1 spin:_arg1 ;
1730 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#STP_0degC1atm>
1731 + ] ;
1732 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#VolumeFlowRateAt15degC1atm> ;
1733 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#MeasureOfFlowOfMaterial>
1734 + ]
1735 + ]
1736 + ] ;
1737 + sp:variable _:b32
1738 + ])
1739 + ] .
1740 +
1741 +ep-dpr-spin-lib:selectVolumeFlowRateScale
1742 + rdf:type spin:Function ;
1743 + rdfs:label "select VolumeFlowRate scale"^^xsd:string ;
1744 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1745 + spin:body
1746 + [ rdf:type sp:Select ;
1747 + sp:resultVariables (_:b33) ;
1748 + sp:where ([ rdf:type sp:Bind ;
1749 + sp:expression
1750 + [ rdf:type sp:if ;
1751 + sp:arg1 [ rdf:type sp:eq ;
1752 + sp:arg1 spin:_arg1 ;
1753 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VFRU_m3d>
1754 + ] ;
1755 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre3_day-1> ;
1756 + sp:arg3 [ rdf:type sp:if ;
1757 + sp:arg1 [ rdf:type sp:eq ;
1758 + sp:arg1 spin:_arg1 ;
1759 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VFRU_bbld>
1760 + ] ;
1761 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#barrel_day-1> ;
1762 + sp:arg3 [ rdf:type sp:if ;
1763 + sp:arg1 [ rdf:type sp:eq ;
1764 + sp:arg1 spin:_arg1 ;
1765 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VFRU_m3h>
1766 + ] ;
1767 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre3_hour-1> ;
1768 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1769 + ]
1770 + ]
1771 + ] ;
1772 + sp:variable _:b33
1284 ]) 1773 ])
1285 ] . 1774 ] .
1286 1775
...@@ -1290,7 +1779,7 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1290,7 +1779,7 @@ ep-dpr-spin-lib:selectVolumeScale
1290 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1779 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1291 spin:body 1780 spin:body
1292 [ rdf:type sp:Select ; 1781 [ rdf:type sp:Select ;
1293 - sp:resultVariables (_:b18) ; 1782 + sp:resultVariables (_:b34) ;
1294 sp:where ([ rdf:type sp:Bind ; 1783 sp:where ([ rdf:type sp:Bind ;
1295 sp:expression 1784 sp:expression
1296 [ rdf:type sp:if ; 1785 [ rdf:type sp:if ;
...@@ -1518,51 +2007,99 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1518,51 +2007,99 @@ ep-dpr-spin-lib:selectVolumeScale
1518 ] 2007 ]
1519 ] 2008 ]
1520 ] ; 2009 ] ;
1521 - sp:variable _:b18 2010 + sp:variable _:b34
1522 ]) 2011 ])
1523 ] . 2012 ] .
1524 2013
1525 -_:b18 2014 +_:b1 sp:varName "uri"^^xsd:string .
1526 - sp:varName "volumeScale"^^xsd:string .
1527 2015
1528 -_:b17 2016 +_:b4 sp:varName "uri"^^xsd:string .
1529 - sp:varName "volumeAtStdType"^^xsd:string .
1530 2017
1531 -_:b15 2018 +_:b5 sp:varName "uri"^^xsd:string .
1532 - sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
1533 2019
1534 -_:b14 2020 +_:b6 sp:varName "uri"^^xsd:string .
1535 - sp:varName "safetyActivityType"^^xsd:string .
1536 2021
1537 -_:b13 2022 +_:b7 sp:varName "uri"^^xsd:string .
1538 - sp:varName "relationshipToMeasure"^^xsd:string .
1539 2023
1540 -_:b12 2024 +_:b8 sp:varName "uri"^^xsd:string .
1541 - sp:varName "productionFlowPurposeType"^^xsd:string . 2025 +
2026 +_:b9 sp:varName "uri"^^xsd:string .
2027 +
2028 +_:b10
2029 + sp:varName "uri"^^xsd:string .
1542 2030
1543 _:b11 2031 _:b11
2032 + sp:varName "uri"^^xsd:string .
2033 +
2034 +_:b12
2035 + sp:varName "uri"^^xsd:string .
2036 +
2037 +_:b13
2038 + sp:varName "uri"^^xsd:string .
2039 +
2040 +_:b14
2041 + sp:varName "uri"^^xsd:string .
2042 +
2043 +_:b15
2044 + sp:varName "durationScale"^^xsd:string .
2045 +
2046 +_:b16
2047 + sp:varName "lengthScale"^^xsd:string .
2048 +
2049 +_:b17
2050 + sp:varName "pressureScale"^^xsd:string .
2051 +
2052 +_:b18
2053 + sp:varName "productType"^^xsd:string .
2054 +
2055 +_:b19
2056 + sp:varName "productionFacilityType"^^xsd:string .
2057 +
2058 +_:b20
2059 + sp:varName "productionFlowDefinitionType"^^xsd:string .
2060 +
2061 +_:b21
1544 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 2062 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1545 2063
1546 -_:b10 2064 +_:b22
1547 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 2065 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1548 2066
1549 -_:b9 sp:varName "productionFlowDefinitionType"^^xsd:string . 2067 +_:b23
2068 + sp:varName "productionFlowPurposeType"^^xsd:string .
1550 2069
1551 -_:b8 sp:varName "productionFacilityType"^^xsd:string . 2070 +_:b25
2071 + sp:varName "relationshipToMeasure"^^xsd:string .
1552 2072
1553 -_:b7 sp:varName "productType"^^xsd:string . 2073 +_:b26
2074 + sp:varName "safetyActivityType"^^xsd:string .
1554 2075
1555 -_:b6 sp:varName "uri"^^xsd:string . 2076 +_:b27
2077 + sp:varName "specificVolumeScale"^^xsd:string .
1556 2078
1557 -_:b5 sp:varName "uri"^^xsd:string . 2079 +_:b28
2080 + sp:varName "temperatureScale"^^xsd:string .
1558 2081
1559 -_:b4 sp:varName "uri"^^xsd:string . 2082 +_:b29
2083 + sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
2084 +
2085 +_:b30
2086 + sp:varName "prodActType"^^xsd:string .
2087 +
2088 +_:b31
2089 + sp:varName "volumeAtStdType"^^xsd:string .
2090 +
2091 +_:b32
2092 + sp:varName "volumeFlowRateAtStdType"^^xsd:string .
2093 +
2094 +_:b33
2095 + sp:varName "volumeFlowRateScale"^^xsd:string .
2096 +
2097 +_:b34
2098 + sp:varName "volumeScale"^^xsd:string .
1560 2099
1561 _:b3 sp:varName "uri"^^xsd:string . 2100 _:b3 sp:varName "uri"^^xsd:string .
1562 2101
1563 _:b2 sp:varName "uri"^^xsd:string . 2102 _:b2 sp:varName "uri"^^xsd:string .
1564 2103
1565 -_:b1 sp:varName "uri"^^xsd:string . 2104 +_:b24
1566 - 2105 + sp:varName "popType"^^xsd:string .
1567 -_:b16
1568 - sp:varName "prodActType"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Oct 12 14:16:38 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 18:07:56 BST 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 -# Saved by TopBraid on Sun Oct 09 09:55:56 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 08:34:27 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_dpr-collector-v1.0 2 # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_dpr-collector-v1.0
3 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume 3 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume
4 # imports: http://spinrdf.org/spin 4 # imports: http://spinrdf.org/spin
5 +# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest
5 6
6 @prefix TRANSFORM_dpr-collector-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_dpr-collector-v1.0#> . 7 @prefix TRANSFORM_dpr-collector-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_dpr-collector-v1.0#> .
7 @prefix owl: <http://www.w3.org/2002/07/owl#> . 8 @prefix owl: <http://www.w3.org/2002/07/owl#> .
...@@ -11,9 +12,10 @@ ...@@ -11,9 +12,10 @@
11 @prefix sp: <http://spinrdf.org/sp#> . 12 @prefix sp: <http://spinrdf.org/sp#> .
12 @prefix spin: <http://spinrdf.org/spin#> . 13 @prefix spin: <http://spinrdf.org/spin#> .
13 @prefix spl: <http://spinrdf.org/spl#> . 14 @prefix spl: <http://spinrdf.org/spl#> .
15 +@prefix wellTest: <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest#> .
14 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 16 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
15 17
16 <http://www.reportinghub.no/ep/transform/TRANSFORM_dpr-collector-v1.0> 18 <http://www.reportinghub.no/ep/transform/TRANSFORM_dpr-collector-v1.0>
17 rdf:type owl:Ontology ; 19 rdf:type owl:Ontology ;
18 - owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://spinrdf.org/spin> ; 20 + owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> ;
19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 21 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
1 -# Saved by TopBraid on Sun Oct 09 09:55:56 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 08:34:27 BST 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
1 +# Saved by TopBraid on Fri Oct 14 12:02:45 BST 2011
1 # baseURI: http://www.reportinghub.no/np/schema/1.0/npd 2 # baseURI: http://www.reportinghub.no/np/schema/1.0/npd
2 -# imports: http://www.reportinghub.no/ep/schema/1.0/core
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/facility
4 # imports: http://www.reportinghub.no/ep/schema/1.0/organization 3 # imports: http://www.reportinghub.no/ep/schema/1.0/organization
5 # imports: http://www.reportinghub.no/ep/schema/1.0/well 4 # imports: http://www.reportinghub.no/ep/schema/1.0/well
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
6 +# imports: http://www.reportinghub.no/ep/schema/1.0/facility
6 7
7 @prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> . 8 @prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> .
8 @prefix npd: <http://www.reportinghub.no/np/schema/npd#> . 9 @prefix npd: <http://www.reportinghub.no/np/schema/npd#> .
...@@ -22,18 +23,21 @@ ...@@ -22,18 +23,21 @@
22 <http://www.reportinghub.no/ep/schema/organization#Company> 23 <http://www.reportinghub.no/ep/schema/organization#Company>
23 rdfs:subClassOf npd:Individual . 24 rdfs:subClassOf npd:Individual .
24 25
26 +<http://www.reportinghub.no/ep/schema/well#Well>
27 + rdfs:subClassOf npd:Individual .
28 +
25 <http://www.reportinghub.no/ep/schema/well#WellBore> 29 <http://www.reportinghub.no/ep/schema/well#WellBore>
26 rdfs:subClassOf npd:NPDIndividual . 30 rdfs:subClassOf npd:NPDIndividual .
27 31
28 <http://www.reportinghub.no/np/schema/1.0/npd> 32 <http://www.reportinghub.no/np/schema/1.0/npd>
29 rdf:type owl:Ontology ; 33 rdf:type owl:Ontology ;
30 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> ; 34 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/well> ;
31 owl:versionInfo "0.1.0"^^xsd:string . 35 owl:versionInfo "0.1.0"^^xsd:string .
32 36
33 npd:BusinessArrangementArea 37 npd:BusinessArrangementArea
34 rdf:type owl:Class ; 38 rdf:type owl:Class ;
35 rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ; 39 rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ;
36 - rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner . 40 + rdfs:subClassOf npd:Owner , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual .
37 41
38 npd:DAS_DecidedByTheLicensees 42 npd:DAS_DecidedByTheLicensees
39 rdf:type npd:DiscoveryActivityStatus ; 43 rdf:type npd:DiscoveryActivityStatus ;
...@@ -286,7 +290,7 @@ npd:LS_Inactive ...@@ -286,7 +290,7 @@ npd:LS_Inactive
286 npd:Licence 290 npd:Licence
287 rdf:type owl:Class ; 291 rdf:type owl:Class ;
288 rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ; 292 rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ;
289 - rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner . 293 + rdfs:subClassOf npd:Owner , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual .
290 294
291 npd:LicenceStatus 295 npd:LicenceStatus
292 rdf:type owl:Class ; 296 rdf:type owl:Class ;
...@@ -321,7 +325,7 @@ npd:NPDIndividual ...@@ -321,7 +325,7 @@ npd:NPDIndividual
321 325
322 npd:OperatingCompany 326 npd:OperatingCompany
323 rdf:type owl:Class ; 327 rdf:type owl:Class ;
324 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> , npd:NPDIndividual . 328 + rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/organization#Company> .
325 329
326 npd:Owner 330 npd:Owner
327 rdf:type owl:Class ; 331 rdf:type owl:Class ;
...@@ -361,7 +365,7 @@ npd:SlidingScaleBAA ...@@ -361,7 +365,7 @@ npd:SlidingScaleBAA
361 npd:TUF 365 npd:TUF
362 rdf:type owl:Class ; 366 rdf:type owl:Class ;
363 rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ; 367 rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ;
364 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> , npd:FixedFacilityParent . 368 + rdfs:subClassOf npd:FixedFacilityParent , <http://www.reportinghub.no/ep/schema/facility#Facility> .
365 369
366 npd:TUFPart 370 npd:TUFPart
367 rdf:type owl:Class ; 371 rdf:type owl:Class ;
......
...@@ -105,15 +105,15 @@ arg:wellName ...@@ -105,15 +105,15 @@ arg:wellName
105 ] ; 105 ] ;
106 spin:constraint 106 spin:constraint
107 [ rdf:type spl:Argument ; 107 [ rdf:type spl:Argument ;
108 - rdfs:comment "The value to match against."^^xsd:string ;
109 - spl:predicate sp:arg1
110 - ] ;
111 - spin:constraint
112 - [ rdf:type spl:Argument ;
113 rdfs:comment "The property that must be used in the result resource."^^xsd:string ; 108 rdfs:comment "The property that must be used in the result resource."^^xsd:string ;
114 spl:predicate <http://topbraid.org/spin/spinmapl#predicate> ; 109 spl:predicate <http://topbraid.org/spin/spinmapl#predicate> ;
115 spl:valueType rdf:Property 110 spl:valueType rdf:Property
116 ] ; 111 ] ;
112 + spin:constraint
113 + [ rdf:type spl:Argument ;
114 + rdfs:comment "The value to match against."^^xsd:string ;
115 + spl:predicate sp:arg1
116 + ] ;
117 spin:returnType rdfs:Resource . 117 spin:returnType rdfs:Resource .
118 118
119 npdata:npd 119 npdata:npd
...@@ -138,6 +138,127 @@ rhspin:DDRTableTemplates ...@@ -138,6 +138,127 @@ rhspin:DDRTableTemplates
138 spl:valueType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> 138 spl:valueType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport>
139 ] . 139 ] .
140 140
141 +rhspin:GetLicenceInfo
142 + rdf:type spin:SelectTemplate ;
143 + rdfs:comment "Gets the NPD id and a type identifier (\"PL\" or \"BA\") for a licence specified by a name."^^xsd:string ;
144 + rdfs:label "Get licence info"^^xsd:string ;
145 + rdfs:subClassOf spin:SelectTemplates ;
146 + spin:body
147 + [ rdf:type sp:Select ;
148 + sp:resultVariables ([ sp:varName "id"^^xsd:string
149 + ] [ sp:varName "typeName"^^xsd:string
150 + ]) ;
151 + sp:where ([ rdf:type sp:NamedGraph ;
152 + sp:elements ([ sp:object
153 + [ sp:varName "name"^^xsd:string
154 + ] ;
155 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
156 + sp:subject
157 + [ sp:varName "owner"^^xsd:string
158 + ]
159 + ] [ sp:object
160 + [ sp:varName "type"^^xsd:string
161 + ] ;
162 + sp:predicate rdf:type ;
163 + sp:subject
164 + [ sp:varName "owner"^^xsd:string
165 + ]
166 + ] [ sp:object
167 + [ sp:varName "id"^^xsd:string
168 + ] ;
169 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
170 + sp:subject
171 + [ sp:varName "owner"^^xsd:string
172 + ]
173 + ]) ;
174 + sp:graphNameNode npdata:npd
175 + ] [ rdf:type sp:NamedGraph ;
176 + sp:elements ([ rdf:type sp:TriplePath ;
177 + sp:object <http://www.reportinghub.no/np/schema/npd#Owner> ;
178 + sp:path [ rdf:type sp:ModPath ;
179 + sp:modMax -2 ;
180 + sp:modMin 0 ;
181 + sp:subPath rdfs:subClassOf
182 + ] ;
183 + sp:subject
184 + [ sp:varName "type"^^xsd:string
185 + ]
186 + ]) ;
187 + sp:graphNameNode <http://www.reportinghub.no/np/schema/1.0/npd>
188 + ] [ rdf:type sp:Bind ;
189 + sp:expression
190 + [ rdf:type sp:if ;
191 + sp:arg1 [ rdf:type sp:eq ;
192 + sp:arg1 [ sp:varName "type"^^xsd:string
193 + ] ;
194 + sp:arg2 <http://www.reportinghub.no/np/schema/npd#Licence>
195 + ] ;
196 + sp:arg2 "PL" ;
197 + sp:arg3 "BA"
198 + ] ;
199 + sp:variable
200 + [ sp:varName "typeName"^^xsd:string
201 + ]
202 + ])
203 + ] ;
204 + spin:constraint
205 + [ rdf:type spl:Argument ;
206 + rdfs:comment "The name of the licence."^^xsd:string ;
207 + spl:predicate arg:name ;
208 + spl:valueType xsd:string
209 + ] .
210 +
211 +rhspin:GetLicensesAndBAAsOfCompanyName
212 + rdf:type spin:SelectTemplate ;
213 + rdfs:comment "Gets the licences and BAAs that a company with a given name has access to. Result variables are ?owner and ?ownerName."^^xsd:string ;
214 + rdfs:label "Get licenses and BAAs of company name"^^xsd:string ;
215 + rdfs:subClassOf spin:SelectTemplates ;
216 + spin:body
217 + [ rdf:type sp:Select ;
218 + sp:distinct "true"^^xsd:boolean ;
219 + sp:orderBy ([ sp:varName "ownerName"^^xsd:string
220 + ]) ;
221 + sp:resultVariables ([ sp:varName "owner"^^xsd:string
222 + ] [ sp:varName "ownerName"^^xsd:string
223 + ]) ;
224 + sp:where ([ rdf:type sp:NamedGraph ;
225 + sp:elements ([ sp:object
226 + [ sp:varName "companyName"^^xsd:string
227 + ] ;
228 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
229 + sp:subject
230 + [ sp:varName "company"^^xsd:string
231 + ]
232 + ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
233 + sp:predicate rdf:type ;
234 + sp:subject
235 + [ sp:varName "company"^^xsd:string
236 + ]
237 + ] [ sp:object
238 + [ sp:varName "owner"^^xsd:string
239 + ] ;
240 + sp:predicate rhspin:companyHasLicenceOrBAA ;
241 + sp:subject
242 + [ sp:varName "company"^^xsd:string
243 + ]
244 + ] [ sp:object
245 + [ sp:varName "ownerName"^^xsd:string
246 + ] ;
247 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
248 + sp:subject
249 + [ sp:varName "owner"^^xsd:string
250 + ]
251 + ]) ;
252 + sp:graphNameNode npdata:npd
253 + ])
254 + ] ;
255 + spin:constraint
256 + [ rdf:type spl:Argument ;
257 + rdfs:comment "The name of a company."^^xsd:string ;
258 + spl:predicate arg:companyName ;
259 + spl:valueType xsd:string
260 + ] .
261 +
141 rhspin:GetWellBoresOfWell 262 rhspin:GetWellBoresOfWell
142 rdf:type spin:SelectTemplate ; 263 rdf:type spin:SelectTemplate ;
143 rdfs:comment "Gets an ordered list of well bores that belong to a given Well. Result variables are ?wellBoreId and ?wellBoreName."^^xsd:string ; 264 rdfs:comment "Gets an ordered list of well bores that belong to a given Well. Result variables are ?wellBoreId and ?wellBoreName."^^xsd:string ;
...@@ -267,15 +388,15 @@ rhspin:WDRTableTemplates ...@@ -267,15 +388,15 @@ rhspin:WDRTableTemplates
267 spin:abstract "true"^^xsd:boolean ; 388 spin:abstract "true"^^xsd:boolean ;
268 spin:constraint 389 spin:constraint
269 [ rdf:type spl:Argument ; 390 [ rdf:type spl:Argument ;
270 - rdfs:comment "The start date of the reporting week."^^xsd:string ;
271 - spl:predicate arg:startDate ;
272 - spl:valueType xsd:date
273 - ] ;
274 - spin:constraint
275 - [ rdf:type spl:Argument ;
276 rdfs:comment "The DDR that serves as root of the query."^^xsd:string ; 391 rdfs:comment "The DDR that serves as root of the query."^^xsd:string ;
277 spl:predicate arg:wellBore ; 392 spl:predicate arg:wellBore ;
278 spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> 393 spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore>
394 + ] ;
395 + spin:constraint
396 + [ rdf:type spl:Argument ;
397 + rdfs:comment "The start date of the reporting week."^^xsd:string ;
398 + spl:predicate arg:startDate ;
399 + spl:valueType xsd:date
279 ] . 400 ] .
280 401
281 rhspin:baaById 402 rhspin:baaById
...@@ -384,6 +505,50 @@ rhspin:companyHasLicenceForWellBore ...@@ -384,6 +505,50 @@ rhspin:companyHasLicenceForWellBore
384 ] ; 505 ] ;
385 spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> . 506 spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
386 507
508 +rhspin:companyHasLicenceOrBAA
509 + rdf:type spin:MagicProperty ;
510 + rdfs:comment "A magic property that defines a relationship between companies (left side) and licenses or BAAs (right side). It matches those licenses or BAAs that the company currently holds. The query is optimized for the direction when the company is given and the licenses and BAAs variable."^^xsd:string ;
511 + rdfs:label "company has licence or BAA"^^xsd:string ;
512 + rdfs:subClassOf spin:MagicProperties ;
513 + spin:body
514 + [ rdf:type sp:Select ;
515 + sp:distinct "true"^^xsd:boolean ;
516 + sp:resultVariables ([ sp:varName "owner"^^xsd:string
517 + ]) ;
518 + sp:where ([ rdf:type sp:NamedGraph ;
519 + sp:elements ([ sp:object spin:_arg1 ;
520 + sp:predicate <http://www.reportinghub.no/np/schema/npd#shareHolder> ;
521 + sp:subject
522 + [ sp:varName "share"^^xsd:string
523 + ]
524 + ] [ rdf:type sp:Union ;
525 + sp:elements (([ sp:object
526 + [ sp:varName "owner"^^xsd:string
527 + ] ;
528 + sp:predicate <http://www.reportinghub.no/np/schema/npd#licenceShared> ;
529 + sp:subject
530 + [ sp:varName "share"^^xsd:string
531 + ]
532 + ]) ([ sp:object
533 + [ sp:varName "owner"^^xsd:string
534 + ] ;
535 + sp:predicate <http://www.reportinghub.no/np/schema/npd#baaShared> ;
536 + sp:subject
537 + [ sp:varName "share"^^xsd:string
538 + ]
539 + ]))
540 + ]) ;
541 + sp:graphNameNode npdata:npd
542 + ])
543 + ] ;
544 + spin:constraint
545 + [ rdf:type spl:Argument ;
546 + rdfs:comment "The Company to match."^^xsd:string ;
547 + spl:predicate sp:arg1 ;
548 + spl:valueType <http://www.reportinghub.no/ep/schema/organization#Company>
549 + ] ;
550 + spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
551 +
387 rhspin:companyName 552 rhspin:companyName
388 rdf:type spin:Function ; 553 rdf:type spin:Function ;
389 rdfs:comment "Gets the name of the company of the currently logged in user."^^xsd:string ; 554 rdfs:comment "Gets the name of the company of the currently logged in user."^^xsd:string ;
...@@ -640,16 +805,16 @@ rhspin:ddrOfWeek ...@@ -640,16 +805,16 @@ rhspin:ddrOfWeek
640 ] ; 805 ] ;
641 spin:constraint 806 spin:constraint
642 [ rdf:type spl:Argument ; 807 [ rdf:type spl:Argument ;
643 - rdfs:comment "The first day of the week."^^xsd:string ;
644 - spl:predicate sp:arg1 ;
645 - spl:valueType xsd:date
646 - ] ;
647 - spin:constraint
648 - [ rdf:type spl:Argument ;
649 rdfs:comment "The well bore that the DDR must be about."^^xsd:string ; 808 rdfs:comment "The well bore that the DDR must be about."^^xsd:string ;
650 spl:predicate sp:arg2 ; 809 spl:predicate sp:arg2 ;
651 spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> 810 spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore>
652 ] ; 811 ] ;
812 + spin:constraint
813 + [ rdf:type spl:Argument ;
814 + rdfs:comment "The first day of the week."^^xsd:string ;
815 + spl:predicate sp:arg1 ;
816 + spl:valueType xsd:date
817 + ] ;
653 spin:returnType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> . 818 spin:returnType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> .
654 819
655 rhspin:ddrWellBoreId 820 rhspin:ddrWellBoreId
...@@ -736,15 +901,15 @@ rhspin:dtypeValue ...@@ -736,15 +901,15 @@ rhspin:dtypeValue
736 ] ; 901 ] ;
737 spin:constraint 902 spin:constraint
738 [ rdf:type spl:Argument ; 903 [ rdf:type spl:Argument ;
739 - rdfs:comment "The predicate that points to the reified value."^^xsd:string ;
740 - spl:predicate sp:arg2 ;
741 - spl:valueType rdf:Property
742 - ] ;
743 - spin:constraint
744 - [ rdf:type spl:Argument ;
745 rdfs:comment "The subject of the value."^^xsd:string ; 904 rdfs:comment "The subject of the value."^^xsd:string ;
746 spl:predicate sp:arg1 ; 905 spl:predicate sp:arg1 ;
747 spl:valueType rdfs:Resource 906 spl:valueType rdfs:Resource
907 + ] ;
908 + spin:constraint
909 + [ rdf:type spl:Argument ;
910 + rdfs:comment "The predicate that points to the reified value."^^xsd:string ;
911 + spl:predicate sp:arg2 ;
912 + spl:valueType rdf:Property
748 ] . 913 ] .
749 914
750 rhspin:facilityById 915 rhspin:facilityById
...@@ -798,8 +963,9 @@ rhspin:graphForDDR ...@@ -798,8 +963,9 @@ rhspin:graphForDDR
798 rdfs:subClassOf spin:Functions ; 963 rdfs:subClassOf spin:Functions ;
799 spin:body 964 spin:body
800 [ rdf:type sp:Select ; 965 [ rdf:type sp:Select ;
801 - sp:resultVariables ([ rdf:type sp:iri ; 966 + sp:resultVariables ([ rdf:type rhspin:graphForLicence ;
802 - sp:arg1 [ sp:varName "uri"^^xsd:string 967 + arg:licence
968 + [ sp:varName "licence"^^xsd:string
803 ] 969 ]
804 ]) ; 970 ]) ;
805 sp:where ([ rdf:type sp:TriplePath ; 971 sp:where ([ rdf:type sp:TriplePath ;
...@@ -825,7 +991,31 @@ rhspin:graphForDDR ...@@ -825,7 +991,31 @@ rhspin:graphForDDR
825 sp:subject 991 sp:subject
826 [ sp:varName "wellBore"^^xsd:string 992 [ sp:varName "wellBore"^^xsd:string
827 ] 993 ]
828 - ] [ sp:object 994 + ]) ;
995 + sp:graphNameNode npdata:npd
996 + ])
997 + ] ;
998 + spin:constraint
999 + [ rdf:type spl:Argument ;
1000 + rdfs:comment "The DDR to get the graph for."^^xsd:string ;
1001 + spl:predicate arg:ddr ;
1002 + spl:valueType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport>
1003 + ] ;
1004 + spin:returnType rdfs:Resource .
1005 +
1006 +rhspin:graphForLicence
1007 + rdf:type spin:Function ;
1008 + rdfs:comment "Gets the URI resource of the named graph that holds the reports for a given licence."^^xsd:string ;
1009 + rdfs:label "graph for licence"^^xsd:string ;
1010 + rdfs:subClassOf spin:Functions ;
1011 + spin:body
1012 + [ rdf:type sp:Select ;
1013 + sp:resultVariables ([ rdf:type sp:iri ;
1014 + sp:arg1 [ sp:varName "uri"^^xsd:string
1015 + ]
1016 + ]) ;
1017 + sp:where ([ rdf:type sp:NamedGraph ;
1018 + sp:elements ([ sp:object
829 [ sp:varName "id"^^xsd:string 1019 [ sp:varName "id"^^xsd:string
830 ] ; 1020 ] ;
831 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; 1021 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
...@@ -848,9 +1038,9 @@ rhspin:graphForDDR ...@@ -848,9 +1038,9 @@ rhspin:graphForDDR
848 ] ; 1038 ] ;
849 spin:constraint 1039 spin:constraint
850 [ rdf:type spl:Argument ; 1040 [ rdf:type spl:Argument ;
851 - rdfs:comment "The DDR to get the graph for."^^xsd:string ; 1041 + rdfs:comment "The licence or BAA to get the graph for."^^xsd:string ;
852 - spl:predicate arg:ddr ; 1042 + spl:predicate arg:licence ;
853 - spl:valueType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> 1043 + spl:valueType <http://www.reportinghub.no/np/schema/npd#Owner>
854 ] ; 1044 ] ;
855 spin:returnType rdfs:Resource . 1045 spin:returnType rdfs:Resource .
856 1046
...@@ -861,8 +1051,9 @@ rhspin:graphForWellBoreWithId ...@@ -861,8 +1051,9 @@ rhspin:graphForWellBoreWithId
861 rdfs:subClassOf spin:Functions ; 1051 rdfs:subClassOf spin:Functions ;
862 spin:body 1052 spin:body
863 [ rdf:type sp:Select ; 1053 [ rdf:type sp:Select ;
864 - sp:resultVariables ([ rdf:type sp:iri ; 1054 + sp:resultVariables ([ rdf:type rhspin:graphForLicence ;
865 - sp:arg1 [ sp:varName "uri"^^xsd:string 1055 + arg:licence
1056 + [ sp:varName "licence"^^xsd:string
866 ] 1057 ]
867 ]) ; 1058 ]) ;
868 sp:where ([ rdf:type sp:NamedGraph ; 1059 sp:where ([ rdf:type sp:NamedGraph ;
...@@ -880,25 +1071,8 @@ rhspin:graphForWellBoreWithId ...@@ -880,25 +1071,8 @@ rhspin:graphForWellBoreWithId
880 sp:subject 1071 sp:subject
881 [ sp:varName "wellBore"^^xsd:string 1072 [ sp:varName "wellBore"^^xsd:string
882 ] 1073 ]
883 - ] [ sp:object
884 - [ sp:varName "licenceId"^^xsd:string
885 - ] ;
886 - sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
887 - sp:subject
888 - [ sp:varName "licence"^^xsd:string
889 - ]
890 ]) ; 1074 ]) ;
891 sp:graphNameNode npdata:npd 1075 sp:graphNameNode npdata:npd
892 - ] [ rdf:type sp:Bind ;
893 - sp:expression
894 - [ rdf:type fn:concat ;
895 - sp:arg1 "https://www.reportinghub.no/ep/graph/licence-" ;
896 - sp:arg2 [ sp:varName "licenceId"^^xsd:string
897 - ]
898 - ] ;
899 - sp:variable
900 - [ sp:varName "uri"^^xsd:string
901 - ]
902 ]) 1076 ])
903 ] ; 1077 ] ;
904 spin:constraint 1078 spin:constraint
...@@ -1324,8 +1498,9 @@ rhspin:npdTripleExists ...@@ -1324,8 +1498,9 @@ rhspin:npdTripleExists
1324 ] ; 1498 ] ;
1325 spin:constraint 1499 spin:constraint
1326 [ rdf:type spl:Argument ; 1500 [ rdf:type spl:Argument ;
1327 - rdfs:comment "The object to match."^^xsd:string ; 1501 + rdfs:comment "The subject to find"^^xsd:string ;
1328 - spl:predicate sp:arg3 1502 + spl:predicate sp:arg1 ;
1503 + spl:valueType rdfs:Resource
1329 ] ; 1504 ] ;
1330 spin:constraint 1505 spin:constraint
1331 [ rdf:type spl:Argument ; 1506 [ rdf:type spl:Argument ;
...@@ -1335,9 +1510,8 @@ rhspin:npdTripleExists ...@@ -1335,9 +1510,8 @@ rhspin:npdTripleExists
1335 ] ; 1510 ] ;
1336 spin:constraint 1511 spin:constraint
1337 [ rdf:type spl:Argument ; 1512 [ rdf:type spl:Argument ;
1338 - rdfs:comment "The subject to find"^^xsd:string ; 1513 + rdfs:comment "The object to match."^^xsd:string ;
1339 - spl:predicate sp:arg1 ; 1514 + spl:predicate sp:arg3
1340 - spl:valueType rdfs:Resource
1341 ] ; 1515 ] ;
1342 spin:returnType xsd:boolean . 1516 spin:returnType xsd:boolean .
1343 1517
......
1 +<div>
2 + <hr />
3 + <ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/dpr-tables&gt;">
4 + <h2>{= ui:label(?template) }</h2>
5 + </ui:setContext>
6 + <table class="ddrTable">
7 + <ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/dpr-tables&gt;">
8 + <tr class="ddrTR">
9 + <ui:forEach ui:resultSet="{#
10 + SELECT ?header
11 + WHERE {
12 + ?template rhspin:tableHeaders ?list .
13 + ?list &lt;http://jena.hpl.hp.com/ARQ/list#member&gt; ?header .
14 + }
15 + }">
16 + <th class="ddrTH">{= ?header }</th>
17 + </ui:forEach>
18 + </tr>
19 + </ui:setContext>
20 + <ui:call ui:template="{= ?template }" arg:report="{= ?report }">
21 + <ui:forEach ui:resultSet="{# SELECT ?row ?rowIndex WHERE { ?rs spr:rowIndices ?rowIndex } }">
22 + <tr class="ddrTR">
23 + <ui:forEach ui:resultSet="{# SELECT ?cell WHERE { (?rs ?rowIndex) spr:rowCells (?cell ?cellIndex) } }">
24 + <td class="ddrTD">{= ui:label(?cell) }</td>
25 + </ui:forEach>
26 + </tr>
27 + </ui:forEach>
28 + </ui:call>
29 + </table>
30 + <br />
31 +</div>
...\ No newline at end of file ...\ No newline at end of file
1 +<ui:group>
2 +
3 + <h1>DPR</h1>
4 + <hr />
5 +
6 + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInformation" />
7 +
8 +</ui:group>
...\ No newline at end of file ...\ No newline at end of file
1 +# baseURI: http://www.reportinghub.no/swp/dpr
2 +# imports: http://uispin.org/tui
3 +# imports: http://www.reportinghub.no/ep/schema/1.0/production
4 +# imports: http://www.reportinghub.no/ep/spin/dpr-tables
5 +# imports: http://www.reportinghub.no/spin/rh
6 +
7 +@prefix arg: <http://spinrdf.org/arg#> .
8 +@prefix dprswp: <http://www.reportinghub.no/swp/dpr#> .
9 +@prefix html: <http://uispin.org/html#> .
10 +@prefix let: <http://uispin.org/let#> .
11 +@prefix letrs: <http://uispin.org/letrs#> .
12 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
13 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
14 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15 +@prefix sp: <http://spinrdf.org/sp#> .
16 +@prefix spin: <http://spinrdf.org/spin#> .
17 +@prefix spl: <http://spinrdf.org/spl#> .
18 +@prefix ui: <http://uispin.org/ui#> .
19 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
20 +
21 +arg:report
22 + rdf:type rdf:Property ;
23 + rdfs:label "report"^^xsd:string ;
24 + rdfs:subPropertyOf sp:arg .
25 +
26 +arg:template
27 + rdf:type rdf:Property ;
28 + rdfs:label "template"^^xsd:string ;
29 + rdfs:subPropertyOf sp:arg .
30 +
31 +<http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport>
32 + ui:instanceView
33 + [ rdf:type dprswp:DailyProductionReportView ;
34 + arg:report spin:_this
35 + ] .
36 +
37 +<http://www.reportinghub.no/swp/dpr>
38 + rdf:type owl:Ontology ;
39 + owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/dpr-tables> , <http://www.reportinghub.no/spin/rh> ;
40 + owl:versionInfo "0.1.0"^^xsd:string .
41 +
42 +dprswp:DailyProductionReportView
43 + rdf:type ui:NodeClass ;
44 + rdfs:label "Daily production report view"^^xsd:string ;
45 + rdfs:subClassOf ui:Element ;
46 + spin:constraint
47 + [ rdf:type spl:Argument ;
48 + rdfs:comment "The report to display."^^xsd:string ;
49 + spl:predicate arg:report ;
50 + spl:valueType <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport>
51 + ] ;
52 + ui:headIncludes
53 + [ rdf:type html:Link ;
54 + html:href "http://spinrdf.org/rhlib/ddr.css"^^xsd:string ;
55 + html:rel "stylesheet"^^xsd:string ;
56 + html:type "text/css"^^xsd:string
57 + ] ;
58 + ui:prototype <http://www.reportinghub.no/swp/DailyProductionReport.uispin.html> .
59 +
60 +dprswp:Table
61 + rdf:type ui:NodeClass ;
62 + rdfs:comment "An HTML table displaying the results of a given SPIN template for a given DPR. The template should also provide rhspin:tableHeaders."^^xsd:string ;
63 + rdfs:label "Table"^^xsd:string ;
64 + rdfs:subClassOf ui:Element ;
65 + spin:constraint
66 + [ rdf:type spl:Argument ;
67 + rdfs:comment "The report that serves as root of the template."^^xsd:string ;
68 + spl:optional "true"^^xsd:boolean ;
69 + spl:predicate arg:report ;
70 + spl:valueType <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport>
71 + ] ;
72 + spin:constraint
73 + [ rdf:type spl:Argument ;
74 + rdfs:comment "The SPIN Template to execute."^^xsd:string ;
75 + spl:predicate arg:template ;
76 + spl:valueType spin:Template
77 + ] ;
78 + ui:prototype <http://www.reportinghub.no/swp/DPRTable.uispin.html> .
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<WITSMLComposite xmlns="http://www.witsml.org/schemas/131/addendum/combo" version="1.3.1.0">
3 +<documentInfo>
4 +<DocumentName namingSystem="EC">Ekofisk Daily Production</DocumentName>
5 +<DocumentAlias namingSystem="EC">Daily Activity Report</DocumentAlias>
6 +<DocumentAlias namingSystem="EC">Daily Production Report</DocumentAlias>
7 +<DocumentAlias namingSystem="EC">Daily Production and Activity Report</DocumentAlias>
8 +<DocumentAlias namingSystem="EC">Daily Production and Operation Report</DocumentAlias>
9 +<DocumentDate>2011-09-14T00:00:00</DocumentDate>
10 +<documentClass namingSystem="EC">DAR</documentClass>
11 +<documentClass namingSystem="EC">DDR</documentClass>
12 +<documentClass namingSystem="EC">DPAR</documentClass>
13 +<documentClass namingSystem="EC">DPOR</documentClass>
14 +<documentClass namingSystem="EC">DPR</documentClass>
15 +<documentClass namingSystem="EC">Ekofisk</documentClass>
16 +<FileCreationInformation>
17 +<FileCreationDate>2011-09-15T04:38:51</FileCreationDate>
18 +<SoftwareName>EnergyComponents</SoftwareName>
19 +<FileCreator>Ekofisk</FileCreator>
20 +<Comment>File created by : Ekofisk</Comment>
21 +</FileCreationInformation>
22 +<SecurityInformation>
23 +<Class>Partner confidential</Class>
24 +<System>License partners</System>
25 +<EndDate>2008-05-02T10:00:00</EndDate>
26 +<Comment>Valid for partners only</Comment>
27 +</SecurityInformation>
28 +<Owner>Ekofisk</Owner>
29 +</documentInfo>
30 +<wellSet>
31 +<well uid="74F0F7CBB525B048E043990F1EAEB048">
32 +<name>2/4M-01</name>
33 +<wellboreSet>
34 +<wellbore uid="74F0F7CBB525B048E043990F1EAEB048-wellbore">
35 +<name>2/4M-01-wellbore</name>
36 +<wellboreIntervalSet>
37 +<wellboreInterval>
38 +<name>2/4M-01-wellbore</name>
39 +</wellboreInterval>
40 +</wellboreIntervalSet>
41 +<wellTestSet>
42 +<wellTest>
43 +<name>2/4M-01</name>
44 +<testDate>2011-09-03T07:00:01</testDate>
45 +<testType>NA</testType>
46 +<chokeOrificeSize uom="in/64">15.3000002</chokeOrificeSize>
47 +<productFlowPort uidRef="74F0F7CBB525B048E043990F1EAEB048">outlet</productFlowPort>
48 +<standardTempPres>15 degC 1 atm</standardTempPres>
49 +<productionTest>
50 +<testDuration uom="h">4.00027777777777777777777777777777777778</testDuration>
51 +<wellheadData>
52 +<temperature uom="degC">57.89189583333333333333333333333333333333</temperature>
53 +<flowingPressure uom="bar">24.28525</flowingPressure>
54 +<chokeOrificeSize uom="in/64">15.3000002</chokeOrificeSize>
55 +</wellheadData>
56 +<separatorData>
57 +<separatorPressure uom="bar">24.28525</separatorPressure>
58 +<separatorTemperature uom="degC">57.89189583333333333333333333333333333333</separatorTemperature>
59 +</separatorData>
60 +<productionTestResults>
61 +<oilRate>
62 +<fluidRateStdTempPres uom="m3/d">198.42636724550405</fluidRateStdTempPres>
63 +</oilRate>
64 +<gasRate>
65 +<fluidRateStdTempPres uom="m3/d">47780.95567704101</fluidRateStdTempPres>
66 +</gasRate>
67 +<waterRate>
68 +<fluidRate uom="m3/d">50.056324583333335</fluidRate>
69 +</waterRate>
70 +<gasOilRatio uom="m3/m3">240.799427718816094926277552067535508239</gasOilRatio>
71 +</productionTestResults>
72 +</productionTest>
73 +</wellTest>
74 +</wellTestSet>
75 +</wellbore>
76 +</wellboreSet>
77 +</well>
78 +</wellSet>
79 +<productionOperationSet>
80 +<productionOperation uid="74F0F7CB84FBB048E043990F1EAEB048">
81 +<name>Ekofisk production</name>
82 +<installation>Ekofisk production</installation>
83 +<contextFacility uidRef="74F0F7CB837FB048E043990F1EAEB048" namingSystem="EC" kind="field">GREATER_EKOFISK</contextFacility>
84 +<kind>DDR</kind>
85 +<periodKind>day</periodKind>
86 +<dateStart>2011-09-14</dateStart>
87 +<dateEnd>2011-09-15</dateEnd>
88 +<operator>
89 +<name>ConocoPhillips</name>
90 +<role>operator</role>
91 +</operator>
92 +<title namingSystem="EC">Ekofisk Daily Production</title>
93 +<geographicContext>
94 +<country>Norway</country>
95 +<field namingSystem="EC">Ekofisk</field>
96 +<offshoreLocation>
97 +<areaName>Ekofisk</areaName>
98 +<blockID>24/6</blockID>
99 +<northSeaOffshore>
100 +<areaName>Ekofisk</areaName>
101 +<quadrant>24</quadrant>
102 +<blockSuffix>6</blockSuffix>
103 +</northSeaOffshore>
104 +</offshoreLocation>
105 +</geographicContext>
106 +<issueDate>2011-09-15</issueDate>
107 +<approvalDate>1900-01-01</approvalDate>
108 +<approver>
109 +<name>notyet</name>
110 +<role>notyet</role>
111 +<personName>
112 +<first>notyet</first>
113 +<middle>notyet</middle>
114 +<last>notyet</last>
115 +</personName>
116 +<email>notyet</email>
117 +</approver>
118 +</productionOperation>
119 +</productionOperationSet>
120 +</WITSMLComposite>