David Leal

A bit more on the MPR transform

1 +# Saved by TopBraid on Thu Dec 15 18:36:16 GMT 2011
1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/flow 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/flow
2 # imports: http://www.reportinghub.no/ep/schema/1.0/core 3 # 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/facility
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
4 6
5 @prefix ep-flow: <http://www.reportinghub.no/ep/schema/flow#> . 7 @prefix ep-flow: <http://www.reportinghub.no/ep/schema/flow#> .
6 @prefix owl: <http://www.w3.org/2002/07/owl#> . 8 @prefix owl: <http://www.w3.org/2002/07/owl#> .
...@@ -10,206 +12,206 @@ ...@@ -10,206 +12,206 @@
10 12
11 <http://www.reportinghub.no/ep/schema/1.0/flow> 13 <http://www.reportinghub.no/ep/schema/1.0/flow>
12 rdf:type owl:Ontology ; 14 rdf:type owl:Ontology ;
13 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ; 15 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 16 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 17
16 ep-flow:AllocatedFlow 18 ep-flow:AllocatedFlow
17 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 19 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
18 rdfs:label "allocated flow"^^xsd:string ; 20 rdfs:label "allocated flow"^^xsd:string ;
19 rdfs:subClassOf ep-flow:Flow . 21 rdfs:subClassOf ep-flow:Flow .
20 22
21 ep-flow:AqueousFlow 23 ep-flow:AqueousFlow
22 - rdf:type owl:Class , ep-flow:ProductType ; 24 + rdf:type ep-flow:ProductType , owl:Class ;
23 rdfs:label "aqueous flow"^^xsd:string ; 25 rdfs:label "aqueous flow"^^xsd:string ;
24 rdfs:subClassOf ep-flow:Flow . 26 rdfs:subClassOf ep-flow:Flow .
25 27
26 ep-flow:BudgetFlow 28 ep-flow:BudgetFlow
27 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 29 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
28 rdfs:label "budget flow"^^xsd:string ; 30 rdfs:label "budget flow"^^xsd:string ;
29 rdfs:subClassOf ep-flow:Flow . 31 rdfs:subClassOf ep-flow:Flow .
30 32
31 ep-flow:C10AndHeavierFlow 33 ep-flow:C10AndHeavierFlow
32 - rdf:type owl:Class , ep-flow:ProductType ; 34 + rdf:type ep-flow:ProductType , owl:Class ;
33 rdfs:label "C10+ flow"^^xsd:string ; 35 rdfs:label "C10+ flow"^^xsd:string ;
34 rdfs:subClassOf ep-flow:Flow . 36 rdfs:subClassOf ep-flow:Flow .
35 37
36 ep-flow:C10AndLighterFlow 38 ep-flow:C10AndLighterFlow
37 - rdf:type owl:Class , ep-flow:ProductType ; 39 + rdf:type ep-flow:ProductType , owl:Class ;
38 rdfs:label "C10- flow"^^xsd:string ; 40 rdfs:label "C10- flow"^^xsd:string ;
39 rdfs:subClassOf ep-flow:Flow . 41 rdfs:subClassOf ep-flow:Flow .
40 42
41 ep-flow:C2AndHeavierFlow 43 ep-flow:C2AndHeavierFlow
42 - rdf:type ep-flow:ProductType , owl:Class ; 44 + rdf:type owl:Class , ep-flow:ProductType ;
43 rdfs:label "C2+ flow"^^xsd:string ; 45 rdfs:label "C2+ flow"^^xsd:string ;
44 rdfs:subClassOf ep-flow:Flow . 46 rdfs:subClassOf ep-flow:Flow .
45 47
46 ep-flow:C2AndLighterFlow 48 ep-flow:C2AndLighterFlow
47 - rdf:type ep-flow:ProductType , owl:Class ; 49 + rdf:type owl:Class , ep-flow:ProductType ;
48 rdfs:label "C2- flow"^^xsd:string ; 50 rdfs:label "C2- flow"^^xsd:string ;
49 rdfs:subClassOf ep-flow:Flow . 51 rdfs:subClassOf ep-flow:Flow .
50 52
51 ep-flow:C3AndHeavierFlow 53 ep-flow:C3AndHeavierFlow
52 - rdf:type ep-flow:ProductType , owl:Class ; 54 + rdf:type owl:Class , ep-flow:ProductType ;
53 rdfs:label "C3+ flow"^^xsd:string ; 55 rdfs:label "C3+ flow"^^xsd:string ;
54 rdfs:subClassOf ep-flow:Flow . 56 rdfs:subClassOf ep-flow:Flow .
55 57
56 ep-flow:C3AndLighterFlow 58 ep-flow:C3AndLighterFlow
57 - rdf:type ep-flow:ProductType , owl:Class ; 59 + rdf:type owl:Class , ep-flow:ProductType ;
58 rdfs:label "C3- flow"^^xsd:string ; 60 rdfs:label "C3- flow"^^xsd:string ;
59 rdfs:subClassOf ep-flow:Flow . 61 rdfs:subClassOf ep-flow:Flow .
60 62
61 ep-flow:C4AndHeavierFlow 63 ep-flow:C4AndHeavierFlow
62 - rdf:type owl:Class , ep-flow:ProductType ; 64 + rdf:type ep-flow:ProductType , owl:Class ;
63 rdfs:label "C4+ flow"^^xsd:string ; 65 rdfs:label "C4+ flow"^^xsd:string ;
64 rdfs:subClassOf ep-flow:Flow . 66 rdfs:subClassOf ep-flow:Flow .
65 67
66 ep-flow:C4AndLighterFlow 68 ep-flow:C4AndLighterFlow
67 - rdf:type owl:Class , ep-flow:ProductType ; 69 + rdf:type ep-flow:ProductType , owl:Class ;
68 rdfs:label "C4- flow"^^xsd:string ; 70 rdfs:label "C4- flow"^^xsd:string ;
69 rdfs:subClassOf ep-flow:Flow . 71 rdfs:subClassOf ep-flow:Flow .
70 72
71 ep-flow:C5AndHeavierFlow 73 ep-flow:C5AndHeavierFlow
72 - rdf:type ep-flow:ProductType , owl:Class ; 74 + rdf:type owl:Class , ep-flow:ProductType ;
73 rdfs:label "C5+ flow"^^xsd:string ; 75 rdfs:label "C5+ flow"^^xsd:string ;
74 rdfs:subClassOf ep-flow:Flow . 76 rdfs:subClassOf ep-flow:Flow .
75 77
76 ep-flow:C5AndLighterFlow 78 ep-flow:C5AndLighterFlow
77 - rdf:type ep-flow:ProductType , owl:Class ; 79 + rdf:type owl:Class , ep-flow:ProductType ;
78 rdfs:label "C5- flow"^^xsd:string ; 80 rdfs:label "C5- flow"^^xsd:string ;
79 rdfs:subClassOf ep-flow:Flow . 81 rdfs:subClassOf ep-flow:Flow .
80 82
81 ep-flow:C6AndHeavierFlow 83 ep-flow:C6AndHeavierFlow
82 - rdf:type owl:Class , ep-flow:ProductType ; 84 + rdf:type ep-flow:ProductType , owl:Class ;
83 rdfs:label "C6+ flow"^^xsd:string ; 85 rdfs:label "C6+ flow"^^xsd:string ;
84 rdfs:subClassOf ep-flow:Flow . 86 rdfs:subClassOf ep-flow:Flow .
85 87
86 ep-flow:C6AndLighterFlow 88 ep-flow:C6AndLighterFlow
87 - rdf:type ep-flow:ProductType , owl:Class ; 89 + rdf:type owl:Class , ep-flow:ProductType ;
88 rdfs:label "C6- flow"^^xsd:string ; 90 rdfs:label "C6- flow"^^xsd:string ;
89 rdfs:subClassOf ep-flow:Flow . 91 rdfs:subClassOf ep-flow:Flow .
90 92
91 ep-flow:C7AndHeavierFlow 93 ep-flow:C7AndHeavierFlow
92 - rdf:type ep-flow:ProductType , owl:Class ; 94 + rdf:type owl:Class , ep-flow:ProductType ;
93 rdfs:label "C7+ flow"^^xsd:string ; 95 rdfs:label "C7+ flow"^^xsd:string ;
94 rdfs:subClassOf ep-flow:Flow . 96 rdfs:subClassOf ep-flow:Flow .
95 97
96 ep-flow:C7AndLighterFlow 98 ep-flow:C7AndLighterFlow
97 - rdf:type ep-flow:ProductType , owl:Class ; 99 + rdf:type owl:Class , ep-flow:ProductType ;
98 rdfs:label "C7- flow"^^xsd:string ; 100 rdfs:label "C7- flow"^^xsd:string ;
99 rdfs:subClassOf ep-flow:Flow . 101 rdfs:subClassOf ep-flow:Flow .
100 102
101 ep-flow:C8AndHeavierFlow 103 ep-flow:C8AndHeavierFlow
102 - rdf:type owl:Class , ep-flow:ProductType ; 104 + rdf:type ep-flow:ProductType , owl:Class ;
103 rdfs:label "C8+ flow"^^xsd:string ; 105 rdfs:label "C8+ flow"^^xsd:string ;
104 rdfs:subClassOf ep-flow:Flow . 106 rdfs:subClassOf ep-flow:Flow .
105 107
106 ep-flow:C8AndLighterFlow 108 ep-flow:C8AndLighterFlow
107 - rdf:type owl:Class , ep-flow:ProductType ; 109 + rdf:type ep-flow:ProductType , owl:Class ;
108 rdfs:label "C8- flow"^^xsd:string ; 110 rdfs:label "C8- flow"^^xsd:string ;
109 rdfs:subClassOf ep-flow:Flow . 111 rdfs:subClassOf ep-flow:Flow .
110 112
111 ep-flow:C9AndHeavierFlow 113 ep-flow:C9AndHeavierFlow
112 - rdf:type ep-flow:ProductType , owl:Class ; 114 + rdf:type owl:Class , ep-flow:ProductType ;
113 rdfs:label "C9+ flow"^^xsd:string ; 115 rdfs:label "C9+ flow"^^xsd:string ;
114 rdfs:subClassOf ep-flow:Flow . 116 rdfs:subClassOf ep-flow:Flow .
115 117
116 ep-flow:C9AndLighterFlow 118 ep-flow:C9AndLighterFlow
117 - rdf:type ep-flow:ProductType , owl:Class ; 119 + rdf:type owl:Class , ep-flow:ProductType ;
118 rdfs:label "C9- flow"^^xsd:string ; 120 rdfs:label "C9- flow"^^xsd:string ;
119 rdfs:subClassOf ep-flow:Flow . 121 rdfs:subClassOf ep-flow:Flow .
120 122
121 ep-flow:CarbonDioxideGasFlow 123 ep-flow:CarbonDioxideGasFlow
122 - rdf:type owl:Class , ep-flow:ProductType ; 124 + rdf:type ep-flow:ProductType , owl:Class ;
123 rdfs:label "carbon dioxide gas flow"^^xsd:string ; 125 rdfs:label "carbon dioxide gas flow"^^xsd:string ;
124 rdfs:subClassOf ep-flow:Flow . 126 rdfs:subClassOf ep-flow:Flow .
125 127
126 ep-flow:CarbonMonoxideGasFlow 128 ep-flow:CarbonMonoxideGasFlow
127 - rdf:type owl:Class , ep-flow:ProductType ; 129 + rdf:type ep-flow:ProductType , owl:Class ;
128 rdfs:label "carbon monoxide gas flow"^^xsd:string ; 130 rdfs:label "carbon monoxide gas flow"^^xsd:string ;
129 rdfs:subClassOf ep-flow:Flow . 131 rdfs:subClassOf ep-flow:Flow .
130 132
131 ep-flow:ChemicalFlow 133 ep-flow:ChemicalFlow
132 - rdf:type owl:Class , ep-flow:ProductType ; 134 + rdf:type ep-flow:ProductType , owl:Class ;
133 rdfs:label "chemical flow"^^xsd:string ; 135 rdfs:label "chemical flow"^^xsd:string ;
134 rdfs:subClassOf ep-flow:Flow . 136 rdfs:subClassOf ep-flow:Flow .
135 137
136 ep-flow:Condensate-grossFlow 138 ep-flow:Condensate-grossFlow
137 - rdf:type owl:Class , ep-flow:ProductType ; 139 + rdf:type ep-flow:ProductType , owl:Class ;
138 rdfs:label "condensate - gross flow"^^xsd:string ; 140 rdfs:label "condensate - gross flow"^^xsd:string ;
139 rdfs:subClassOf ep-flow:Flow . 141 rdfs:subClassOf ep-flow:Flow .
140 142
141 ep-flow:Condensate-netFlow 143 ep-flow:Condensate-netFlow
142 - rdf:type owl:Class , ep-flow:ProductType ; 144 + rdf:type ep-flow:ProductType , owl:Class ;
143 rdfs:label "condensate - net flow"^^xsd:string ; 145 rdfs:label "condensate - net flow"^^xsd:string ;
144 rdfs:subClassOf ep-flow:Flow . 146 rdfs:subClassOf ep-flow:Flow .
145 147
146 ep-flow:CondensateFlow 148 ep-flow:CondensateFlow
147 - rdf:type owl:Class , ep-flow:ProductType ; 149 + rdf:type ep-flow:ProductType , owl:Class ;
148 rdfs:label "condensate flow"^^xsd:string ; 150 rdfs:label "condensate flow"^^xsd:string ;
149 rdfs:subClassOf ep-flow:Flow . 151 rdfs:subClassOf ep-flow:Flow .
150 152
151 ep-flow:ConstraintFlow 153 ep-flow:ConstraintFlow
152 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 154 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
153 rdfs:label "constraint flow"^^xsd:string ; 155 rdfs:label "constraint flow"^^xsd:string ;
154 rdfs:subClassOf ep-flow:Flow . 156 rdfs:subClassOf ep-flow:Flow .
155 157
156 ep-flow:Consume 158 ep-flow:Consume
157 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 159 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
158 rdfs:label "consume"^^xsd:string ; 160 rdfs:label "consume"^^xsd:string ;
159 rdfs:subClassOf ep-flow:Flow . 161 rdfs:subClassOf ep-flow:Flow .
160 162
161 ep-flow:Consume-HPflare 163 ep-flow:Consume-HPflare
162 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 164 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
163 rdfs:label "consume - HP flare"^^xsd:string ; 165 rdfs:label "consume - HP flare"^^xsd:string ;
164 rdfs:subClassOf ep-flow:Consume-flare . 166 rdfs:subClassOf ep-flow:Consume-flare .
165 167
166 ep-flow:Consume-LPflare 168 ep-flow:Consume-LPflare
167 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 169 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
168 rdfs:label "consume - LP flare"^^xsd:string ; 170 rdfs:label "consume - LP flare"^^xsd:string ;
169 rdfs:subClassOf ep-flow:Consume-flare . 171 rdfs:subClassOf ep-flow:Consume-flare .
170 172
171 ep-flow:Consume-blackstart 173 ep-flow:Consume-blackstart
172 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 174 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
173 rdfs:label "consume - blackstart"^^xsd:string ; 175 rdfs:label "consume - blackstart"^^xsd:string ;
174 rdfs:subClassOf ep-flow:Consume . 176 rdfs:subClassOf ep-flow:Consume .
175 177
176 ep-flow:Consume-compressor 178 ep-flow:Consume-compressor
177 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 179 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
178 rdfs:label "consume - compressor"^^xsd:string ; 180 rdfs:label "consume - compressor"^^xsd:string ;
179 rdfs:subClassOf ep-flow:Consume . 181 rdfs:subClassOf ep-flow:Consume .
180 182
181 ep-flow:Consume-emitted 183 ep-flow:Consume-emitted
182 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 184 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
183 rdfs:label "consume - emitted"^^xsd:string ; 185 rdfs:label "consume - emitted"^^xsd:string ;
184 rdfs:subClassOf ep-flow:Consume . 186 rdfs:subClassOf ep-flow:Consume .
185 187
186 ep-flow:Consume-flare 188 ep-flow:Consume-flare
187 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 189 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
188 rdfs:label "consume - flare"^^xsd:string ; 190 rdfs:label "consume - flare"^^xsd:string ;
189 rdfs:subClassOf ep-flow:Consume . 191 rdfs:subClassOf ep-flow:Consume .
190 192
191 ep-flow:Consume-fuel 193 ep-flow:Consume-fuel
192 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 194 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
193 rdfs:label "consume - fuel"^^xsd:string ; 195 rdfs:label "consume - fuel"^^xsd:string ;
194 rdfs:subClassOf ep-flow:Consume . 196 rdfs:subClassOf ep-flow:Consume .
195 197
196 ep-flow:Consume-noncompressor 198 ep-flow:Consume-noncompressor
197 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 199 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
198 rdfs:label "consume - non-compressor"^^xsd:string ; 200 rdfs:label "consume - non-compressor"^^xsd:string ;
199 rdfs:subClassOf ep-flow:Consume . 201 rdfs:subClassOf ep-flow:Consume .
200 202
201 ep-flow:Consume-venting 203 ep-flow:Consume-venting
202 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 204 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
203 rdfs:label "consume - venting"^^xsd:string ; 205 rdfs:label "consume - venting"^^xsd:string ;
204 rdfs:subClassOf ep-flow:Consume . 206 rdfs:subClassOf ep-flow:Consume .
205 207
206 ep-flow:Crude-stabilizedFlow 208 ep-flow:Crude-stabilizedFlow
207 - rdf:type owl:Class , ep-flow:ProductType ; 209 + rdf:type ep-flow:ProductType , owl:Class ;
208 rdfs:label "crude - stabilized flow"^^xsd:string ; 210 rdfs:label "crude - stabilized flow"^^xsd:string ;
209 rdfs:subClassOf ep-flow:Flow . 211 rdfs:subClassOf ep-flow:Flow .
210 212
211 ep-flow:CuttingsFlow 213 ep-flow:CuttingsFlow
212 - rdf:type ep-flow:ProductType , owl:Class ; 214 + rdf:type owl:Class , ep-flow:ProductType ;
213 rdfs:label "cuttings flow"^^xsd:string ; 215 rdfs:label "cuttings flow"^^xsd:string ;
214 rdfs:subClassOf ep-flow:Flow . 216 rdfs:subClassOf ep-flow:Flow .
215 217
...@@ -219,27 +221,27 @@ ep-flow:DailyProductionFlow ...@@ -219,27 +221,27 @@ ep-flow:DailyProductionFlow
219 rdfs:subClassOf ep-flow:TemporalPartOfAProductionFlow . 221 rdfs:subClassOf ep-flow:TemporalPartOfAProductionFlow .
220 222
221 ep-flow:DerivedFlow 223 ep-flow:DerivedFlow
222 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 224 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
223 rdfs:label "derived flow"^^xsd:string ; 225 rdfs:label "derived flow"^^xsd:string ;
224 rdfs:subClassOf ep-flow:Flow . 226 rdfs:subClassOf ep-flow:Flow .
225 227
226 ep-flow:DieselFlow 228 ep-flow:DieselFlow
227 - rdf:type owl:Class , ep-flow:ProductType ; 229 + rdf:type ep-flow:ProductType , owl:Class ;
228 rdfs:label "diesel flow"^^xsd:string ; 230 rdfs:label "diesel flow"^^xsd:string ;
229 rdfs:subClassOf ep-flow:Flow . 231 rdfs:subClassOf ep-flow:Flow .
230 232
231 ep-flow:DiethyleneglycolFlow 233 ep-flow:DiethyleneglycolFlow
232 - rdf:type owl:Class , ep-flow:ProductType ; 234 + rdf:type ep-flow:ProductType , owl:Class ;
233 rdfs:label "diethyleneglycol flow"^^xsd:string ; 235 rdfs:label "diethyleneglycol flow"^^xsd:string ;
234 rdfs:subClassOf ep-flow:Flow . 236 rdfs:subClassOf ep-flow:Flow .
235 237
236 ep-flow:DifferenceFlow 238 ep-flow:DifferenceFlow
237 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 239 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
238 rdfs:label "difference flow"^^xsd:string ; 240 rdfs:label "difference flow"^^xsd:string ;
239 rdfs:subClassOf ep-flow:Flow . 241 rdfs:subClassOf ep-flow:Flow .
240 242
241 ep-flow:DioxygenFlow 243 ep-flow:DioxygenFlow
242 - rdf:type owl:Class , ep-flow:ProductType ; 244 + rdf:type ep-flow:ProductType , owl:Class ;
243 rdfs:label "dioxygen flow"^^xsd:string ; 245 rdfs:label "dioxygen flow"^^xsd:string ;
244 rdfs:subClassOf ep-flow:Flow . 246 rdfs:subClassOf ep-flow:Flow .
245 247
...@@ -249,37 +251,37 @@ ep-flow:ElectricPowerFlow ...@@ -249,37 +251,37 @@ ep-flow:ElectricPowerFlow
249 rdfs:subClassOf ep-flow:Flow . 251 rdfs:subClassOf ep-flow:Flow .
250 252
251 ep-flow:EstimatedFlow 253 ep-flow:EstimatedFlow
252 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 254 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
253 rdfs:label "estimated flow"^^xsd:string ; 255 rdfs:label "estimated flow"^^xsd:string ;
254 rdfs:subClassOf ep-flow:Flow . 256 rdfs:subClassOf ep-flow:Flow .
255 257
256 ep-flow:Ethane-componentFlow 258 ep-flow:Ethane-componentFlow
257 - rdf:type owl:Class , ep-flow:ProductType ; 259 + rdf:type ep-flow:ProductType , owl:Class ;
258 rdfs:label "ethane - component flow"^^xsd:string ; 260 rdfs:label "ethane - component flow"^^xsd:string ;
259 rdfs:subClassOf ep-flow:Flow . 261 rdfs:subClassOf ep-flow:Flow .
260 262
261 ep-flow:EthaneFlow 263 ep-flow:EthaneFlow
262 - rdf:type owl:Class , ep-flow:ProductType ; 264 + rdf:type ep-flow:ProductType , owl:Class ;
263 rdfs:label "ethane flow"^^xsd:string ; 265 rdfs:label "ethane flow"^^xsd:string ;
264 rdfs:subClassOf ep-flow:Flow . 266 rdfs:subClassOf ep-flow:Flow .
265 267
266 ep-flow:Export 268 ep-flow:Export
267 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 269 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
268 rdfs:label "export"^^xsd:string ; 270 rdfs:label "export"^^xsd:string ;
269 rdfs:subClassOf ep-flow:Flow . 271 rdfs:subClassOf ep-flow:Flow .
270 272
271 ep-flow:Export-nominated 273 ep-flow:Export-nominated
272 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 274 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
273 rdfs:label "export nominated"^^xsd:string ; 275 rdfs:label "export nominated"^^xsd:string ;
274 rdfs:subClassOf ep-flow:Export . 276 rdfs:subClassOf ep-flow:Export .
275 277
276 ep-flow:Export-requested 278 ep-flow:Export-requested
277 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 279 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
278 rdfs:label "export requested"^^xsd:string ; 280 rdfs:label "export requested"^^xsd:string ;
279 rdfs:subClassOf ep-flow:Export . 281 rdfs:subClassOf ep-flow:Export .
280 282
281 ep-flow:Export-shortfall 283 ep-flow:Export-shortfall
282 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 284 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
283 rdfs:label "export shortfall"^^xsd:string ; 285 rdfs:label "export shortfall"^^xsd:string ;
284 rdfs:subClassOf ep-flow:Export . 286 rdfs:subClassOf ep-flow:Export .
285 287
...@@ -289,42 +291,42 @@ ep-flow:Flow ...@@ -289,42 +291,42 @@ ep-flow:Flow
289 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 291 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
290 292
291 ep-flow:FlowAtInstant 293 ep-flow:FlowAtInstant
292 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 294 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
293 rdfs:label "flow at instant"^^xsd:string ; 295 rdfs:label "flow at instant"^^xsd:string ;
294 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 296 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
295 297
296 ep-flow:FlowDuringDay 298 ep-flow:FlowDuringDay
297 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 299 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
298 rdfs:label "flow during day"^^xsd:string ; 300 rdfs:label "flow during day"^^xsd:string ;
299 rdfs:subClassOf ep-flow:FlowDuringPeriod . 301 rdfs:subClassOf ep-flow:FlowDuringPeriod .
300 302
301 ep-flow:FlowDuringMonth 303 ep-flow:FlowDuringMonth
302 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 304 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
303 rdfs:label "flow during month"^^xsd:string ; 305 rdfs:label "flow during month"^^xsd:string ;
304 rdfs:subClassOf ep-flow:FlowDuringPeriod . 306 rdfs:subClassOf ep-flow:FlowDuringPeriod .
305 307
306 ep-flow:FlowDuringMonthToDate 308 ep-flow:FlowDuringMonthToDate
307 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 309 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
308 rdfs:label "flow during month to date"^^xsd:string ; 310 rdfs:label "flow during month to date"^^xsd:string ;
309 rdfs:subClassOf ep-flow:FlowDuringPeriod . 311 rdfs:subClassOf ep-flow:FlowDuringPeriod .
310 312
311 ep-flow:FlowDuringPeriod 313 ep-flow:FlowDuringPeriod
312 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 314 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
313 rdfs:label "flow during period"^^xsd:string ; 315 rdfs:label "flow during period"^^xsd:string ;
314 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 316 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
315 317
316 ep-flow:FlowDuringWeek 318 ep-flow:FlowDuringWeek
317 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 319 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
318 rdfs:label "flow during week"^^xsd:string ; 320 rdfs:label "flow during week"^^xsd:string ;
319 rdfs:subClassOf ep-flow:FlowDuringPeriod . 321 rdfs:subClassOf ep-flow:FlowDuringPeriod .
320 322
321 ep-flow:FlowDuringYear 323 ep-flow:FlowDuringYear
322 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 324 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
323 rdfs:label "flow during year"^^xsd:string ; 325 rdfs:label "flow during year"^^xsd:string ;
324 rdfs:subClassOf ep-flow:FlowDuringPeriod . 326 rdfs:subClassOf ep-flow:FlowDuringPeriod .
325 327
326 ep-flow:FlowDuringYearToDate 328 ep-flow:FlowDuringYearToDate
327 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 329 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
328 rdfs:label "flow during year to date"^^xsd:string ; 330 rdfs:label "flow during year to date"^^xsd:string ;
329 rdfs:subClassOf ep-flow:FlowDuringPeriod . 331 rdfs:subClassOf ep-flow:FlowDuringPeriod .
330 332
...@@ -339,227 +341,227 @@ ep-flow:FlowOfMaterial ...@@ -339,227 +341,227 @@ ep-flow:FlowOfMaterial
339 rdfs:subClassOf ep-flow:Flow . 341 rdfs:subClassOf ep-flow:Flow .
340 342
341 ep-flow:ForecastFlow 343 ep-flow:ForecastFlow
342 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 344 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
343 rdfs:label "forecast flow"^^xsd:string ; 345 rdfs:label "forecast flow"^^xsd:string ;
344 rdfs:subClassOf ep-flow:Flow . 346 rdfs:subClassOf ep-flow:Flow .
345 347
346 ep-flow:Gas-componentInOilFlow 348 ep-flow:Gas-componentInOilFlow
347 - rdf:type owl:Class , ep-flow:ProductType ; 349 + rdf:type ep-flow:ProductType , owl:Class ;
348 rdfs:label "gas - component in oil flow"^^xsd:string ; 350 rdfs:label "gas - component in oil flow"^^xsd:string ;
349 rdfs:subClassOf ep-flow:Flow . 351 rdfs:subClassOf ep-flow:Flow .
350 352
351 ep-flow:Gas-dryFlow 353 ep-flow:Gas-dryFlow
352 - rdf:type owl:Class , ep-flow:ProductType ; 354 + rdf:type ep-flow:ProductType , owl:Class ;
353 rdfs:label "gas - dry flow"^^xsd:string ; 355 rdfs:label "gas - dry flow"^^xsd:string ;
354 rdfs:subClassOf ep-flow:Flow . 356 rdfs:subClassOf ep-flow:Flow .
355 357
356 ep-flow:Gas-richFlow 358 ep-flow:Gas-richFlow
357 - rdf:type owl:Class , ep-flow:ProductType ; 359 + rdf:type ep-flow:ProductType , owl:Class ;
358 rdfs:label "gas - rich flow"^^xsd:string ; 360 rdfs:label "gas - rich flow"^^xsd:string ;
359 rdfs:subClassOf ep-flow:Flow . 361 rdfs:subClassOf ep-flow:Flow .
360 362
361 ep-flow:Gas-wetFlow 363 ep-flow:Gas-wetFlow
362 - rdf:type owl:Class , ep-flow:ProductType ; 364 + rdf:type ep-flow:ProductType , owl:Class ;
363 rdfs:label "gas - wet flow"^^xsd:string ; 365 rdfs:label "gas - wet flow"^^xsd:string ;
364 rdfs:subClassOf ep-flow:Flow . 366 rdfs:subClassOf ep-flow:Flow .
365 367
366 ep-flow:GasFlow 368 ep-flow:GasFlow
367 - rdf:type owl:Class , ep-flow:ProductType ; 369 + rdf:type ep-flow:ProductType , owl:Class ;
368 rdfs:label "gas flow"^^xsd:string ; 370 rdfs:label "gas flow"^^xsd:string ;
369 rdfs:subClassOf ep-flow:Flow . 371 rdfs:subClassOf ep-flow:Flow .
370 372
371 ep-flow:Gaslift 373 ep-flow:Gaslift
372 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 374 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
373 rdfs:label "gas lift"^^xsd:string ; 375 rdfs:label "gas lift"^^xsd:string ;
374 rdfs:subClassOf ep-flow:Flow . 376 rdfs:subClassOf ep-flow:Flow .
375 377
376 ep-flow:HeliumGasFlow 378 ep-flow:HeliumGasFlow
377 - rdf:type owl:Class , ep-flow:ProductType ; 379 + rdf:type ep-flow:ProductType , owl:Class ;
378 rdfs:label "helium gas flow"^^xsd:string ; 380 rdfs:label "helium gas flow"^^xsd:string ;
379 rdfs:subClassOf ep-flow:Flow . 381 rdfs:subClassOf ep-flow:Flow .
380 382
381 ep-flow:HeptaneFlow 383 ep-flow:HeptaneFlow
382 - rdf:type owl:Class , ep-flow:ProductType ; 384 + rdf:type ep-flow:ProductType , owl:Class ;
383 rdfs:label "heptane flow"^^xsd:string ; 385 rdfs:label "heptane flow"^^xsd:string ;
384 rdfs:subClassOf ep-flow:Flow . 386 rdfs:subClassOf ep-flow:Flow .
385 387
386 ep-flow:HydrocarbonAccounting 388 ep-flow:HydrocarbonAccounting
387 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 389 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
388 rdfs:label "hydrocarbon accounting"^^xsd:string ; 390 rdfs:label "hydrocarbon accounting"^^xsd:string ;
389 rdfs:subClassOf ep-flow:Flow . 391 rdfs:subClassOf ep-flow:Flow .
390 392
391 ep-flow:HydrogenGasFlow 393 ep-flow:HydrogenGasFlow
392 - rdf:type owl:Class , ep-flow:ProductType ; 394 + rdf:type ep-flow:ProductType , owl:Class ;
393 rdfs:label "hydrogen gas flow"^^xsd:string ; 395 rdfs:label "hydrogen gas flow"^^xsd:string ;
394 rdfs:subClassOf ep-flow:Flow . 396 rdfs:subClassOf ep-flow:Flow .
395 397
396 ep-flow:HydrogenSulfideFlow 398 ep-flow:HydrogenSulfideFlow
397 - rdf:type owl:Class , ep-flow:ProductType ; 399 + rdf:type ep-flow:ProductType , owl:Class ;
398 rdfs:label "hydrogen sulfide flow"^^xsd:string ; 400 rdfs:label "hydrogen sulfide flow"^^xsd:string ;
399 rdfs:subClassOf ep-flow:Flow . 401 rdfs:subClassOf ep-flow:Flow .
400 402
401 ep-flow:Import 403 ep-flow:Import
402 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 404 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
403 rdfs:label "import"^^xsd:string ; 405 rdfs:label "import"^^xsd:string ;
404 rdfs:subClassOf ep-flow:Flow . 406 rdfs:subClassOf ep-flow:Flow .
405 407
406 ep-flow:Injection 408 ep-flow:Injection
407 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 409 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
408 rdfs:label "injection"^^xsd:string ; 410 rdfs:label "injection"^^xsd:string ;
409 rdfs:subClassOf ep-flow:Flow . 411 rdfs:subClassOf ep-flow:Flow .
410 412
411 ep-flow:Inventory 413 ep-flow:Inventory
412 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 414 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
413 rdfs:label "inventory"^^xsd:string ; 415 rdfs:label "inventory"^^xsd:string ;
414 rdfs:subClassOf ep-flow:Flow . 416 rdfs:subClassOf ep-flow:Flow .
415 417
416 ep-flow:Isobutane-componentFlow 418 ep-flow:Isobutane-componentFlow
417 - rdf:type ep-flow:ProductType , owl:Class ; 419 + rdf:type owl:Class , ep-flow:ProductType ;
418 rdfs:label "i-butane - component flow"^^xsd:string ; 420 rdfs:label "i-butane - component flow"^^xsd:string ;
419 rdfs:subClassOf ep-flow:Flow . 421 rdfs:subClassOf ep-flow:Flow .
420 422
421 ep-flow:IsobutaneFlow 423 ep-flow:IsobutaneFlow
422 - rdf:type owl:Class , ep-flow:ProductType ; 424 + rdf:type ep-flow:ProductType , owl:Class ;
423 rdfs:label "isobutane flow"^^xsd:string ; 425 rdfs:label "isobutane flow"^^xsd:string ;
424 rdfs:subClassOf ep-flow:Flow . 426 rdfs:subClassOf ep-flow:Flow .
425 427
426 ep-flow:IsopentaneFlow 428 ep-flow:IsopentaneFlow
427 - rdf:type owl:Class , ep-flow:ProductType ; 429 + rdf:type ep-flow:ProductType , owl:Class ;
428 rdfs:label "isopentane flow"^^xsd:string ; 430 rdfs:label "isopentane flow"^^xsd:string ;
429 rdfs:subClassOf ep-flow:Flow . 431 rdfs:subClassOf ep-flow:Flow .
430 432
431 ep-flow:LiquifiedNaturalGasFlow 433 ep-flow:LiquifiedNaturalGasFlow
432 - rdf:type owl:Class , ep-flow:ProductType ; 434 + rdf:type ep-flow:ProductType , owl:Class ;
433 rdfs:label "liquified natural gas flow"^^xsd:string ; 435 rdfs:label "liquified natural gas flow"^^xsd:string ;
434 rdfs:subClassOf ep-flow:Flow . 436 rdfs:subClassOf ep-flow:Flow .
435 437
436 ep-flow:LiquifiedPetroleumGasFlow 438 ep-flow:LiquifiedPetroleumGasFlow
437 - rdf:type owl:Class , ep-flow:ProductType ; 439 + rdf:type ep-flow:ProductType , owl:Class ;
438 rdfs:label "liquified petroleum gas flow"^^xsd:string ; 440 rdfs:label "liquified petroleum gas flow"^^xsd:string ;
439 rdfs:subClassOf ep-flow:Flow . 441 rdfs:subClassOf ep-flow:Flow .
440 442
441 ep-flow:MeasuredFlow 443 ep-flow:MeasuredFlow
442 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 444 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
443 rdfs:label "measured flow"^^xsd:string ; 445 rdfs:label "measured flow"^^xsd:string ;
444 rdfs:subClassOf ep-flow:Flow . 446 rdfs:subClassOf ep-flow:Flow .
445 447
446 ep-flow:MethaneFlow 448 ep-flow:MethaneFlow
447 - rdf:type owl:Class , ep-flow:ProductType ; 449 + rdf:type ep-flow:ProductType , owl:Class ;
448 rdfs:label "methane flow"^^xsd:string ; 450 rdfs:label "methane flow"^^xsd:string ;
449 rdfs:subClassOf ep-flow:Flow . 451 rdfs:subClassOf ep-flow:Flow .
450 452
451 ep-flow:MethanolFlow 453 ep-flow:MethanolFlow
452 - rdf:type owl:Class , ep-flow:ProductType ; 454 + rdf:type ep-flow:ProductType , owl:Class ;
453 rdfs:label "methanol flow"^^xsd:string ; 455 rdfs:label "methanol flow"^^xsd:string ;
454 rdfs:subClassOf ep-flow:Flow . 456 rdfs:subClassOf ep-flow:Flow .
455 457
456 ep-flow:MixedButaneFlow 458 ep-flow:MixedButaneFlow
457 - rdf:type owl:Class , ep-flow:ProductType ; 459 + rdf:type ep-flow:ProductType , owl:Class ;
458 rdfs:label "mixed butane flow"^^xsd:string ; 460 rdfs:label "mixed butane flow"^^xsd:string ;
459 rdfs:subClassOf ep-flow:Flow . 461 rdfs:subClassOf ep-flow:Flow .
460 462
461 ep-flow:MonoethyleneglycolFlow 463 ep-flow:MonoethyleneglycolFlow
462 - rdf:type owl:Class , ep-flow:ProductType ; 464 + rdf:type ep-flow:ProductType , owl:Class ;
463 rdfs:label "monoethyleneglycol flow"^^xsd:string ; 465 rdfs:label "monoethyleneglycol flow"^^xsd:string ;
464 rdfs:subClassOf ep-flow:Flow . 466 rdfs:subClassOf ep-flow:Flow .
465 467
466 ep-flow:NGL-componentInGasFlow 468 ep-flow:NGL-componentInGasFlow
467 - rdf:type owl:Class , ep-flow:ProductType ; 469 + rdf:type ep-flow:ProductType , owl:Class ;
468 rdfs:label "NGL - component in gas flow"^^xsd:string ; 470 rdfs:label "NGL - component in gas flow"^^xsd:string ;
469 rdfs:subClassOf ep-flow:Flow . 471 rdfs:subClassOf ep-flow:Flow .
470 472
471 ep-flow:NapthaFlow 473 ep-flow:NapthaFlow
472 - rdf:type owl:Class , ep-flow:ProductType ; 474 + rdf:type ep-flow:ProductType , owl:Class ;
473 rdfs:label "naptha flow"^^xsd:string ; 475 rdfs:label "naptha flow"^^xsd:string ;
474 rdfs:subClassOf ep-flow:Flow . 476 rdfs:subClassOf ep-flow:Flow .
475 477
476 ep-flow:NaturalGasLiquidFlow 478 ep-flow:NaturalGasLiquidFlow
477 - rdf:type owl:Class , ep-flow:ProductType ; 479 + rdf:type ep-flow:ProductType , owl:Class ;
478 rdfs:label "natural gas liquid flow"^^xsd:string ; 480 rdfs:label "natural gas liquid flow"^^xsd:string ;
479 rdfs:subClassOf ep-flow:Flow . 481 rdfs:subClassOf ep-flow:Flow .
480 482
481 ep-flow:NeopentaneFlow 483 ep-flow:NeopentaneFlow
482 - rdf:type owl:Class , ep-flow:ProductType ; 484 + rdf:type ep-flow:ProductType , owl:Class ;
483 rdfs:label "neopentane flow"^^xsd:string ; 485 rdfs:label "neopentane flow"^^xsd:string ;
484 rdfs:subClassOf ep-flow:Flow . 486 rdfs:subClassOf ep-flow:Flow .
485 487
486 ep-flow:NitrogenGasFlow 488 ep-flow:NitrogenGasFlow
487 - rdf:type owl:Class , ep-flow:ProductType ; 489 + rdf:type ep-flow:ProductType , owl:Class ;
488 rdfs:label "nitrogen gas flow"^^xsd:string ; 490 rdfs:label "nitrogen gas flow"^^xsd:string ;
489 rdfs:subClassOf ep-flow:Flow . 491 rdfs:subClassOf ep-flow:Flow .
490 492
491 ep-flow:NitrogenOxideGasFlow 493 ep-flow:NitrogenOxideGasFlow
492 - rdf:type owl:Class , ep-flow:ProductType ; 494 + rdf:type ep-flow:ProductType , owl:Class ;
493 rdfs:label "nitrogen oxide gas flow"^^xsd:string ; 495 rdfs:label "nitrogen oxide gas flow"^^xsd:string ;
494 rdfs:subClassOf ep-flow:Flow . 496 rdfs:subClassOf ep-flow:Flow .
495 497
496 ep-flow:NominatedFlow 498 ep-flow:NominatedFlow
497 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 499 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
498 rdfs:label "nominated flow"^^xsd:string ; 500 rdfs:label "nominated flow"^^xsd:string ;
499 rdfs:subClassOf ep-flow:Flow . 501 rdfs:subClassOf ep-flow:Flow .
500 502
501 ep-flow:NormalButane-componentFlow 503 ep-flow:NormalButane-componentFlow
502 - rdf:type ep-flow:ProductType , owl:Class ; 504 + rdf:type owl:Class , ep-flow:ProductType ;
503 rdfs:label "n-butane - component flow"^^xsd:string ; 505 rdfs:label "n-butane - component flow"^^xsd:string ;
504 rdfs:subClassOf ep-flow:Flow . 506 rdfs:subClassOf ep-flow:Flow .
505 507
506 ep-flow:NormalButaneFlow 508 ep-flow:NormalButaneFlow
507 - rdf:type owl:Class , ep-flow:ProductType ; 509 + rdf:type ep-flow:ProductType , owl:Class ;
508 rdfs:label "normal butane flow"^^xsd:string ; 510 rdfs:label "normal butane flow"^^xsd:string ;
509 rdfs:subClassOf ep-flow:Flow . 511 rdfs:subClassOf ep-flow:Flow .
510 512
511 ep-flow:NormalPentaneFlow 513 ep-flow:NormalPentaneFlow
512 - rdf:type owl:Class , ep-flow:ProductType ; 514 + rdf:type ep-flow:ProductType , owl:Class ;
513 rdfs:label "normal pentane flow"^^xsd:string ; 515 rdfs:label "normal pentane flow"^^xsd:string ;
514 rdfs:subClassOf ep-flow:Flow . 516 rdfs:subClassOf ep-flow:Flow .
515 517
516 ep-flow:Oil-componentInWaterFlow 518 ep-flow:Oil-componentInWaterFlow
517 - rdf:type owl:Class , ep-flow:ProductType ; 519 + rdf:type ep-flow:ProductType , owl:Class ;
518 rdfs:label "oil - component in water flow"^^xsd:string ; 520 rdfs:label "oil - component in water flow"^^xsd:string ;
519 rdfs:subClassOf ep-flow:Flow . 521 rdfs:subClassOf ep-flow:Flow .
520 522
521 ep-flow:Oil-grossFlow 523 ep-flow:Oil-grossFlow
522 - rdf:type ep-flow:ProductType , owl:Class ; 524 + rdf:type owl:Class , ep-flow:ProductType ;
523 rdfs:label "oil - gross flow"^^xsd:string ; 525 rdfs:label "oil - gross flow"^^xsd:string ;
524 rdfs:subClassOf ep-flow:Flow . 526 rdfs:subClassOf ep-flow:Flow .
525 527
526 ep-flow:Oil-netFlow 528 ep-flow:Oil-netFlow
527 - rdf:type owl:Class , ep-flow:ProductType ; 529 + rdf:type ep-flow:ProductType , owl:Class ;
528 rdfs:label "oil - net flow"^^xsd:string ; 530 rdfs:label "oil - net flow"^^xsd:string ;
529 rdfs:subClassOf ep-flow:Flow . 531 rdfs:subClassOf ep-flow:Flow .
530 532
531 ep-flow:OilAndGasFlow 533 ep-flow:OilAndGasFlow
532 - rdf:type owl:Class , ep-flow:ProductType ; 534 + rdf:type ep-flow:ProductType , owl:Class ;
533 rdfs:label "oil and gas flow"^^xsd:string ; 535 rdfs:label "oil and gas flow"^^xsd:string ;
534 rdfs:subClassOf ep-flow:Flow . 536 rdfs:subClassOf ep-flow:Flow .
535 537
536 ep-flow:OilFlow 538 ep-flow:OilFlow
537 - rdf:type ep-flow:ProductType , owl:Class ; 539 + rdf:type owl:Class , ep-flow:ProductType ;
538 rdfs:label "oil flow"^^xsd:string ; 540 rdfs:label "oil flow"^^xsd:string ;
539 rdfs:subClassOf ep-flow:Flow . 541 rdfs:subClassOf ep-flow:Flow .
540 542
541 ep-flow:OleicFlow 543 ep-flow:OleicFlow
542 - rdf:type owl:Class , ep-flow:ProductType ; 544 + rdf:type ep-flow:ProductType , owl:Class ;
543 rdfs:label "oleic flow"^^xsd:string ; 545 rdfs:label "oleic flow"^^xsd:string ;
544 rdfs:subClassOf ep-flow:Flow . 546 rdfs:subClassOf ep-flow:Flow .
545 547
546 ep-flow:Overboard 548 ep-flow:Overboard
547 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 549 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
548 rdfs:label "overboard"^^xsd:string ; 550 rdfs:label "overboard"^^xsd:string ;
549 rdfs:subClassOf ep-flow:Flow . 551 rdfs:subClassOf ep-flow:Flow .
550 552
551 ep-flow:PetroleumGasLiquidFlow 553 ep-flow:PetroleumGasLiquidFlow
552 - rdf:type owl:Class , ep-flow:ProductType ; 554 + rdf:type ep-flow:ProductType , owl:Class ;
553 rdfs:label "petroleum gas liquid flow"^^xsd:string ; 555 rdfs:label "petroleum gas liquid flow"^^xsd:string ;
554 rdfs:subClassOf ep-flow:Flow . 556 rdfs:subClassOf ep-flow:Flow .
555 557
556 ep-flow:PotentialFlow 558 ep-flow:PotentialFlow
557 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 559 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
558 rdfs:label "potential flow"^^xsd:string ; 560 rdfs:label "potential flow"^^xsd:string ;
559 rdfs:subClassOf ep-flow:Flow . 561 rdfs:subClassOf ep-flow:Flow .
560 562
561 ep-flow:ProcessedFlow 563 ep-flow:ProcessedFlow
562 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 564 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
563 rdfs:label "processed flow"^^xsd:string ; 565 rdfs:label "processed flow"^^xsd:string ;
564 rdfs:subClassOf ep-flow:Flow . 566 rdfs:subClassOf ep-flow:Flow .
565 567
...@@ -579,7 +581,7 @@ ep-flow:ProductType ...@@ -579,7 +581,7 @@ ep-flow:ProductType
579 rdfs:subClassOf owl:Class . 581 rdfs:subClassOf owl:Class .
580 582
581 ep-flow:Production 583 ep-flow:Production
582 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 584 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
583 rdfs:label "production"^^xsd:string ; 585 rdfs:label "production"^^xsd:string ;
584 rdfs:subClassOf ep-flow:Flow . 586 rdfs:subClassOf ep-flow:Flow .
585 587
...@@ -619,57 +621,57 @@ ep-flow:ProductionTestWellHeadFlow ...@@ -619,57 +621,57 @@ ep-flow:ProductionTestWellHeadFlow
619 rdfs:subClassOf ep-flow:Flow . 621 rdfs:subClassOf ep-flow:Flow .
620 622
621 ep-flow:Propane-componentFlow 623 ep-flow:Propane-componentFlow
622 - rdf:type owl:Class , ep-flow:ProductType ; 624 + rdf:type ep-flow:ProductType , owl:Class ;
623 rdfs:label "propane - component flow"^^xsd:string ; 625 rdfs:label "propane - component flow"^^xsd:string ;
624 rdfs:subClassOf ep-flow:Flow . 626 rdfs:subClassOf ep-flow:Flow .
625 627
626 ep-flow:PropaneFlow 628 ep-flow:PropaneFlow
627 - rdf:type owl:Class , ep-flow:ProductType ; 629 + rdf:type ep-flow:ProductType , owl:Class ;
628 rdfs:label "propane flow"^^xsd:string ; 630 rdfs:label "propane flow"^^xsd:string ;
629 rdfs:subClassOf ep-flow:Flow . 631 rdfs:subClassOf ep-flow:Flow .
630 632
631 ep-flow:QuotaFlow 633 ep-flow:QuotaFlow
632 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 634 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
633 rdfs:label "quota flow"^^xsd:string ; 635 rdfs:label "quota flow"^^xsd:string ;
634 rdfs:subClassOf ep-flow:Flow . 636 rdfs:subClassOf ep-flow:Flow .
635 637
636 ep-flow:RecommendedFlow 638 ep-flow:RecommendedFlow
637 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 639 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
638 rdfs:label "recommended flow"^^xsd:string ; 640 rdfs:label "recommended flow"^^xsd:string ;
639 rdfs:subClassOf ep-flow:Flow . 641 rdfs:subClassOf ep-flow:Flow .
640 642
641 ep-flow:Sale 643 ep-flow:Sale
642 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 644 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
643 rdfs:label "sale"^^xsd:string ; 645 rdfs:label "sale"^^xsd:string ;
644 rdfs:subClassOf ep-flow:Flow . 646 rdfs:subClassOf ep-flow:Flow .
645 647
646 ep-flow:SaleableFlow 648 ep-flow:SaleableFlow
647 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 649 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
648 rdfs:label "saleable flow"^^xsd:string ; 650 rdfs:label "saleable flow"^^xsd:string ;
649 rdfs:subClassOf ep-flow:Flow . 651 rdfs:subClassOf ep-flow:Flow .
650 652
651 ep-flow:SaltFlow 653 ep-flow:SaltFlow
652 - rdf:type owl:Class , ep-flow:ProductType ; 654 + rdf:type ep-flow:ProductType , owl:Class ;
653 rdfs:label "salt flow"^^xsd:string ; 655 rdfs:label "salt flow"^^xsd:string ;
654 rdfs:subClassOf ep-flow:Flow . 656 rdfs:subClassOf ep-flow:Flow .
655 657
656 ep-flow:SandFlow 658 ep-flow:SandFlow
657 - rdf:type owl:Class , ep-flow:ProductType ; 659 + rdf:type ep-flow:ProductType , owl:Class ;
658 rdfs:label "sand flow"^^xsd:string ; 660 rdfs:label "sand flow"^^xsd:string ;
659 rdfs:subClassOf ep-flow:Flow . 661 rdfs:subClassOf ep-flow:Flow .
660 662
661 ep-flow:SimulatedFlow 663 ep-flow:SimulatedFlow
662 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 664 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
663 rdfs:label "simulated flow"^^xsd:string ; 665 rdfs:label "simulated flow"^^xsd:string ;
664 rdfs:subClassOf ep-flow:Flow . 666 rdfs:subClassOf ep-flow:Flow .
665 667
666 ep-flow:Storage 668 ep-flow:Storage
667 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 669 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
668 rdfs:label "storage"^^xsd:string ; 670 rdfs:label "storage"^^xsd:string ;
669 rdfs:subClassOf ep-flow:Flow . 671 rdfs:subClassOf ep-flow:Flow .
670 672
671 ep-flow:TargetFlow 673 ep-flow:TargetFlow
672 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 674 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
673 rdfs:label "target flow"^^xsd:string ; 675 rdfs:label "target flow"^^xsd:string ;
674 rdfs:subClassOf ep-flow:Flow . 676 rdfs:subClassOf ep-flow:Flow .
675 677
...@@ -694,32 +696,32 @@ ep-flow:TemporalPartOfAProductionFlow ...@@ -694,32 +696,32 @@ ep-flow:TemporalPartOfAProductionFlow
694 rdfs:subClassOf ep-flow:TemporalPartOfAFlow . 696 rdfs:subClassOf ep-flow:TemporalPartOfAFlow .
695 697
696 ep-flow:TriethyleneglycolFlow 698 ep-flow:TriethyleneglycolFlow
697 - rdf:type owl:Class , ep-flow:ProductType ; 699 + rdf:type ep-flow:ProductType , owl:Class ;
698 rdfs:label "triethyleneglycol flow"^^xsd:string ; 700 rdfs:label "triethyleneglycol flow"^^xsd:string ;
699 rdfs:subClassOf ep-flow:Flow . 701 rdfs:subClassOf ep-flow:Flow .
700 702
701 ep-flow:VapourFlow 703 ep-flow:VapourFlow
702 - rdf:type owl:Class , ep-flow:ProductType ; 704 + rdf:type ep-flow:ProductType , owl:Class ;
703 rdfs:label "vapour flow"^^xsd:string ; 705 rdfs:label "vapour flow"^^xsd:string ;
704 rdfs:subClassOf ep-flow:Flow . 706 rdfs:subClassOf ep-flow:Flow .
705 707
706 ep-flow:Water-dischargeFlow 708 ep-flow:Water-dischargeFlow
707 - rdf:type owl:Class , ep-flow:ProductType ; 709 + rdf:type ep-flow:ProductType , owl:Class ;
708 rdfs:label "water - discharge flow"^^xsd:string ; 710 rdfs:label "water - discharge flow"^^xsd:string ;
709 rdfs:subClassOf ep-flow:Flow . 711 rdfs:subClassOf ep-flow:Flow .
710 712
711 ep-flow:Water-processedFlow 713 ep-flow:Water-processedFlow
712 - rdf:type owl:Class , ep-flow:ProductType ; 714 + rdf:type ep-flow:ProductType , owl:Class ;
713 rdfs:label "water - processed flow"^^xsd:string ; 715 rdfs:label "water - processed flow"^^xsd:string ;
714 rdfs:subClassOf ep-flow:Flow . 716 rdfs:subClassOf ep-flow:Flow .
715 717
716 ep-flow:WaterFlow 718 ep-flow:WaterFlow
717 - rdf:type owl:Class , ep-flow:ProductType ; 719 + rdf:type ep-flow:ProductType , owl:Class ;
718 rdfs:label "water flow"^^xsd:string ; 720 rdfs:label "water flow"^^xsd:string ;
719 rdfs:subClassOf ep-flow:Flow . 721 rdfs:subClassOf ep-flow:Flow .
720 722
721 ep-flow:dailyAverageAmountOfMaterial 723 ep-flow:dailyAverageAmountOfMaterial
722 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 724 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
723 rdfs:label "daily average amount of material"^^xsd:string ; 725 rdfs:label "daily average amount of material"^^xsd:string ;
724 rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . 726 rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> .
725 727
...@@ -763,7 +765,12 @@ ep-flow:hasNetworkPart ...@@ -763,7 +765,12 @@ ep-flow:hasNetworkPart
763 rdfs:range ep-flow:Flow ; 765 rdfs:range ep-flow:Flow ;
764 rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> . 766 rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> .
765 767
768 +ep-flow:rateOfFlowOfMaterial
769 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
770 + rdfs:label "rate of flow of material"^^xsd:string ;
771 + rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> .
772 +
766 ep-flow:totalAmountOfMaterial 773 ep-flow:totalAmountOfMaterial
767 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 774 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
768 rdfs:label "total amount of material"^^xsd:string ; 775 rdfs:label "total amount of material"^^xsd:string ;
769 rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . 776 rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> .
......
1 +# Saved by TopBraid on Thu Dec 15 19:02:38 GMT 2011
1 # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0 2 # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0
2 -# imports: http://spinrdf.org/spin
3 -# imports: http://www.epim.no/schemas/mprml/1
4 # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib 3 # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
4 +# imports: http://www.epim.no/schemas/mprml/1
5 +# imports: http://spinrdf.org/spin
5 # imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib 6 # imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
6 7
7 @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . 8 @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> .
...@@ -22,45 +23,141 @@ ...@@ -22,45 +23,141 @@
22 <http://www.epim.no/schemas/mprml/1#A_Global-Objects> 23 <http://www.epim.no/schemas/mprml/1#A_Global-Objects>
23 spin:rule 24 spin:rule
24 [ rdf:type sp:Construct ; 25 [ rdf:type sp:Construct ;
25 - rdfs:comment """STEP 20104 record the product flows - unlike for the DPR the flow name is not used to construct the ProductionFlow URI 26 + rdfs:comment "STEP 20106 This step (not in the DPR) is there because there can be multiple volumeValue elements"^^xsd:string ;
26 -namingSystem not processed"""^^xsd:string ; 27 + sp:templates ([ sp:object _:b1 ;
27 - sp:templates ([ sp:object 28 + sp:predicate _:b2 ;
28 - [ sp:varName "productFlow"^^xsd:string 29 + sp:subject _:b3
29 - ] ; 30 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
30 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
31 - sp:subject
32 - [ sp:varName "productionFlow"^^xsd:string
33 - ]
34 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
35 sp:predicate rdf:type ; 31 sp:predicate rdf:type ;
36 - sp:subject 32 + sp:subject _:b1
37 - [ sp:varName "productFlow"^^xsd:string 33 + ] [ sp:object _:b4 ;
38 - ] 34 + sp:predicate rdf:type ;
39 - ] [ sp:object 35 + sp:subject _:b1
40 - [ sp:varName "productType"^^xsd:string 36 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
37 + sp:predicate rdf:type ;
38 + sp:subject _:b4
39 + ] [ sp:object _:b5 ;
40 + sp:predicate _:b6 ;
41 + sp:subject _:b4
42 + ] [ sp:object _:b7 ;
43 + sp:predicate rdf:type ;
44 + sp:subject _:b1
45 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
46 + sp:predicate rdf:type ;
47 + sp:subject _:b7
48 + ] [ sp:object _:b8 ;
49 + sp:predicate _:b9 ;
50 + sp:subject _:b7
51 + ] [ sp:object _:b10 ;
52 + sp:predicate rdf:type ;
53 + sp:subject _:b1
54 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
55 + sp:predicate rdf:type ;
56 + sp:subject _:b10
57 + ] [ sp:object _:b11 ;
58 + sp:predicate _:b12 ;
59 + sp:subject _:b10
60 + ]) ;
61 + sp:where ([ sp:object _:b13 ;
62 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
63 + sp:subject spin:_this
64 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
65 + sp:predicate rdf:type ;
66 + sp:subject _:b13
67 + ] [ sp:object _:b14 ;
68 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
69 + sp:subject _:b13
70 + ] [ sp:object _:b15 ;
71 + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ;
72 + sp:subject _:b14
73 + ] [ sp:object _:b16 ;
74 + sp:predicate <http://www.epim.no/schemas/mprml/1#productRef> ;
75 + sp:subject _:b15
76 + ] [ sp:object _:b17 ;
77 + sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ;
78 + sp:subject _:b16
79 + ] [ sp:object _:b18 ;
80 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
81 + sp:subject _:b17
82 + ] [ sp:object _:b17 ;
83 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
84 + sp:subject _:b3
85 + ] [ sp:object _:b19 ;
86 + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ;
87 + sp:subject _:b17
88 + ] [ sp:object _:b20 ;
89 + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ;
90 + sp:subject _:b19
91 + ] [ sp:object _:b5 ;
92 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
93 + sp:subject _:b20
94 + ] [ sp:object _:b21 ;
95 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
96 + sp:subject _:b20
97 + ] [ rdf:type sp:Optional ;
98 + sp:elements ([ sp:object _:b22 ;
99 + sp:predicate <http://www.epim.no/schemas/mprml/1#tempRef> ;
100 + sp:subject _:b19
101 + ] [ sp:object _:b8 ;
102 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
103 + sp:subject _:b22
104 + ] [ sp:object _:b23 ;
105 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
106 + sp:subject _:b22
107 + ])
108 + ] [ rdf:type sp:Optional ;
109 + sp:elements ([ sp:object _:b24 ;
110 + sp:predicate <http://www.epim.no/schemas/mprml/1#presRef> ;
111 + sp:subject _:b19
112 + ] [ sp:object _:b11 ;
113 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
114 + sp:subject _:b24
115 + ] [ sp:object _:b25 ;
116 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
117 + sp:subject _:b24
118 + ])
119 + ] [ rdf:type sp:Bind ;
120 + sp:expression
121 + [ rdf:type ep-mpr-spin-lib:selectRelationshipToMeasure ;
122 + sp:arg1 _:b18
123 + ] ;
124 + sp:variable _:b2
125 + ] [ rdf:type sp:Bind ;
126 + sp:expression
127 + [ rdf:type ep-mpr-spin-lib:selectVolumeScale ;
128 + sp:arg1 _:b21
129 + ] ;
130 + sp:variable _:b6
131 + ] [ rdf:type sp:Bind ;
132 + sp:expression
133 + [ rdf:type ep-mpr-spin-lib:selectTemperatureScale ;
134 + sp:arg1 _:b23
135 + ] ;
136 + sp:variable _:b9
137 + ] [ rdf:type sp:Bind ;
138 + sp:expression
139 + [ rdf:type ep-mpr-spin-lib:selectPressureScale ;
140 + sp:arg1 _:b25
41 ] ; 141 ] ;
142 + sp:variable _:b12
143 + ])
144 + ] ;
145 + spin:rule
146 + [ rdf:type sp:Construct ;
147 + rdfs:comment """STEP 20102 Record the Facility that has the flows
148 +Nothing is done with the namingSystem!"""^^xsd:string ;
149 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
42 sp:predicate rdf:type ; 150 sp:predicate rdf:type ;
43 sp:subject 151 sp:subject
44 - [ sp:varName "productFlow"^^xsd:string 152 + [ sp:varName "productionFacility"^^xsd:string
45 ] 153 ]
46 ] [ sp:object 154 ] [ sp:object
47 - [ sp:varName "productFlow"^^xsd:string 155 + [ sp:varName "productionFacilityType"^^xsd:string
48 ] ; 156 ] ;
49 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
50 - sp:subject _:b1
51 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowToDate> ;
52 sp:predicate rdf:type ; 157 sp:predicate rdf:type ;
53 - sp:subject _:b1
54 - ] [ sp:object _:b1 ;
55 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
56 sp:subject 158 sp:subject
57 - [ sp:varName "productionFlowToDate"^^xsd:string 159 + [ sp:varName "productionFacility"^^xsd:string
58 ] 160 ]
59 - ] [ sp:object
60 - [ sp:varName "productRef"^^xsd:string
61 - ] ;
62 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
63 - sp:subject _:b1
64 ]) ; 161 ]) ;
65 sp:where ([ sp:object 162 sp:where ([ sp:object
66 [ sp:varName "productVolumeRef"^^xsd:string 163 [ sp:varName "productVolumeRef"^^xsd:string
...@@ -80,146 +177,88 @@ namingSystem not processed"""^^xsd:string ; ...@@ -80,146 +177,88 @@ namingSystem not processed"""^^xsd:string ;
80 [ sp:varName "productVolumeRef"^^xsd:string 177 [ sp:varName "productVolumeRef"^^xsd:string
81 ] 178 ]
82 ] [ sp:object 179 ] [ sp:object
83 - [ sp:varName "productVolumeRef"^^xsd:string 180 + [ sp:varName "facilityNameRef"^^xsd:string
84 - ] ;
85 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
86 - sp:subject
87 - [ sp:varName "productionFlowsToDate"^^xsd:string
88 - ]
89 - ] [ sp:object
90 - [ sp:varName "flowRef"^^xsd:string
91 ] ; 181 ] ;
92 - sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; 182 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
93 sp:subject 183 sp:subject
94 [ sp:varName "facilityRef"^^xsd:string 184 [ sp:varName "facilityRef"^^xsd:string
95 ] 185 ]
96 ] [ sp:object 186 ] [ sp:object
97 - [ sp:varName "productRef"^^xsd:string 187 + [ sp:varName "facilityName"^^xsd:string
98 - ] ;
99 - sp:predicate <http://www.epim.no/schemas/mprml/1#productRef> ;
100 - sp:subject
101 - [ sp:varName "flowRef"^^xsd:string
102 - ]
103 - ] [ sp:object
104 - [ sp:varName "flowRef"^^xsd:string
105 - ] ;
106 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
107 - sp:subject
108 - [ sp:varName "productionFlowToDate"^^xsd:string
109 - ]
110 - ] [ sp:object
111 - [ sp:varName "productionFlow"^^xsd:string
112 - ] ;
113 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
114 - sp:subject
115 - [ sp:varName "productionFlowToDate"^^xsd:string
116 - ]
117 - ] [ sp:object
118 - [ sp:varName "productKind"^^xsd:string
119 ] ; 188 ] ;
120 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 189 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
121 sp:subject 190 sp:subject
122 - [ sp:varName "productRef"^^xsd:string 191 + [ sp:varName "facilityNameRef"^^xsd:string
123 ] 192 ]
124 ] [ rdf:type sp:Optional ; 193 ] [ rdf:type sp:Optional ;
125 sp:elements ([ sp:object 194 sp:elements ([ sp:object
126 - [ sp:varName "productNameRef"^^xsd:string 195 + [ sp:varName "facilityNamingSystem"^^xsd:string
127 ] ; 196 ] ;
128 - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; 197 + sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
129 sp:subject 198 sp:subject
130 - [ sp:varName "productRef"^^xsd:string 199 + [ sp:varName "facilityNameRef"^^xsd:string
131 ] 200 ]
132 - ] [ sp:object 201 + ])
133 - [ sp:varName "productFlowName"^^xsd:string 202 + ] [ rdf:type sp:Optional ;
203 + sp:elements ([ sp:object
204 + [ sp:varName "facilityKind"^^xsd:string
134 ] ; 205 ] ;
135 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 206 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
136 sp:subject 207 sp:subject
137 - [ sp:varName "productNameRef"^^xsd:string 208 + [ sp:varName "facilityNameRef"^^xsd:string
138 ] 209 ]
139 ]) 210 ])
140 ] [ rdf:type sp:Bind ; 211 ] [ rdf:type sp:Bind ;
141 sp:expression 212 sp:expression
142 - [ rdf:type ep-mpr-spin-lib:selectProductType ;
143 - sp:arg1 [ sp:varName "productKind"^^xsd:string
144 - ]
145 - ] ;
146 - sp:variable
147 - [ sp:varName "productType"^^xsd:string
148 - ]
149 - ] [ rdf:type sp:Bind ;
150 - sp:expression
151 - [ rdf:type spl:object ;
152 - sp:arg1 [ sp:varName "productType"^^xsd:string
153 - ] ;
154 - sp:arg2 rdfs:label
155 - ] ;
156 - sp:variable
157 - [ sp:varName "productTypeName"^^xsd:string
158 - ]
159 - ] [ rdf:type sp:Bind ;
160 - sp:expression
161 [ rdf:type ep-spin-lib:normalizeString ; 213 [ rdf:type ep-spin-lib:normalizeString ;
162 - sp:arg1 [ sp:varName "productTypeName"^^xsd:string 214 + sp:arg1 [ sp:varName "facilityName"^^xsd:string
163 ] 215 ]
164 ] ; 216 ] ;
165 sp:variable 217 sp:variable
166 - [ sp:varName "normalizedProductTypeName"^^xsd:string 218 + [ sp:varName "normalizedFacilityName"^^xsd:string
167 ] 219 ]
168 ] [ rdf:type sp:Bind ; 220 ] [ rdf:type sp:Bind ;
169 sp:expression 221 sp:expression
170 - [ rdf:type afn:localname ; 222 + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
171 - sp:arg1 [ sp:varName "flowRef"^^xsd:string 223 + sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string
172 ] 224 ]
173 ] ; 225 ] ;
174 sp:variable 226 sp:variable
175 - [ sp:varName "localname"^^xsd:string 227 + [ sp:varName "productionFacility"^^xsd:string
176 ] 228 ]
177 ] [ rdf:type sp:Bind ; 229 ] [ rdf:type sp:Bind ;
178 sp:expression 230 sp:expression
179 - [ rdf:type ep-dpr-spin-lib:buildProductFlowURI ; 231 + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
180 - sp:arg1 [ sp:varName "localname"^^xsd:string 232 + sp:arg1 [ sp:varName "facilityKind"^^xsd:string
181 - ] ;
182 - sp:arg2 [ sp:varName "normalizedProductTypeName"^^xsd:string
183 ] 233 ]
184 ] ; 234 ] ;
185 sp:variable 235 sp:variable
186 - [ sp:varName "productFlow"^^xsd:string 236 + [ sp:varName "productionFacilityType"^^xsd:string
187 ] 237 ]
188 ]) 238 ])
189 ] ; 239 ] ;
190 spin:rule 240 spin:rule
191 [ rdf:type sp:Construct ; 241 [ rdf:type sp:Construct ;
192 - rdfs:comment """STEP 20105 record the temporal parts of product flows 242 + rdfs:comment "STEP 20103c record the related facility - only its kind is specified"^^xsd:string ;
193 -period/kind is optional, but is assumed mandatory here. This is because it is not clear how to obtain the default value which is the period of the report. 243 + sp:templates ([ sp:object
194 -There are several different ways of specifying the time of the period. Temporarily, only dTimStart and dTimEnd are supported."""^^xsd:string ; 244 + [ sp:varName "relatedFacility"^^xsd:string
195 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductFlow> ;
196 - sp:predicate rdf:type ;
197 - sp:subject _:b2
198 - ] [ sp:object
199 - [ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string
200 - ] ;
201 - sp:predicate rdf:type ;
202 - sp:subject _:b2
203 - ] [ sp:object
204 - [ sp:varName "productFlowToDate"^^xsd:string
205 - ] ;
206 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
207 - sp:subject _:b2
208 - ] [ sp:object
209 - [ sp:varName "dTimStart"^^xsd:string
210 ] ; 245 ] ;
211 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; 246 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
212 - sp:subject _:b2 247 + sp:subject
213 - ] [ sp:object 248 + [ sp:varName "productionFlow"^^xsd:string
214 - [ sp:varName "dTimEnd"^^xsd:string 249 + ]
250 + ] [ sp:object _:b26 ;
251 + sp:predicate
252 + [ sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string
215 ] ; 253 ] ;
216 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 254 + sp:subject
217 - sp:subject _:b2 255 + [ sp:varName "productionFlow"^^xsd:string
256 + ]
218 ] [ sp:object 257 ] [ sp:object
219 - [ sp:varName "periodRef"^^xsd:string 258 + [ sp:varName "relatedFacilityType"^^xsd:string
220 ] ; 259 ] ;
221 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 260 + sp:predicate rdf:type ;
222 - sp:subject _:b2 261 + sp:subject _:b26
223 ]) ; 262 ]) ;
224 sp:where ([ sp:object 263 sp:where ([ sp:object
225 [ sp:varName "productVolumeRef"^^xsd:string 264 [ sp:varName "productVolumeRef"^^xsd:string
...@@ -246,319 +285,61 @@ There are several different ways of specifying the time of the period. Temporari ...@@ -246,319 +285,61 @@ There are several different ways of specifying the time of the period. Temporari
246 [ sp:varName "facilityRef"^^xsd:string 285 [ sp:varName "facilityRef"^^xsd:string
247 ] 286 ]
248 ] [ sp:object 287 ] [ sp:object
249 - [ sp:varName "productRef"^^xsd:string 288 + [ sp:varName "flowDirection"^^xsd:string
250 ] ; 289 ] ;
251 - sp:predicate <http://www.epim.no/schemas/mprml/1#productRef> ; 290 + sp:predicate <http://www.epim.no/schemas/mprml/1#directionRef> ;
252 sp:subject 291 sp:subject
253 [ sp:varName "flowRef"^^xsd:string 292 [ sp:varName "flowRef"^^xsd:string
254 ] 293 ]
255 ] [ sp:object 294 ] [ sp:object
256 - [ sp:varName "productRef"^^xsd:string 295 + [ sp:varName "relatedFacilityRef"^^xsd:string
257 - ] ;
258 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
259 - sp:subject
260 - [ sp:varName "productFlowToDate"^^xsd:string
261 - ]
262 - ] [ sp:object
263 - [ sp:varName "periodRef"^^xsd:string
264 ] ; 296 ] ;
265 - sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ; 297 + sp:predicate <http://www.epim.no/schemas/mprml/1#relatedFacilityRef> ;
266 sp:subject 298 sp:subject
267 - [ sp:varName "productRef"^^xsd:string 299 + [ sp:varName "flowRef"^^xsd:string
268 ] 300 ]
269 ] [ sp:object 301 ] [ sp:object
270 - [ sp:varName "periodKindRef"^^xsd:string 302 + [ sp:varName "relatedFacilityKind"^^xsd:string
271 ] ; 303 ] ;
272 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 304 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
273 sp:subject 305 sp:subject
274 - [ sp:varName "periodRef"^^xsd:string 306 + [ sp:varName "relatedFacilityRef"^^xsd:string
275 ] 307 ]
276 - ] [ rdf:type sp:Optional ;
277 - sp:elements ([ sp:object
278 - [ sp:varName "dTimEnd"^^xsd:string
279 - ] ;
280 - sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
281 - sp:subject
282 - [ sp:varName "periodRef"^^xsd:string
283 - ]
284 - ])
285 - ] [ rdf:type sp:Optional ;
286 - sp:elements ([ sp:object
287 - [ sp:varName "date"^^xsd:string
288 - ] ;
289 - sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
290 - sp:subject
291 - [ sp:varName "periodRef"^^xsd:string
292 - ]
293 - ])
294 - ] [ rdf:type sp:Optional ;
295 - sp:elements ([ sp:object
296 - [ sp:varName "dTimStart"^^xsd:string
297 - ] ;
298 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
299 - sp:subject
300 - [ sp:varName "periodRef"^^xsd:string
301 - ]
302 - ] [ rdf:type sp:Optional ;
303 - sp:elements ([ sp:object
304 - [ sp:varName "dTimEnd"^^xsd:string
305 - ] ;
306 - sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
307 - sp:subject
308 - [ sp:varName "periodRef"^^xsd:string
309 - ]
310 - ])
311 - ])
312 - ] [ rdf:type sp:Optional ;
313 - sp:elements ([ sp:object
314 - [ sp:varName "dateStart"^^xsd:string
315 - ] ;
316 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
317 - sp:subject
318 - [ sp:varName "periodRef"^^xsd:string
319 - ]
320 - ] [ rdf:type sp:Optional ;
321 - sp:elements ([ sp:object
322 - [ sp:varName "dateEnd"^^xsd:string
323 - ] ;
324 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
325 - sp:subject
326 - [ sp:varName "periodRef"^^xsd:string
327 - ]
328 - ])
329 - ])
330 - ] [ rdf:type sp:Bind ;
331 - sp:expression
332 - [ rdf:type ep-mpr-spin-lib:selectTemporalPartOfAFlowDurationType ;
333 - sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
334 - ]
335 - ] ;
336 - sp:variable
337 - [ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string
338 - ]
339 - ])
340 - ] ;
341 - spin:rule
342 - [ rdf:type sp:Construct ;
343 - rdfs:comment "STEP 20106 This step (not in the DPR) is there because there can be multiple volumeValue elements"^^xsd:string ;
344 - sp:templates ([ sp:object _:b3 ;
345 - sp:predicate
346 - [ sp:varName "relationshipToMeasure"^^xsd:string
347 - ] ;
348 - sp:subject
349 - [ sp:varName "temporalPartOfAProductFlow"^^xsd:string
350 - ]
351 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
352 - sp:predicate rdf:type ;
353 - sp:subject _:b3
354 - ] [ sp:object _:b4 ;
355 - sp:predicate rdf:type ;
356 - sp:subject _:b3
357 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
358 - sp:predicate rdf:type ;
359 - sp:subject _:b4
360 - ] [ sp:object
361 - [ sp:varName "realVolume"^^xsd:string
362 - ] ;
363 - sp:predicate
364 - [ sp:varName "volumeScale"^^xsd:string
365 - ] ;
366 - sp:subject _:b4
367 - ] [ sp:object _:b5 ;
368 - sp:predicate rdf:type ;
369 - sp:subject _:b3
370 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
371 - sp:predicate rdf:type ;
372 - sp:subject _:b5
373 - ] [ sp:object
374 - [ sp:varName "realTemp"^^xsd:string
375 - ] ;
376 - sp:predicate
377 - [ sp:varName "temperatureScale"^^xsd:string
378 - ] ;
379 - sp:subject _:b5
380 - ] [ sp:object _:b6 ;
381 - sp:predicate rdf:type ;
382 - sp:subject _:b3
383 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
384 - sp:predicate rdf:type ;
385 - sp:subject _:b6
386 - ] [ sp:object
387 - [ sp:varName "realPres"^^xsd:string
388 - ] ;
389 - sp:predicate
390 - [ sp:varName "pressureScale"^^xsd:string
391 - ] ;
392 - sp:subject _:b6
393 - ]) ;
394 - sp:where ([ sp:object
395 - [ sp:varName "productVolumeRef"^^xsd:string
396 - ] ;
397 - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
398 - sp:subject spin:_this
399 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
400 - sp:predicate rdf:type ;
401 - sp:subject
402 - [ sp:varName "productVolumeRef"^^xsd:string
403 - ]
404 - ] [ sp:object
405 - [ sp:varName "facilityRef"^^xsd:string
406 - ] ;
407 - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
408 - sp:subject
409 - [ sp:varName "productVolumeRef"^^xsd:string
410 - ]
411 - ] [ sp:object
412 - [ sp:varName "flowRef"^^xsd:string
413 - ] ;
414 - sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ;
415 - sp:subject
416 - [ sp:varName "facilityRef"^^xsd:string
417 - ]
418 - ] [ sp:object
419 - [ sp:varName "productRef"^^xsd:string
420 - ] ;
421 - sp:predicate <http://www.epim.no/schemas/mprml/1#productRef> ;
422 - sp:subject
423 - [ sp:varName "flowRef"^^xsd:string
424 - ]
425 - ] [ sp:object
426 - [ sp:varName "productRef"^^xsd:string
427 - ] ;
428 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
429 - sp:subject
430 - [ sp:varName "productFlowToDate"^^xsd:string
431 - ]
432 - ] [ sp:object
433 - [ sp:varName "periodRef"^^xsd:string
434 - ] ;
435 - sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ;
436 - sp:subject
437 - [ sp:varName "productRef"^^xsd:string
438 - ]
439 - ] [ sp:object
440 - [ sp:varName "periodKindRef"^^xsd:string
441 - ] ;
442 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
443 - sp:subject
444 - [ sp:varName "periodRef"^^xsd:string
445 - ]
446 - ] [ sp:object
447 - [ sp:varName "periodRef"^^xsd:string
448 - ] ;
449 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
450 - sp:subject
451 - [ sp:varName "temporalPartOfAProductFlow"^^xsd:string
452 - ]
453 - ] [ sp:object
454 - [ sp:varName "volumeValueRef"^^xsd:string
455 - ] ;
456 - sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ;
457 - sp:subject
458 - [ sp:varName "periodRef"^^xsd:string
459 - ]
460 - ] [ sp:object
461 - [ sp:varName "volumeRef"^^xsd:string
462 - ] ;
463 - sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ;
464 - sp:subject
465 - [ sp:varName "volumeValueRef"^^xsd:string
466 - ]
467 - ] [ sp:object
468 - [ sp:varName "realVolume"^^xsd:string
469 - ] ;
470 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
471 - sp:subject
472 - [ sp:varName "volumeRef"^^xsd:string
473 - ]
474 - ] [ sp:object
475 - [ sp:varName "uomVolume"^^xsd:string
476 - ] ;
477 - sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ;
478 - sp:subject
479 - [ sp:varName "volumeRef"^^xsd:string
480 - ]
481 - ] [ rdf:type sp:Optional ;
482 - sp:elements ([ sp:object
483 - [ sp:varName "tempRef"^^xsd:string
484 - ] ;
485 - sp:predicate <http://www.epim.no/schemas/mprml/1#tempRef> ;
486 - sp:subject
487 - [ sp:varName "volumeValueRef"^^xsd:string
488 - ]
489 - ] [ sp:object
490 - [ sp:varName "realTemp"^^xsd:string
491 - ] ;
492 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
493 - sp:subject
494 - [ sp:varName "tempRef"^^xsd:string
495 - ]
496 - ] [ sp:object
497 - [ sp:varName "uomTemp"^^xsd:string
498 - ] ;
499 - sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ;
500 - sp:subject
501 - [ sp:varName "tempRef"^^xsd:string
502 - ]
503 - ])
504 - ] [ rdf:type sp:Optional ;
505 - sp:elements ([ sp:object
506 - [ sp:varName "presRef"^^xsd:string
507 - ] ;
508 - sp:predicate <http://www.epim.no/schemas/mprml/1#presRef> ;
509 - sp:subject
510 - [ sp:varName "volumeValueRef"^^xsd:string
511 - ]
512 - ] [ sp:object
513 - [ sp:varName "realPres"^^xsd:string
514 - ] ;
515 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
516 - sp:subject
517 - [ sp:varName "presRef"^^xsd:string
518 - ]
519 - ] [ sp:object
520 - [ sp:varName "uomPres"^^xsd:string
521 - ] ;
522 - sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ;
523 - sp:subject
524 - [ sp:varName "presRef"^^xsd:string
525 - ]
526 - ])
527 ] [ rdf:type sp:Bind ; 308 ] [ rdf:type sp:Bind ;
528 sp:expression 309 sp:expression
529 - [ rdf:type ep-mpr-spin-lib:selectRelationshipToMeasure ; 310 + [ rdf:type afn:localname ;
530 - sp:arg1 [ sp:varName "periodKindRef"^^xsd:string 311 + sp:arg1 [ sp:varName "flowRef"^^xsd:string
531 ] 312 ]
532 ] ; 313 ] ;
533 sp:variable 314 sp:variable
534 - [ sp:varName "relationshipToMeasure"^^xsd:string 315 + [ sp:varName "localname"^^xsd:string
535 ] 316 ]
536 ] [ rdf:type sp:Bind ; 317 ] [ rdf:type sp:Bind ;
537 sp:expression 318 sp:expression
538 - [ rdf:type ep-mpr-spin-lib:selectVolumeScale ; 319 + [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ;
539 - sp:arg1 [ sp:varName "uomVolume"^^xsd:string 320 + sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string
540 ] 321 ]
541 ] ; 322 ] ;
542 sp:variable 323 sp:variable
543 - [ sp:varName "volumeScale"^^xsd:string 324 + [ sp:varName "productionFlow"^^xsd:string
544 ] 325 ]
545 ] [ rdf:type sp:Bind ; 326 ] [ rdf:type sp:Bind ;
546 sp:expression 327 sp:expression
547 - [ rdf:type ep-mpr-spin-lib:selectTemperatureScale ; 328 + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
548 - sp:arg1 [ sp:varName "uomTemp"^^xsd:string 329 + sp:arg1 [ sp:varName "relatedFacilityKind"^^xsd:string
549 ] 330 ]
550 ] ; 331 ] ;
551 sp:variable 332 sp:variable
552 - [ sp:varName "temperatureScale"^^xsd:string 333 + [ sp:varName "relatedFacilityType"^^xsd:string
553 ] 334 ]
554 ] [ rdf:type sp:Bind ; 335 ] [ rdf:type sp:Bind ;
555 sp:expression 336 sp:expression
556 - [ rdf:type ep-mpr-spin-lib:selectPressureScale ; 337 + [ rdf:type ep-mpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ;
557 - sp:arg1 [ sp:varName "uomPres"^^xsd:string 338 + sp:arg1 [ sp:varName "flowDirection"^^xsd:string
558 ] 339 ]
559 ] ; 340 ] ;
560 sp:variable 341 sp:variable
561 - [ sp:varName "pressureScale"^^xsd:string 342 + [ sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string
562 ] 343 ]
563 ]) 344 ])
564 ] ; 345 ] ;
...@@ -720,71 +501,178 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil ...@@ -720,71 +501,178 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil
720 ] ; 501 ] ;
721 spin:rule 502 spin:rule
722 [ rdf:type sp:Construct ; 503 [ rdf:type sp:Construct ;
723 - rdfs:comment "STEP 20103c record the related facility - only its kind is specified"^^xsd:string ; 504 + rdfs:comment """STEP 20103a record the flows
505 +The corresponding STEP for the DPR relies upon a flow name. For the MPR, the flow name is optional :(.
506 +The corresponding STEP for the DPR relies upon a direction, to link the flow to the productionFacility. Her a neutral link has been provided as well. Without a direction the relationship will be the same as for a relatedFacility."""^^xsd:string ;
724 sp:templates ([ sp:object 507 sp:templates ([ sp:object
725 - [ sp:varName "relatedFacility"^^xsd:string 508 + [ sp:varName "productionFacility"^^xsd:string
726 ] ; 509 ] ;
727 sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; 510 sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
728 sp:subject 511 sp:subject
729 [ sp:varName "productionFlow"^^xsd:string 512 [ sp:varName "productionFlow"^^xsd:string
730 ] 513 ]
731 - ] [ sp:object _:b7 ; 514 + ] [ sp:object
515 + [ sp:varName "productionFacility"^^xsd:string
516 + ] ;
732 sp:predicate 517 sp:predicate
733 - [ sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string 518 + [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string
734 ] ; 519 ] ;
735 sp:subject 520 sp:subject
736 [ sp:varName "productionFlow"^^xsd:string 521 [ sp:varName "productionFlow"^^xsd:string
737 ] 522 ]
738 - ] [ sp:object 523 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
739 - [ sp:varName "relatedFacilityType"^^xsd:string
740 - ] ;
741 - sp:predicate rdf:type ;
742 - sp:subject _:b7
743 - ]) ;
744 - sp:where ([ sp:object
745 - [ sp:varName "productVolumeRef"^^xsd:string
746 - ] ;
747 - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
748 - sp:subject spin:_this
749 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
750 sp:predicate rdf:type ; 524 sp:predicate rdf:type ;
751 sp:subject 525 sp:subject
752 - [ sp:varName "productVolumeRef"^^xsd:string 526 + [ sp:varName "productionFlow"^^xsd:string
753 ] 527 ]
754 ] [ sp:object 528 ] [ sp:object
755 - [ sp:varName "facilityRef"^^xsd:string 529 + [ sp:varName "productionFlowPurposeType"^^xsd:string
756 ] ; 530 ] ;
757 - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; 531 + sp:predicate rdf:type ;
758 sp:subject 532 sp:subject
759 - [ sp:varName "productVolumeRef"^^xsd:string 533 + [ sp:varName "productionFlow"^^xsd:string
534 + ]
535 + ] [ sp:object
536 + [ sp:varName "productionFlowDefinitionType"^^xsd:string
537 + ] ;
538 + sp:predicate rdf:type ;
539 + sp:subject
540 + [ sp:varName "productionFlow"^^xsd:string
541 + ]
542 + ] [ sp:object
543 + [ sp:varName "flowName"^^xsd:string
544 + ] ;
545 + sp:predicate rdfs:label ;
546 + sp:subject
547 + [ sp:varName "productionFlow"^^xsd:string
548 + ]
549 + ] [ sp:object
550 + [ sp:varName "productionFlow"^^xsd:string
551 + ] ;
552 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
553 + sp:subject _:b27
554 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
555 + sp:predicate rdf:type ;
556 + sp:subject _:b27
557 + ] [ sp:object _:b27 ;
558 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
559 + sp:subject
560 + [ sp:varName "productionFlowsToDate"^^xsd:string
760 ] 561 ]
761 ] [ sp:object 562 ] [ sp:object
762 [ sp:varName "flowRef"^^xsd:string 563 [ sp:varName "flowRef"^^xsd:string
763 ] ; 564 ] ;
764 - sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; 565 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
566 + sp:subject _:b27
567 + ]) ;
568 + sp:where ([ sp:object
569 + [ sp:varName "productVolumeRef"^^xsd:string
570 + ] ;
571 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
572 + sp:subject spin:_this
573 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
574 + sp:predicate rdf:type ;
575 + sp:subject
576 + [ sp:varName "productVolumeRef"^^xsd:string
577 + ]
578 + ] [ sp:object
579 + [ sp:varName "productVolumeRef"^^xsd:string
580 + ] ;
581 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
765 sp:subject 582 sp:subject
583 + [ sp:varName "reportingPeriodProductionFlows"^^xsd:string
584 + ]
585 + ] [ sp:object
586 + [ sp:varName "productionFlowsToDate"^^xsd:string
587 + ] ;
588 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
589 + sp:subject
590 + [ sp:varName "reportingPeriodProductionFlows"^^xsd:string
591 + ]
592 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
593 + sp:predicate rdf:type ;
594 + sp:subject
595 + [ sp:varName "productionFlowsToDate"^^xsd:string
596 + ]
597 + ] [ sp:object
766 [ sp:varName "facilityRef"^^xsd:string 598 [ sp:varName "facilityRef"^^xsd:string
599 + ] ;
600 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
601 + sp:subject
602 + [ sp:varName "productVolumeRef"^^xsd:string
767 ] 603 ]
768 ] [ sp:object 604 ] [ sp:object
769 - [ sp:varName "flowDirection"^^xsd:string 605 + [ sp:varName "facilityNameRef"^^xsd:string
770 ] ; 606 ] ;
771 - sp:predicate <http://www.epim.no/schemas/mprml/1#directionRef> ; 607 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
772 sp:subject 608 sp:subject
773 - [ sp:varName "flowRef"^^xsd:string 609 + [ sp:varName "facilityRef"^^xsd:string
774 ] 610 ]
775 ] [ sp:object 611 ] [ sp:object
776 - [ sp:varName "relatedFacilityRef"^^xsd:string 612 + [ sp:varName "facilityName"^^xsd:string
777 ] ; 613 ] ;
778 - sp:predicate <http://www.epim.no/schemas/mprml/1#relatedFacilityRef> ; 614 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
779 sp:subject 615 sp:subject
616 + [ sp:varName "facilityNameRef"^^xsd:string
617 + ]
618 + ] [ sp:object
780 [ sp:varName "flowRef"^^xsd:string 619 [ sp:varName "flowRef"^^xsd:string
620 + ] ;
621 + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ;
622 + sp:subject
623 + [ sp:varName "facilityRef"^^xsd:string
781 ] 624 ]
625 + ] [ rdf:type sp:Optional ;
626 + sp:elements ([ sp:object
627 + [ sp:varName "flowName"^^xsd:string
628 + ] ;
629 + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
630 + sp:subject
631 + [ sp:varName "flowRef"^^xsd:string
632 + ]
633 + ])
782 ] [ sp:object 634 ] [ sp:object
783 - [ sp:varName "relatedFacilityKind"^^xsd:string 635 + [ sp:varName "flowKind"^^xsd:string
784 ] ; 636 ] ;
785 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 637 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
786 sp:subject 638 sp:subject
787 - [ sp:varName "relatedFacilityRef"^^xsd:string 639 + [ sp:varName "flowRef"^^xsd:string
640 + ]
641 + ] [ rdf:type sp:Optional ;
642 + sp:elements ([ sp:object
643 + [ sp:varName "flowDirection"^^xsd:string
644 + ] ;
645 + sp:predicate <http://www.epim.no/schemas/mprml/1#directionRef> ;
646 + sp:subject
647 + [ sp:varName "flowRef"^^xsd:string
648 + ]
649 + ])
650 + ] [ rdf:type sp:Optional ;
651 + sp:elements ([ sp:object
652 + [ sp:varName "flowQualifier"^^xsd:string
653 + ] ;
654 + sp:predicate <http://www.epim.no/schemas/mprml/1#qualifierRef> ;
655 + sp:subject
656 + [ sp:varName "flowRef"^^xsd:string
657 + ]
658 + ])
659 + ] [ rdf:type sp:Bind ;
660 + sp:expression
661 + [ rdf:type ep-spin-lib:normalizeString ;
662 + sp:arg1 [ sp:varName "facilityName"^^xsd:string
663 + ]
664 + ] ;
665 + sp:variable
666 + [ sp:varName "normalizedFacilityName"^^xsd:string
667 + ]
668 + ] [ rdf:type sp:Bind ;
669 + sp:expression
670 + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
671 + sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string
672 + ]
673 + ] ;
674 + sp:variable
675 + [ sp:varName "productionFacility"^^xsd:string
788 ] 676 ]
789 ] [ rdf:type sp:Bind ; 677 ] [ rdf:type sp:Bind ;
790 sp:expression 678 sp:expression
...@@ -798,7 +686,7 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil ...@@ -798,7 +686,7 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil
798 ] [ rdf:type sp:Bind ; 686 ] [ rdf:type sp:Bind ;
799 sp:expression 687 sp:expression
800 [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; 688 [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ;
801 - sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string 689 + sp:arg1 [ sp:varName "localname"^^xsd:string
802 ] 690 ]
803 ] ; 691 ] ;
804 sp:variable 692 sp:variable
...@@ -806,40 +694,66 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil ...@@ -806,40 +694,66 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil
806 ] 694 ]
807 ] [ rdf:type sp:Bind ; 695 ] [ rdf:type sp:Bind ;
808 sp:expression 696 sp:expression
809 - [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ; 697 + [ rdf:type ep-mpr-spin-lib:selectProductionFlowPurposeType ;
810 - sp:arg1 [ sp:varName "relatedFacilityKind"^^xsd:string 698 + sp:arg1 [ sp:varName "flowKind"^^xsd:string
811 ] 699 ]
812 ] ; 700 ] ;
813 sp:variable 701 sp:variable
814 - [ sp:varName "relatedFacilityType"^^xsd:string 702 + [ sp:varName "productionFlowPurposeType"^^xsd:string
815 ] 703 ]
816 ] [ rdf:type sp:Bind ; 704 ] [ rdf:type sp:Bind ;
817 sp:expression 705 sp:expression
818 - [ rdf:type ep-mpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ; 706 + [ rdf:type ep-mpr-spin-lib:selectProductionFlowDefinitionType ;
707 + sp:arg1 [ sp:varName "flowQualifier"^^xsd:string
708 + ]
709 + ] ;
710 + sp:variable
711 + [ sp:varName "productionFlowDefinitionType"^^xsd:string
712 + ]
713 + ] [ rdf:type sp:Bind ;
714 + sp:expression
715 + [ rdf:type ep-mpr-spin-lib:selectProductionFlowDirectionRelationshipType ;
819 sp:arg1 [ sp:varName "flowDirection"^^xsd:string 716 sp:arg1 [ sp:varName "flowDirection"^^xsd:string
820 ] 717 ]
821 ] ; 718 ] ;
822 sp:variable 719 sp:variable
823 - [ sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string 720 + [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string
824 ] 721 ]
825 ]) 722 ])
826 ] ; 723 ] ;
827 spin:rule 724 spin:rule
828 [ rdf:type sp:Construct ; 725 [ rdf:type sp:Construct ;
829 - rdfs:comment """STEP 20102 Record the Facility that has the flows 726 + rdfs:comment """STEP 20105 record the temporal parts of product flows
830 -Nothing is done with the namingSystem!"""^^xsd:string ; 727 +period/kind is optional, but is assumed mandatory here. This is because it is not clear how to obtain the default value which is the period of the report.
831 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; 728 +There are several different ways of specifying the time of the period. Temporarily, only dTimStart and dTimEnd are supported."""^^xsd:string ;
729 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductFlow> ;
832 sp:predicate rdf:type ; 730 sp:predicate rdf:type ;
833 - sp:subject 731 + sp:subject _:b28
834 - [ sp:varName "productionFacility"^^xsd:string
835 - ]
836 ] [ sp:object 732 ] [ sp:object
837 - [ sp:varName "productionFacilityType"^^xsd:string 733 + [ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string
838 ] ; 734 ] ;
839 sp:predicate rdf:type ; 735 sp:predicate rdf:type ;
840 - sp:subject 736 + sp:subject _:b28
841 - [ sp:varName "productionFacility"^^xsd:string 737 + ] [ sp:object
842 - ] 738 + [ sp:varName "productFlowToDate"^^xsd:string
739 + ] ;
740 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
741 + sp:subject _:b28
742 + ] [ sp:object
743 + [ sp:varName "dTimStart"^^xsd:string
744 + ] ;
745 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
746 + sp:subject _:b28
747 + ] [ sp:object
748 + [ sp:varName "dTimEnd"^^xsd:string
749 + ] ;
750 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
751 + sp:subject _:b28
752 + ] [ sp:object
753 + [ sp:varName "periodRef"^^xsd:string
754 + ] ;
755 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
756 + sp:subject _:b28
843 ]) ; 757 ]) ;
844 sp:where ([ sp:object 758 sp:where ([ sp:object
845 [ sp:varName "productVolumeRef"^^xsd:string 759 [ sp:varName "productVolumeRef"^^xsd:string
...@@ -859,131 +773,146 @@ Nothing is done with the namingSystem!"""^^xsd:string ; ...@@ -859,131 +773,146 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
859 [ sp:varName "productVolumeRef"^^xsd:string 773 [ sp:varName "productVolumeRef"^^xsd:string
860 ] 774 ]
861 ] [ sp:object 775 ] [ sp:object
862 - [ sp:varName "facilityNameRef"^^xsd:string 776 + [ sp:varName "flowRef"^^xsd:string
863 ] ; 777 ] ;
864 - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; 778 + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ;
865 sp:subject 779 sp:subject
866 [ sp:varName "facilityRef"^^xsd:string 780 [ sp:varName "facilityRef"^^xsd:string
867 ] 781 ]
868 ] [ sp:object 782 ] [ sp:object
869 - [ sp:varName "facilityName"^^xsd:string 783 + [ sp:varName "productRef"^^xsd:string
870 ] ; 784 ] ;
871 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 785 + sp:predicate <http://www.epim.no/schemas/mprml/1#productRef> ;
872 sp:subject 786 sp:subject
873 - [ sp:varName "facilityNameRef"^^xsd:string 787 + [ sp:varName "flowRef"^^xsd:string
788 + ]
789 + ] [ sp:object
790 + [ sp:varName "productRef"^^xsd:string
791 + ] ;
792 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
793 + sp:subject
794 + [ sp:varName "productFlowToDate"^^xsd:string
795 + ]
796 + ] [ sp:object
797 + [ sp:varName "periodRef"^^xsd:string
798 + ] ;
799 + sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ;
800 + sp:subject
801 + [ sp:varName "productRef"^^xsd:string
802 + ]
803 + ] [ sp:object
804 + [ sp:varName "periodKindRef"^^xsd:string
805 + ] ;
806 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
807 + sp:subject
808 + [ sp:varName "periodRef"^^xsd:string
874 ] 809 ]
875 ] [ rdf:type sp:Optional ; 810 ] [ rdf:type sp:Optional ;
876 sp:elements ([ sp:object 811 sp:elements ([ sp:object
877 - [ sp:varName "facilityNamingSystem"^^xsd:string 812 + [ sp:varName "dTimEnd"^^xsd:string
878 ] ; 813 ] ;
879 - sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; 814 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
880 sp:subject 815 sp:subject
881 - [ sp:varName "facilityNameRef"^^xsd:string 816 + [ sp:varName "periodRef"^^xsd:string
882 ] 817 ]
883 ]) 818 ])
884 ] [ rdf:type sp:Optional ; 819 ] [ rdf:type sp:Optional ;
885 sp:elements ([ sp:object 820 sp:elements ([ sp:object
886 - [ sp:varName "facilityKind"^^xsd:string 821 + [ sp:varName "date"^^xsd:string
887 ] ; 822 ] ;
888 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 823 + sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
889 sp:subject 824 sp:subject
890 - [ sp:varName "facilityNameRef"^^xsd:string 825 + [ sp:varName "periodRef"^^xsd:string
891 ] 826 ]
892 ]) 827 ])
828 + ] [ rdf:type sp:Optional ;
829 + sp:elements ([ sp:object
830 + [ sp:varName "dTimStart"^^xsd:string
831 + ] ;
832 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
833 + sp:subject
834 + [ sp:varName "periodRef"^^xsd:string
835 + ]
836 + ] [ rdf:type sp:Optional ;
837 + sp:elements ([ sp:object
838 + [ sp:varName "dTimEnd"^^xsd:string
839 + ] ;
840 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
841 + sp:subject
842 + [ sp:varName "periodRef"^^xsd:string
843 + ]
844 + ])
845 + ])
846 + ] [ rdf:type sp:Optional ;
847 + sp:elements ([ sp:object
848 + [ sp:varName "dateStart"^^xsd:string
849 + ] ;
850 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
851 + sp:subject
852 + [ sp:varName "periodRef"^^xsd:string
853 + ]
854 + ] [ rdf:type sp:Optional ;
855 + sp:elements ([ sp:object
856 + [ sp:varName "dateEnd"^^xsd:string
857 + ] ;
858 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
859 + sp:subject
860 + [ sp:varName "periodRef"^^xsd:string
861 + ]
862 + ])
863 + ])
893 ] [ rdf:type sp:Bind ; 864 ] [ rdf:type sp:Bind ;
894 sp:expression 865 sp:expression
895 - [ rdf:type ep-spin-lib:normalizeString ; 866 + [ rdf:type ep-mpr-spin-lib:selectTemporalPartOfAFlowDurationType ;
896 - sp:arg1 [ sp:varName "facilityName"^^xsd:string 867 + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
897 - ]
898 - ] ;
899 - sp:variable
900 - [ sp:varName "normalizedFacilityName"^^xsd:string
901 - ]
902 - ] [ rdf:type sp:Bind ;
903 - sp:expression
904 - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
905 - sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string
906 - ]
907 - ] ;
908 - sp:variable
909 - [ sp:varName "productionFacility"^^xsd:string
910 - ]
911 - ] [ rdf:type sp:Bind ;
912 - sp:expression
913 - [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
914 - sp:arg1 [ sp:varName "facilityKind"^^xsd:string
915 ] 868 ]
916 ] ; 869 ] ;
917 sp:variable 870 sp:variable
918 - [ sp:varName "productionFacilityType"^^xsd:string 871 + [ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string
919 ] 872 ]
920 ]) 873 ])
921 ] ; 874 ] ;
922 spin:rule 875 spin:rule
923 [ rdf:type sp:Construct ; 876 [ rdf:type sp:Construct ;
924 - rdfs:comment """STEP 20103a record the flows 877 + rdfs:comment """STEP 20104 record the product flows - unlike for the DPR the flow name is not used to construct the ProductionFlow URI
925 -The corresponding STEP for the DPR relies upon a flow name. For the MPR, the flow name is optional :(. 878 +namingSystem not processed"""^^xsd:string ;
926 -The corresponding STEP for the DPR relies upon a direction, to link the flow to the productionFacility. Her a neutral link has been provided as well. Without a direction the relationship will be the same as for a relatedFacility."""^^xsd:string ;
927 sp:templates ([ sp:object 879 sp:templates ([ sp:object
928 - [ sp:varName "productionFacility"^^xsd:string 880 + [ sp:varName "productFlow"^^xsd:string
929 - ] ;
930 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
931 - sp:subject
932 - [ sp:varName "productionFlow"^^xsd:string
933 - ]
934 - ] [ sp:object
935 - [ sp:varName "productionFacility"^^xsd:string
936 - ] ;
937 - sp:predicate
938 - [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string
939 ] ; 881 ] ;
882 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
940 sp:subject 883 sp:subject
941 [ sp:varName "productionFlow"^^xsd:string 884 [ sp:varName "productionFlow"^^xsd:string
942 ] 885 ]
943 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; 886 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
944 - sp:predicate rdf:type ;
945 - sp:subject
946 - [ sp:varName "productionFlow"^^xsd:string
947 - ]
948 - ] [ sp:object
949 - [ sp:varName "productionFlowPurposeType"^^xsd:string
950 - ] ;
951 sp:predicate rdf:type ; 887 sp:predicate rdf:type ;
952 sp:subject 888 sp:subject
953 - [ sp:varName "productionFlow"^^xsd:string 889 + [ sp:varName "productFlow"^^xsd:string
954 ] 890 ]
955 ] [ sp:object 891 ] [ sp:object
956 - [ sp:varName "productionFlowDefinitionType"^^xsd:string 892 + [ sp:varName "productType"^^xsd:string
957 ] ; 893 ] ;
958 sp:predicate rdf:type ; 894 sp:predicate rdf:type ;
959 sp:subject 895 sp:subject
960 - [ sp:varName "productionFlow"^^xsd:string 896 + [ sp:varName "productFlow"^^xsd:string
961 - ]
962 - ] [ sp:object
963 - [ sp:varName "flowName"^^xsd:string
964 - ] ;
965 - sp:predicate rdfs:label ;
966 - sp:subject
967 - [ sp:varName "productionFlow"^^xsd:string
968 ] 897 ]
969 ] [ sp:object 898 ] [ sp:object
970 - [ sp:varName "productionFlow"^^xsd:string 899 + [ sp:varName "productFlow"^^xsd:string
971 ] ; 900 ] ;
972 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 901 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
973 - sp:subject _:b8 902 + sp:subject _:b29
974 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; 903 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowToDate> ;
975 sp:predicate rdf:type ; 904 sp:predicate rdf:type ;
976 - sp:subject _:b8 905 + sp:subject _:b29
977 - ] [ sp:object _:b8 ; 906 + ] [ sp:object _:b29 ;
978 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; 907 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
979 sp:subject 908 sp:subject
980 - [ sp:varName "productionFlowsToDate"^^xsd:string 909 + [ sp:varName "productionFlowToDate"^^xsd:string
981 ] 910 ]
982 ] [ sp:object 911 ] [ sp:object
983 - [ sp:varName "flowRef"^^xsd:string 912 + [ sp:varName "productRef"^^xsd:string
984 ] ; 913 ] ;
985 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 914 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
986 - sp:subject _:b8 915 + sp:subject _:b29
987 ]) ; 916 ]) ;
988 sp:where ([ sp:object 917 sp:where ([ sp:object
989 [ sp:varName "productVolumeRef"^^xsd:string 918 [ sp:varName "productVolumeRef"^^xsd:string
...@@ -996,153 +925,179 @@ The corresponding STEP for the DPR relies upon a direction, to link the flow to ...@@ -996,153 +925,179 @@ The corresponding STEP for the DPR relies upon a direction, to link the flow to
996 [ sp:varName "productVolumeRef"^^xsd:string 925 [ sp:varName "productVolumeRef"^^xsd:string
997 ] 926 ]
998 ] [ sp:object 927 ] [ sp:object
999 - [ sp:varName "productVolumeRef"^^xsd:string 928 + [ sp:varName "facilityRef"^^xsd:string
1000 ] ; 929 ] ;
1001 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 930 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
1002 sp:subject 931 sp:subject
1003 - [ sp:varName "reportingPeriodProductionFlows"^^xsd:string 932 + [ sp:varName "productVolumeRef"^^xsd:string
1004 ] 933 ]
1005 ] [ sp:object 934 ] [ sp:object
1006 - [ sp:varName "productionFlowsToDate"^^xsd:string 935 + [ sp:varName "productVolumeRef"^^xsd:string
1007 ] ; 936 ] ;
1008 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 937 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
1009 - sp:subject
1010 - [ sp:varName "reportingPeriodProductionFlows"^^xsd:string
1011 - ]
1012 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ;
1013 - sp:predicate rdf:type ;
1014 sp:subject 938 sp:subject
1015 [ sp:varName "productionFlowsToDate"^^xsd:string 939 [ sp:varName "productionFlowsToDate"^^xsd:string
1016 ] 940 ]
1017 ] [ sp:object 941 ] [ sp:object
1018 - [ sp:varName "facilityRef"^^xsd:string 942 + [ sp:varName "flowRef"^^xsd:string
1019 ] ; 943 ] ;
1020 - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; 944 + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ;
1021 sp:subject 945 sp:subject
1022 - [ sp:varName "productVolumeRef"^^xsd:string 946 + [ sp:varName "facilityRef"^^xsd:string
1023 ] 947 ]
1024 ] [ sp:object 948 ] [ sp:object
1025 - [ sp:varName "facilityNameRef"^^xsd:string 949 + [ sp:varName "productRef"^^xsd:string
1026 ] ; 950 ] ;
1027 - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; 951 + sp:predicate <http://www.epim.no/schemas/mprml/1#productRef> ;
1028 sp:subject 952 sp:subject
1029 - [ sp:varName "facilityRef"^^xsd:string 953 + [ sp:varName "flowRef"^^xsd:string
1030 ] 954 ]
1031 ] [ sp:object 955 ] [ sp:object
1032 - [ sp:varName "facilityName"^^xsd:string 956 + [ sp:varName "flowRef"^^xsd:string
1033 ] ; 957 ] ;
1034 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 958 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
1035 sp:subject 959 sp:subject
1036 - [ sp:varName "facilityNameRef"^^xsd:string 960 + [ sp:varName "productionFlowToDate"^^xsd:string
1037 ] 961 ]
1038 ] [ sp:object 962 ] [ sp:object
1039 - [ sp:varName "flowRef"^^xsd:string 963 + [ sp:varName "productionFlow"^^xsd:string
1040 ] ; 964 ] ;
1041 - sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; 965 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1042 sp:subject 966 sp:subject
1043 - [ sp:varName "facilityRef"^^xsd:string 967 + [ sp:varName "productionFlowToDate"^^xsd:string
1044 ] 968 ]
1045 - ] [ rdf:type sp:Optional ;
1046 - sp:elements ([ sp:object
1047 - [ sp:varName "flowName"^^xsd:string
1048 - ] ;
1049 - sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
1050 - sp:subject
1051 - [ sp:varName "flowRef"^^xsd:string
1052 - ]
1053 - ])
1054 ] [ sp:object 969 ] [ sp:object
1055 - [ sp:varName "flowKind"^^xsd:string 970 + [ sp:varName "productKind"^^xsd:string
1056 ] ; 971 ] ;
1057 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 972 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1058 sp:subject 973 sp:subject
1059 - [ sp:varName "flowRef"^^xsd:string 974 + [ sp:varName "productRef"^^xsd:string
1060 ] 975 ]
1061 ] [ rdf:type sp:Optional ; 976 ] [ rdf:type sp:Optional ;
1062 sp:elements ([ sp:object 977 sp:elements ([ sp:object
1063 - [ sp:varName "flowDirection"^^xsd:string 978 + [ sp:varName "productNameRef"^^xsd:string
1064 ] ; 979 ] ;
1065 - sp:predicate <http://www.epim.no/schemas/mprml/1#directionRef> ; 980 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
1066 sp:subject 981 sp:subject
1067 - [ sp:varName "flowRef"^^xsd:string 982 + [ sp:varName "productRef"^^xsd:string
1068 ] 983 ]
1069 - ]) 984 + ] [ sp:object
1070 - ] [ rdf:type sp:Optional ; 985 + [ sp:varName "productFlowName"^^xsd:string
1071 - sp:elements ([ sp:object
1072 - [ sp:varName "flowQualifier"^^xsd:string
1073 ] ; 986 ] ;
1074 - sp:predicate <http://www.epim.no/schemas/mprml/1#qualifierRef> ; 987 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1075 sp:subject 988 sp:subject
1076 - [ sp:varName "flowRef"^^xsd:string 989 + [ sp:varName "productNameRef"^^xsd:string
1077 ] 990 ]
1078 ]) 991 ])
1079 ] [ rdf:type sp:Bind ; 992 ] [ rdf:type sp:Bind ;
1080 sp:expression 993 sp:expression
1081 - [ rdf:type ep-spin-lib:normalizeString ; 994 + [ rdf:type ep-mpr-spin-lib:selectProductType ;
1082 - sp:arg1 [ sp:varName "facilityName"^^xsd:string 995 + sp:arg1 [ sp:varName "productKind"^^xsd:string
1083 - ]
1084 - ] ;
1085 - sp:variable
1086 - [ sp:varName "normalizedFacilityName"^^xsd:string
1087 - ]
1088 - ] [ rdf:type sp:Bind ;
1089 - sp:expression
1090 - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
1091 - sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string
1092 - ]
1093 - ] ;
1094 - sp:variable
1095 - [ sp:varName "productionFacility"^^xsd:string
1096 - ]
1097 - ] [ rdf:type sp:Bind ;
1098 - sp:expression
1099 - [ rdf:type afn:localname ;
1100 - sp:arg1 [ sp:varName "flowRef"^^xsd:string
1101 ] 996 ]
1102 ] ; 997 ] ;
1103 sp:variable 998 sp:variable
1104 - [ sp:varName "localname"^^xsd:string 999 + [ sp:varName "productType"^^xsd:string
1105 ] 1000 ]
1106 ] [ rdf:type sp:Bind ; 1001 ] [ rdf:type sp:Bind ;
1107 sp:expression 1002 sp:expression
1108 - [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; 1003 + [ rdf:type spl:object ;
1109 - sp:arg1 [ sp:varName "localname"^^xsd:string 1004 + sp:arg1 [ sp:varName "productType"^^xsd:string
1110 - ] 1005 + ] ;
1006 + sp:arg2 rdfs:label
1111 ] ; 1007 ] ;
1112 sp:variable 1008 sp:variable
1113 - [ sp:varName "productionFlow"^^xsd:string 1009 + [ sp:varName "productTypeName"^^xsd:string
1114 ] 1010 ]
1115 ] [ rdf:type sp:Bind ; 1011 ] [ rdf:type sp:Bind ;
1116 sp:expression 1012 sp:expression
1117 - [ rdf:type ep-mpr-spin-lib:selectProductionFlowPurposeType ; 1013 + [ rdf:type ep-spin-lib:normalizeString ;
1118 - sp:arg1 [ sp:varName "flowKind"^^xsd:string 1014 + sp:arg1 [ sp:varName "productTypeName"^^xsd:string
1119 ] 1015 ]
1120 ] ; 1016 ] ;
1121 sp:variable 1017 sp:variable
1122 - [ sp:varName "productionFlowPurposeType"^^xsd:string 1018 + [ sp:varName "normalizedProductTypeName"^^xsd:string
1123 ] 1019 ]
1124 ] [ rdf:type sp:Bind ; 1020 ] [ rdf:type sp:Bind ;
1125 sp:expression 1021 sp:expression
1126 - [ rdf:type ep-mpr-spin-lib:selectProductionFlowDefinitionType ; 1022 + [ rdf:type afn:localname ;
1127 - sp:arg1 [ sp:varName "flowQualifier"^^xsd:string 1023 + sp:arg1 [ sp:varName "flowRef"^^xsd:string
1128 ] 1024 ]
1129 ] ; 1025 ] ;
1130 sp:variable 1026 sp:variable
1131 - [ sp:varName "productionFlowDefinitionType"^^xsd:string 1027 + [ sp:varName "localname"^^xsd:string
1132 ] 1028 ]
1133 ] [ rdf:type sp:Bind ; 1029 ] [ rdf:type sp:Bind ;
1134 sp:expression 1030 sp:expression
1135 - [ rdf:type ep-mpr-spin-lib:selectProductionFlowDirectionRelationshipType ; 1031 + [ rdf:type ep-dpr-spin-lib:buildProductFlowURI ;
1136 - sp:arg1 [ sp:varName "flowDirection"^^xsd:string 1032 + sp:arg1 [ sp:varName "localname"^^xsd:string
1033 + ] ;
1034 + sp:arg2 [ sp:varName "normalizedProductTypeName"^^xsd:string
1137 ] 1035 ]
1138 ] ; 1036 ] ;
1139 sp:variable 1037 sp:variable
1140 - [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string 1038 + [ sp:varName "productFlow"^^xsd:string
1141 ] 1039 ]
1142 ]) 1040 ])
1143 ] . 1041 ] .
1144 1042
1145 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> 1043 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0>
1146 rdf:type owl:Ontology ; 1044 rdf:type owl:Ontology ;
1147 - owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> ; 1045 + owl:imports <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
1148 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 1046 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1047 +
1048 +_:b13
1049 + sp:varName "productVolumeRef"^^xsd:string .
1050 +
1051 +_:b14
1052 + sp:varName "facilityRef"^^xsd:string .
1053 +
1054 +_:b15
1055 + sp:varName "flowRef"^^xsd:string .
1056 +
1057 +_:b16
1058 + sp:varName "productRef"^^xsd:string .
1059 +
1060 +_:b17
1061 + sp:varName "periodRef"^^xsd:string .
1062 +
1063 +_:b18
1064 + sp:varName "periodKindRef"^^xsd:string .
1065 +
1066 +_:b3 sp:varName "temporalPartOfAProductFlow"^^xsd:string .
1067 +
1068 +_:b19
1069 + sp:varName "volumeValueRef"^^xsd:string .
1070 +
1071 +_:b20
1072 + sp:varName "volumeRef"^^xsd:string .
1073 +
1074 +_:b5 sp:varName "realVolume"^^xsd:string .
1075 +
1076 +_:b21
1077 + sp:varName "uomVolume"^^xsd:string .
1078 +
1079 +_:b22
1080 + sp:varName "tempRef"^^xsd:string .
1081 +
1082 +_:b8 sp:varName "realTemp"^^xsd:string .
1083 +
1084 +_:b23
1085 + sp:varName "uomTemp"^^xsd:string .
1086 +
1087 +_:b24
1088 + sp:varName "presRef"^^xsd:string .
1089 +
1090 +_:b11
1091 + sp:varName "realPres"^^xsd:string .
1092 +
1093 +_:b25
1094 + sp:varName "uomPres"^^xsd:string .
1095 +
1096 +_:b2 sp:varName "relationshipToMeasure"^^xsd:string .
1097 +
1098 +_:b6 sp:varName "volumeScale"^^xsd:string .
1099 +
1100 +_:b9 sp:varName "temperatureScale"^^xsd:string .
1101 +
1102 +_:b12
1103 + sp:varName "pressureScale"^^xsd:string .
......
1 +# Saved by TopBraid on Thu Dec 15 19:02:38 GMT 2011
1 # baseURI: null 2 # baseURI: null
2 3
3 @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 Thu Dec 15 19:14:36 GMT 2011
1 # baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest 2 # baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest
2 -# imports: file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml
3 -# imports: http://spinrdf.org/spin
4 -# imports: http://www.epim.no/schemas/mprml/1
5 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector 3 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
4 +# imports: http://www.epim.no/schemas/mprml/1
6 # imports: http://www.reportinghub.no/np/data/npd 5 # imports: http://www.reportinghub.no/np/data/npd
6 +# imports: http://spinrdf.org/spin
7 7
8 @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> . 8 @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> .
9 @prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . 9 @prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
...@@ -18,5 +18,5 @@ ...@@ -18,5 +18,5 @@
18 18
19 <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest> 19 <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest>
20 rdf:type owl:Ontology ; 20 rdf:type owl:Ontology ;
21 - owl:imports <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> , <http://www.reportinghub.no/np/data/npd> , <http://www.epim.no/schemas/mprml/1> ; 21 + owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/np/data/npd> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> , <http://spinrdf.org/spin> ;
22 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 22 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
1 +# Saved by TopBraid on Thu Dec 15 19:14:36 GMT 2011
1 # baseURI: null 2 # baseURI: null
2 3
3 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......