Showing
9 changed files
with
2334 additions
and
722 deletions
... | @@ -10,141 +10,146 @@ | ... | @@ -10,141 +10,146 @@ |
10 | 10 | ||
11 | <http://www.reportinghub.no/ep/schema/1.0/flow> | 11 | <http://www.reportinghub.no/ep/schema/1.0/flow> |
12 | rdf:type owl:Ontology ; | 12 | rdf:type owl:Ontology ; |
13 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; | 13 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ; |
14 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 14 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
15 | 15 | ||
16 | ep-flow:AllocatedFlow | 16 | ep-flow:AllocatedFlow |
17 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 17 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
18 | rdfs:label "allocated flow"^^xsd:string ; | 18 | rdfs:label "allocated flow"^^xsd:string ; |
19 | rdfs:subClassOf ep-flow:Flow . | 19 | rdfs:subClassOf ep-flow:Flow . |
20 | 20 | ||
21 | ep-flow:AqueousFlow | 21 | ep-flow:AqueousFlow |
22 | - rdf:type ep-flow:ProductType , owl:Class ; | 22 | + rdf:type owl:Class , ep-flow:ProductType ; |
23 | rdfs:label "aqueous flow"^^xsd:string ; | 23 | rdfs:label "aqueous flow"^^xsd:string ; |
24 | rdfs:subClassOf ep-flow:Flow . | 24 | rdfs:subClassOf ep-flow:Flow . |
25 | 25 | ||
26 | ep-flow:BudgetFlow | 26 | ep-flow:BudgetFlow |
27 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 27 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
28 | rdfs:label "budget flow"^^xsd:string ; | 28 | rdfs:label "budget flow"^^xsd:string ; |
29 | rdfs:subClassOf ep-flow:Flow . | 29 | rdfs:subClassOf ep-flow:Flow . |
30 | 30 | ||
31 | ep-flow:CarbonDioxideGasFlow | 31 | ep-flow:CarbonDioxideGasFlow |
32 | - rdf:type ep-flow:ProductType , owl:Class ; | 32 | + rdf:type owl:Class , ep-flow:ProductType ; |
33 | rdfs:label "carbon dioxide gas flow"^^xsd:string ; | 33 | rdfs:label "carbon dioxide gas flow"^^xsd:string ; |
34 | rdfs:subClassOf ep-flow:Flow . | 34 | rdfs:subClassOf ep-flow:Flow . |
35 | 35 | ||
36 | ep-flow:CarbonMonoxideGasFlow | 36 | ep-flow:CarbonMonoxideGasFlow |
37 | - rdf:type ep-flow:ProductType , owl:Class ; | 37 | + rdf:type owl:Class , ep-flow:ProductType ; |
38 | rdfs:label "carbon monoxide gas flow"^^xsd:string ; | 38 | rdfs:label "carbon monoxide gas flow"^^xsd:string ; |
39 | rdfs:subClassOf ep-flow:Flow . | 39 | rdfs:subClassOf ep-flow:Flow . |
40 | 40 | ||
41 | ep-flow:ChemicalFlow | 41 | ep-flow:ChemicalFlow |
42 | - rdf:type ep-flow:ProductType , owl:Class ; | 42 | + rdf:type owl:Class , ep-flow:ProductType ; |
43 | rdfs:label "chemical flow"^^xsd:string ; | 43 | rdfs:label "chemical flow"^^xsd:string ; |
44 | rdfs:subClassOf ep-flow:Flow . | 44 | rdfs:subClassOf ep-flow:Flow . |
45 | 45 | ||
46 | ep-flow:CondensateFlow | 46 | ep-flow:CondensateFlow |
47 | - rdf:type ep-flow:ProductType , owl:Class ; | 47 | + rdf:type owl:Class , ep-flow:ProductType ; |
48 | rdfs:label "condensate flow"^^xsd:string ; | 48 | rdfs:label "condensate flow"^^xsd:string ; |
49 | rdfs:subClassOf ep-flow:Flow . | 49 | rdfs:subClassOf ep-flow:Flow . |
50 | 50 | ||
51 | ep-flow:ConstraintFlow | 51 | ep-flow:ConstraintFlow |
52 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 52 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
53 | rdfs:label "constraint flow"^^xsd:string ; | 53 | rdfs:label "constraint flow"^^xsd:string ; |
54 | rdfs:subClassOf ep-flow:Flow . | 54 | rdfs:subClassOf ep-flow:Flow . |
55 | 55 | ||
56 | ep-flow:Consume | 56 | ep-flow:Consume |
57 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 57 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
58 | rdfs:label "consume"^^xsd:string ; | 58 | rdfs:label "consume"^^xsd:string ; |
59 | rdfs:subClassOf ep-flow:Flow . | 59 | rdfs:subClassOf ep-flow:Flow . |
60 | 60 | ||
61 | ep-flow:Consume-HPflare | 61 | ep-flow:Consume-HPflare |
62 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 62 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
63 | rdfs:label "consume - HP flare"^^xsd:string ; | 63 | rdfs:label "consume - HP flare"^^xsd:string ; |
64 | rdfs:subClassOf ep-flow:Consume-flare . | 64 | rdfs:subClassOf ep-flow:Consume-flare . |
65 | 65 | ||
66 | ep-flow:Consume-LPflare | 66 | ep-flow:Consume-LPflare |
67 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 67 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
68 | rdfs:label "consume - LP flare"^^xsd:string ; | 68 | rdfs:label "consume - LP flare"^^xsd:string ; |
69 | rdfs:subClassOf ep-flow:Consume-flare . | 69 | rdfs:subClassOf ep-flow:Consume-flare . |
70 | 70 | ||
71 | ep-flow:Consume-blackstart | 71 | ep-flow:Consume-blackstart |
72 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 72 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
73 | rdfs:label "consume - blackstart"^^xsd:string ; | 73 | rdfs:label "consume - blackstart"^^xsd:string ; |
74 | rdfs:subClassOf ep-flow:Consume . | 74 | rdfs:subClassOf ep-flow:Consume . |
75 | 75 | ||
76 | ep-flow:Consume-compressor | 76 | ep-flow:Consume-compressor |
77 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 77 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
78 | rdfs:label "consume - compressor"^^xsd:string ; | 78 | rdfs:label "consume - compressor"^^xsd:string ; |
79 | rdfs:subClassOf ep-flow:Consume . | 79 | rdfs:subClassOf ep-flow:Consume . |
80 | 80 | ||
81 | ep-flow:Consume-emitted | 81 | ep-flow:Consume-emitted |
82 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 82 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
83 | rdfs:label "consume - emitted"^^xsd:string ; | 83 | rdfs:label "consume - emitted"^^xsd:string ; |
84 | rdfs:subClassOf ep-flow:Consume . | 84 | rdfs:subClassOf ep-flow:Consume . |
85 | 85 | ||
86 | ep-flow:Consume-flare | 86 | ep-flow:Consume-flare |
87 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 87 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
88 | rdfs:label "consume - flare"^^xsd:string ; | 88 | rdfs:label "consume - flare"^^xsd:string ; |
89 | rdfs:subClassOf ep-flow:Consume . | 89 | rdfs:subClassOf ep-flow:Consume . |
90 | 90 | ||
91 | ep-flow:Consume-fuel | 91 | ep-flow:Consume-fuel |
92 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 92 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
93 | rdfs:label "consume - fuel"^^xsd:string ; | 93 | rdfs:label "consume - fuel"^^xsd:string ; |
94 | rdfs:subClassOf ep-flow:Consume . | 94 | rdfs:subClassOf ep-flow:Consume . |
95 | 95 | ||
96 | ep-flow:Consume-noncompressor | 96 | ep-flow:Consume-noncompressor |
97 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 97 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
98 | rdfs:label "consume - non-compressor"^^xsd:string ; | 98 | rdfs:label "consume - non-compressor"^^xsd:string ; |
99 | rdfs:subClassOf ep-flow:Consume . | 99 | rdfs:subClassOf ep-flow:Consume . |
100 | 100 | ||
101 | ep-flow:Consume-venting | 101 | ep-flow:Consume-venting |
102 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 102 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
103 | rdfs:label "consume - venting"^^xsd:string ; | 103 | rdfs:label "consume - venting"^^xsd:string ; |
104 | rdfs:subClassOf ep-flow:Consume . | 104 | rdfs:subClassOf ep-flow:Consume . |
105 | 105 | ||
106 | ep-flow:CuttingsFlow | 106 | ep-flow:CuttingsFlow |
107 | - rdf:type owl:Class , ep-flow:ProductType ; | 107 | + rdf:type ep-flow:ProductType , owl:Class ; |
108 | rdfs:label "cuttings flow"^^xsd:string ; | 108 | rdfs:label "cuttings flow"^^xsd:string ; |
109 | rdfs:subClassOf ep-flow:Flow . | 109 | rdfs:subClassOf ep-flow:Flow . |
110 | 110 | ||
111 | +ep-flow:DailyProductionFlow | ||
112 | + rdf:type owl:Class ; | ||
113 | + rdfs:label "daily production flow"^^xsd:string ; | ||
114 | + rdfs:subClassOf ep-flow:TemporalPartOfAProductionFlow . | ||
115 | + | ||
111 | ep-flow:DerivedFlow | 116 | ep-flow:DerivedFlow |
112 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 117 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
113 | rdfs:label "derived flow"^^xsd:string ; | 118 | rdfs:label "derived flow"^^xsd:string ; |
114 | rdfs:subClassOf ep-flow:Flow . | 119 | rdfs:subClassOf ep-flow:Flow . |
115 | 120 | ||
116 | ep-flow:DieselFlow | 121 | ep-flow:DieselFlow |
117 | - rdf:type ep-flow:ProductType , owl:Class ; | 122 | + rdf:type owl:Class , ep-flow:ProductType ; |
118 | rdfs:label "diesel flow"^^xsd:string ; | 123 | rdfs:label "diesel flow"^^xsd:string ; |
119 | rdfs:subClassOf ep-flow:Flow . | 124 | rdfs:subClassOf ep-flow:Flow . |
120 | 125 | ||
121 | ep-flow:EstimatedFlow | 126 | ep-flow:EstimatedFlow |
122 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 127 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
123 | rdfs:label "estimated flow"^^xsd:string ; | 128 | rdfs:label "estimated flow"^^xsd:string ; |
124 | rdfs:subClassOf ep-flow:Flow . | 129 | rdfs:subClassOf ep-flow:Flow . |
125 | 130 | ||
126 | ep-flow:Ethane-componentFlow | 131 | ep-flow:Ethane-componentFlow |
127 | - rdf:type ep-flow:ProductType , owl:Class ; | 132 | + rdf:type owl:Class , ep-flow:ProductType ; |
128 | rdfs:label "ethane - component flow"^^xsd:string ; | 133 | rdfs:label "ethane - component flow"^^xsd:string ; |
129 | rdfs:subClassOf ep-flow:Flow . | 134 | rdfs:subClassOf ep-flow:Flow . |
130 | 135 | ||
131 | ep-flow:Export | 136 | ep-flow:Export |
132 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 137 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
133 | rdfs:label "export"^^xsd:string ; | 138 | rdfs:label "export"^^xsd:string ; |
134 | rdfs:subClassOf ep-flow:Flow . | 139 | rdfs:subClassOf ep-flow:Flow . |
135 | 140 | ||
136 | ep-flow:Export-nominated | 141 | ep-flow:Export-nominated |
137 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 142 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
138 | rdfs:label "export nominated"^^xsd:string ; | 143 | rdfs:label "export nominated"^^xsd:string ; |
139 | rdfs:subClassOf ep-flow:Export . | 144 | rdfs:subClassOf ep-flow:Export . |
140 | 145 | ||
141 | ep-flow:Export-requested | 146 | ep-flow:Export-requested |
142 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 147 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
143 | rdfs:label "export requested"^^xsd:string ; | 148 | rdfs:label "export requested"^^xsd:string ; |
144 | rdfs:subClassOf ep-flow:Export . | 149 | rdfs:subClassOf ep-flow:Export . |
145 | 150 | ||
146 | ep-flow:Export-shortfall | 151 | ep-flow:Export-shortfall |
147 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 152 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
148 | rdfs:label "export shortfall"^^xsd:string ; | 153 | rdfs:label "export shortfall"^^xsd:string ; |
149 | rdfs:subClassOf ep-flow:Export . | 154 | rdfs:subClassOf ep-flow:Export . |
150 | 155 | ||
... | @@ -154,32 +159,32 @@ ep-flow:Flow | ... | @@ -154,32 +159,32 @@ ep-flow:Flow |
154 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 159 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
155 | 160 | ||
156 | ep-flow:FlowDuringDay | 161 | ep-flow:FlowDuringDay |
157 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 162 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
158 | rdfs:label "flow during day"^^xsd:string ; | 163 | rdfs:label "flow during day"^^xsd:string ; |
159 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 164 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
160 | 165 | ||
161 | ep-flow:FlowDuringMonth | 166 | ep-flow:FlowDuringMonth |
162 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 167 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
163 | rdfs:label "flow during month"^^xsd:string ; | 168 | rdfs:label "flow during month"^^xsd:string ; |
164 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 169 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
165 | 170 | ||
166 | ep-flow:FlowDuringMonthToDate | 171 | ep-flow:FlowDuringMonthToDate |
167 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 172 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
168 | rdfs:label "flow during month to date"^^xsd:string ; | 173 | rdfs:label "flow during month to date"^^xsd:string ; |
169 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 174 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
170 | 175 | ||
171 | ep-flow:FlowDuringWeek | 176 | ep-flow:FlowDuringWeek |
172 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 177 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
173 | rdfs:label "flow during week"^^xsd:string ; | 178 | rdfs:label "flow during week"^^xsd:string ; |
174 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 179 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
175 | 180 | ||
176 | ep-flow:FlowDuringYear | 181 | ep-flow:FlowDuringYear |
177 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 182 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
178 | rdfs:label "flow during year"^^xsd:string ; | 183 | rdfs:label "flow during year"^^xsd:string ; |
179 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 184 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
180 | 185 | ||
181 | ep-flow:FlowDuringYearToDate | 186 | ep-flow:FlowDuringYearToDate |
182 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 187 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
183 | rdfs:label "flow during year to date"^^xsd:string ; | 188 | rdfs:label "flow during year to date"^^xsd:string ; |
184 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 189 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
185 | 190 | ||
... | @@ -199,97 +204,97 @@ ep-flow:FlowOfMaterial | ... | @@ -199,97 +204,97 @@ ep-flow:FlowOfMaterial |
199 | rdfs:subClassOf ep-flow:Flow . | 204 | rdfs:subClassOf ep-flow:Flow . |
200 | 205 | ||
201 | ep-flow:Gas-componentInOilFlow | 206 | ep-flow:Gas-componentInOilFlow |
202 | - rdf:type ep-flow:ProductType , owl:Class ; | 207 | + rdf:type owl:Class , ep-flow:ProductType ; |
203 | rdfs:label "gas - component in oil flow"^^xsd:string ; | 208 | rdfs:label "gas - component in oil flow"^^xsd:string ; |
204 | rdfs:subClassOf ep-flow:Flow . | 209 | rdfs:subClassOf ep-flow:Flow . |
205 | 210 | ||
206 | ep-flow:Gas-richFlow | 211 | ep-flow:Gas-richFlow |
207 | - rdf:type ep-flow:ProductType , owl:Class ; | 212 | + rdf:type owl:Class , ep-flow:ProductType ; |
208 | rdfs:label "gas - rich flow"^^xsd:string ; | 213 | rdfs:label "gas - rich flow"^^xsd:string ; |
209 | rdfs:subClassOf ep-flow:Flow . | 214 | rdfs:subClassOf ep-flow:Flow . |
210 | 215 | ||
211 | ep-flow:GasFlow | 216 | ep-flow:GasFlow |
212 | - rdf:type ep-flow:ProductType , owl:Class ; | 217 | + rdf:type owl:Class , ep-flow:ProductType ; |
213 | rdfs:label "gas flow"^^xsd:string ; | 218 | rdfs:label "gas flow"^^xsd:string ; |
214 | rdfs:subClassOf ep-flow:Flow . | 219 | rdfs:subClassOf ep-flow:Flow . |
215 | 220 | ||
216 | ep-flow:Gaslift | 221 | ep-flow:Gaslift |
217 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 222 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
218 | rdfs:label "gas lift"^^xsd:string ; | 223 | rdfs:label "gas lift"^^xsd:string ; |
219 | rdfs:subClassOf ep-flow:Flow . | 224 | rdfs:subClassOf ep-flow:Flow . |
220 | 225 | ||
221 | ep-flow:I-butane-componentFlow | 226 | ep-flow:I-butane-componentFlow |
222 | - rdf:type ep-flow:ProductType , owl:Class ; | 227 | + rdf:type owl:Class , ep-flow:ProductType ; |
223 | rdfs:label "i-butane - component flow"^^xsd:string ; | 228 | rdfs:label "i-butane - component flow"^^xsd:string ; |
224 | rdfs:subClassOf ep-flow:Flow . | 229 | rdfs:subClassOf ep-flow:Flow . |
225 | 230 | ||
226 | ep-flow:Import | 231 | ep-flow:Import |
227 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 232 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
228 | rdfs:label "import"^^xsd:string ; | 233 | rdfs:label "import"^^xsd:string ; |
229 | rdfs:subClassOf ep-flow:Flow . | 234 | rdfs:subClassOf ep-flow:Flow . |
230 | 235 | ||
231 | ep-flow:Injection | 236 | ep-flow:Injection |
232 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 237 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
233 | rdfs:label "injection"^^xsd:string ; | 238 | rdfs:label "injection"^^xsd:string ; |
234 | rdfs:subClassOf ep-flow:Flow . | 239 | rdfs:subClassOf ep-flow:Flow . |
235 | 240 | ||
236 | ep-flow:Inventory | 241 | ep-flow:Inventory |
237 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 242 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
238 | rdfs:label "inventory"^^xsd:string ; | 243 | rdfs:label "inventory"^^xsd:string ; |
239 | rdfs:subClassOf ep-flow:Flow . | 244 | rdfs:subClassOf ep-flow:Flow . |
240 | 245 | ||
241 | ep-flow:MeasuredFlow | 246 | ep-flow:MeasuredFlow |
242 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 247 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
243 | rdfs:label "measured flow"^^xsd:string ; | 248 | rdfs:label "measured flow"^^xsd:string ; |
244 | rdfs:subClassOf ep-flow:Flow . | 249 | rdfs:subClassOf ep-flow:Flow . |
245 | 250 | ||
246 | ep-flow:N-butane-componentFlow | 251 | ep-flow:N-butane-componentFlow |
247 | - rdf:type ep-flow:ProductType , owl:Class ; | 252 | + rdf:type owl:Class , ep-flow:ProductType ; |
248 | rdfs:label "n-butane - component flow"^^xsd:string ; | 253 | rdfs:label "n-butane - component flow"^^xsd:string ; |
249 | rdfs:subClassOf ep-flow:Flow . | 254 | rdfs:subClassOf ep-flow:Flow . |
250 | 255 | ||
251 | ep-flow:NGL-componentInGasFlow | 256 | ep-flow:NGL-componentInGasFlow |
252 | - rdf:type ep-flow:ProductType , owl:Class ; | 257 | + rdf:type owl:Class , ep-flow:ProductType ; |
253 | rdfs:label "NGL - component in gas flow"^^xsd:string ; | 258 | rdfs:label "NGL - component in gas flow"^^xsd:string ; |
254 | rdfs:subClassOf ep-flow:Flow . | 259 | rdfs:subClassOf ep-flow:Flow . |
255 | 260 | ||
256 | ep-flow:NaturalGasLiquidFlow | 261 | ep-flow:NaturalGasLiquidFlow |
257 | - rdf:type ep-flow:ProductType , owl:Class ; | 262 | + rdf:type owl:Class , ep-flow:ProductType ; |
258 | rdfs:label "natural gas liquid flow"^^xsd:string ; | 263 | rdfs:label "natural gas liquid flow"^^xsd:string ; |
259 | rdfs:subClassOf ep-flow:Flow . | 264 | rdfs:subClassOf ep-flow:Flow . |
260 | 265 | ||
261 | ep-flow:NitrogenOxideGasFlow | 266 | ep-flow:NitrogenOxideGasFlow |
262 | - rdf:type ep-flow:ProductType , owl:Class ; | 267 | + rdf:type owl:Class , ep-flow:ProductType ; |
263 | rdfs:label "nitrogen oxide gas flow"^^xsd:string ; | 268 | rdfs:label "nitrogen oxide gas flow"^^xsd:string ; |
264 | rdfs:subClassOf ep-flow:Flow . | 269 | rdfs:subClassOf ep-flow:Flow . |
265 | 270 | ||
266 | ep-flow:Oil-componentInWaterFlow | 271 | ep-flow:Oil-componentInWaterFlow |
267 | - rdf:type ep-flow:ProductType , owl:Class ; | 272 | + rdf:type owl:Class , ep-flow:ProductType ; |
268 | rdfs:label "oil - component in water flow"^^xsd:string ; | 273 | rdfs:label "oil - component in water flow"^^xsd:string ; |
269 | rdfs:subClassOf ep-flow:Flow . | 274 | rdfs:subClassOf ep-flow:Flow . |
270 | 275 | ||
271 | ep-flow:Oil-netFlow | 276 | ep-flow:Oil-netFlow |
272 | - rdf:type ep-flow:ProductType , owl:Class ; | 277 | + rdf:type owl:Class , ep-flow:ProductType ; |
273 | rdfs:label "oil - net flow"^^xsd:string ; | 278 | rdfs:label "oil - net flow"^^xsd:string ; |
274 | rdfs:subClassOf ep-flow:Flow . | 279 | rdfs:subClassOf ep-flow:Flow . |
275 | 280 | ||
276 | ep-flow:OilAndGasFlow | 281 | ep-flow:OilAndGasFlow |
277 | - rdf:type ep-flow:ProductType , owl:Class ; | 282 | + rdf:type owl:Class , ep-flow:ProductType ; |
278 | rdfs:label "oil and gas flow"^^xsd:string ; | 283 | rdfs:label "oil and gas flow"^^xsd:string ; |
279 | rdfs:subClassOf ep-flow:Flow . | 284 | rdfs:subClassOf ep-flow:Flow . |
280 | 285 | ||
281 | ep-flow:OilFlow | 286 | ep-flow:OilFlow |
282 | - rdf:type owl:Class , ep-flow:ProductType ; | 287 | + rdf:type ep-flow:ProductType , owl:Class ; |
283 | rdfs:label "oil flow"^^xsd:string ; | 288 | rdfs:label "oil flow"^^xsd:string ; |
284 | rdfs:subClassOf ep-flow:Flow . | 289 | rdfs:subClassOf ep-flow:Flow . |
285 | 290 | ||
286 | ep-flow:OleicFlow | 291 | ep-flow:OleicFlow |
287 | - rdf:type ep-flow:ProductType , owl:Class ; | 292 | + rdf:type owl:Class , ep-flow:ProductType ; |
288 | rdfs:label "oleic flow"^^xsd:string ; | 293 | rdfs:label "oleic flow"^^xsd:string ; |
289 | rdfs:subClassOf ep-flow:Flow . | 294 | rdfs:subClassOf ep-flow:Flow . |
290 | 295 | ||
291 | ep-flow:Overboard | 296 | ep-flow:Overboard |
292 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 297 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
293 | rdfs:label "overboard"^^xsd:string ; | 298 | rdfs:label "overboard"^^xsd:string ; |
294 | rdfs:subClassOf ep-flow:Flow . | 299 | rdfs:subClassOf ep-flow:Flow . |
295 | 300 | ||
... | @@ -309,7 +314,7 @@ ep-flow:ProductType | ... | @@ -309,7 +314,7 @@ ep-flow:ProductType |
309 | rdfs:subClassOf owl:Class . | 314 | rdfs:subClassOf owl:Class . |
310 | 315 | ||
311 | ep-flow:Production | 316 | ep-flow:Production |
312 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 317 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
313 | rdfs:label "production"^^xsd:string ; | 318 | rdfs:label "production"^^xsd:string ; |
314 | rdfs:subClassOf ep-flow:Flow . | 319 | rdfs:subClassOf ep-flow:Flow . |
315 | 320 | ||
... | @@ -349,22 +354,22 @@ ep-flow:ProductionTestWellHeadFlow | ... | @@ -349,22 +354,22 @@ ep-flow:ProductionTestWellHeadFlow |
349 | rdfs:subClassOf ep-flow:Flow . | 354 | rdfs:subClassOf ep-flow:Flow . |
350 | 355 | ||
351 | ep-flow:Propane-componentFlow | 356 | ep-flow:Propane-componentFlow |
352 | - rdf:type ep-flow:ProductType , owl:Class ; | 357 | + rdf:type owl:Class , ep-flow:ProductType ; |
353 | rdfs:label "propane - component flow"^^xsd:string ; | 358 | rdfs:label "propane - component flow"^^xsd:string ; |
354 | rdfs:subClassOf ep-flow:Flow . | 359 | rdfs:subClassOf ep-flow:Flow . |
355 | 360 | ||
356 | ep-flow:QuotaFlow | 361 | ep-flow:QuotaFlow |
357 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 362 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
358 | rdfs:label "quota flow"^^xsd:string ; | 363 | rdfs:label "quota flow"^^xsd:string ; |
359 | rdfs:subClassOf ep-flow:Flow . | 364 | rdfs:subClassOf ep-flow:Flow . |
360 | 365 | ||
361 | ep-flow:SandFlow | 366 | ep-flow:SandFlow |
362 | - rdf:type ep-flow:ProductType , owl:Class ; | 367 | + rdf:type owl:Class , ep-flow:ProductType ; |
363 | rdfs:label "sand flow"^^xsd:string ; | 368 | rdfs:label "sand flow"^^xsd:string ; |
364 | rdfs:subClassOf ep-flow:Flow . | 369 | rdfs:subClassOf ep-flow:Flow . |
365 | 370 | ||
366 | ep-flow:SimulatedFlow | 371 | ep-flow:SimulatedFlow |
367 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 372 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
368 | rdfs:label "simulated flow"^^xsd:string ; | 373 | rdfs:label "simulated flow"^^xsd:string ; |
369 | rdfs:subClassOf ep-flow:Flow . | 374 | rdfs:subClassOf ep-flow:Flow . |
370 | 375 | ||
... | @@ -389,27 +394,27 @@ ep-flow:TemporalPartOfAProductionFlow | ... | @@ -389,27 +394,27 @@ ep-flow:TemporalPartOfAProductionFlow |
389 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 394 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
390 | 395 | ||
391 | ep-flow:VapourFlow | 396 | ep-flow:VapourFlow |
392 | - rdf:type ep-flow:ProductType , owl:Class ; | 397 | + rdf:type owl:Class , ep-flow:ProductType ; |
393 | rdfs:label "vapour flow"^^xsd:string ; | 398 | rdfs:label "vapour flow"^^xsd:string ; |
394 | rdfs:subClassOf ep-flow:Flow . | 399 | rdfs:subClassOf ep-flow:Flow . |
395 | 400 | ||
396 | ep-flow:Water-dischargeFlow | 401 | ep-flow:Water-dischargeFlow |
397 | - rdf:type ep-flow:ProductType , owl:Class ; | 402 | + rdf:type owl:Class , ep-flow:ProductType ; |
398 | rdfs:label "water - discharge flow"^^xsd:string ; | 403 | rdfs:label "water - discharge flow"^^xsd:string ; |
399 | rdfs:subClassOf ep-flow:Flow . | 404 | rdfs:subClassOf ep-flow:Flow . |
400 | 405 | ||
401 | ep-flow:Water-processedFlow | 406 | ep-flow:Water-processedFlow |
402 | - rdf:type ep-flow:ProductType , owl:Class ; | 407 | + rdf:type owl:Class , ep-flow:ProductType ; |
403 | rdfs:label "water - processed flow"^^xsd:string ; | 408 | rdfs:label "water - processed flow"^^xsd:string ; |
404 | rdfs:subClassOf ep-flow:Flow . | 409 | rdfs:subClassOf ep-flow:Flow . |
405 | 410 | ||
406 | ep-flow:WaterFlow | 411 | ep-flow:WaterFlow |
407 | - rdf:type ep-flow:ProductType , owl:Class ; | 412 | + rdf:type owl:Class , ep-flow:ProductType ; |
408 | rdfs:label "water flow"^^xsd:string ; | 413 | rdfs:label "water flow"^^xsd:string ; |
409 | rdfs:subClassOf ep-flow:Flow . | 414 | rdfs:subClassOf ep-flow:Flow . |
410 | 415 | ||
411 | ep-flow:dailyAverageAmountOfMaterial | 416 | ep-flow:dailyAverageAmountOfMaterial |
412 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 417 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
413 | rdfs:label "daily average amount of material"^^xsd:string ; | 418 | rdfs:label "daily average amount of material"^^xsd:string ; |
414 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . | 419 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . |
415 | 420 | ||
... | @@ -454,6 +459,6 @@ ep-flow:hasNetworkPart | ... | @@ -454,6 +459,6 @@ ep-flow:hasNetworkPart |
454 | rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> . | 459 | rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> . |
455 | 460 | ||
456 | ep-flow:totalAmountOfMaterial | 461 | ep-flow:totalAmountOfMaterial |
457 | - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | 462 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; |
458 | rdfs:label "total amount of material"^^xsd:string ; | 463 | rdfs:label "total amount of material"^^xsd:string ; |
459 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . | 464 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . | ... | ... |
1 | -# Saved by TopBraid on Tue Oct 11 17:12:54 BST 2011 | ||
2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/geography | 1 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/geography |
3 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 2 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
4 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
... | @@ -12,20 +11,20 @@ | ... | @@ -12,20 +11,20 @@ |
12 | 11 | ||
13 | <http://www.reportinghub.no/ep/schema/1.0/geography> | 12 | <http://www.reportinghub.no/ep/schema/1.0/geography> |
14 | rdf:type owl:Ontology ; | 13 | rdf:type owl:Ontology ; |
15 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ; | 14 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; |
16 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
17 | 16 | ||
18 | ep-geo:Country | 17 | ep-geo:Country |
19 | - rdf:type ep-fac:ProductionFacilityType , owl:Class ; | 18 | + rdf:type owl:Class , ep-fac:ProductionFacilityType ; |
20 | rdfs:label "country"^^xsd:string ; | 19 | rdfs:label "country"^^xsd:string ; |
21 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 20 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
22 | - owl:disjointWith ep-geo:County , ep-geo:State . | 21 | + owl:disjointWith ep-geo:State , ep-geo:County . |
23 | 22 | ||
24 | ep-geo:County | 23 | ep-geo:County |
25 | - rdf:type ep-fac:ProductionFacilityType , owl:Class ; | 24 | + rdf:type owl:Class , ep-fac:ProductionFacilityType ; |
26 | rdfs:label "county"^^xsd:string ; | 25 | rdfs:label "county"^^xsd:string ; |
27 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 26 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
28 | - owl:disjointWith ep-geo:State , ep-geo:Country . | 27 | + owl:disjointWith ep-geo:Country , ep-geo:State . |
29 | 28 | ||
30 | ep-geo:PartOfTheSurfaceOfTheEarth | 29 | ep-geo:PartOfTheSurfaceOfTheEarth |
31 | rdf:type owl:Class ; | 30 | rdf:type owl:Class ; |
... | @@ -33,13 +32,19 @@ ep-geo:PartOfTheSurfaceOfTheEarth | ... | @@ -33,13 +32,19 @@ ep-geo:PartOfTheSurfaceOfTheEarth |
33 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . | 32 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . |
34 | 33 | ||
35 | ep-geo:State | 34 | ep-geo:State |
36 | - rdf:type ep-fac:ProductionFacilityType , owl:Class ; | 35 | + rdf:type owl:Class , ep-fac:ProductionFacilityType ; |
37 | rdfs:label "state"^^xsd:string ; | 36 | rdfs:label "state"^^xsd:string ; |
38 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 37 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
39 | - owl:disjointWith ep-geo:County , ep-geo:Country . | 38 | + owl:disjointWith ep-geo:Country , ep-geo:County . |
40 | 39 | ||
41 | ep-geo:locatedWithin | 40 | ep-geo:locatedWithin |
42 | rdf:type owl:ObjectProperty ; | 41 | rdf:type owl:ObjectProperty ; |
43 | rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | 42 | rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; |
44 | rdfs:label "located within"^^xsd:string ; | 43 | rdfs:label "located within"^^xsd:string ; |
45 | rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . | 44 | rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . |
45 | + | ||
46 | +ep-geo:nominallyLocatedAt | ||
47 | + rdf:type owl:ObjectProperty ; | ||
48 | + rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | ||
49 | + rdfs:label "nominally located at"^^xsd:string ; | ||
50 | + rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . | ... | ... |
This diff could not be displayed because it is too large.
1 | -# Saved by TopBraid on Fri Oct 14 18:36:52 BST 2011 | ||
2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report | 1 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report |
3 | # imports: http://www.reportinghub.no/ep/schema/1.0/report | 2 | # imports: http://www.reportinghub.no/ep/schema/1.0/report |
4 | # imports: http://www.reportinghub.no/np/schema/1.0/npd | 3 | # imports: http://www.reportinghub.no/np/schema/1.0/npd |
... | @@ -11,9 +10,14 @@ | ... | @@ -11,9 +10,14 @@ |
11 | 10 | ||
12 | <http://www.reportinghub.no/ep/schema/1.0/production-report> | 11 | <http://www.reportinghub.no/ep/schema/1.0/production-report> |
13 | rdf:type owl:Ontology ; | 12 | rdf:type owl:Ontology ; |
14 | - owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/report> ; | 13 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ; |
15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 14 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
16 | 15 | ||
16 | +ep-prodreport:DailyProductVolumeReport | ||
17 | + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ; | ||
18 | + rdfs:label "daily product volume report"^^xsd:string ; | ||
19 | + rdfs:subClassOf ep-prodreport:DailyProductionReport . | ||
20 | + | ||
17 | ep-prodreport:DailyProductionReport | 21 | ep-prodreport:DailyProductionReport |
18 | rdf:type owl:Class ; | 22 | rdf:type owl:Class ; |
19 | rdfs:label "Daily Production Report"^^xsd:string ; | 23 | rdfs:label "Daily Production Report"^^xsd:string ; |
... | @@ -24,6 +28,16 @@ ep-prodreport:MonthlyProductionReport | ... | @@ -24,6 +28,16 @@ ep-prodreport:MonthlyProductionReport |
24 | rdfs:label "Monthly Production Report"^^xsd:string ; | 28 | rdfs:label "Monthly Production Report"^^xsd:string ; |
25 | rdfs:subClassOf ep-prodreport:ProductionReport . | 29 | rdfs:subClassOf ep-prodreport:ProductionReport . |
26 | 30 | ||
31 | +ep-prodreport:ProductVolumeReport | ||
32 | + rdf:type owl:Class ; | ||
33 | + rdfs:label "product volume report"^^xsd:string ; | ||
34 | + rdfs:subClassOf ep-prodreport:ProductionReport . | ||
35 | + | ||
36 | +ep-prodreport:ProductVolumeReportPeriodType | ||
37 | + rdf:type rdfs:Class ; | ||
38 | + rdfs:label "product volume report period type"^^xsd:string ; | ||
39 | + rdfs:subClassOf owl:Class . | ||
40 | + | ||
27 | ep-prodreport:ProductionReport | 41 | ep-prodreport:ProductionReport |
28 | rdf:type owl:Class ; | 42 | rdf:type owl:Class ; |
29 | rdfs:label "Production Report"^^xsd:string ; | 43 | rdfs:label "Production Report"^^xsd:string ; |
... | @@ -34,8 +48,8 @@ ep-prodreport:ReportAliasIdentifier | ... | @@ -34,8 +48,8 @@ ep-prodreport:ReportAliasIdentifier |
34 | rdfs:subClassOf owl:Thing ; | 48 | rdfs:subClassOf owl:Thing ; |
35 | rdfs:subClassOf | 49 | rdfs:subClassOf |
36 | [ rdf:type owl:Restriction ; | 50 | [ rdf:type owl:Restriction ; |
37 | - owl:minCardinality "1"^^xsd:nonNegativeInteger ; | 51 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
38 | - owl:onProperty ep-prodreport:aliasName | 52 | + owl:onProperty ep-prodreport:isAliasFor |
39 | ] ; | 53 | ] ; |
40 | rdfs:subClassOf | 54 | rdfs:subClassOf |
41 | [ rdf:type owl:Restriction ; | 55 | [ rdf:type owl:Restriction ; |
... | @@ -44,10 +58,15 @@ ep-prodreport:ReportAliasIdentifier | ... | @@ -44,10 +58,15 @@ ep-prodreport:ReportAliasIdentifier |
44 | ] ; | 58 | ] ; |
45 | rdfs:subClassOf | 59 | rdfs:subClassOf |
46 | [ rdf:type owl:Restriction ; | 60 | [ rdf:type owl:Restriction ; |
47 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 61 | + owl:minCardinality "1"^^xsd:nonNegativeInteger ; |
48 | - owl:onProperty ep-prodreport:isAliasFor | 62 | + owl:onProperty ep-prodreport:aliasName |
49 | ] . | 63 | ] . |
50 | 64 | ||
65 | +ep-prodreport:ReportType | ||
66 | + rdf:type rdfs:Class ; | ||
67 | + rdfs:label "report type"^^xsd:string ; | ||
68 | + rdfs:subClassOf owl:Class . | ||
69 | + | ||
51 | ep-prodreport:aliasName | 70 | ep-prodreport:aliasName |
52 | rdf:type owl:DatatypeProperty ; | 71 | rdf:type owl:DatatypeProperty ; |
53 | rdfs:range xsd:string . | 72 | rdfs:range xsd:string . | ... | ... |
... | @@ -48,7 +48,7 @@ sp:if | ... | @@ -48,7 +48,7 @@ sp:if |
48 | 48 | ||
49 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> | 49 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> |
50 | rdf:type owl:Ontology ; | 50 | rdf:type owl:Ontology ; |
51 | - owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ; | 51 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; |
52 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 52 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
53 | 53 | ||
54 | ep-dpr-spin-lib:BuildDailyProductionReportURI | 54 | ep-dpr-spin-lib:BuildDailyProductionReportURI |
... | @@ -4242,6 +4242,93 @@ ep-dpr-spin-lib:selectProductType | ... | @@ -4242,6 +4242,93 @@ ep-dpr-spin-lib:selectProductType |
4242 | ]) | 4242 | ]) |
4243 | ] . | 4243 | ] . |
4244 | 4244 | ||
4245 | +ep-dpr-spin-lib:selectProductVolumeReportPeriodType | ||
4246 | + rdf:type spin:Function ; | ||
4247 | + rdfs:label "select ProductVolumeReportPeriodType"^^xsd:string ; | ||
4248 | + rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
4249 | + spin:body | ||
4250 | + [ rdf:type sp:Select ; | ||
4251 | + sp:resultVariables ([ sp:varName "productVolumeReportPeriodType"^^xsd:string | ||
4252 | + ]) ; | ||
4253 | + sp:where ([ rdf:type sp:Bind ; | ||
4254 | + sp:expression | ||
4255 | + [ rdf:type sp:if ; | ||
4256 | + sp:arg1 [ rdf:type sp:eq ; | ||
4257 | + sp:arg1 spin:_arg1 ; | ||
4258 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_dailymonthtodate> | ||
4259 | + ] ; | ||
4260 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportMonthToDate> ; | ||
4261 | + sp:arg3 [ rdf:type sp:if ; | ||
4262 | + sp:arg1 [ rdf:type sp:eq ; | ||
4263 | + sp:arg1 spin:_arg1 ; | ||
4264 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_dailyyeartodate> | ||
4265 | + ] ; | ||
4266 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportYearToDate> ; | ||
4267 | + sp:arg3 [ rdf:type sp:if ; | ||
4268 | + sp:arg1 [ rdf:type sp:eq ; | ||
4269 | + sp:arg1 spin:_arg1 ; | ||
4270 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_day> | ||
4271 | + ] ; | ||
4272 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#DailyProductVolumeReport> ; | ||
4273 | + sp:arg3 [ rdf:type sp:if ; | ||
4274 | + sp:arg1 [ rdf:type sp:eq ; | ||
4275 | + sp:arg1 spin:_arg1 ; | ||
4276 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_monthtodate> | ||
4277 | + ] ; | ||
4278 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportMonthToDate> ; | ||
4279 | + sp:arg3 [ rdf:type sp:if ; | ||
4280 | + sp:arg1 [ rdf:type sp:eq ; | ||
4281 | + sp:arg1 spin:_arg1 ; | ||
4282 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_month> | ||
4283 | + ] ; | ||
4284 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#MonthlyProductVolumeReport> ; | ||
4285 | + sp:arg3 [ rdf:type sp:if ; | ||
4286 | + sp:arg1 [ rdf:type sp:eq ; | ||
4287 | + sp:arg1 spin:_arg1 ; | ||
4288 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_report> | ||
4289 | + ] ; | ||
4290 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> ; | ||
4291 | + sp:arg3 [ rdf:type sp:if ; | ||
4292 | + sp:arg1 [ rdf:type sp:eq ; | ||
4293 | + sp:arg1 spin:_arg1 ; | ||
4294 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_totalcumulative> | ||
4295 | + ] ; | ||
4296 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportToDate> ; | ||
4297 | + sp:arg3 [ rdf:type sp:if ; | ||
4298 | + sp:arg1 [ rdf:type sp:eq ; | ||
4299 | + sp:arg1 spin:_arg1 ; | ||
4300 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_week> | ||
4301 | + ] ; | ||
4302 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#WeeklyProductVolumeReport> ; | ||
4303 | + sp:arg3 [ rdf:type sp:if ; | ||
4304 | + sp:arg1 [ rdf:type sp:eq ; | ||
4305 | + sp:arg1 spin:_arg1 ; | ||
4306 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_yeartodate> | ||
4307 | + ] ; | ||
4308 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportYearToDate> ; | ||
4309 | + sp:arg3 [ rdf:type sp:if ; | ||
4310 | + sp:arg1 [ rdf:type sp:eq ; | ||
4311 | + sp:arg1 spin:_arg1 ; | ||
4312 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_year> | ||
4313 | + ] ; | ||
4314 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-report#YearlyProductVolumeReport> ; | ||
4315 | + sp:arg3 <http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport> | ||
4316 | + ] | ||
4317 | + ] | ||
4318 | + ] | ||
4319 | + ] | ||
4320 | + ] | ||
4321 | + ] | ||
4322 | + ] | ||
4323 | + ] | ||
4324 | + ] | ||
4325 | + ] ; | ||
4326 | + sp:variable | ||
4327 | + [ sp:varName "productVolumeReportPeriodType"^^xsd:string | ||
4328 | + ] | ||
4329 | + ]) | ||
4330 | + ] . | ||
4331 | + | ||
4245 | ep-dpr-spin-lib:selectProductionActivityDurationType | 4332 | ep-dpr-spin-lib:selectProductionActivityDurationType |
4246 | rdf:type spin:Function ; | 4333 | rdf:type spin:Function ; |
4247 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 4334 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
... | @@ -5383,6 +5470,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION | ... | @@ -5383,6 +5470,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION |
5383 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 5470 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
5384 | spin:body | 5471 | spin:body |
5385 | [ rdf:type sp:Select ; | 5472 | [ rdf:type sp:Select ; |
5473 | + sp:resultVariables (_:b29) ; | ||
5474 | + sp:where ([ rdf:type sp:Bind ; | ||
5475 | + sp:expression | ||
5476 | + [ rdf:type sp:if ; | ||
5477 | + sp:arg1 [ rdf:type sp:eq ; | ||
5478 | + sp:arg1 spin:_arg1 ; | ||
5479 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3> | ||
5480 | + ] ; | ||
5481 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; | ||
5482 | + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | ||
5483 | + ] ; | ||
5484 | + sp:variable _:b29 | ||
5485 | + ]) | ||
5486 | + ] ; | ||
5487 | + spin:body | ||
5488 | + [ rdf:type sp:Select ; | ||
5386 | sp:resultVariables ([ sp:varName "myVar"^^xsd:string | 5489 | sp:resultVariables ([ sp:varName "myVar"^^xsd:string |
5387 | ]) ; | 5490 | ]) ; |
5388 | sp:where ([ rdf:type sp:Bind ; | 5491 | sp:where ([ rdf:type sp:Bind ; |
... | @@ -5462,22 +5565,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION | ... | @@ -5462,22 +5565,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION |
5462 | [ sp:varName "myVar"^^xsd:string | 5565 | [ sp:varName "myVar"^^xsd:string |
5463 | ] | 5566 | ] |
5464 | ]) | 5567 | ]) |
5465 | - ] ; | ||
5466 | - spin:body | ||
5467 | - [ rdf:type sp:Select ; | ||
5468 | - sp:resultVariables (_:b29) ; | ||
5469 | - sp:where ([ rdf:type sp:Bind ; | ||
5470 | - sp:expression | ||
5471 | - [ rdf:type sp:if ; | ||
5472 | - sp:arg1 [ rdf:type sp:eq ; | ||
5473 | - sp:arg1 spin:_arg1 ; | ||
5474 | - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3> | ||
5475 | - ] ; | ||
5476 | - sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; | ||
5477 | - sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | ||
5478 | - ] ; | ||
5479 | - sp:variable _:b29 | ||
5480 | - ]) | ||
5481 | ] . | 5568 | ] . |
5482 | 5569 | ||
5483 | ep-dpr-spin-lib:selectTemperatureScale | 5570 | ep-dpr-spin-lib:selectTemperatureScale |
... | @@ -7006,89 +7093,89 @@ ep-dpr-spin-lib:selectWorkScale | ... | @@ -7006,89 +7093,89 @@ ep-dpr-spin-lib:selectWorkScale |
7006 | ]) | 7093 | ]) |
7007 | ] . | 7094 | ] . |
7008 | 7095 | ||
7009 | -_:b32 | 7096 | +_:b1 sp:varName "uri"^^xsd:string . |
7010 | - sp:varName "volumeFlowRateAtStdType"^^xsd:string . | ||
7011 | - | ||
7012 | -_:b31 | ||
7013 | - sp:varName "volumeAtStdType"^^xsd:string . | ||
7014 | - | ||
7015 | -_:b30 | ||
7016 | - sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . | ||
7017 | - | ||
7018 | -_:b29 | ||
7019 | - sp:varName "specificVolumeScale"^^xsd:string . | ||
7020 | 7097 | ||
7021 | -_:b28 | 7098 | +_:b2 sp:varName "uri"^^xsd:string . |
7022 | - sp:varName "safetyActivityType"^^xsd:string . | ||
7023 | 7099 | ||
7024 | -_:b27 | 7100 | +_:b3 sp:varName "UUID"^^xsd:string . |
7025 | - sp:varName "relationshipToMeasure"^^xsd:string . | ||
7026 | 7101 | ||
7027 | -_:b26 | 7102 | +_:b4 sp:varName "uri"^^xsd:string . |
7028 | - sp:varName "productionFlowPurposeType"^^xsd:string . | ||
7029 | 7103 | ||
7030 | -_:b25 | 7104 | +_:b5 sp:varName "uri"^^xsd:string . |
7031 | - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | ||
7032 | 7105 | ||
7033 | -_:b24 | 7106 | +_:b6 sp:varName "uri"^^xsd:string . |
7034 | - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | ||
7035 | 7107 | ||
7036 | -_:b23 | 7108 | +_:b7 sp:varName "uri"^^xsd:string . |
7037 | - sp:varName "productionFlowDefinitionType"^^xsd:string . | ||
7038 | 7109 | ||
7039 | -_:b22 | 7110 | +_:b8 sp:varName "uri"^^xsd:string . |
7040 | - sp:varName "productionFacilityType"^^xsd:string . | ||
7041 | 7111 | ||
7042 | -_:b21 | 7112 | +_:b9 sp:varName "uri"^^xsd:string . |
7043 | - sp:varName "productType"^^xsd:string . | ||
7044 | 7113 | ||
7045 | -_:b20 | 7114 | +_:b10 |
7046 | - sp:varName "densityScale"^^xsd:string . | 7115 | + sp:varName "uri"^^xsd:string . |
7047 | 7116 | ||
7048 | -_:b19 | 7117 | +_:b11 |
7049 | sp:varName "uri"^^xsd:string . | 7118 | sp:varName "uri"^^xsd:string . |
7050 | 7119 | ||
7051 | -_:b18 | 7120 | +_:b12 |
7052 | sp:varName "uri"^^xsd:string . | 7121 | sp:varName "uri"^^xsd:string . |
7053 | 7122 | ||
7054 | -_:b17 | 7123 | +_:b13 |
7055 | sp:varName "uri"^^xsd:string . | 7124 | sp:varName "uri"^^xsd:string . |
7056 | 7125 | ||
7057 | -_:b16 | 7126 | +_:b14 |
7058 | sp:varName "uri"^^xsd:string . | 7127 | sp:varName "uri"^^xsd:string . |
7059 | 7128 | ||
7060 | _:b15 | 7129 | _:b15 |
7061 | sp:varName "uri"^^xsd:string . | 7130 | sp:varName "uri"^^xsd:string . |
7062 | 7131 | ||
7063 | -_:b14 | 7132 | +_:b16 |
7064 | sp:varName "uri"^^xsd:string . | 7133 | sp:varName "uri"^^xsd:string . |
7065 | 7134 | ||
7066 | -_:b13 | 7135 | +_:b17 |
7067 | sp:varName "uri"^^xsd:string . | 7136 | sp:varName "uri"^^xsd:string . |
7068 | 7137 | ||
7069 | -_:b12 | 7138 | +_:b18 |
7070 | sp:varName "uri"^^xsd:string . | 7139 | sp:varName "uri"^^xsd:string . |
7071 | 7140 | ||
7072 | -_:b11 | 7141 | +_:b19 |
7073 | sp:varName "uri"^^xsd:string . | 7142 | sp:varName "uri"^^xsd:string . |
7074 | 7143 | ||
7075 | -_:b10 | 7144 | +_:b20 |
7076 | - sp:varName "uri"^^xsd:string . | 7145 | + sp:varName "densityScale"^^xsd:string . |
7077 | 7146 | ||
7078 | -_:b9 sp:varName "uri"^^xsd:string . | 7147 | +_:b21 |
7148 | + sp:varName "productType"^^xsd:string . | ||
7079 | 7149 | ||
7080 | -_:b8 sp:varName "uri"^^xsd:string . | 7150 | +_:b22 |
7151 | + sp:varName "productionFacilityType"^^xsd:string . | ||
7081 | 7152 | ||
7082 | -_:b7 sp:varName "uri"^^xsd:string . | 7153 | +_:b23 |
7154 | + sp:varName "productionFlowDefinitionType"^^xsd:string . | ||
7083 | 7155 | ||
7084 | -_:b6 sp:varName "uri"^^xsd:string . | 7156 | +_:b24 |
7157 | + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | ||
7085 | 7158 | ||
7086 | -_:b5 sp:varName "uri"^^xsd:string . | 7159 | +_:b25 |
7160 | + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | ||
7087 | 7161 | ||
7088 | -_:b4 sp:varName "uri"^^xsd:string . | 7162 | +_:b26 |
7163 | + sp:varName "productionFlowPurposeType"^^xsd:string . | ||
7089 | 7164 | ||
7090 | -_:b3 sp:varName "UUID"^^xsd:string . | 7165 | +_:b27 |
7166 | + sp:varName "relationshipToMeasure"^^xsd:string . | ||
7091 | 7167 | ||
7092 | -_:b2 sp:varName "uri"^^xsd:string . | 7168 | +_:b28 |
7169 | + sp:varName "safetyActivityType"^^xsd:string . | ||
7093 | 7170 | ||
7094 | -_:b1 sp:varName "uri"^^xsd:string . | 7171 | +_:b29 |
7172 | + sp:varName "specificVolumeScale"^^xsd:string . | ||
7173 | + | ||
7174 | +_:b30 | ||
7175 | + sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . | ||
7176 | + | ||
7177 | +_:b31 | ||
7178 | + sp:varName "volumeAtStdType"^^xsd:string . | ||
7179 | + | ||
7180 | +_:b32 | ||
7181 | + sp:varName "volumeFlowRateAtStdType"^^xsd:string . | ... | ... |
... | @@ -21,25 +21,41 @@ | ... | @@ -21,25 +21,41 @@ |
21 | 21 | ||
22 | <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> | 22 | <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> |
23 | rdf:type owl:Ontology ; | 23 | rdf:type owl:Ontology ; |
24 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-well> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://spinrdf.org/spin> ; | 24 | + owl:imports <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-well> ; |
25 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 25 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
26 | 26 | ||
27 | <http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite> | 27 | <http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite> |
28 | spin:rule | 28 | spin:rule |
29 | [ rdf:type sp:Construct ; | 29 | [ rdf:type sp:Construct ; |
30 | - rdfs:comment "STEP 30142 Set the injected fluid type"^^xsd:string ; | 30 | + rdfs:comment "STEP 30140 Classify as an Injection test and set duration"^^xsd:string ; |
31 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ; | 31 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ; |
32 | sp:predicate rdf:type ; | 32 | sp:predicate rdf:type ; |
33 | sp:subject | 33 | sp:subject |
34 | - [ sp:varName "wellTestInjectedFluid"^^xsd:string | 34 | + [ sp:varName "wellTest"^^xsd:string |
35 | ] | 35 | ] |
36 | - ] [ sp:object | 36 | + ] [ sp:object _:b1 ; |
37 | - [ sp:varName "injectedFluidType"^^xsd:string | 37 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ; |
38 | - ] ; | 38 | + sp:subject |
39 | + [ sp:varName "wellTest"^^xsd:string | ||
40 | + ] | ||
41 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowOfMaterial> ; | ||
42 | + sp:predicate rdf:type ; | ||
43 | + sp:subject _:b1 | ||
44 | + ] [ sp:object _:b2 ; | ||
39 | sp:predicate rdf:type ; | 45 | sp:predicate rdf:type ; |
40 | sp:subject | 46 | sp:subject |
41 | - [ sp:varName "wellTestInjectedFluid"^^xsd:string | 47 | + [ sp:varName "wellTest"^^xsd:string |
42 | ] | 48 | ] |
49 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; | ||
50 | + sp:predicate rdf:type ; | ||
51 | + sp:subject _:b2 | ||
52 | + ] [ sp:object | ||
53 | + [ sp:varName "realDuration"^^xsd:string | ||
54 | + ] ; | ||
55 | + sp:predicate | ||
56 | + [ sp:varName "durationScale"^^xsd:string | ||
57 | + ] ; | ||
58 | + sp:subject _:b2 | ||
43 | ]) ; | 59 | ]) ; |
44 | sp:where ([ sp:object | 60 | sp:where ([ sp:object |
45 | [ sp:varName "wellSetRef"^^xsd:string | 61 | [ sp:varName "wellSetRef"^^xsd:string |
... | @@ -89,67 +105,109 @@ | ... | @@ -89,67 +105,109 @@ |
89 | [ sp:varName "wellTest"^^xsd:string | 105 | [ sp:varName "wellTest"^^xsd:string |
90 | ] | 106 | ] |
91 | ] [ sp:object | 107 | ] [ sp:object |
92 | - [ sp:varName "wellTestInjectedFluid"^^xsd:string | 108 | + [ sp:varName "injectionTestRef"^^xsd:string |
93 | ] ; | 109 | ] ; |
94 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ; | 110 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; |
95 | sp:subject | 111 | sp:subject |
96 | - [ sp:varName "wellTest"^^xsd:string | 112 | + [ sp:varName "wellTestRef"^^xsd:string |
97 | ] | 113 | ] |
98 | - ] [ sp:object | 114 | + ] [ rdf:type sp:Optional ; |
115 | + sp:elements ([ sp:object | ||
116 | + [ sp:varName "testDurationRef"^^xsd:string | ||
117 | + ] ; | ||
118 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDurationRef> ; | ||
119 | + sp:subject | ||
99 | [ sp:varName "injectionTestRef"^^xsd:string | 120 | [ sp:varName "injectionTestRef"^^xsd:string |
121 | + ] | ||
122 | + ] [ sp:object | ||
123 | + [ sp:varName "realDuration"^^xsd:string | ||
100 | ] ; | 124 | ] ; |
101 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; | 125 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
102 | sp:subject | 126 | sp:subject |
103 | - [ sp:varName "wellTestRef"^^xsd:string | 127 | + [ sp:varName "testDurationRef"^^xsd:string |
104 | ] | 128 | ] |
105 | ] [ sp:object | 129 | ] [ sp:object |
106 | - [ sp:varName "injectedFluidRef"^^xsd:string | 130 | + [ sp:varName "uomDuration"^^xsd:string |
107 | ] ; | 131 | ] ; |
108 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectedFluidRef> ; | 132 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
109 | sp:subject | 133 | sp:subject |
110 | - [ sp:varName "injectionTestRef"^^xsd:string | 134 | + [ sp:varName "testDurationRef"^^xsd:string |
111 | ] | 135 | ] |
136 | + ]) | ||
112 | ] [ rdf:type sp:Bind ; | 137 | ] [ rdf:type sp:Bind ; |
113 | sp:expression | 138 | sp:expression |
114 | - [ rdf:type ep-dpr-spin-lib:selectInjectedFluidType ; | 139 | + [ rdf:type ep-dpr-spin-lib:selectDurationScale ; |
115 | - sp:arg1 [ sp:varName "injectedFluidRef"^^xsd:string | 140 | + sp:arg1 [ sp:varName "uomDuration"^^xsd:string |
116 | ] | 141 | ] |
117 | ] ; | 142 | ] ; |
118 | sp:variable | 143 | sp:variable |
119 | - [ sp:varName "injectedFluidType"^^xsd:string | 144 | + [ sp:varName "durationScale"^^xsd:string |
120 | ] | 145 | ] |
121 | ]) | 146 | ]) |
122 | ] ; | 147 | ] ; |
123 | spin:rule | 148 | spin:rule |
124 | [ rdf:type sp:Construct ; | 149 | [ rdf:type sp:Construct ; |
125 | - rdfs:comment "STEP 30143c Set the cumulative fluid flow - water amount"^^xsd:string ; | 150 | + rdfs:comment "STEP 30144 Set the injection test pressures"^^xsd:string ; |
126 | - sp:templates ([ sp:object _:b1 ; | 151 | + sp:templates ([ sp:object _:b3 ; |
127 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | 152 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMinimumAnnularPressure> ; |
128 | sp:subject | 153 | sp:subject |
129 | - [ sp:varName "productionFlowToDate"^^xsd:string | 154 | + [ sp:varName "wellTest"^^xsd:string |
130 | ] | 155 | ] |
131 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WaterFlow> ; | 156 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; |
132 | sp:predicate rdf:type ; | 157 | sp:predicate rdf:type ; |
133 | - sp:subject _:b1 | 158 | + sp:subject _:b3 |
134 | - ] [ sp:object _:b2 ; | 159 | + ] [ sp:object |
135 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ; | 160 | + [ sp:varName "realMinimumAnnularPressure"^^xsd:string |
136 | - sp:subject _:b1 | 161 | + ] ; |
137 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Water> ; | 162 | + sp:predicate |
163 | + [ sp:varName "pressureScaleMinimumAnnularPressure"^^xsd:string | ||
164 | + ] ; | ||
165 | + sp:subject _:b3 | ||
166 | + ] [ sp:object _:b4 ; | ||
167 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMaximumAnnularPressure> ; | ||
168 | + sp:subject | ||
169 | + [ sp:varName "wellTest"^^xsd:string | ||
170 | + ] | ||
171 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
138 | sp:predicate rdf:type ; | 172 | sp:predicate rdf:type ; |
139 | - sp:subject _:b2 | 173 | + sp:subject _:b4 |
140 | - ] [ sp:object _:b3 ; | 174 | + ] [ sp:object |
175 | + [ sp:varName "realMaximumAnnularPressure"^^xsd:string | ||
176 | + ] ; | ||
177 | + sp:predicate | ||
178 | + [ sp:varName "pressureScaleMaximumAnnularPressure"^^xsd:string | ||
179 | + ] ; | ||
180 | + sp:subject _:b4 | ||
181 | + ] [ sp:object _:b5 ; | ||
182 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadFlowingPressure> ; | ||
183 | + sp:subject | ||
184 | + [ sp:varName "wellTest"^^xsd:string | ||
185 | + ] | ||
186 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
141 | sp:predicate rdf:type ; | 187 | sp:predicate rdf:type ; |
142 | - sp:subject _:b2 | 188 | + sp:subject _:b5 |
143 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 189 | + ] [ sp:object |
190 | + [ sp:varName "realWellheadFlowingPressure"^^xsd:string | ||
191 | + ] ; | ||
192 | + sp:predicate | ||
193 | + [ sp:varName "pressureScaleWellheadFlowingPressure"^^xsd:string | ||
194 | + ] ; | ||
195 | + sp:subject _:b5 | ||
196 | + ] [ sp:object _:b6 ; | ||
197 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadMaximumPressure> ; | ||
198 | + sp:subject | ||
199 | + [ sp:varName "wellTest"^^xsd:string | ||
200 | + ] | ||
201 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
144 | sp:predicate rdf:type ; | 202 | sp:predicate rdf:type ; |
145 | - sp:subject _:b3 | 203 | + sp:subject _:b6 |
146 | ] [ sp:object | 204 | ] [ sp:object |
147 | - [ sp:varName "realVolume"^^xsd:string | 205 | + [ sp:varName "realWellheadMaximumPressure"^^xsd:string |
148 | ] ; | 206 | ] ; |
149 | sp:predicate | 207 | sp:predicate |
150 | - [ sp:varName "volumeScale"^^xsd:string | 208 | + [ sp:varName "pressureScaleWellheadMaximumPressure"^^xsd:string |
151 | ] ; | 209 | ] ; |
152 | - sp:subject _:b3 | 210 | + sp:subject _:b6 |
153 | ]) ; | 211 | ]) ; |
154 | sp:where ([ sp:object | 212 | sp:where ([ sp:object |
155 | [ sp:varName "wellSetRef"^^xsd:string | 213 | [ sp:varName "wellSetRef"^^xsd:string |
... | @@ -199,123 +257,206 @@ | ... | @@ -199,123 +257,206 @@ |
199 | [ sp:varName "wellTest"^^xsd:string | 257 | [ sp:varName "wellTest"^^xsd:string |
200 | ] | 258 | ] |
201 | ] [ sp:object | 259 | ] [ sp:object |
202 | - [ sp:varName "temporalPartOfAWellBore"^^xsd:string | 260 | + [ sp:varName "injectionTestRef"^^xsd:string |
203 | ] ; | 261 | ] ; |
204 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 262 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; |
205 | sp:subject | 263 | sp:subject |
206 | - [ sp:varName "wellTest"^^xsd:string | 264 | + [ sp:varName "wellTestRef"^^xsd:string |
207 | ] | 265 | ] |
208 | - ] [ sp:object | 266 | + ] [ rdf:type sp:Optional ; |
209 | - [ sp:varName "testDate"^^xsd:string | 267 | + sp:elements ([ sp:object |
268 | + [ sp:varName "minimumAnnularPressureRef"^^xsd:string | ||
210 | ] ; | 269 | ] ; |
211 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; | 270 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#minimumAnnularPressureRef> ; |
212 | sp:subject | 271 | sp:subject |
213 | - [ sp:varName "wellTest"^^xsd:string | 272 | + [ sp:varName "injectionTestRef"^^xsd:string |
214 | ] | 273 | ] |
215 | ] [ sp:object | 274 | ] [ sp:object |
216 | - [ sp:varName "wellBore"^^xsd:string | 275 | + [ sp:varName "realMinimumAnnularPressure"^^xsd:string |
217 | ] ; | 276 | ] ; |
218 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 277 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
219 | sp:subject | 278 | sp:subject |
220 | - [ sp:varName "temporalPartOfAWellBore"^^xsd:string | 279 | + [ sp:varName "minimumAnnularPressureRef"^^xsd:string |
221 | ] | 280 | ] |
222 | ] [ sp:object | 281 | ] [ sp:object |
223 | - [ sp:varName "wellBore"^^xsd:string | 282 | + [ sp:varName "uomMinimumAnnularPressure"^^xsd:string |
224 | ] ; | 283 | ] ; |
225 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; | 284 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
226 | sp:subject | 285 | sp:subject |
227 | - [ sp:varName "productionFlow"^^xsd:string | 286 | + [ sp:varName "minimumAnnularPressureRef"^^xsd:string |
228 | ] | 287 | ] |
229 | - ] [ sp:object | 288 | + ]) |
230 | - [ sp:varName "productionFlow"^^xsd:string | 289 | + ] [ rdf:type sp:Optional ; |
290 | + sp:elements ([ sp:object | ||
291 | + [ sp:varName "maximumAnnularPressureRef"^^xsd:string | ||
231 | ] ; | 292 | ] ; |
232 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 293 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#maximumAnnularPressureRef> ; |
233 | sp:subject | 294 | sp:subject |
234 | - [ sp:varName "productionFlowToDate"^^xsd:string | 295 | + [ sp:varName "injectionTestRef"^^xsd:string |
235 | ] | 296 | ] |
236 | ] [ sp:object | 297 | ] [ sp:object |
237 | - [ sp:varName "testDate"^^xsd:string | 298 | + [ sp:varName "realMaximumAnnularPressure"^^xsd:string |
238 | ] ; | 299 | ] ; |
239 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 300 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
240 | sp:subject | 301 | sp:subject |
241 | - [ sp:varName "productionFlowToDate"^^xsd:string | 302 | + [ sp:varName "maximumAnnularPressureRef"^^xsd:string |
242 | ] | 303 | ] |
243 | ] [ sp:object | 304 | ] [ sp:object |
244 | - [ sp:varName "injectionTestRef"^^xsd:string | 305 | + [ sp:varName "uomMaximumAnnularPressure"^^xsd:string |
245 | ] ; | 306 | ] ; |
246 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; | 307 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
247 | sp:subject | 308 | sp:subject |
248 | - [ sp:varName "wellTestRef"^^xsd:string | 309 | + [ sp:varName "maximumAnnularPressureRef"^^xsd:string |
249 | ] | 310 | ] |
250 | - ] [ sp:object | 311 | + ]) |
251 | - [ sp:varName "wellTestCumulativeRef"^^xsd:string | 312 | + ] [ rdf:type sp:Optional ; |
313 | + sp:elements ([ sp:object | ||
314 | + [ sp:varName "wellheadFlowingPressureRef"^^xsd:string | ||
252 | ] ; | 315 | ] ; |
253 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ; | 316 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellheadFlowingPressureRef> ; |
254 | sp:subject | 317 | sp:subject |
255 | [ sp:varName "injectionTestRef"^^xsd:string | 318 | [ sp:varName "injectionTestRef"^^xsd:string |
256 | ] | 319 | ] |
257 | ] [ sp:object | 320 | ] [ sp:object |
258 | - [ sp:varName "cumulativeWaterRef"^^xsd:string | 321 | + [ sp:varName "realWellheadFlowingPressure"^^xsd:string |
259 | ] ; | 322 | ] ; |
260 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeWaterRef> ; | 323 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
261 | sp:subject | 324 | sp:subject |
262 | - [ sp:varName "wellTestCumulativeRef"^^xsd:string | 325 | + [ sp:varName "wellheadFlowingPressureRef"^^xsd:string |
263 | ] | 326 | ] |
264 | ] [ sp:object | 327 | ] [ sp:object |
265 | - [ sp:varName "realVolume"^^xsd:string | 328 | + [ sp:varName "uomWellheadFlowingPressure"^^xsd:string |
329 | + ] ; | ||
330 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
331 | + sp:subject | ||
332 | + [ sp:varName "wellheadFlowingPressureRef"^^xsd:string | ||
333 | + ] | ||
334 | + ]) | ||
335 | + ] [ rdf:type sp:Optional ; | ||
336 | + sp:elements ([ sp:object | ||
337 | + [ sp:varName "wellheadMaximumPressureRef"^^xsd:string | ||
338 | + ] ; | ||
339 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellheadMaximumPressureRef> ; | ||
340 | + sp:subject | ||
341 | + [ sp:varName "injectionTestRef"^^xsd:string | ||
342 | + ] | ||
343 | + ] [ sp:object | ||
344 | + [ sp:varName "realWellheadMaximumPressure"^^xsd:string | ||
266 | ] ; | 345 | ] ; |
267 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 346 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
268 | sp:subject | 347 | sp:subject |
269 | - [ sp:varName "cumulativeWaterRef"^^xsd:string | 348 | + [ sp:varName "wellheadMaximumPressureRef"^^xsd:string |
270 | ] | 349 | ] |
271 | ] [ sp:object | 350 | ] [ sp:object |
272 | - [ sp:varName "uomVolume"^^xsd:string | 351 | + [ sp:varName "uomWellheadMaximumPressure"^^xsd:string |
273 | ] ; | 352 | ] ; |
274 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 353 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
275 | sp:subject | 354 | sp:subject |
276 | - [ sp:varName "cumulativeWaterRef"^^xsd:string | 355 | + [ sp:varName "wellheadMaximumPressureRef"^^xsd:string |
277 | ] | 356 | ] |
357 | + ]) | ||
278 | ] [ rdf:type sp:Bind ; | 358 | ] [ rdf:type sp:Bind ; |
279 | sp:expression | 359 | sp:expression |
280 | - [ rdf:type ep-dpr-spin-lib:selectLengthScale ; | 360 | + [ rdf:type ep-dpr-spin-lib:selectPressureScale ; |
281 | - sp:arg1 [ sp:varName "uomVolume"^^xsd:string | 361 | + sp:arg1 [ sp:varName "uomMinimumAnnularPressure"^^xsd:string |
282 | ] | 362 | ] |
283 | ] ; | 363 | ] ; |
284 | sp:variable | 364 | sp:variable |
285 | - [ sp:varName "volumeScale"^^xsd:string | 365 | + [ sp:varName "pressureScaleMinimumAnnularPressure"^^xsd:string |
366 | + ] | ||
367 | + ] [ rdf:type sp:Bind ; | ||
368 | + sp:expression | ||
369 | + [ rdf:type ep-dpr-spin-lib:selectPressureScale ; | ||
370 | + sp:arg1 [ sp:varName "uomMaximumAnnularPressure"^^xsd:string | ||
371 | + ] | ||
372 | + ] ; | ||
373 | + sp:variable | ||
374 | + [ sp:varName "pressureScaleMaximumAnnularPressure"^^xsd:string | ||
375 | + ] | ||
376 | + ] [ rdf:type sp:Bind ; | ||
377 | + sp:expression | ||
378 | + [ rdf:type ep-dpr-spin-lib:selectPressureScale ; | ||
379 | + sp:arg1 [ sp:varName "uomWellheadFlowingPressure"^^xsd:string | ||
380 | + ] | ||
381 | + ] ; | ||
382 | + sp:variable | ||
383 | + [ sp:varName "pressureScaleWellheadFlowingPressure"^^xsd:string | ||
384 | + ] | ||
385 | + ] [ rdf:type sp:Bind ; | ||
386 | + sp:expression | ||
387 | + [ rdf:type ep-dpr-spin-lib:selectPressureScale ; | ||
388 | + sp:arg1 [ sp:varName "uomWellheadMaximumPressure"^^xsd:string | ||
389 | + ] | ||
390 | + ] ; | ||
391 | + sp:variable | ||
392 | + [ sp:varName "pressureScaleWellheadMaximumPressure"^^xsd:string | ||
286 | ] | 393 | ] |
287 | ]) | 394 | ]) |
288 | ] ; | 395 | ] ; |
289 | spin:rule | 396 | spin:rule |
290 | [ rdf:type sp:Construct ; | 397 | [ rdf:type sp:Construct ; |
291 | - rdfs:comment "STEP 30143b Set the cumulative fluid flow - oil amount"^^xsd:string ; | 398 | + rdfs:comment "STEP 30141 Set the tested WellBoreSection"^^xsd:string ; |
292 | - sp:templates ([ sp:object _:b4 ; | 399 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ; |
293 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | 400 | + sp:predicate rdf:type ; |
294 | sp:subject | 401 | sp:subject |
295 | - [ sp:varName "productionFlowToDate"^^xsd:string | 402 | + [ sp:varName "wellTest"^^xsd:string |
296 | ] | 403 | ] |
297 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#OilFlow> ; | 404 | + ] [ sp:object _:b7 ; |
405 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#testedWellBoreInterval> ; | ||
406 | + sp:subject | ||
407 | + [ sp:varName "wellTest"^^xsd:string | ||
408 | + ] | ||
409 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; | ||
298 | sp:predicate rdf:type ; | 410 | sp:predicate rdf:type ; |
299 | - sp:subject _:b4 | 411 | + sp:subject _:b7 |
300 | - ] [ sp:object _:b5 ; | 412 | + ] [ sp:object _:b8 ; |
301 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ; | 413 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
302 | - sp:subject _:b4 | 414 | + sp:subject _:b7 |
303 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Oil> ; | 415 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ; |
304 | sp:predicate rdf:type ; | 416 | sp:predicate rdf:type ; |
305 | - sp:subject _:b5 | 417 | + sp:subject _:b8 |
306 | - ] [ sp:object _:b6 ; | 418 | + ] [ sp:object |
419 | + [ sp:varName "wellBore"^^xsd:string | ||
420 | + ] ; | ||
421 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ; | ||
422 | + sp:subject _:b8 | ||
423 | + ] [ sp:object _:b9 ; | ||
424 | + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ; | ||
425 | + sp:subject _:b8 | ||
426 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ; | ||
307 | sp:predicate rdf:type ; | 427 | sp:predicate rdf:type ; |
308 | - sp:subject _:b5 | 428 | + sp:subject _:b9 |
309 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 429 | + ] [ sp:object |
430 | + [ sp:varName "realMdTop"^^xsd:string | ||
431 | + ] ; | ||
432 | + sp:predicate | ||
433 | + [ sp:varName "lengthScaleMdTop"^^xsd:string | ||
434 | + ] ; | ||
435 | + sp:subject _:b9 | ||
436 | + ] [ sp:object _:b10 ; | ||
437 | + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ; | ||
438 | + sp:subject _:b8 | ||
439 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ; | ||
310 | sp:predicate rdf:type ; | 440 | sp:predicate rdf:type ; |
311 | - sp:subject _:b6 | 441 | + sp:subject _:b10 |
312 | ] [ sp:object | 442 | ] [ sp:object |
313 | - [ sp:varName "realVolume"^^xsd:string | 443 | + [ sp:varName "realMdBase"^^xsd:string |
314 | ] ; | 444 | ] ; |
315 | sp:predicate | 445 | sp:predicate |
316 | - [ sp:varName "volumeScale"^^xsd:string | 446 | + [ sp:varName "lengthScaleMdBase"^^xsd:string |
317 | ] ; | 447 | ] ; |
318 | - sp:subject _:b6 | 448 | + sp:subject _:b10 |
449 | + ] [ sp:object _:b11 ; | ||
450 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; | ||
451 | + sp:subject _:b8 | ||
452 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation> ; | ||
453 | + sp:predicate rdf:type ; | ||
454 | + sp:subject _:b11 | ||
455 | + ] [ sp:object | ||
456 | + [ sp:varName "testedFormation"^^xsd:string | ||
457 | + ] ; | ||
458 | + sp:predicate rdfs:label ; | ||
459 | + sp:subject _:b11 | ||
319 | ]) ; | 460 | ]) ; |
320 | sp:where ([ sp:object | 461 | sp:where ([ sp:object |
321 | [ sp:varName "wellSetRef"^^xsd:string | 462 | [ sp:varName "wellSetRef"^^xsd:string |
... | @@ -372,13 +513,6 @@ | ... | @@ -372,13 +513,6 @@ |
372 | [ sp:varName "wellTest"^^xsd:string | 513 | [ sp:varName "wellTest"^^xsd:string |
373 | ] | 514 | ] |
374 | ] [ sp:object | 515 | ] [ sp:object |
375 | - [ sp:varName "testDate"^^xsd:string | ||
376 | - ] ; | ||
377 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; | ||
378 | - sp:subject | ||
379 | - [ sp:varName "wellTest"^^xsd:string | ||
380 | - ] | ||
381 | - ] [ sp:object | ||
382 | [ sp:varName "wellBore"^^xsd:string | 516 | [ sp:varName "wellBore"^^xsd:string |
383 | ] ; | 517 | ] ; |
384 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 518 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
... | @@ -386,102 +520,119 @@ | ... | @@ -386,102 +520,119 @@ |
386 | [ sp:varName "temporalPartOfAWellBore"^^xsd:string | 520 | [ sp:varName "temporalPartOfAWellBore"^^xsd:string |
387 | ] | 521 | ] |
388 | ] [ sp:object | 522 | ] [ sp:object |
389 | - [ sp:varName "wellBore"^^xsd:string | 523 | + [ sp:varName "injectionTestRef"^^xsd:string |
390 | ] ; | 524 | ] ; |
391 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; | 525 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; |
392 | sp:subject | 526 | sp:subject |
393 | - [ sp:varName "productionFlow"^^xsd:string | 527 | + [ sp:varName "wellTestRef"^^xsd:string |
394 | ] | 528 | ] |
395 | ] [ sp:object | 529 | ] [ sp:object |
396 | - [ sp:varName "productionFlow"^^xsd:string | 530 | + [ sp:varName "testIntervalRef"^^xsd:string |
397 | ] ; | 531 | ] ; |
398 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 532 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testIntervalRef> ; |
399 | sp:subject | 533 | sp:subject |
400 | - [ sp:varName "productionFlowToDate"^^xsd:string | 534 | + [ sp:varName "injectionTestRef"^^xsd:string |
401 | ] | 535 | ] |
402 | - ] [ sp:object | 536 | + ] [ rdf:type sp:Optional ; |
403 | - [ sp:varName "testDate"^^xsd:string | 537 | + sp:elements ([ sp:object |
538 | + [ sp:varName "mdTopRef"^^xsd:string | ||
404 | ] ; | 539 | ] ; |
405 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 540 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdTopRef> ; |
406 | sp:subject | 541 | sp:subject |
407 | - [ sp:varName "productionFlowToDate"^^xsd:string | 542 | + [ sp:varName "testIntervalRef"^^xsd:string |
408 | ] | 543 | ] |
409 | ] [ sp:object | 544 | ] [ sp:object |
410 | - [ sp:varName "injectionTestRef"^^xsd:string | 545 | + [ sp:varName "realMdTop"^^xsd:string |
411 | ] ; | 546 | ] ; |
412 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; | 547 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
413 | sp:subject | 548 | sp:subject |
414 | - [ sp:varName "wellTestRef"^^xsd:string | 549 | + [ sp:varName "mdTopRef"^^xsd:string |
415 | ] | 550 | ] |
416 | ] [ sp:object | 551 | ] [ sp:object |
417 | - [ sp:varName "wellTestCumulativeRef"^^xsd:string | 552 | + [ sp:varName "uomMdTop"^^xsd:string |
418 | ] ; | 553 | ] ; |
419 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ; | 554 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
420 | sp:subject | 555 | sp:subject |
421 | - [ sp:varName "injectionTestRef"^^xsd:string | 556 | + [ sp:varName "mdTopRef"^^xsd:string |
422 | ] | 557 | ] |
423 | - ] [ sp:object | 558 | + ]) |
424 | - [ sp:varName "cumulativeOilRef"^^xsd:string | 559 | + ] [ rdf:type sp:Optional ; |
560 | + sp:elements ([ sp:object | ||
561 | + [ sp:varName "mdBaseRef"^^xsd:string | ||
425 | ] ; | 562 | ] ; |
426 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeOilRef> ; | 563 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdBaseRef> ; |
427 | sp:subject | 564 | sp:subject |
428 | - [ sp:varName "wellTestCumulativeRef"^^xsd:string | 565 | + [ sp:varName "testIntervalRef"^^xsd:string |
429 | ] | 566 | ] |
430 | ] [ sp:object | 567 | ] [ sp:object |
431 | - [ sp:varName "realVolume"^^xsd:string | 568 | + [ sp:varName "realMdBase"^^xsd:string |
432 | ] ; | 569 | ] ; |
433 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 570 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
434 | sp:subject | 571 | sp:subject |
435 | - [ sp:varName "cumulativeOilRef"^^xsd:string | 572 | + [ sp:varName "mdBaseRef"^^xsd:string |
436 | ] | 573 | ] |
437 | ] [ sp:object | 574 | ] [ sp:object |
438 | - [ sp:varName "uomVolume"^^xsd:string | 575 | + [ sp:varName "uomMdBase"^^xsd:string |
439 | ] ; | 576 | ] ; |
440 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 577 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
441 | sp:subject | 578 | sp:subject |
442 | - [ sp:varName "cumulativeOilRef"^^xsd:string | 579 | + [ sp:varName "mdBaseRef"^^xsd:string |
580 | + ] | ||
581 | + ]) | ||
582 | + ] [ rdf:type sp:Optional ; | ||
583 | + sp:elements ([ sp:object | ||
584 | + [ sp:varName "testedFormation"^^xsd:string | ||
585 | + ] ; | ||
586 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testedFormation> ; | ||
587 | + sp:subject | ||
588 | + [ sp:varName "testIntervalRef"^^xsd:string | ||
443 | ] | 589 | ] |
590 | + ]) | ||
444 | ] [ rdf:type sp:Bind ; | 591 | ] [ rdf:type sp:Bind ; |
445 | sp:expression | 592 | sp:expression |
446 | [ rdf:type ep-dpr-spin-lib:selectLengthScale ; | 593 | [ rdf:type ep-dpr-spin-lib:selectLengthScale ; |
447 | - sp:arg1 [ sp:varName "uomVolume"^^xsd:string | 594 | + sp:arg1 [ sp:varName "uomMdTop"^^xsd:string |
448 | ] | 595 | ] |
449 | ] ; | 596 | ] ; |
450 | sp:variable | 597 | sp:variable |
451 | - [ sp:varName "volumeScale"^^xsd:string | 598 | + [ sp:varName "lengthScaleMdTop"^^xsd:string |
599 | + ] | ||
600 | + ] [ rdf:type sp:Bind ; | ||
601 | + sp:expression | ||
602 | + [ rdf:type ep-dpr-spin-lib:selectLengthScale ; | ||
603 | + sp:arg1 [ sp:varName "uomMdBase"^^xsd:string | ||
604 | + ] | ||
605 | + ] ; | ||
606 | + sp:variable | ||
607 | + [ sp:varName "lengthScaleMdBase"^^xsd:string | ||
452 | ] | 608 | ] |
453 | ]) | 609 | ]) |
454 | ] ; | 610 | ] ; |
455 | spin:rule | 611 | spin:rule |
456 | [ rdf:type sp:Construct ; | 612 | [ rdf:type sp:Construct ; |
457 | - rdfs:comment "STEP 30143a Set the cumulative fluid flow - gas amount"^^xsd:string ; | 613 | + rdfs:comment "STEP 30143 Set the cumulative fluid flow"^^xsd:string ; |
458 | - sp:templates ([ sp:object _:b7 ; | 614 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ; |
459 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
460 | - sp:subject | ||
461 | - [ sp:varName "productionFlowToDate"^^xsd:string | ||
462 | - ] | ||
463 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#GasFlow> ; | ||
464 | - sp:predicate rdf:type ; | ||
465 | - sp:subject _:b7 | ||
466 | - ] [ sp:object _:b8 ; | ||
467 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ; | ||
468 | - sp:subject _:b7 | ||
469 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Gas> ; | ||
470 | - sp:predicate rdf:type ; | ||
471 | - sp:subject _:b8 | ||
472 | - ] [ sp:object _:b9 ; | ||
473 | sp:predicate rdf:type ; | 615 | sp:predicate rdf:type ; |
474 | - sp:subject _:b8 | 616 | + sp:subject _:b12 |
475 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 617 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; |
476 | sp:predicate rdf:type ; | 618 | sp:predicate rdf:type ; |
477 | - sp:subject _:b9 | 619 | + sp:subject _:b12 |
478 | ] [ sp:object | 620 | ] [ sp:object |
479 | - [ sp:varName "realVolume"^^xsd:string | 621 | + [ sp:varName "wellBore"^^xsd:string |
480 | ] ; | 622 | ] ; |
481 | - sp:predicate | 623 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; |
482 | - [ sp:varName "volumeScale"^^xsd:string | 624 | + sp:subject _:b12 |
625 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
626 | + sp:predicate rdf:type ; | ||
627 | + sp:subject _:b13 | ||
628 | + ] [ sp:object _:b12 ; | ||
629 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
630 | + sp:subject _:b13 | ||
631 | + ] [ sp:object | ||
632 | + [ sp:varName "testDate"^^xsd:string | ||
483 | ] ; | 633 | ] ; |
484 | - sp:subject _:b9 | 634 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
635 | + sp:subject _:b13 | ||
485 | ]) ; | 636 | ]) ; |
486 | sp:where ([ sp:object | 637 | sp:where ([ sp:object |
487 | [ sp:varName "wellSetRef"^^xsd:string | 638 | [ sp:varName "wellSetRef"^^xsd:string |
... | @@ -552,60 +703,175 @@ | ... | @@ -552,60 +703,175 @@ |
552 | [ sp:varName "temporalPartOfAWellBore"^^xsd:string | 703 | [ sp:varName "temporalPartOfAWellBore"^^xsd:string |
553 | ] | 704 | ] |
554 | ] [ sp:object | 705 | ] [ sp:object |
555 | - [ sp:varName "wellBore"^^xsd:string | 706 | + [ sp:varName "injectionTestRef"^^xsd:string |
556 | ] ; | 707 | ] ; |
557 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; | 708 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; |
558 | sp:subject | 709 | sp:subject |
559 | - [ sp:varName "productionFlow"^^xsd:string | 710 | + [ sp:varName "wellTestRef"^^xsd:string |
560 | ] | 711 | ] |
561 | ] [ sp:object | 712 | ] [ sp:object |
562 | - [ sp:varName "productionFlow"^^xsd:string | 713 | + [ sp:varName "wellTestCumulativeRef"^^xsd:string |
563 | ] ; | 714 | ] ; |
564 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 715 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ; |
565 | sp:subject | 716 | sp:subject |
566 | - [ sp:varName "productionFlowToDate"^^xsd:string | 717 | + [ sp:varName "injectionTestRef"^^xsd:string |
567 | ] | 718 | ] |
568 | - ] [ sp:object | 719 | + ]) |
569 | - [ sp:varName "testDate"^^xsd:string | ||
570 | ] ; | 720 | ] ; |
571 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 721 | + spin:rule |
722 | + [ rdf:type sp:Construct ; | ||
723 | + rdfs:comment "STEP 30143a Set the cumulative fluid flow - gas amount"^^xsd:string ; | ||
724 | + sp:templates ([ sp:object _:b14 ; | ||
725 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
572 | sp:subject | 726 | sp:subject |
573 | [ sp:varName "productionFlowToDate"^^xsd:string | 727 | [ sp:varName "productionFlowToDate"^^xsd:string |
574 | ] | 728 | ] |
729 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#GasFlow> ; | ||
730 | + sp:predicate rdf:type ; | ||
731 | + sp:subject _:b14 | ||
732 | + ] [ sp:object _:b15 ; | ||
733 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ; | ||
734 | + sp:subject _:b14 | ||
735 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Gas> ; | ||
736 | + sp:predicate rdf:type ; | ||
737 | + sp:subject _:b15 | ||
738 | + ] [ sp:object _:b16 ; | ||
739 | + sp:predicate rdf:type ; | ||
740 | + sp:subject _:b15 | ||
741 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
742 | + sp:predicate rdf:type ; | ||
743 | + sp:subject _:b16 | ||
575 | ] [ sp:object | 744 | ] [ sp:object |
576 | - [ sp:varName "injectionTestRef"^^xsd:string | 745 | + [ sp:varName "realVolume"^^xsd:string |
577 | ] ; | 746 | ] ; |
578 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; | 747 | + sp:predicate |
579 | - sp:subject | 748 | + [ sp:varName "volumeScale"^^xsd:string |
580 | - [ sp:varName "wellTestRef"^^xsd:string | 749 | + ] ; |
581 | - ] | 750 | + sp:subject _:b16 |
751 | + ]) ; | ||
752 | + sp:where ([ sp:object | ||
753 | + [ sp:varName "wellSetRef"^^xsd:string | ||
754 | + ] ; | ||
755 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellSetRef> ; | ||
756 | + sp:subject spin:_this | ||
582 | ] [ sp:object | 757 | ] [ sp:object |
583 | - [ sp:varName "wellTestCumulativeRef"^^xsd:string | 758 | + [ sp:varName "wellRef"^^xsd:string |
584 | ] ; | 759 | ] ; |
585 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ; | 760 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellRef> ; |
586 | sp:subject | 761 | sp:subject |
587 | - [ sp:varName "injectionTestRef"^^xsd:string | 762 | + [ sp:varName "wellSetRef"^^xsd:string |
588 | ] | 763 | ] |
589 | ] [ sp:object | 764 | ] [ sp:object |
590 | - [ sp:varName "cumulativeGasRef"^^xsd:string | 765 | + [ sp:varName "wellboreSetRef"^^xsd:string |
591 | ] ; | 766 | ] ; |
592 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeGasRef> ; | 767 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreSetRef> ; |
593 | sp:subject | 768 | sp:subject |
594 | - [ sp:varName "wellTestCumulativeRef"^^xsd:string | 769 | + [ sp:varName "wellRef"^^xsd:string |
595 | ] | 770 | ] |
596 | ] [ sp:object | 771 | ] [ sp:object |
597 | - [ sp:varName "realVolume"^^xsd:string | 772 | + [ sp:varName "wellboreRef"^^xsd:string |
598 | ] ; | 773 | ] ; |
599 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 774 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreRef> ; |
600 | sp:subject | 775 | sp:subject |
601 | - [ sp:varName "cumulativeGasRef"^^xsd:string | 776 | + [ sp:varName "wellboreSetRef"^^xsd:string |
602 | ] | 777 | ] |
603 | ] [ sp:object | 778 | ] [ sp:object |
604 | - [ sp:varName "uomVolume"^^xsd:string | 779 | + [ sp:varName "wellTestSetRef"^^xsd:string |
605 | ] ; | 780 | ] ; |
606 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 781 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestSetRef> ; |
607 | sp:subject | 782 | sp:subject |
608 | - [ sp:varName "cumulativeGasRef"^^xsd:string | 783 | + [ sp:varName "wellboreRef"^^xsd:string |
784 | + ] | ||
785 | + ] [ sp:object | ||
786 | + [ sp:varName "wellTestRef"^^xsd:string | ||
787 | + ] ; | ||
788 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestRef> ; | ||
789 | + sp:subject | ||
790 | + [ sp:varName "wellTestSetRef"^^xsd:string | ||
791 | + ] | ||
792 | + ] [ sp:object | ||
793 | + [ sp:varName "wellTestRef"^^xsd:string | ||
794 | + ] ; | ||
795 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
796 | + sp:subject | ||
797 | + [ sp:varName "wellTest"^^xsd:string | ||
798 | + ] | ||
799 | + ] [ sp:object | ||
800 | + [ sp:varName "temporalPartOfAWellBore"^^xsd:string | ||
801 | + ] ; | ||
802 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
803 | + sp:subject | ||
804 | + [ sp:varName "wellTest"^^xsd:string | ||
805 | + ] | ||
806 | + ] [ sp:object | ||
807 | + [ sp:varName "testDate"^^xsd:string | ||
808 | + ] ; | ||
809 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; | ||
810 | + sp:subject | ||
811 | + [ sp:varName "wellTest"^^xsd:string | ||
812 | + ] | ||
813 | + ] [ sp:object | ||
814 | + [ sp:varName "wellBore"^^xsd:string | ||
815 | + ] ; | ||
816 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
817 | + sp:subject | ||
818 | + [ sp:varName "temporalPartOfAWellBore"^^xsd:string | ||
819 | + ] | ||
820 | + ] [ sp:object | ||
821 | + [ sp:varName "wellBore"^^xsd:string | ||
822 | + ] ; | ||
823 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; | ||
824 | + sp:subject | ||
825 | + [ sp:varName "productionFlow"^^xsd:string | ||
826 | + ] | ||
827 | + ] [ sp:object | ||
828 | + [ sp:varName "productionFlow"^^xsd:string | ||
829 | + ] ; | ||
830 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
831 | + sp:subject | ||
832 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
833 | + ] | ||
834 | + ] [ sp:object | ||
835 | + [ sp:varName "testDate"^^xsd:string | ||
836 | + ] ; | ||
837 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
838 | + sp:subject | ||
839 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
840 | + ] | ||
841 | + ] [ sp:object | ||
842 | + [ sp:varName "injectionTestRef"^^xsd:string | ||
843 | + ] ; | ||
844 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; | ||
845 | + sp:subject | ||
846 | + [ sp:varName "wellTestRef"^^xsd:string | ||
847 | + ] | ||
848 | + ] [ sp:object | ||
849 | + [ sp:varName "wellTestCumulativeRef"^^xsd:string | ||
850 | + ] ; | ||
851 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ; | ||
852 | + sp:subject | ||
853 | + [ sp:varName "injectionTestRef"^^xsd:string | ||
854 | + ] | ||
855 | + ] [ sp:object | ||
856 | + [ sp:varName "cumulativeGasRef"^^xsd:string | ||
857 | + ] ; | ||
858 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeGasRef> ; | ||
859 | + sp:subject | ||
860 | + [ sp:varName "wellTestCumulativeRef"^^xsd:string | ||
861 | + ] | ||
862 | + ] [ sp:object | ||
863 | + [ sp:varName "realVolume"^^xsd:string | ||
864 | + ] ; | ||
865 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
866 | + sp:subject | ||
867 | + [ sp:varName "cumulativeGasRef"^^xsd:string | ||
868 | + ] | ||
869 | + ] [ sp:object | ||
870 | + [ sp:varName "uomVolume"^^xsd:string | ||
871 | + ] ; | ||
872 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
873 | + sp:subject | ||
874 | + [ sp:varName "cumulativeGasRef"^^xsd:string | ||
609 | ] | 875 | ] |
610 | ] [ rdf:type sp:Bind ; | 876 | ] [ rdf:type sp:Bind ; |
611 | sp:expression | 877 | sp:expression |
... | @@ -620,29 +886,34 @@ | ... | @@ -620,29 +886,34 @@ |
620 | ] ; | 886 | ] ; |
621 | spin:rule | 887 | spin:rule |
622 | [ rdf:type sp:Construct ; | 888 | [ rdf:type sp:Construct ; |
623 | - rdfs:comment "STEP 30143 Set the cumulative fluid flow"^^xsd:string ; | 889 | + rdfs:comment "STEP 30143b Set the cumulative fluid flow - oil amount"^^xsd:string ; |
624 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ; | 890 | + sp:templates ([ sp:object _:b17 ; |
891 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
892 | + sp:subject | ||
893 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
894 | + ] | ||
895 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#OilFlow> ; | ||
625 | sp:predicate rdf:type ; | 896 | sp:predicate rdf:type ; |
626 | - sp:subject _:b10 | 897 | + sp:subject _:b17 |
627 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | 898 | + ] [ sp:object _:b18 ; |
899 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ; | ||
900 | + sp:subject _:b17 | ||
901 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Oil> ; | ||
628 | sp:predicate rdf:type ; | 902 | sp:predicate rdf:type ; |
629 | - sp:subject _:b10 | 903 | + sp:subject _:b18 |
630 | - ] [ sp:object | 904 | + ] [ sp:object _:b19 ; |
631 | - [ sp:varName "wellBore"^^xsd:string | ||
632 | - ] ; | ||
633 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; | ||
634 | - sp:subject _:b10 | ||
635 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
636 | sp:predicate rdf:type ; | 905 | sp:predicate rdf:type ; |
637 | - sp:subject _:b11 | 906 | + sp:subject _:b18 |
638 | - ] [ sp:object _:b10 ; | 907 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
639 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 908 | + sp:predicate rdf:type ; |
640 | - sp:subject _:b11 | 909 | + sp:subject _:b19 |
641 | ] [ sp:object | 910 | ] [ sp:object |
642 | - [ sp:varName "testDate"^^xsd:string | 911 | + [ sp:varName "realVolume"^^xsd:string |
643 | ] ; | 912 | ] ; |
644 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 913 | + sp:predicate |
645 | - sp:subject _:b11 | 914 | + [ sp:varName "volumeScale"^^xsd:string |
915 | + ] ; | ||
916 | + sp:subject _:b19 | ||
646 | ]) ; | 917 | ]) ; |
647 | sp:where ([ sp:object | 918 | sp:where ([ sp:object |
648 | [ sp:varName "wellSetRef"^^xsd:string | 919 | [ sp:varName "wellSetRef"^^xsd:string |
... | @@ -713,6 +984,27 @@ | ... | @@ -713,6 +984,27 @@ |
713 | [ sp:varName "temporalPartOfAWellBore"^^xsd:string | 984 | [ sp:varName "temporalPartOfAWellBore"^^xsd:string |
714 | ] | 985 | ] |
715 | ] [ sp:object | 986 | ] [ sp:object |
987 | + [ sp:varName "wellBore"^^xsd:string | ||
988 | + ] ; | ||
989 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; | ||
990 | + sp:subject | ||
991 | + [ sp:varName "productionFlow"^^xsd:string | ||
992 | + ] | ||
993 | + ] [ sp:object | ||
994 | + [ sp:varName "productionFlow"^^xsd:string | ||
995 | + ] ; | ||
996 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
997 | + sp:subject | ||
998 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
999 | + ] | ||
1000 | + ] [ sp:object | ||
1001 | + [ sp:varName "testDate"^^xsd:string | ||
1002 | + ] ; | ||
1003 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
1004 | + sp:subject | ||
1005 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1006 | + ] | ||
1007 | + ] [ sp:object | ||
716 | [ sp:varName "injectionTestRef"^^xsd:string | 1008 | [ sp:varName "injectionTestRef"^^xsd:string |
717 | ] ; | 1009 | ] ; |
718 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; | 1010 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; |
... | @@ -726,39 +1018,68 @@ | ... | @@ -726,39 +1018,68 @@ |
726 | sp:subject | 1018 | sp:subject |
727 | [ sp:varName "injectionTestRef"^^xsd:string | 1019 | [ sp:varName "injectionTestRef"^^xsd:string |
728 | ] | 1020 | ] |
1021 | + ] [ sp:object | ||
1022 | + [ sp:varName "cumulativeOilRef"^^xsd:string | ||
1023 | + ] ; | ||
1024 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeOilRef> ; | ||
1025 | + sp:subject | ||
1026 | + [ sp:varName "wellTestCumulativeRef"^^xsd:string | ||
1027 | + ] | ||
1028 | + ] [ sp:object | ||
1029 | + [ sp:varName "realVolume"^^xsd:string | ||
1030 | + ] ; | ||
1031 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
1032 | + sp:subject | ||
1033 | + [ sp:varName "cumulativeOilRef"^^xsd:string | ||
1034 | + ] | ||
1035 | + ] [ sp:object | ||
1036 | + [ sp:varName "uomVolume"^^xsd:string | ||
1037 | + ] ; | ||
1038 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
1039 | + sp:subject | ||
1040 | + [ sp:varName "cumulativeOilRef"^^xsd:string | ||
1041 | + ] | ||
1042 | + ] [ rdf:type sp:Bind ; | ||
1043 | + sp:expression | ||
1044 | + [ rdf:type ep-dpr-spin-lib:selectLengthScale ; | ||
1045 | + sp:arg1 [ sp:varName "uomVolume"^^xsd:string | ||
1046 | + ] | ||
1047 | + ] ; | ||
1048 | + sp:variable | ||
1049 | + [ sp:varName "volumeScale"^^xsd:string | ||
1050 | + ] | ||
729 | ]) | 1051 | ]) |
730 | ] ; | 1052 | ] ; |
731 | spin:rule | 1053 | spin:rule |
732 | [ rdf:type sp:Construct ; | 1054 | [ rdf:type sp:Construct ; |
733 | - rdfs:comment "STEP 30140 Classify as an Injection test and set duration"^^xsd:string ; | 1055 | + rdfs:comment "STEP 30143c Set the cumulative fluid flow - water amount"^^xsd:string ; |
734 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ; | 1056 | + sp:templates ([ sp:object _:b20 ; |
735 | - sp:predicate rdf:type ; | 1057 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; |
736 | - sp:subject | ||
737 | - [ sp:varName "wellTest"^^xsd:string | ||
738 | - ] | ||
739 | - ] [ sp:object _:b12 ; | ||
740 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ; | ||
741 | sp:subject | 1058 | sp:subject |
742 | - [ sp:varName "wellTest"^^xsd:string | 1059 | + [ sp:varName "productionFlowToDate"^^xsd:string |
743 | ] | 1060 | ] |
744 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowOfMaterial> ; | 1061 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WaterFlow> ; |
745 | sp:predicate rdf:type ; | 1062 | sp:predicate rdf:type ; |
746 | - sp:subject _:b12 | 1063 | + sp:subject _:b20 |
747 | - ] [ sp:object _:b13 ; | 1064 | + ] [ sp:object _:b21 ; |
1065 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial> ; | ||
1066 | + sp:subject _:b20 | ||
1067 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Water> ; | ||
748 | sp:predicate rdf:type ; | 1068 | sp:predicate rdf:type ; |
749 | - sp:subject | 1069 | + sp:subject _:b21 |
750 | - [ sp:varName "wellTest"^^xsd:string | 1070 | + ] [ sp:object _:b22 ; |
751 | - ] | ||
752 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; | ||
753 | sp:predicate rdf:type ; | 1071 | sp:predicate rdf:type ; |
754 | - sp:subject _:b13 | 1072 | + sp:subject _:b21 |
1073 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
1074 | + sp:predicate rdf:type ; | ||
1075 | + sp:subject _:b22 | ||
755 | ] [ sp:object | 1076 | ] [ sp:object |
756 | - [ sp:varName "realDuration"^^xsd:string | 1077 | + [ sp:varName "realVolume"^^xsd:string |
757 | ] ; | 1078 | ] ; |
758 | sp:predicate | 1079 | sp:predicate |
759 | - [ sp:varName "durationScale"^^xsd:string | 1080 | + [ sp:varName "volumeScale"^^xsd:string |
760 | ] ; | 1081 | ] ; |
761 | - sp:subject _:b13 | 1082 | + sp:subject _:b22 |
762 | ]) ; | 1083 | ]) ; |
763 | sp:where ([ sp:object | 1084 | sp:where ([ sp:object |
764 | [ sp:varName "wellSetRef"^^xsd:string | 1085 | [ sp:varName "wellSetRef"^^xsd:string |
... | @@ -808,156 +1129,46 @@ | ... | @@ -808,156 +1129,46 @@ |
808 | [ sp:varName "wellTest"^^xsd:string | 1129 | [ sp:varName "wellTest"^^xsd:string |
809 | ] | 1130 | ] |
810 | ] [ sp:object | 1131 | ] [ sp:object |
811 | - [ sp:varName "injectionTestRef"^^xsd:string | 1132 | + [ sp:varName "temporalPartOfAWellBore"^^xsd:string |
812 | ] ; | 1133 | ] ; |
813 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; | 1134 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; |
814 | sp:subject | 1135 | sp:subject |
815 | - [ sp:varName "wellTestRef"^^xsd:string | 1136 | + [ sp:varName "wellTest"^^xsd:string |
816 | ] | 1137 | ] |
817 | - ] [ rdf:type sp:Optional ; | 1138 | + ] [ sp:object |
818 | - sp:elements ([ sp:object | 1139 | + [ sp:varName "testDate"^^xsd:string |
819 | - [ sp:varName "testDurationRef"^^xsd:string | ||
820 | ] ; | 1140 | ] ; |
821 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testDurationRef> ; | 1141 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; |
822 | sp:subject | 1142 | sp:subject |
823 | - [ sp:varName "productionTestRef"^^xsd:string | 1143 | + [ sp:varName "wellTest"^^xsd:string |
824 | ] | 1144 | ] |
825 | ] [ sp:object | 1145 | ] [ sp:object |
826 | - [ sp:varName "realDuration"^^xsd:string | 1146 | + [ sp:varName "wellBore"^^xsd:string |
827 | ] ; | 1147 | ] ; |
828 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 1148 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
829 | sp:subject | 1149 | sp:subject |
830 | - [ sp:varName "testDurationRef"^^xsd:string | 1150 | + [ sp:varName "temporalPartOfAWellBore"^^xsd:string |
831 | ] | 1151 | ] |
832 | ] [ sp:object | 1152 | ] [ sp:object |
833 | - [ sp:varName "uomDuration"^^xsd:string | 1153 | + [ sp:varName "wellBore"^^xsd:string |
834 | ] ; | 1154 | ] ; |
835 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 1155 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowOutOf> ; |
836 | sp:subject | 1156 | sp:subject |
837 | - [ sp:varName "testDurationRef"^^xsd:string | 1157 | + [ sp:varName "productionFlow"^^xsd:string |
838 | - ] | ||
839 | - ]) | ||
840 | - ] [ rdf:type sp:Bind ; | ||
841 | - sp:expression | ||
842 | - [ rdf:type ep-dpr-spin-lib:selectDurationScale ; | ||
843 | - sp:arg1 [ sp:varName "uomDuration"^^xsd:string | ||
844 | ] | 1158 | ] |
1159 | + ] [ sp:object | ||
1160 | + [ sp:varName "productionFlow"^^xsd:string | ||
845 | ] ; | 1161 | ] ; |
846 | - sp:variable | 1162 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
847 | - [ sp:varName "durationScale"^^xsd:string | ||
848 | - ] | ||
849 | - ]) | ||
850 | - ] ; | ||
851 | - spin:rule | ||
852 | - [ rdf:type sp:Construct ; | ||
853 | - rdfs:comment "STEP 30144 Set the injection test pressures"^^xsd:string ; | ||
854 | - sp:templates ([ sp:object _:b14 ; | ||
855 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMinimumAnnularPressure> ; | ||
856 | - sp:subject | ||
857 | - [ sp:varName "wellTest"^^xsd:string | ||
858 | - ] | ||
859 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
860 | - sp:predicate rdf:type ; | ||
861 | - sp:subject _:b14 | ||
862 | - ] [ sp:object | ||
863 | - [ sp:varName "realMinimumAnnularPressure"^^xsd:string | ||
864 | - ] ; | ||
865 | - sp:predicate | ||
866 | - [ sp:varName "pressureScaleMinimumAnnularPressure"^^xsd:string | ||
867 | - ] ; | ||
868 | - sp:subject _:b14 | ||
869 | - ] [ sp:object _:b15 ; | ||
870 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMaximumAnnularPressure> ; | ||
871 | - sp:subject | ||
872 | - [ sp:varName "wellTest"^^xsd:string | ||
873 | - ] | ||
874 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
875 | - sp:predicate rdf:type ; | ||
876 | - sp:subject _:b15 | ||
877 | - ] [ sp:object | ||
878 | - [ sp:varName "realMaximumAnnularPressure"^^xsd:string | ||
879 | - ] ; | ||
880 | - sp:predicate | ||
881 | - [ sp:varName "pressureScaleMaximumAnnularPressure"^^xsd:string | ||
882 | - ] ; | ||
883 | - sp:subject _:b15 | ||
884 | - ] [ sp:object _:b16 ; | ||
885 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadFlowingPressure> ; | ||
886 | - sp:subject | ||
887 | - [ sp:varName "wellTest"^^xsd:string | ||
888 | - ] | ||
889 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
890 | - sp:predicate rdf:type ; | ||
891 | - sp:subject _:b16 | ||
892 | - ] [ sp:object | ||
893 | - [ sp:varName "realWellheadFlowingPressure"^^xsd:string | ||
894 | - ] ; | ||
895 | - sp:predicate | ||
896 | - [ sp:varName "pressureScaleWellheadFlowingPressure"^^xsd:string | ||
897 | - ] ; | ||
898 | - sp:subject _:b16 | ||
899 | - ] [ sp:object _:b17 ; | ||
900 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadMaximumPressure> ; | ||
901 | - sp:subject | ||
902 | - [ sp:varName "wellTest"^^xsd:string | ||
903 | - ] | ||
904 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
905 | - sp:predicate rdf:type ; | ||
906 | - sp:subject _:b17 | ||
907 | - ] [ sp:object | ||
908 | - [ sp:varName "realWellheadMaximumPressure"^^xsd:string | ||
909 | - ] ; | ||
910 | - sp:predicate | ||
911 | - [ sp:varName "pressureScaleWellheadMaximumPressure"^^xsd:string | ||
912 | - ] ; | ||
913 | - sp:subject _:b17 | ||
914 | - ]) ; | ||
915 | - sp:where ([ sp:object | ||
916 | - [ sp:varName "wellSetRef"^^xsd:string | ||
917 | - ] ; | ||
918 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellSetRef> ; | ||
919 | - sp:subject spin:_this | ||
920 | - ] [ sp:object | ||
921 | - [ sp:varName "wellRef"^^xsd:string | ||
922 | - ] ; | ||
923 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellRef> ; | ||
924 | - sp:subject | ||
925 | - [ sp:varName "wellSetRef"^^xsd:string | ||
926 | - ] | ||
927 | - ] [ sp:object | ||
928 | - [ sp:varName "wellboreSetRef"^^xsd:string | ||
929 | - ] ; | ||
930 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreSetRef> ; | ||
931 | - sp:subject | ||
932 | - [ sp:varName "wellRef"^^xsd:string | ||
933 | - ] | ||
934 | - ] [ sp:object | ||
935 | - [ sp:varName "wellboreRef"^^xsd:string | ||
936 | - ] ; | ||
937 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellboreRef> ; | ||
938 | - sp:subject | ||
939 | - [ sp:varName "wellboreSetRef"^^xsd:string | ||
940 | - ] | ||
941 | - ] [ sp:object | ||
942 | - [ sp:varName "wellTestSetRef"^^xsd:string | ||
943 | - ] ; | ||
944 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestSetRef> ; | ||
945 | - sp:subject | ||
946 | - [ sp:varName "wellboreRef"^^xsd:string | ||
947 | - ] | ||
948 | - ] [ sp:object | ||
949 | - [ sp:varName "wellTestRef"^^xsd:string | ||
950 | - ] ; | ||
951 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestRef> ; | ||
952 | sp:subject | 1163 | sp:subject |
953 | - [ sp:varName "wellTestSetRef"^^xsd:string | 1164 | + [ sp:varName "productionFlowToDate"^^xsd:string |
954 | ] | 1165 | ] |
955 | ] [ sp:object | 1166 | ] [ sp:object |
956 | - [ sp:varName "wellTestRef"^^xsd:string | 1167 | + [ sp:varName "testDate"^^xsd:string |
957 | ] ; | 1168 | ] ; |
958 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 1169 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
959 | sp:subject | 1170 | sp:subject |
960 | - [ sp:varName "wellTest"^^xsd:string | 1171 | + [ sp:varName "productionFlowToDate"^^xsd:string |
961 | ] | 1172 | ] |
962 | ] [ sp:object | 1173 | ] [ sp:object |
963 | [ sp:varName "injectionTestRef"^^xsd:string | 1174 | [ sp:varName "injectionTestRef"^^xsd:string |
... | @@ -966,200 +1177,60 @@ | ... | @@ -966,200 +1177,60 @@ |
966 | sp:subject | 1177 | sp:subject |
967 | [ sp:varName "wellTestRef"^^xsd:string | 1178 | [ sp:varName "wellTestRef"^^xsd:string |
968 | ] | 1179 | ] |
969 | - ] [ rdf:type sp:Optional ; | ||
970 | - sp:elements ([ sp:object | ||
971 | - [ sp:varName "minimumAnnularPressureRef"^^xsd:string | ||
972 | - ] ; | ||
973 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#minimumAnnularPressureRef> ; | ||
974 | - sp:subject | ||
975 | - [ sp:varName "injectionTestRef"^^xsd:string | ||
976 | - ] | ||
977 | - ] [ sp:object | ||
978 | - [ sp:varName "realMinimumAnnularPressure"^^xsd:string | ||
979 | - ] ; | ||
980 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
981 | - sp:subject | ||
982 | - [ sp:varName "minimumAnnularPressureRef"^^xsd:string | ||
983 | - ] | ||
984 | ] [ sp:object | 1180 | ] [ sp:object |
985 | - [ sp:varName "uomMinimumAnnularPressure"^^xsd:string | 1181 | + [ sp:varName "wellTestCumulativeRef"^^xsd:string |
986 | - ] ; | ||
987 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
988 | - sp:subject | ||
989 | - [ sp:varName "minimumAnnularPressureRef"^^xsd:string | ||
990 | - ] | ||
991 | - ]) | ||
992 | - ] [ rdf:type sp:Optional ; | ||
993 | - sp:elements ([ sp:object | ||
994 | - [ sp:varName "maximumAnnularPressureRef"^^xsd:string | ||
995 | - ] ; | ||
996 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#maximumAnnularPressureRef> ; | ||
997 | - sp:subject | ||
998 | - [ sp:varName "injectionTestRef"^^xsd:string | ||
999 | - ] | ||
1000 | - ] [ sp:object | ||
1001 | - [ sp:varName "realMaximumAnnularPressure"^^xsd:string | ||
1002 | - ] ; | ||
1003 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
1004 | - sp:subject | ||
1005 | - [ sp:varName "maximumAnnularPressureRef"^^xsd:string | ||
1006 | - ] | ||
1007 | - ] [ sp:object | ||
1008 | - [ sp:varName "uomMaximumAnnularPressure"^^xsd:string | ||
1009 | - ] ; | ||
1010 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
1011 | - sp:subject | ||
1012 | - [ sp:varName "maximumAnnularPressureRef"^^xsd:string | ||
1013 | - ] | ||
1014 | - ]) | ||
1015 | - ] [ rdf:type sp:Optional ; | ||
1016 | - sp:elements ([ sp:object | ||
1017 | - [ sp:varName "wellheadFlowingPressureRef"^^xsd:string | ||
1018 | ] ; | 1182 | ] ; |
1019 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellheadFlowingPressureRef> ; | 1183 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef> ; |
1020 | sp:subject | 1184 | sp:subject |
1021 | [ sp:varName "injectionTestRef"^^xsd:string | 1185 | [ sp:varName "injectionTestRef"^^xsd:string |
1022 | ] | 1186 | ] |
1023 | ] [ sp:object | 1187 | ] [ sp:object |
1024 | - [ sp:varName "realWellheadFlowingPressure"^^xsd:string | 1188 | + [ sp:varName "cumulativeWaterRef"^^xsd:string |
1025 | - ] ; | ||
1026 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
1027 | - sp:subject | ||
1028 | - [ sp:varName "wellheadFlowingPressureRef"^^xsd:string | ||
1029 | - ] | ||
1030 | - ] [ sp:object | ||
1031 | - [ sp:varName "uomWellheadFlowingPressure"^^xsd:string | ||
1032 | - ] ; | ||
1033 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
1034 | - sp:subject | ||
1035 | - [ sp:varName "wellheadFlowingPressureRef"^^xsd:string | ||
1036 | - ] | ||
1037 | - ]) | ||
1038 | - ] [ rdf:type sp:Optional ; | ||
1039 | - sp:elements ([ sp:object | ||
1040 | - [ sp:varName "wellheadMaximumPressureRef"^^xsd:string | ||
1041 | ] ; | 1189 | ] ; |
1042 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#wellheadMaximumPressureRef> ; | 1190 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cumulativeWaterRef> ; |
1043 | sp:subject | 1191 | sp:subject |
1044 | - [ sp:varName "injectionTestRef"^^xsd:string | 1192 | + [ sp:varName "wellTestCumulativeRef"^^xsd:string |
1045 | ] | 1193 | ] |
1046 | ] [ sp:object | 1194 | ] [ sp:object |
1047 | - [ sp:varName "realWellheadMaximumPressure"^^xsd:string | 1195 | + [ sp:varName "realVolume"^^xsd:string |
1048 | ] ; | 1196 | ] ; |
1049 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 1197 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
1050 | sp:subject | 1198 | sp:subject |
1051 | - [ sp:varName "wellheadMaximumPressureRef"^^xsd:string | 1199 | + [ sp:varName "cumulativeWaterRef"^^xsd:string |
1052 | ] | 1200 | ] |
1053 | ] [ sp:object | 1201 | ] [ sp:object |
1054 | - [ sp:varName "uomWellheadMaximumPressure"^^xsd:string | 1202 | + [ sp:varName "uomVolume"^^xsd:string |
1055 | ] ; | 1203 | ] ; |
1056 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 1204 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
1057 | sp:subject | 1205 | sp:subject |
1058 | - [ sp:varName "wellheadMaximumPressureRef"^^xsd:string | 1206 | + [ sp:varName "cumulativeWaterRef"^^xsd:string |
1059 | - ] | ||
1060 | - ]) | ||
1061 | - ] [ rdf:type sp:Bind ; | ||
1062 | - sp:expression | ||
1063 | - [ rdf:type ep-dpr-spin-lib:selectPressureScale ; | ||
1064 | - sp:arg1 [ sp:varName "uomMinimumAnnularPressure"^^xsd:string | ||
1065 | - ] | ||
1066 | - ] ; | ||
1067 | - sp:variable | ||
1068 | - [ sp:varName "pressureScaleMinimumAnnularPressure"^^xsd:string | ||
1069 | - ] | ||
1070 | - ] [ rdf:type sp:Bind ; | ||
1071 | - sp:expression | ||
1072 | - [ rdf:type ep-dpr-spin-lib:selectPressureScale ; | ||
1073 | - sp:arg1 [ sp:varName "uomMaximumAnnularPressure"^^xsd:string | ||
1074 | - ] | ||
1075 | - ] ; | ||
1076 | - sp:variable | ||
1077 | - [ sp:varName "pressureScaleMaximumAnnularPressure"^^xsd:string | ||
1078 | - ] | ||
1079 | - ] [ rdf:type sp:Bind ; | ||
1080 | - sp:expression | ||
1081 | - [ rdf:type ep-dpr-spin-lib:selectPressureScale ; | ||
1082 | - sp:arg1 [ sp:varName "uomWellheadFlowingPressure"^^xsd:string | ||
1083 | - ] | ||
1084 | - ] ; | ||
1085 | - sp:variable | ||
1086 | - [ sp:varName "pressureScaleWellheadFlowingPressure"^^xsd:string | ||
1087 | ] | 1207 | ] |
1088 | ] [ rdf:type sp:Bind ; | 1208 | ] [ rdf:type sp:Bind ; |
1089 | sp:expression | 1209 | sp:expression |
1090 | - [ rdf:type ep-dpr-spin-lib:selectPressureScale ; | 1210 | + [ rdf:type ep-dpr-spin-lib:selectLengthScale ; |
1091 | - sp:arg1 [ sp:varName "uomWellheadMaximumPressure"^^xsd:string | 1211 | + sp:arg1 [ sp:varName "uomVolume"^^xsd:string |
1092 | ] | 1212 | ] |
1093 | ] ; | 1213 | ] ; |
1094 | sp:variable | 1214 | sp:variable |
1095 | - [ sp:varName "pressureScaleWellheadMaximumPressure"^^xsd:string | 1215 | + [ sp:varName "volumeScale"^^xsd:string |
1096 | ] | 1216 | ] |
1097 | ]) | 1217 | ]) |
1098 | ] ; | 1218 | ] ; |
1099 | spin:rule | 1219 | spin:rule |
1100 | [ rdf:type sp:Construct ; | 1220 | [ rdf:type sp:Construct ; |
1101 | - rdfs:comment "STEP 30141 Set the tested WellBoreSection"^^xsd:string ; | 1221 | + rdfs:comment "STEP 30142 Set the injected fluid type"^^xsd:string ; |
1102 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ; | 1222 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ; |
1103 | sp:predicate rdf:type ; | 1223 | sp:predicate rdf:type ; |
1104 | sp:subject | 1224 | sp:subject |
1105 | - [ sp:varName "wellTest"^^xsd:string | 1225 | + [ sp:varName "wellTestInjectedFluid"^^xsd:string |
1106 | - ] | ||
1107 | - ] [ sp:object _:b18 ; | ||
1108 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#testedWellBoreInterval> ; | ||
1109 | - sp:subject | ||
1110 | - [ sp:varName "wellTest"^^xsd:string | ||
1111 | ] | 1226 | ] |
1112 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; | ||
1113 | - sp:predicate rdf:type ; | ||
1114 | - sp:subject _:b18 | ||
1115 | - ] [ sp:object _:b19 ; | ||
1116 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1117 | - sp:subject _:b18 | ||
1118 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ; | ||
1119 | - sp:predicate rdf:type ; | ||
1120 | - sp:subject _:b19 | ||
1121 | - ] [ sp:object | ||
1122 | - [ sp:varName "wellBore"^^xsd:string | ||
1123 | - ] ; | ||
1124 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ; | ||
1125 | - sp:subject _:b19 | ||
1126 | - ] [ sp:object _:b20 ; | ||
1127 | - sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ; | ||
1128 | - sp:subject _:b19 | ||
1129 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ; | ||
1130 | - sp:predicate rdf:type ; | ||
1131 | - sp:subject _:b20 | ||
1132 | - ] [ sp:object | ||
1133 | - [ sp:varName "realMdTop"^^xsd:string | ||
1134 | - ] ; | ||
1135 | - sp:predicate | ||
1136 | - [ sp:varName "lengthScaleMdTop"^^xsd:string | ||
1137 | - ] ; | ||
1138 | - sp:subject _:b20 | ||
1139 | - ] [ sp:object _:b21 ; | ||
1140 | - sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ; | ||
1141 | - sp:subject _:b19 | ||
1142 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ; | ||
1143 | - sp:predicate rdf:type ; | ||
1144 | - sp:subject _:b21 | ||
1145 | ] [ sp:object | 1227 | ] [ sp:object |
1146 | - [ sp:varName "realMdBase"^^xsd:string | 1228 | + [ sp:varName "injectedFluidType"^^xsd:string |
1147 | - ] ; | ||
1148 | - sp:predicate | ||
1149 | - [ sp:varName "lengthScaleMdBase"^^xsd:string | ||
1150 | ] ; | 1229 | ] ; |
1151 | - sp:subject _:b21 | ||
1152 | - ] [ sp:object _:b22 ; | ||
1153 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; | ||
1154 | - sp:subject _:b19 | ||
1155 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation> ; | ||
1156 | sp:predicate rdf:type ; | 1230 | sp:predicate rdf:type ; |
1157 | - sp:subject _:b22 | 1231 | + sp:subject |
1158 | - ] [ sp:object | 1232 | + [ sp:varName "wellTestInjectedFluid"^^xsd:string |
1159 | - [ sp:varName "testedFormation"^^xsd:string | 1233 | + ] |
1160 | - ] ; | ||
1161 | - sp:predicate rdfs:label ; | ||
1162 | - sp:subject _:b22 | ||
1163 | ]) ; | 1234 | ]) ; |
1164 | sp:where ([ sp:object | 1235 | sp:where ([ sp:object |
1165 | [ sp:varName "wellSetRef"^^xsd:string | 1236 | [ sp:varName "wellSetRef"^^xsd:string |
... | @@ -1209,20 +1280,13 @@ | ... | @@ -1209,20 +1280,13 @@ |
1209 | [ sp:varName "wellTest"^^xsd:string | 1280 | [ sp:varName "wellTest"^^xsd:string |
1210 | ] | 1281 | ] |
1211 | ] [ sp:object | 1282 | ] [ sp:object |
1212 | - [ sp:varName "temporalPartOfAWellBore"^^xsd:string | 1283 | + [ sp:varName "wellTestInjectedFluid"^^xsd:string |
1213 | ] ; | 1284 | ] ; |
1214 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 1285 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ; |
1215 | sp:subject | 1286 | sp:subject |
1216 | [ sp:varName "wellTest"^^xsd:string | 1287 | [ sp:varName "wellTest"^^xsd:string |
1217 | ] | 1288 | ] |
1218 | ] [ sp:object | 1289 | ] [ sp:object |
1219 | - [ sp:varName "wellBore"^^xsd:string | ||
1220 | - ] ; | ||
1221 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1222 | - sp:subject | ||
1223 | - [ sp:varName "temporalPartOfAWellBore"^^xsd:string | ||
1224 | - ] | ||
1225 | - ] [ sp:object | ||
1226 | [ sp:varName "injectionTestRef"^^xsd:string | 1290 | [ sp:varName "injectionTestRef"^^xsd:string |
1227 | ] ; | 1291 | ] ; |
1228 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; | 1292 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef> ; |
... | @@ -1230,84 +1294,20 @@ | ... | @@ -1230,84 +1294,20 @@ |
1230 | [ sp:varName "wellTestRef"^^xsd:string | 1294 | [ sp:varName "wellTestRef"^^xsd:string |
1231 | ] | 1295 | ] |
1232 | ] [ sp:object | 1296 | ] [ sp:object |
1233 | - [ sp:varName "testIntervalRef"^^xsd:string | 1297 | + [ sp:varName "injectedFluidRef"^^xsd:string |
1234 | ] ; | 1298 | ] ; |
1235 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testIntervalRef> ; | 1299 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#injectedFluidRef> ; |
1236 | sp:subject | 1300 | sp:subject |
1237 | [ sp:varName "injectionTestRef"^^xsd:string | 1301 | [ sp:varName "injectionTestRef"^^xsd:string |
1238 | ] | 1302 | ] |
1239 | - ] [ rdf:type sp:Optional ; | ||
1240 | - sp:elements ([ sp:object | ||
1241 | - [ sp:varName "mdTopRef"^^xsd:string | ||
1242 | - ] ; | ||
1243 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdTopRef> ; | ||
1244 | - sp:subject | ||
1245 | - [ sp:varName "testIntervalRef"^^xsd:string | ||
1246 | - ] | ||
1247 | - ] [ sp:object | ||
1248 | - [ sp:varName "realMdTop"^^xsd:string | ||
1249 | - ] ; | ||
1250 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
1251 | - sp:subject | ||
1252 | - [ sp:varName "mdTopRef"^^xsd:string | ||
1253 | - ] | ||
1254 | - ] [ sp:object | ||
1255 | - [ sp:varName "uomMdTop"^^xsd:string | ||
1256 | - ] ; | ||
1257 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
1258 | - sp:subject | ||
1259 | - [ sp:varName "mdTopRef"^^xsd:string | ||
1260 | - ] | ||
1261 | - ]) | ||
1262 | - ] [ rdf:type sp:Optional ; | ||
1263 | - sp:elements ([ sp:object | ||
1264 | - [ sp:varName "mdBaseRef"^^xsd:string | ||
1265 | - ] ; | ||
1266 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#mdBaseRef> ; | ||
1267 | - sp:subject | ||
1268 | - [ sp:varName "testIntervalRef"^^xsd:string | ||
1269 | - ] | ||
1270 | - ] [ sp:object | ||
1271 | - [ sp:varName "realMdBase"^^xsd:string | ||
1272 | - ] ; | ||
1273 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
1274 | - sp:subject | ||
1275 | - [ sp:varName "mdBaseRef"^^xsd:string | ||
1276 | - ] | ||
1277 | - ] [ sp:object | ||
1278 | - [ sp:varName "uomMdBase"^^xsd:string | ||
1279 | - ] ; | ||
1280 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
1281 | - sp:subject | ||
1282 | - [ sp:varName "mdBaseRef"^^xsd:string | ||
1283 | - ] | ||
1284 | - ]) | ||
1285 | - ] [ rdf:type sp:Optional ; | ||
1286 | - sp:elements ([ sp:object | ||
1287 | - [ sp:varName "testedFormation"^^xsd:string | ||
1288 | - ] ; | ||
1289 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#testedFormation> ; | ||
1290 | - sp:subject | ||
1291 | - [ sp:varName "testIntervalRef"^^xsd:string | ||
1292 | - ] | ||
1293 | - ]) | ||
1294 | ] [ rdf:type sp:Bind ; | 1303 | ] [ rdf:type sp:Bind ; |
1295 | sp:expression | 1304 | sp:expression |
1296 | - [ rdf:type ep-dpr-spin-lib:selectLengthScale ; | 1305 | + [ rdf:type ep-dpr-spin-lib:selectInjectedFluidType ; |
1297 | - sp:arg1 [ sp:varName "uomMdTop"^^xsd:string | 1306 | + sp:arg1 [ sp:varName "injectedFluidRef"^^xsd:string |
1298 | - ] | ||
1299 | - ] ; | ||
1300 | - sp:variable | ||
1301 | - [ sp:varName "lengthScaleMdTop"^^xsd:string | ||
1302 | - ] | ||
1303 | - ] [ rdf:type sp:Bind ; | ||
1304 | - sp:expression | ||
1305 | - [ rdf:type ep-dpr-spin-lib:selectLengthScale ; | ||
1306 | - sp:arg1 [ sp:varName "uomMdBase"^^xsd:string | ||
1307 | ] | 1307 | ] |
1308 | ] ; | 1308 | ] ; |
1309 | sp:variable | 1309 | sp:variable |
1310 | - [ sp:varName "lengthScaleMdBase"^^xsd:string | 1310 | + [ sp:varName "injectedFluidType"^^xsd:string |
1311 | ] | 1311 | ] |
1312 | ]) | 1312 | ]) |
1313 | ] . | 1313 | ] . | ... | ... |
This diff could not be displayed because it is too large.
1 | +# Saved by TopBraid on Sat Oct 08 12:56:31 BST 2011 | ||
2 | +# baseURI: null | ||
3 | + | ||
4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | +@prefix visual: <http://topbraid.org/visual#> . | ||
11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
12 | + | ||
13 | +[] rdf:type inference:Configuration ; | ||
14 | + composite:child | ||
15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
16 | + composite:index "0"^^xsd:int | ||
17 | + ] . |
1 | +# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport | ||
2 | +# imports: http://spinrdf.org/spin | ||
3 | +# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib | ||
4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/facility | ||
6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-core | ||
7 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility | ||
8 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
9 | +# imports: http://www.witsml.org/schemas/131/addendum/combo | ||
10 | + | ||
11 | +@prefix : <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport#> . | ||
12 | +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | ||
13 | +@prefix arg: <http://spinrdf.org/arg#> . | ||
14 | +@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . | ||
15 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
16 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
17 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
18 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
19 | +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . | ||
20 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | ||
21 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
22 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
23 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
24 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
25 | + | ||
26 | +<http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport> | ||
27 | + rdf:type owl:Ontology ; | ||
28 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ; | ||
29 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
30 | + | ||
31 | +<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite> | ||
32 | + spin:rule | ||
33 | + [ rdf:type sp:Construct ; | ||
34 | + rdfs:comment "STEP 20006a Set the geographic context - installation or context facility exist"^^xsd:string ; | ||
35 | + sp:templates ([ sp:object _:b1 ; | ||
36 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | ||
37 | + sp:subject | ||
38 | + [ sp:varName "productionFacility"^^xsd:string | ||
39 | + ] | ||
40 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#PointInSpace> ; | ||
41 | + sp:predicate rdf:type ; | ||
42 | + sp:subject _:b1 | ||
43 | + ] [ sp:object | ||
44 | + [ sp:varName "field"^^xsd:string | ||
45 | + ] ; | ||
46 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
47 | + sp:subject _:b1 | ||
48 | + ] [ sp:object | ||
49 | + [ sp:varName "country"^^xsd:string | ||
50 | + ] ; | ||
51 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
52 | + sp:subject _:b1 | ||
53 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ; | ||
54 | + sp:predicate rdf:type ; | ||
55 | + sp:subject | ||
56 | + [ sp:varName "country"^^xsd:string | ||
57 | + ] | ||
58 | + ] [ sp:object | ||
59 | + [ sp:varName "countryName"^^xsd:string | ||
60 | + ] ; | ||
61 | + sp:predicate rdfs:label ; | ||
62 | + sp:subject | ||
63 | + [ sp:varName "country"^^xsd:string | ||
64 | + ] | ||
65 | + ] [ sp:object | ||
66 | + [ sp:varName "state"^^xsd:string | ||
67 | + ] ; | ||
68 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
69 | + sp:subject _:b1 | ||
70 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ; | ||
71 | + sp:predicate rdf:type ; | ||
72 | + sp:subject | ||
73 | + [ sp:varName "state"^^xsd:string | ||
74 | + ] | ||
75 | + ] [ sp:object | ||
76 | + [ sp:varName "stateName"^^xsd:string | ||
77 | + ] ; | ||
78 | + sp:predicate rdfs:label ; | ||
79 | + sp:subject | ||
80 | + [ sp:varName "state"^^xsd:string | ||
81 | + ] | ||
82 | + ] [ sp:object | ||
83 | + [ sp:varName "comment"^^xsd:string | ||
84 | + ] ; | ||
85 | + sp:predicate rdfs:comment ; | ||
86 | + sp:subject _:b1 | ||
87 | + ]) ; | ||
88 | + sp:where ([ sp:object | ||
89 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
90 | + ] ; | ||
91 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
92 | + sp:subject spin:_this | ||
93 | + ] [ sp:object | ||
94 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
95 | + ] ; | ||
96 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
97 | + sp:subject | ||
98 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
99 | + ] | ||
100 | + ] [ sp:object | ||
101 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
102 | + ] ; | ||
103 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef> ; | ||
104 | + sp:subject | ||
105 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
106 | + ] | ||
107 | + ] [ rdf:type sp:Optional ; | ||
108 | + sp:elements ([ sp:object | ||
109 | + [ sp:varName "fieldRef"^^xsd:string | ||
110 | + ] ; | ||
111 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fieldRef> ; | ||
112 | + sp:subject | ||
113 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
114 | + ] | ||
115 | + ] [ sp:object | ||
116 | + [ sp:varName "fieldName"^^xsd:string | ||
117 | + ] ; | ||
118 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
119 | + sp:subject | ||
120 | + [ sp:varName "fieldRef"^^xsd:string | ||
121 | + ] | ||
122 | + ]) | ||
123 | + ] [ rdf:type sp:Optional ; | ||
124 | + sp:elements ([ sp:object | ||
125 | + [ sp:varName "countryName"^^xsd:string | ||
126 | + ] ; | ||
127 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#country> ; | ||
128 | + sp:subject | ||
129 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
130 | + ] | ||
131 | + ]) | ||
132 | + ] [ rdf:type sp:Optional ; | ||
133 | + sp:elements ([ sp:object | ||
134 | + [ sp:varName "stateName"^^xsd:string | ||
135 | + ] ; | ||
136 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#state> ; | ||
137 | + sp:subject | ||
138 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
139 | + ] | ||
140 | + ]) | ||
141 | + ] [ rdf:type sp:Optional ; | ||
142 | + sp:elements ([ sp:object | ||
143 | + [ sp:varName "comment"^^xsd:string | ||
144 | + ] ; | ||
145 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#comment> ; | ||
146 | + sp:subject | ||
147 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
148 | + ] | ||
149 | + ]) | ||
150 | + ] [ rdf:type sp:Optional ; | ||
151 | + sp:elements ([ sp:object | ||
152 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
153 | + ] ; | ||
154 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
155 | + sp:subject | ||
156 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
157 | + ] | ||
158 | + ]) | ||
159 | + ] [ sp:object | ||
160 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
161 | + ] ; | ||
162 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
163 | + sp:subject | ||
164 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
165 | + ] | ||
166 | + ] [ sp:object | ||
167 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
168 | + ] ; | ||
169 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
170 | + sp:subject | ||
171 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
172 | + ] | ||
173 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
174 | + sp:predicate rdf:type ; | ||
175 | + sp:subject | ||
176 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
177 | + ] | ||
178 | + ] [ sp:object | ||
179 | + [ sp:varName "productionFacility"^^xsd:string | ||
180 | + ] ; | ||
181 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
182 | + sp:subject | ||
183 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
184 | + ] | ||
185 | + ] [ rdf:type sp:Bind ; | ||
186 | + sp:expression | ||
187 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
188 | + sp:arg1 [ sp:varName "fieldName"^^xsd:string | ||
189 | + ] | ||
190 | + ] ; | ||
191 | + sp:variable | ||
192 | + [ sp:varName "normalizedFieldName"^^xsd:string | ||
193 | + ] | ||
194 | + ] [ rdf:type sp:Bind ; | ||
195 | + sp:expression | ||
196 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
197 | + sp:arg1 [ sp:varName "normalizedFieldName"^^xsd:string | ||
198 | + ] | ||
199 | + ] ; | ||
200 | + sp:variable | ||
201 | + [ sp:varName "field"^^xsd:string | ||
202 | + ] | ||
203 | + ] [ rdf:type sp:Bind ; | ||
204 | + sp:expression | ||
205 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
206 | + sp:arg1 [ sp:varName "countryName"^^xsd:string | ||
207 | + ] | ||
208 | + ] ; | ||
209 | + sp:variable | ||
210 | + [ sp:varName "normalizedCountryName"^^xsd:string | ||
211 | + ] | ||
212 | + ] [ rdf:type sp:Bind ; | ||
213 | + sp:expression | ||
214 | + [ rdf:type ep-dpr-spin-lib:buildCountryURI ; | ||
215 | + sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string | ||
216 | + ] | ||
217 | + ] ; | ||
218 | + sp:variable | ||
219 | + [ sp:varName "country"^^xsd:string | ||
220 | + ] | ||
221 | + ] [ rdf:type sp:Bind ; | ||
222 | + sp:expression | ||
223 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
224 | + sp:arg1 [ sp:varName "stateName"^^xsd:string | ||
225 | + ] | ||
226 | + ] ; | ||
227 | + sp:variable | ||
228 | + [ sp:varName "normalizedStateName"^^xsd:string | ||
229 | + ] | ||
230 | + ] [ rdf:type sp:Bind ; | ||
231 | + sp:expression | ||
232 | + [ rdf:type ep-dpr-spin-lib:buildStateURI ; | ||
233 | + sp:arg1 [ sp:varName "normalizedStateName"^^xsd:string | ||
234 | + ] | ||
235 | + ] ; | ||
236 | + sp:variable | ||
237 | + [ sp:varName "state"^^xsd:string | ||
238 | + ] | ||
239 | + ]) | ||
240 | + ] ; | ||
241 | + spin:rule | ||
242 | + [ rdf:type sp:Construct ; | ||
243 | + rdfs:comment "STEP 20006b Set the geographic context- installation or context facility do not exist"^^xsd:string ; | ||
244 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
245 | + sp:predicate rdf:type ; | ||
246 | + sp:subject _:b2 | ||
247 | + ] [ sp:object _:b3 ; | ||
248 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
249 | + sp:subject _:b2 | ||
250 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
251 | + sp:predicate rdf:type ; | ||
252 | + sp:subject _:b3 | ||
253 | + ] [ sp:object | ||
254 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
255 | + ] ; | ||
256 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
257 | + sp:subject _:b2 | ||
258 | + ] [ sp:object _:b4 ; | ||
259 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | ||
260 | + sp:subject _:b3 | ||
261 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#PointInSpace> ; | ||
262 | + sp:predicate rdf:type ; | ||
263 | + sp:subject _:b4 | ||
264 | + ] [ sp:object | ||
265 | + [ sp:varName "field"^^xsd:string | ||
266 | + ] ; | ||
267 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
268 | + sp:subject _:b4 | ||
269 | + ] [ sp:object | ||
270 | + [ sp:varName "country"^^xsd:string | ||
271 | + ] ; | ||
272 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
273 | + sp:subject | ||
274 | + [] | ||
275 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ; | ||
276 | + sp:predicate rdf:type ; | ||
277 | + sp:subject | ||
278 | + [ sp:varName "country"^^xsd:string | ||
279 | + ] | ||
280 | + ] [ sp:object | ||
281 | + [ sp:varName "countryName"^^xsd:string | ||
282 | + ] ; | ||
283 | + sp:predicate rdfs:label ; | ||
284 | + sp:subject | ||
285 | + [ sp:varName "country"^^xsd:string | ||
286 | + ] | ||
287 | + ] [ sp:object | ||
288 | + [ sp:varName "state"^^xsd:string | ||
289 | + ] ; | ||
290 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
291 | + sp:subject _:b4 | ||
292 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ; | ||
293 | + sp:predicate rdf:type ; | ||
294 | + sp:subject | ||
295 | + [ sp:varName "state"^^xsd:string | ||
296 | + ] | ||
297 | + ] [ sp:object | ||
298 | + [ sp:varName "stateName"^^xsd:string | ||
299 | + ] ; | ||
300 | + sp:predicate rdfs:label ; | ||
301 | + sp:subject | ||
302 | + [ sp:varName "state"^^xsd:string | ||
303 | + ] | ||
304 | + ] [ sp:object | ||
305 | + [ sp:varName "comment"^^xsd:string | ||
306 | + ] ; | ||
307 | + sp:predicate rdfs:comment ; | ||
308 | + sp:subject _:b4 | ||
309 | + ]) ; | ||
310 | + sp:where ([ sp:object | ||
311 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
312 | + ] ; | ||
313 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
314 | + sp:subject spin:_this | ||
315 | + ] [ sp:object | ||
316 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
317 | + ] ; | ||
318 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
319 | + sp:subject | ||
320 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
321 | + ] | ||
322 | + ] [ sp:object | ||
323 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
324 | + ] ; | ||
325 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef> ; | ||
326 | + sp:subject | ||
327 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
328 | + ] | ||
329 | + ] [ rdf:type sp:Optional ; | ||
330 | + sp:elements ([ sp:object | ||
331 | + [ sp:varName "fieldRef"^^xsd:string | ||
332 | + ] ; | ||
333 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fieldRef> ; | ||
334 | + sp:subject | ||
335 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
336 | + ] | ||
337 | + ] [ sp:object | ||
338 | + [ sp:varName "fieldName"^^xsd:string | ||
339 | + ] ; | ||
340 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
341 | + sp:subject | ||
342 | + [ sp:varName "fieldRef"^^xsd:string | ||
343 | + ] | ||
344 | + ]) | ||
345 | + ] [ rdf:type sp:Optional ; | ||
346 | + sp:elements ([ sp:object | ||
347 | + [ sp:varName "countryName"^^xsd:string | ||
348 | + ] ; | ||
349 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#country> ; | ||
350 | + sp:subject | ||
351 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
352 | + ] | ||
353 | + ]) | ||
354 | + ] [ rdf:type sp:Optional ; | ||
355 | + sp:elements ([ sp:object | ||
356 | + [ sp:varName "stateName"^^xsd:string | ||
357 | + ] ; | ||
358 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#state> ; | ||
359 | + sp:subject | ||
360 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
361 | + ] | ||
362 | + ]) | ||
363 | + ] [ rdf:type sp:Optional ; | ||
364 | + sp:elements ([ sp:object | ||
365 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
366 | + ] ; | ||
367 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
368 | + sp:subject | ||
369 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
370 | + ] | ||
371 | + ]) | ||
372 | + ] [ rdf:type sp:Optional ; | ||
373 | + sp:elements ([ sp:object | ||
374 | + [ sp:varName "comment"^^xsd:string | ||
375 | + ] ; | ||
376 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#comment> ; | ||
377 | + sp:subject | ||
378 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
379 | + ] | ||
380 | + ]) | ||
381 | + ] [ rdf:type sp:Optional ; | ||
382 | + sp:elements ([ sp:object | ||
383 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
384 | + ] ; | ||
385 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
386 | + sp:subject | ||
387 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
388 | + ] | ||
389 | + ]) | ||
390 | + ] [ sp:object | ||
391 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
392 | + ] ; | ||
393 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
394 | + sp:subject | ||
395 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
396 | + ] | ||
397 | + ] [ rdf:type sp:NotExists ; | ||
398 | + sp:elements ([ sp:object | ||
399 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
400 | + ] ; | ||
401 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
402 | + sp:subject | ||
403 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
404 | + ] | ||
405 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
406 | + sp:predicate rdf:type ; | ||
407 | + sp:subject | ||
408 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
409 | + ] | ||
410 | + ] [ sp:object | ||
411 | + [ sp:varName "productionFacility"^^xsd:string | ||
412 | + ] ; | ||
413 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
414 | + sp:subject | ||
415 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
416 | + ] | ||
417 | + ]) | ||
418 | + ] [ rdf:type sp:Bind ; | ||
419 | + sp:expression | ||
420 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
421 | + sp:arg1 [ sp:varName "fieldName"^^xsd:string | ||
422 | + ] | ||
423 | + ] ; | ||
424 | + sp:variable | ||
425 | + [ sp:varName "normalizedFieldName"^^xsd:string | ||
426 | + ] | ||
427 | + ] [ rdf:type sp:Bind ; | ||
428 | + sp:expression | ||
429 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
430 | + sp:arg1 [ sp:varName "normalizedFieldName"^^xsd:string | ||
431 | + ] | ||
432 | + ] ; | ||
433 | + sp:variable | ||
434 | + [ sp:varName "field"^^xsd:string | ||
435 | + ] | ||
436 | + ] [ rdf:type sp:Bind ; | ||
437 | + sp:expression | ||
438 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
439 | + sp:arg1 [ sp:varName "countryName"^^xsd:string | ||
440 | + ] | ||
441 | + ] ; | ||
442 | + sp:variable | ||
443 | + [ sp:varName "normalizedCountryName"^^xsd:string | ||
444 | + ] | ||
445 | + ] [ rdf:type sp:Bind ; | ||
446 | + sp:expression | ||
447 | + [ rdf:type ep-dpr-spin-lib:buildCountryURI ; | ||
448 | + sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string | ||
449 | + ] | ||
450 | + ] ; | ||
451 | + sp:variable | ||
452 | + [ sp:varName "country"^^xsd:string | ||
453 | + ] | ||
454 | + ] [ rdf:type sp:Bind ; | ||
455 | + sp:expression | ||
456 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
457 | + sp:arg1 [ sp:varName "stateName"^^xsd:string | ||
458 | + ] | ||
459 | + ] ; | ||
460 | + sp:variable | ||
461 | + [ sp:varName "normalizedStateName"^^xsd:string | ||
462 | + ] | ||
463 | + ] [ rdf:type sp:Bind ; | ||
464 | + sp:expression | ||
465 | + [ rdf:type ep-dpr-spin-lib:buildStateURI ; | ||
466 | + sp:arg1 [ sp:varName "normalizedStateName"^^xsd:string | ||
467 | + ] | ||
468 | + ] ; | ||
469 | + sp:variable | ||
470 | + [ sp:varName "state"^^xsd:string | ||
471 | + ] | ||
472 | + ]) | ||
473 | + ] ; | ||
474 | + spin:rule | ||
475 | + [ rdf:type sp:Construct ; | ||
476 | + rdfs:comment "STEP 20002a Record the end date-time"^^xsd:string ; | ||
477 | + sp:templates ([ sp:object | ||
478 | + [ sp:varName "dTimStart"^^xsd:string | ||
479 | + ] ; | ||
480 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
481 | + sp:subject | ||
482 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
483 | + ] | ||
484 | + ] [ sp:object | ||
485 | + [ sp:varName "dTimEnd"^^xsd:string | ||
486 | + ] ; | ||
487 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
488 | + sp:subject | ||
489 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
490 | + ] | ||
491 | + ] [ sp:object | ||
492 | + [ sp:varName "dTimEnd"^^xsd:string | ||
493 | + ] ; | ||
494 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
495 | + sp:subject | ||
496 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
497 | + ] | ||
498 | + ]) ; | ||
499 | + sp:where ([ sp:object | ||
500 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
501 | + ] ; | ||
502 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
503 | + sp:subject spin:_this | ||
504 | + ] [ sp:object | ||
505 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
506 | + ] ; | ||
507 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
508 | + sp:subject | ||
509 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
510 | + ] | ||
511 | + ] [ sp:object | ||
512 | + [ sp:varName "dTimStart"^^xsd:string | ||
513 | + ] ; | ||
514 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; | ||
515 | + sp:subject | ||
516 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
517 | + ] | ||
518 | + ] [ sp:object | ||
519 | + [ sp:varName "dTimEnd"^^xsd:string | ||
520 | + ] ; | ||
521 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; | ||
522 | + sp:subject | ||
523 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
524 | + ] | ||
525 | + ] [ sp:object | ||
526 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
527 | + ] ; | ||
528 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
529 | + sp:subject | ||
530 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
531 | + ] | ||
532 | + ] [ sp:object | ||
533 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
534 | + ] ; | ||
535 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
536 | + sp:subject | ||
537 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
538 | + ] | ||
539 | + ]) | ||
540 | + ] ; | ||
541 | + spin:rule | ||
542 | + [ rdf:type sp:Construct ; | ||
543 | + rdfs:comment "STEP 20002b Record the end date"^^xsd:string ; | ||
544 | + sp:templates ([ sp:object | ||
545 | + [ sp:varName "dateStart"^^xsd:string | ||
546 | + ] ; | ||
547 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
548 | + sp:subject | ||
549 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
550 | + ] | ||
551 | + ] [ sp:object | ||
552 | + [ sp:varName "dateEnd"^^xsd:string | ||
553 | + ] ; | ||
554 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
555 | + sp:subject | ||
556 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
557 | + ] | ||
558 | + ] [ sp:object | ||
559 | + [ sp:varName "dateEnd"^^xsd:string | ||
560 | + ] ; | ||
561 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
562 | + sp:subject | ||
563 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
564 | + ] | ||
565 | + ]) ; | ||
566 | + sp:where ([ sp:object | ||
567 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
568 | + ] ; | ||
569 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
570 | + sp:subject spin:_this | ||
571 | + ] [ sp:object | ||
572 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
573 | + ] ; | ||
574 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
575 | + sp:subject | ||
576 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
577 | + ] | ||
578 | + ] [ sp:object | ||
579 | + [ sp:varName "dateStart"^^xsd:string | ||
580 | + ] ; | ||
581 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; | ||
582 | + sp:subject | ||
583 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
584 | + ] | ||
585 | + ] [ sp:object | ||
586 | + [ sp:varName "dateEnd"^^xsd:string | ||
587 | + ] ; | ||
588 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; | ||
589 | + sp:subject | ||
590 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
591 | + ] | ||
592 | + ] [ sp:object | ||
593 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
594 | + ] ; | ||
595 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
596 | + sp:subject | ||
597 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
598 | + ] | ||
599 | + ] [ sp:object | ||
600 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
601 | + ] ; | ||
602 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
603 | + sp:subject | ||
604 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
605 | + ] | ||
606 | + ]) | ||
607 | + ] ; | ||
608 | + spin:rule | ||
609 | + [ rdf:type sp:Construct ; | ||
610 | + rdfs:comment "STEP 20008 Set the geographic context - offshore location - blockId"^^xsd:string ; | ||
611 | + sp:templates ([ sp:object | ||
612 | + [ sp:varName "blockId"^^xsd:string | ||
613 | + ] ; | ||
614 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasOffshoreBlockId> ; | ||
615 | + sp:subject | ||
616 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
617 | + ] | ||
618 | + ]) ; | ||
619 | + sp:where ([ sp:object | ||
620 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
621 | + ] ; | ||
622 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
623 | + sp:subject spin:_this | ||
624 | + ] [ sp:object | ||
625 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
626 | + ] ; | ||
627 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
628 | + sp:subject | ||
629 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
630 | + ] | ||
631 | + ] [ sp:object | ||
632 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
633 | + ] ; | ||
634 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef> ; | ||
635 | + sp:subject | ||
636 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
637 | + ] | ||
638 | + ] [ sp:object | ||
639 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
640 | + ] ; | ||
641 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
642 | + sp:subject | ||
643 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
644 | + ] | ||
645 | + ] [ sp:object | ||
646 | + [ sp:varName "blockId"^^xsd:string | ||
647 | + ] ; | ||
648 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#blockID> ; | ||
649 | + sp:subject | ||
650 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
651 | + ] | ||
652 | + ] [ sp:object | ||
653 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
654 | + ] ; | ||
655 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
656 | + sp:subject | ||
657 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
658 | + ] | ||
659 | + ] [ sp:object | ||
660 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
661 | + ] ; | ||
662 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
663 | + sp:subject | ||
664 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
665 | + ] | ||
666 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
667 | + sp:predicate rdf:type ; | ||
668 | + sp:subject | ||
669 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
670 | + ] | ||
671 | + ] [ sp:object | ||
672 | + [ sp:varName "productionFacility"^^xsd:string | ||
673 | + ] ; | ||
674 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
675 | + sp:subject | ||
676 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
677 | + ] | ||
678 | + ] [ sp:object | ||
679 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
680 | + ] ; | ||
681 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | ||
682 | + sp:subject | ||
683 | + [ sp:varName "productionFacility"^^xsd:string | ||
684 | + ] | ||
685 | + ]) | ||
686 | + ] ; | ||
687 | + spin:rule | ||
688 | + [ rdf:type sp:Construct ; | ||
689 | + rdfs:comment "STEP 20001 Create the DailyProductVolumeReport, the DailyProductionFlow and the ProductionFlowToDate ."^^xsd:string ; | ||
690 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductVolumeReport> ; | ||
691 | + sp:predicate rdf:type ; | ||
692 | + sp:subject _:b5 | ||
693 | + ] [ sp:object | ||
694 | + [ sp:varName "dailyProductionReport"^^xsd:string | ||
695 | + ] ; | ||
696 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
697 | + sp:subject _:b5 | ||
698 | + ] [ sp:object | ||
699 | + [ sp:varName "name"^^xsd:string | ||
700 | + ] ; | ||
701 | + sp:predicate rdfs:label ; | ||
702 | + sp:subject _:b5 | ||
703 | + ] [ sp:object _:b6 ; | ||
704 | + sp:predicate rdf:type ; | ||
705 | + sp:subject _:b5 | ||
706 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ReportType> ; | ||
707 | + sp:predicate rdf:type ; | ||
708 | + sp:subject _:b6 | ||
709 | + ] [ sp:object | ||
710 | + [ sp:varName "kind"^^xsd:string | ||
711 | + ] ; | ||
712 | + sp:predicate rdfs:label ; | ||
713 | + sp:subject _:b6 | ||
714 | + ] [ sp:object | ||
715 | + [ sp:varName "productVolumeReportPeriodType"^^xsd:string | ||
716 | + ] ; | ||
717 | + sp:predicate rdf:type ; | ||
718 | + sp:subject _:b6 | ||
719 | + ] [ sp:object _:b7 ; | ||
720 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
721 | + sp:subject _:b5 | ||
722 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#DailyProductionFlow> ; | ||
723 | + sp:predicate rdf:type ; | ||
724 | + sp:subject _:b7 | ||
725 | + ] [ sp:object | ||
726 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
727 | + ] ; | ||
728 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
729 | + sp:subject _:b7 | ||
730 | + ] [ sp:object _:b8 ; | ||
731 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
732 | + sp:subject _:b7 | ||
733 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
734 | + sp:predicate rdf:type ; | ||
735 | + sp:subject _:b8 | ||
736 | + ] [ sp:object | ||
737 | + [ sp:varName "title"^^xsd:string | ||
738 | + ] ; | ||
739 | + sp:predicate <http://purl.org/dc/elements/1.1/title> ; | ||
740 | + sp:subject _:b5 | ||
741 | + ]) ; | ||
742 | + sp:where ([ sp:object spin:_this ; | ||
743 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
744 | + sp:subject | ||
745 | + [ sp:varName "dailyProductionReport"^^xsd:string | ||
746 | + ] | ||
747 | + ] [ sp:object | ||
748 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
749 | + ] ; | ||
750 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
751 | + sp:subject spin:_this | ||
752 | + ] [ sp:object | ||
753 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
754 | + ] ; | ||
755 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
756 | + sp:subject | ||
757 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
758 | + ] | ||
759 | + ] [ sp:object | ||
760 | + [ sp:varName "name"^^xsd:string | ||
761 | + ] ; | ||
762 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
763 | + sp:subject | ||
764 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
765 | + ] | ||
766 | + ] [ rdf:type sp:Optional ; | ||
767 | + sp:elements ([ sp:object | ||
768 | + [ sp:varName "kind"^^xsd:string | ||
769 | + ] ; | ||
770 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kind> ; | ||
771 | + sp:subject | ||
772 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
773 | + ] | ||
774 | + ]) | ||
775 | + ] [ rdf:type sp:Optional ; | ||
776 | + sp:elements ([ sp:object | ||
777 | + [ sp:varName "periodKindRef"^^xsd:string | ||
778 | + ] ; | ||
779 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodKindRef> ; | ||
780 | + sp:subject | ||
781 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
782 | + ] | ||
783 | + ]) | ||
784 | + ] [ rdf:type sp:Optional ; | ||
785 | + sp:elements ([ sp:object | ||
786 | + [ sp:varName "titleRef"^^xsd:string | ||
787 | + ] ; | ||
788 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#titleRef> ; | ||
789 | + sp:subject | ||
790 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
791 | + ] | ||
792 | + ] [ sp:object | ||
793 | + [ sp:varName "title"^^xsd:string | ||
794 | + ] ; | ||
795 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
796 | + sp:subject | ||
797 | + [ sp:varName "titleRef"^^xsd:string | ||
798 | + ] | ||
799 | + ]) | ||
800 | + ] [ rdf:type sp:Bind ; | ||
801 | + sp:expression | ||
802 | + [ rdf:type ep-dpr-spin-lib:selectProductVolumeReportPeriodType ; | ||
803 | + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | ||
804 | + ] | ||
805 | + ] ; | ||
806 | + sp:variable | ||
807 | + [ sp:varName "productVolumeReportPeriodType"^^xsd:string | ||
808 | + ] | ||
809 | + ]) | ||
810 | + ] ; | ||
811 | + spin:rule | ||
812 | + [ rdf:type sp:Construct ; | ||
813 | + rdfs:comment "STEP 20007 Set the geographic context - offshore location"^^xsd:string ; | ||
814 | + sp:templates ([ sp:object | ||
815 | + [ sp:varName "quadrant"^^xsd:string | ||
816 | + ] ; | ||
817 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaQuadrantId> ; | ||
818 | + sp:subject | ||
819 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
820 | + ] | ||
821 | + ] [ sp:object | ||
822 | + [ sp:varName "blockSuffix"^^xsd:string | ||
823 | + ] ; | ||
824 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaBlockSuffixId> ; | ||
825 | + sp:subject | ||
826 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
827 | + ] | ||
828 | + ] [ sp:object | ||
829 | + [ sp:varName "areaName"^^xsd:string | ||
830 | + ] ; | ||
831 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasAreaName> ; | ||
832 | + sp:subject | ||
833 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
834 | + ] | ||
835 | + ] [ sp:object | ||
836 | + [ sp:varName "areaNameNorthSeaOffshore"^^xsd:string | ||
837 | + ] ; | ||
838 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaAreaName> ; | ||
839 | + sp:subject | ||
840 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
841 | + ] | ||
842 | + ] [ sp:object | ||
843 | + [ sp:varName "commentOffshoreLocation"^^xsd:string | ||
844 | + ] ; | ||
845 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasOffshoreLocationComment> ; | ||
846 | + sp:subject | ||
847 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
848 | + ] | ||
849 | + ]) ; | ||
850 | + sp:where ([ sp:object | ||
851 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
852 | + ] ; | ||
853 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
854 | + sp:subject spin:_this | ||
855 | + ] [ sp:object | ||
856 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
857 | + ] ; | ||
858 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
859 | + sp:subject | ||
860 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
861 | + ] | ||
862 | + ] [ sp:object | ||
863 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
864 | + ] ; | ||
865 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef> ; | ||
866 | + sp:subject | ||
867 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
868 | + ] | ||
869 | + ] [ sp:object | ||
870 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
871 | + ] ; | ||
872 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
873 | + sp:subject | ||
874 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
875 | + ] | ||
876 | + ] [ sp:object | ||
877 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string | ||
878 | + ] ; | ||
879 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#northSeaOffshoreRef> ; | ||
880 | + sp:subject | ||
881 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
882 | + ] | ||
883 | + ] [ sp:object | ||
884 | + [ sp:varName "quadrant"^^xsd:string | ||
885 | + ] ; | ||
886 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#quadrant> ; | ||
887 | + sp:subject | ||
888 | + [ sp:varName "northSeatOffshoreRef"^^xsd:string | ||
889 | + ] | ||
890 | + ] [ rdf:type sp:Optional ; | ||
891 | + sp:elements ([ sp:object | ||
892 | + [ sp:varName "areaNameNorthSeaOffshore"^^xsd:string | ||
893 | + ] ; | ||
894 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#areaName> ; | ||
895 | + sp:subject | ||
896 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string | ||
897 | + ] | ||
898 | + ]) | ||
899 | + ] [ rdf:type sp:Optional ; | ||
900 | + sp:elements ([ sp:object | ||
901 | + [ sp:varName "blockSuffix"^^xsd:string | ||
902 | + ] ; | ||
903 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#blockSuffix> ; | ||
904 | + sp:subject | ||
905 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string | ||
906 | + ] | ||
907 | + ]) | ||
908 | + ] [ rdf:type sp:Optional ; | ||
909 | + sp:elements ([ sp:object | ||
910 | + [ sp:varName "areaName"^^xsd:string | ||
911 | + ] ; | ||
912 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#areaName> ; | ||
913 | + sp:subject | ||
914 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
915 | + ] | ||
916 | + ]) | ||
917 | + ] [ rdf:type sp:Optional ; | ||
918 | + sp:elements ([ sp:object | ||
919 | + [ sp:varName "commentOffshoreLocation"^^xsd:string | ||
920 | + ] ; | ||
921 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#comment> ; | ||
922 | + sp:subject | ||
923 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
924 | + ] | ||
925 | + ]) | ||
926 | + ] [ sp:object | ||
927 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
928 | + ] ; | ||
929 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
930 | + sp:subject | ||
931 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
932 | + ] | ||
933 | + ] [ sp:object | ||
934 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
935 | + ] ; | ||
936 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
937 | + sp:subject | ||
938 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
939 | + ] | ||
940 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
941 | + sp:predicate rdf:type ; | ||
942 | + sp:subject | ||
943 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
944 | + ] | ||
945 | + ] [ sp:object | ||
946 | + [ sp:varName "productionFacility"^^xsd:string | ||
947 | + ] ; | ||
948 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
949 | + sp:subject | ||
950 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
951 | + ] | ||
952 | + ] [ sp:object | ||
953 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
954 | + ] ; | ||
955 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | ||
956 | + sp:subject | ||
957 | + [ sp:varName "productionFacility"^^xsd:string | ||
958 | + ] | ||
959 | + ]) | ||
960 | + ] ; | ||
961 | + spin:rule | ||
962 | + [ rdf:type sp:Construct ; | ||
963 | + rdfs:comment "STEP 20003 Set the installation"^^xsd:string ; | ||
964 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
965 | + sp:predicate rdf:type ; | ||
966 | + sp:subject _:b9 | ||
967 | + ] [ sp:object | ||
968 | + [ sp:varName "productionFacility"^^xsd:string | ||
969 | + ] ; | ||
970 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
971 | + sp:subject _:b9 | ||
972 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
973 | + sp:predicate rdf:type ; | ||
974 | + sp:subject | ||
975 | + [ sp:varName "productionFacility"^^xsd:string | ||
976 | + ] | ||
977 | + ] [ sp:object | ||
978 | + [ sp:varName "productionFacilityType"^^xsd:string | ||
979 | + ] ; | ||
980 | + sp:predicate rdf:type ; | ||
981 | + sp:subject | ||
982 | + [ sp:varName "productionFacility"^^xsd:string | ||
983 | + ] | ||
984 | + ] [ sp:object | ||
985 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
986 | + ] ; | ||
987 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
988 | + sp:subject _:b9 | ||
989 | + ]) ; | ||
990 | + sp:where ([ sp:object | ||
991 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
992 | + ] ; | ||
993 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
994 | + sp:subject spin:_this | ||
995 | + ] [ sp:object | ||
996 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
997 | + ] ; | ||
998 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
999 | + sp:subject | ||
1000 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
1001 | + ] | ||
1002 | + ] [ sp:object | ||
1003 | + [ sp:varName "installationRef"^^xsd:string | ||
1004 | + ] ; | ||
1005 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ; | ||
1006 | + sp:subject | ||
1007 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1008 | + ] | ||
1009 | + ] [ sp:object | ||
1010 | + [ sp:varName "installationName"^^xsd:string | ||
1011 | + ] ; | ||
1012 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
1013 | + sp:subject | ||
1014 | + [ sp:varName "installationRef"^^xsd:string | ||
1015 | + ] | ||
1016 | + ] [ rdf:type sp:Optional ; | ||
1017 | + sp:elements ([ sp:object | ||
1018 | + [ sp:varName "installationKind"^^xsd:string | ||
1019 | + ] ; | ||
1020 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
1021 | + sp:subject | ||
1022 | + [ sp:varName "installationRef"^^xsd:string | ||
1023 | + ] | ||
1024 | + ]) | ||
1025 | + ] [ sp:object | ||
1026 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1027 | + ] ; | ||
1028 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
1029 | + sp:subject | ||
1030 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
1031 | + ] | ||
1032 | + ] [ sp:object | ||
1033 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1034 | + ] ; | ||
1035 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1036 | + sp:subject | ||
1037 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
1038 | + ] | ||
1039 | + ] [ rdf:type sp:Bind ; | ||
1040 | + sp:expression | ||
1041 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
1042 | + sp:arg1 [ sp:varName "installationName"^^xsd:string | ||
1043 | + ] | ||
1044 | + ] ; | ||
1045 | + sp:variable | ||
1046 | + [ sp:varName "normalizedInstallationName"^^xsd:string | ||
1047 | + ] | ||
1048 | + ] [ rdf:type sp:Bind ; | ||
1049 | + sp:expression | ||
1050 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
1051 | + sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string | ||
1052 | + ] | ||
1053 | + ] ; | ||
1054 | + sp:variable | ||
1055 | + [ sp:varName "productionFacility"^^xsd:string | ||
1056 | + ] | ||
1057 | + ] [ rdf:type sp:Bind ; | ||
1058 | + sp:expression | ||
1059 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
1060 | + sp:arg1 [ sp:varName "installationKind"^^xsd:string | ||
1061 | + ] | ||
1062 | + ] ; | ||
1063 | + sp:variable | ||
1064 | + [ sp:varName "productionFacilityType"^^xsd:string | ||
1065 | + ] | ||
1066 | + ]) | ||
1067 | + ] ; | ||
1068 | + spin:rule | ||
1069 | + [ rdf:type sp:Construct ; | ||
1070 | + rdfs:comment "STEP 20004b Set the context facility - installation does not exist"^^xsd:string ; | ||
1071 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
1072 | + sp:predicate rdf:type ; | ||
1073 | + sp:subject _:b10 | ||
1074 | + ] [ sp:object _:b11 ; | ||
1075 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1076 | + sp:subject _:b10 | ||
1077 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
1078 | + sp:predicate rdf:type ; | ||
1079 | + sp:subject _:b11 | ||
1080 | + ] [ sp:object | ||
1081 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1082 | + ] ; | ||
1083 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
1084 | + sp:subject _:b10 | ||
1085 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
1086 | + sp:predicate rdf:type ; | ||
1087 | + sp:subject | ||
1088 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
1089 | + ] | ||
1090 | + ] [ sp:object | ||
1091 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
1092 | + ] ; | ||
1093 | + sp:predicate rdf:type ; | ||
1094 | + sp:subject | ||
1095 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
1096 | + ] | ||
1097 | + ] [ sp:object _:b11 ; | ||
1098 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
1099 | + sp:subject | ||
1100 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
1101 | + ] | ||
1102 | + ]) ; | ||
1103 | + sp:where ([ sp:object | ||
1104 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
1105 | + ] ; | ||
1106 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
1107 | + sp:subject spin:_this | ||
1108 | + ] [ sp:object | ||
1109 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1110 | + ] ; | ||
1111 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
1112 | + sp:subject | ||
1113 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
1114 | + ] | ||
1115 | + ] [ sp:object | ||
1116 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
1117 | + ] ; | ||
1118 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef> ; | ||
1119 | + sp:subject | ||
1120 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1121 | + ] | ||
1122 | + ] [ sp:object | ||
1123 | + [ sp:varName "contextFacilityName"^^xsd:string | ||
1124 | + ] ; | ||
1125 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
1126 | + sp:subject | ||
1127 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
1128 | + ] | ||
1129 | + ] [ rdf:type sp:Optional ; | ||
1130 | + sp:elements ([ sp:object | ||
1131 | + [ sp:varName "contextFacilityKind"^^xsd:string | ||
1132 | + ] ; | ||
1133 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
1134 | + sp:subject | ||
1135 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
1136 | + ] | ||
1137 | + ]) | ||
1138 | + ] [ sp:object | ||
1139 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1140 | + ] ; | ||
1141 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
1142 | + sp:subject | ||
1143 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1144 | + ] | ||
1145 | + ] [ rdf:type sp:NotExists ; | ||
1146 | + sp:elements ([ sp:object | ||
1147 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1148 | + ] ; | ||
1149 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
1150 | + sp:subject | ||
1151 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1152 | + ] | ||
1153 | + ] [ sp:object | ||
1154 | + [ sp:varName "productionFacility"^^xsd:string | ||
1155 | + ] ; | ||
1156 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1157 | + sp:subject | ||
1158 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1159 | + ] | ||
1160 | + ]) | ||
1161 | + ] [ rdf:type sp:Bind ; | ||
1162 | + sp:expression | ||
1163 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
1164 | + sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string | ||
1165 | + ] | ||
1166 | + ] ; | ||
1167 | + sp:variable | ||
1168 | + [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
1169 | + ] | ||
1170 | + ] [ rdf:type sp:Bind ; | ||
1171 | + sp:expression | ||
1172 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
1173 | + sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
1174 | + ] | ||
1175 | + ] ; | ||
1176 | + sp:variable | ||
1177 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
1178 | + ] | ||
1179 | + ] [ rdf:type sp:Bind ; | ||
1180 | + sp:expression | ||
1181 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
1182 | + sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string | ||
1183 | + ] | ||
1184 | + ] ; | ||
1185 | + sp:variable | ||
1186 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
1187 | + ] | ||
1188 | + ]) | ||
1189 | + ] ; | ||
1190 | + spin:rule | ||
1191 | + [ rdf:type sp:Construct ; | ||
1192 | + rdfs:comment "STEP 20004a Set the context facility - installation exists"^^xsd:string ; | ||
1193 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
1194 | + sp:predicate rdf:type ; | ||
1195 | + sp:subject | ||
1196 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
1197 | + ] | ||
1198 | + ] [ sp:object | ||
1199 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
1200 | + ] ; | ||
1201 | + sp:predicate rdf:type ; | ||
1202 | + sp:subject | ||
1203 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
1204 | + ] | ||
1205 | + ] [ sp:object | ||
1206 | + [ sp:varName "productionFacility"^^xsd:string | ||
1207 | + ] ; | ||
1208 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
1209 | + sp:subject | ||
1210 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
1211 | + ] | ||
1212 | + ]) ; | ||
1213 | + sp:where ([ sp:object | ||
1214 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
1215 | + ] ; | ||
1216 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
1217 | + sp:subject spin:_this | ||
1218 | + ] [ sp:object | ||
1219 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1220 | + ] ; | ||
1221 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
1222 | + sp:subject | ||
1223 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
1224 | + ] | ||
1225 | + ] [ sp:object | ||
1226 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
1227 | + ] ; | ||
1228 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef> ; | ||
1229 | + sp:subject | ||
1230 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1231 | + ] | ||
1232 | + ] [ sp:object | ||
1233 | + [ sp:varName "contextFacilityName"^^xsd:string | ||
1234 | + ] ; | ||
1235 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
1236 | + sp:subject | ||
1237 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
1238 | + ] | ||
1239 | + ] [ rdf:type sp:Optional ; | ||
1240 | + sp:elements ([ sp:object | ||
1241 | + [ sp:varName "contextFacilityKind"^^xsd:string | ||
1242 | + ] ; | ||
1243 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
1244 | + sp:subject | ||
1245 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
1246 | + ] | ||
1247 | + ]) | ||
1248 | + ] [ sp:object | ||
1249 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1250 | + ] ; | ||
1251 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
1252 | + sp:subject | ||
1253 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1254 | + ] | ||
1255 | + ] [ sp:object | ||
1256 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1257 | + ] ; | ||
1258 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
1259 | + sp:subject | ||
1260 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1261 | + ] | ||
1262 | + ] [ sp:object | ||
1263 | + [ sp:varName "productionFacility"^^xsd:string | ||
1264 | + ] ; | ||
1265 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1266 | + sp:subject | ||
1267 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1268 | + ] | ||
1269 | + ] [ rdf:type sp:Bind ; | ||
1270 | + sp:expression | ||
1271 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
1272 | + sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string | ||
1273 | + ] | ||
1274 | + ] ; | ||
1275 | + sp:variable | ||
1276 | + [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
1277 | + ] | ||
1278 | + ] [ rdf:type sp:Bind ; | ||
1279 | + sp:expression | ||
1280 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
1281 | + sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
1282 | + ] | ||
1283 | + ] ; | ||
1284 | + sp:variable | ||
1285 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
1286 | + ] | ||
1287 | + ] [ rdf:type sp:Bind ; | ||
1288 | + sp:expression | ||
1289 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
1290 | + sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string | ||
1291 | + ] | ||
1292 | + ] ; | ||
1293 | + sp:variable | ||
1294 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
1295 | + ] | ||
1296 | + ]) | ||
1297 | + ] ; | ||
1298 | + spin:rule | ||
1299 | + [ rdf:type sp:Construct ; | ||
1300 | + rdfs:comment """STEP 20005a Set the facility operator- installation or context facility exist | ||
1301 | +role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ||
1302 | + sp:templates ([ sp:object | ||
1303 | + [ sp:varName "operator"^^xsd:string | ||
1304 | + ] ; | ||
1305 | + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; | ||
1306 | + sp:subject | ||
1307 | + [ sp:varName "productionFacility"^^xsd:string | ||
1308 | + ] | ||
1309 | + ]) ; | ||
1310 | + sp:where ([ sp:object | ||
1311 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
1312 | + ] ; | ||
1313 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
1314 | + sp:subject spin:_this | ||
1315 | + ] [ sp:object | ||
1316 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1317 | + ] ; | ||
1318 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
1319 | + sp:subject | ||
1320 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
1321 | + ] | ||
1322 | + ] [ sp:object | ||
1323 | + [ sp:varName "operatorRef"^^xsd:string | ||
1324 | + ] ; | ||
1325 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ; | ||
1326 | + sp:subject | ||
1327 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1328 | + ] | ||
1329 | + ] [ sp:object | ||
1330 | + [ sp:varName "operatorName"^^xsd:string | ||
1331 | + ] ; | ||
1332 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
1333 | + sp:subject | ||
1334 | + [ sp:varName "operatorRef"^^xsd:string | ||
1335 | + ] | ||
1336 | + ] [ sp:object | ||
1337 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1338 | + ] ; | ||
1339 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
1340 | + sp:subject | ||
1341 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1342 | + ] | ||
1343 | + ] [ sp:object | ||
1344 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1345 | + ] ; | ||
1346 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
1347 | + sp:subject | ||
1348 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1349 | + ] | ||
1350 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
1351 | + sp:predicate rdf:type ; | ||
1352 | + sp:subject | ||
1353 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1354 | + ] | ||
1355 | + ] [ sp:object | ||
1356 | + [ sp:varName "productionFacility"^^xsd:string | ||
1357 | + ] ; | ||
1358 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1359 | + sp:subject | ||
1360 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1361 | + ] | ||
1362 | + ] [ rdf:type sp:Bind ; | ||
1363 | + sp:expression | ||
1364 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
1365 | + sp:arg1 [ sp:varName "operatorName"^^xsd:string | ||
1366 | + ] | ||
1367 | + ] ; | ||
1368 | + sp:variable | ||
1369 | + [ sp:varName "normalizedOperatorName"^^xsd:string | ||
1370 | + ] | ||
1371 | + ] [ rdf:type sp:Bind ; | ||
1372 | + sp:expression | ||
1373 | + [ rdf:type rhspin:companyById ; | ||
1374 | + arg:id [ sp:varName "normalizedOperatorName"^^xsd:string | ||
1375 | + ] | ||
1376 | + ] ; | ||
1377 | + sp:variable | ||
1378 | + [ sp:varName "operator"^^xsd:string | ||
1379 | + ] | ||
1380 | + ]) | ||
1381 | + ] ; | ||
1382 | + spin:rule | ||
1383 | + [ rdf:type sp:Construct ; | ||
1384 | + rdfs:comment """STEP 20005b Set the facility operator- installation or context facility do not exist | ||
1385 | +role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ||
1386 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
1387 | + sp:predicate rdf:type ; | ||
1388 | + sp:subject _:b12 | ||
1389 | + ] [ sp:object _:b13 ; | ||
1390 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1391 | + sp:subject _:b12 | ||
1392 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
1393 | + sp:predicate rdf:type ; | ||
1394 | + sp:subject _:b13 | ||
1395 | + ] [ sp:object | ||
1396 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1397 | + ] ; | ||
1398 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
1399 | + sp:subject _:b12 | ||
1400 | + ] [ sp:object | ||
1401 | + [ sp:varName "operator"^^xsd:string | ||
1402 | + ] ; | ||
1403 | + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; | ||
1404 | + sp:subject _:b13 | ||
1405 | + ]) ; | ||
1406 | + sp:where ([ sp:object | ||
1407 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
1408 | + ] ; | ||
1409 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
1410 | + sp:subject spin:_this | ||
1411 | + ] [ sp:object | ||
1412 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1413 | + ] ; | ||
1414 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
1415 | + sp:subject | ||
1416 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
1417 | + ] | ||
1418 | + ] [ sp:object | ||
1419 | + [ sp:varName "operatorRef"^^xsd:string | ||
1420 | + ] ; | ||
1421 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ; | ||
1422 | + sp:subject | ||
1423 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1424 | + ] | ||
1425 | + ] [ sp:object | ||
1426 | + [ sp:varName "operatorName"^^xsd:string | ||
1427 | + ] ; | ||
1428 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
1429 | + sp:subject | ||
1430 | + [ sp:varName "operatorRef"^^xsd:string | ||
1431 | + ] | ||
1432 | + ] [ sp:object | ||
1433 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1434 | + ] ; | ||
1435 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
1436 | + sp:subject | ||
1437 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1438 | + ] | ||
1439 | + ] [ rdf:type sp:NotExists ; | ||
1440 | + sp:elements ([ sp:object | ||
1441 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
1442 | + ] ; | ||
1443 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
1444 | + sp:subject | ||
1445 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1446 | + ] | ||
1447 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
1448 | + sp:predicate rdf:type ; | ||
1449 | + sp:subject | ||
1450 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1451 | + ] | ||
1452 | + ] [ sp:object | ||
1453 | + [ sp:varName "productionFacility"^^xsd:string | ||
1454 | + ] ; | ||
1455 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1456 | + sp:subject | ||
1457 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
1458 | + ] | ||
1459 | + ]) | ||
1460 | + ] [ rdf:type sp:Bind ; | ||
1461 | + sp:expression | ||
1462 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
1463 | + sp:arg1 [ sp:varName "operatorName"^^xsd:string | ||
1464 | + ] | ||
1465 | + ] ; | ||
1466 | + sp:variable | ||
1467 | + [ sp:varName "normalizedOperatorName"^^xsd:string | ||
1468 | + ] | ||
1469 | + ] [ rdf:type sp:Bind ; | ||
1470 | + sp:expression | ||
1471 | + [ rdf:type rhspin:companyById ; | ||
1472 | + arg:id [ sp:varName "normalizedOperatorName"^^xsd:string | ||
1473 | + ] | ||
1474 | + ] ; | ||
1475 | + sp:variable | ||
1476 | + [ sp:varName "operator"^^xsd:string | ||
1477 | + ] | ||
1478 | + ]) | ||
1479 | + ] . |
-
Please register or login to post a comment