David Leal

Updates to MPR transforms and related schemas following ontological analysis

...@@ -15,91 +15,161 @@ ...@@ -15,91 +15,161 @@
15 15
16 <http://www.reportinghub.no/ep/schema/1.0/flow> 16 <http://www.reportinghub.no/ep/schema/1.0/flow>
17 rdf:type owl:Ontology ; 17 rdf:type owl:Ontology ;
18 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> ; 18 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
20 20
21 +ep-core:PhysicalThingAtInstant
22 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
23 + rdfs:label "physical thing at instant"^^xsd:string ;
24 + rdfs:subClassOf ep-core:PhysicalThing .
25 +
26 +ep-core:PhysicalThingDuringGasYearToDate
27 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
28 + rdfs:label "physical thing during gas year to date"^^xsd:string ;
29 + rdfs:subClassOf ep-core:PhysicalThing .
30 +
31 +ep-core:PhysicalThingDuringMonthToDate
32 + rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
33 + rdfs:label "physical thing during month to date"^^xsd:string ;
34 + rdfs:subClassOf ep-core:PhysicalThing .
35 +
36 +ep-core:PhysicalThingDuringOneDay
37 + rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
38 + rdfs:label "physical thing during one day"^^xsd:string ;
39 + rdfs:subClassOf ep-core:PhysicalThing .
40 +
41 +ep-core:PhysicalThingDuringOneGasDay
42 + rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
43 + rdfs:label "physical thing during one gas day"^^xsd:string ;
44 + rdfs:subClassOf ep-core:PhysicalThing .
45 +
46 +ep-core:PhysicalThingDuringOneGasMonth
47 + rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
48 + rdfs:label "physical thing during one gas month"^^xsd:string ;
49 + rdfs:subClassOf ep-core:PhysicalThing .
50 +
51 +ep-core:PhysicalThingDuringOneGasYear
52 + rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
53 + rdfs:label "physical thing during one gas year"^^xsd:string ;
54 + rdfs:subClassOf ep-core:PhysicalThing .
55 +
56 +ep-core:PhysicalThingDuringOneMonth
57 + rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
58 + rdfs:label "physical thing during one month"^^xsd:string ;
59 + rdfs:subClassOf ep-core:PhysicalThing .
60 +
61 +ep-core:PhysicalThingDuringOneWeek
62 + rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
63 + rdfs:label "physical thing during one week"^^xsd:string ;
64 + rdfs:subClassOf ep-core:PhysicalThing .
65 +
66 +ep-core:PhysicalThingDuringOneYear
67 + rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
68 + rdfs:label "physical thing during one year"^^xsd:string ;
69 + rdfs:subClassOf ep-core:PhysicalThing .
70 +
71 +ep-core:PhysicalThingDuringYearToDate
72 + rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
73 + rdfs:label "physical thing during year to date"^^xsd:string ;
74 + rdfs:subClassOf ep-core:PhysicalThing .
75 +
21 ep-flow:AllocatedFlow 76 ep-flow:AllocatedFlow
22 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 77 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
23 rdfs:label "allocated flow"^^xsd:string ; 78 rdfs:label "allocated flow"^^xsd:string ;
24 rdfs:subClassOf ep-flow:WholeLifeFlow . 79 rdfs:subClassOf ep-flow:WholeLifeFlow .
25 80
81 +ep-flow:AllocatedInventory
82 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
83 + rdfs:label "allocated inventory"^^xsd:string ;
84 + rdfs:subClassOf ep-flow:WholeLifeInventory .
85 +
26 ep-flow:BudgetFlow 86 ep-flow:BudgetFlow
27 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 87 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
28 rdfs:label "budget flow"^^xsd:string ; 88 rdfs:label "budget flow"^^xsd:string ;
29 rdfs:subClassOf ep-flow:WholeLifeFlow . 89 rdfs:subClassOf ep-flow:WholeLifeFlow .
30 90
91 +ep-flow:BudgetInventory
92 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
93 + rdfs:label "budget inventory"^^xsd:string ;
94 + rdfs:subClassOf ep-flow:WholeLifeInventory .
95 +
31 ep-flow:ClassOfMaterialWithMassCriterion 96 ep-flow:ClassOfMaterialWithMassCriterion
32 rdf:type rdfs:Class ; 97 rdf:type rdfs:Class ;
33 rdfs:label "class of material with mass criterion"^^xsd:string ; 98 rdfs:label "class of material with mass criterion"^^xsd:string ;
34 rdfs:subClassOf owl:Class . 99 rdfs:subClassOf owl:Class .
35 100
36 ep-flow:ConstraintFlow 101 ep-flow:ConstraintFlow
37 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 102 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
38 rdfs:label "constraint flow"^^xsd:string ; 103 rdfs:label "constraint flow"^^xsd:string ;
39 rdfs:subClassOf ep-flow:WholeLifeFlow . 104 rdfs:subClassOf ep-flow:WholeLifeFlow .
40 105
41 ep-flow:ConstraintFlow-fixed 106 ep-flow:ConstraintFlow-fixed
42 - rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; 107 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
43 rdfs:label "constraint flow - fixed"^^xsd:string ; 108 rdfs:label "constraint flow - fixed"^^xsd:string ;
44 rdfs:subClassOf ep-flow:ConstraintFlow . 109 rdfs:subClassOf ep-flow:ConstraintFlow .
45 110
46 ep-flow:ConstraintFlow-maximum 111 ep-flow:ConstraintFlow-maximum
47 - rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; 112 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
48 rdfs:label "constraint flow - maximum"^^xsd:string ; 113 rdfs:label "constraint flow - maximum"^^xsd:string ;
49 rdfs:subClassOf ep-flow:ConstraintFlow . 114 rdfs:subClassOf ep-flow:ConstraintFlow .
50 115
51 ep-flow:ConstraintFlow-minimum 116 ep-flow:ConstraintFlow-minimum
52 - rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; 117 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
53 rdfs:label "constraint flow - minimum"^^xsd:string ; 118 rdfs:label "constraint flow - minimum"^^xsd:string ;
54 rdfs:subClassOf ep-flow:ConstraintFlow . 119 rdfs:subClassOf ep-flow:ConstraintFlow .
55 120
121 +ep-flow:ConstraintInventory
122 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
123 + rdfs:label "constraint inventory"^^xsd:string ;
124 + rdfs:subClassOf ep-flow:WholeLifeInventory .
125 +
56 ep-flow:Consume 126 ep-flow:Consume
57 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 127 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
58 rdfs:label "consume"^^xsd:string ; 128 rdfs:label "consume"^^xsd:string ;
59 rdfs:subClassOf ep-flow:WholeLifeFlow . 129 rdfs:subClassOf ep-flow:WholeLifeFlow .
60 130
61 ep-flow:Consume-HPflare 131 ep-flow:Consume-HPflare
62 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 132 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
63 rdfs:label "consume - HP flare"^^xsd:string ; 133 rdfs:label "consume - HP flare"^^xsd:string ;
64 rdfs:subClassOf ep-flow:Consume-flare . 134 rdfs:subClassOf ep-flow:Consume-flare .
65 135
66 ep-flow:Consume-LPflare 136 ep-flow:Consume-LPflare
67 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 137 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
68 rdfs:label "consume - LP flare"^^xsd:string ; 138 rdfs:label "consume - LP flare"^^xsd:string ;
69 rdfs:subClassOf ep-flow:Consume-flare . 139 rdfs:subClassOf ep-flow:Consume-flare .
70 140
71 ep-flow:Consume-blackstart 141 ep-flow:Consume-blackstart
72 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 142 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
73 rdfs:label "consume - blackstart"^^xsd:string ; 143 rdfs:label "consume - blackstart"^^xsd:string ;
74 rdfs:subClassOf ep-flow:Consume . 144 rdfs:subClassOf ep-flow:Consume .
75 145
76 ep-flow:Consume-compressor 146 ep-flow:Consume-compressor
77 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 147 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
78 rdfs:label "consume - compressor"^^xsd:string ; 148 rdfs:label "consume - compressor"^^xsd:string ;
79 rdfs:subClassOf ep-flow:Consume . 149 rdfs:subClassOf ep-flow:Consume .
80 150
81 ep-flow:Consume-emitted 151 ep-flow:Consume-emitted
82 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 152 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
83 rdfs:label "consume - emitted"^^xsd:string ; 153 rdfs:label "consume - emitted"^^xsd:string ;
84 rdfs:subClassOf ep-flow:Consume . 154 rdfs:subClassOf ep-flow:Consume .
85 155
86 ep-flow:Consume-flare 156 ep-flow:Consume-flare
87 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 157 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
88 rdfs:label "consume - flare"^^xsd:string ; 158 rdfs:label "consume - flare"^^xsd:string ;
89 rdfs:subClassOf ep-flow:Consume . 159 rdfs:subClassOf ep-flow:Consume .
90 160
91 ep-flow:Consume-fuel 161 ep-flow:Consume-fuel
92 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 162 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
93 rdfs:label "consume - fuel"^^xsd:string ; 163 rdfs:label "consume - fuel"^^xsd:string ;
94 rdfs:subClassOf ep-flow:Consume . 164 rdfs:subClassOf ep-flow:Consume .
95 165
96 ep-flow:Consume-noncompressor 166 ep-flow:Consume-noncompressor
97 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 167 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
98 rdfs:label "consume - non-compressor"^^xsd:string ; 168 rdfs:label "consume - non-compressor"^^xsd:string ;
99 rdfs:subClassOf ep-flow:Consume . 169 rdfs:subClassOf ep-flow:Consume .
100 170
101 ep-flow:Consume-venting 171 ep-flow:Consume-venting
102 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 172 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
103 rdfs:label "consume - venting"^^xsd:string ; 173 rdfs:label "consume - venting"^^xsd:string ;
104 rdfs:subClassOf ep-flow:Consume . 174 rdfs:subClassOf ep-flow:Consume .
105 175
...@@ -109,47 +179,62 @@ ep-flow:DailyProductionFlow ...@@ -109,47 +179,62 @@ ep-flow:DailyProductionFlow
109 rdfs:subClassOf ep-flow:ProductionFlow . 179 rdfs:subClassOf ep-flow:ProductionFlow .
110 180
111 ep-flow:DerivedFlow 181 ep-flow:DerivedFlow
112 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 182 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
113 rdfs:label "derived flow"^^xsd:string ; 183 rdfs:label "derived flow"^^xsd:string ;
114 rdfs:subClassOf ep-flow:WholeLifeFlow . 184 rdfs:subClassOf ep-flow:WholeLifeFlow .
115 185
116 ep-flow:DerivedFlow-difference 186 ep-flow:DerivedFlow-difference
117 - rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; 187 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
118 rdfs:label "derived flow - difference"^^xsd:string ; 188 rdfs:label "derived flow - difference"^^xsd:string ;
119 rdfs:subClassOf ep-flow:DerivedFlow . 189 rdfs:subClassOf ep-flow:DerivedFlow .
120 190
191 +ep-flow:DerivedInventory
192 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
193 + rdfs:label "derived inventory"^^xsd:string ;
194 + rdfs:subClassOf ep-flow:WholeLifeInventory .
195 +
121 ep-flow:DifferenceFlow 196 ep-flow:DifferenceFlow
122 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 197 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
123 rdfs:label "difference flow"^^xsd:string ; 198 rdfs:label "difference flow"^^xsd:string ;
124 rdfs:subClassOf ep-flow:WholeLifeFlow . 199 rdfs:subClassOf ep-flow:WholeLifeFlow .
125 200
201 +ep-flow:DifferenceInventory
202 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
203 + rdfs:label "difference inventory"^^xsd:string ;
204 + rdfs:subClassOf ep-flow:WholeLifeInventory .
205 +
126 ep-flow:ElectricPowerFlow 206 ep-flow:ElectricPowerFlow
127 rdf:type owl:Class ; 207 rdf:type owl:Class ;
128 rdfs:label "flow of electricity"^^xsd:string ; 208 rdfs:label "flow of electricity"^^xsd:string ;
129 rdfs:subClassOf ep-flow:Flow . 209 rdfs:subClassOf ep-flow:Flow .
130 210
131 ep-flow:EstimatedFlow 211 ep-flow:EstimatedFlow
132 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 212 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
133 rdfs:label "estimated flow"^^xsd:string ; 213 rdfs:label "estimated flow"^^xsd:string ;
134 rdfs:subClassOf ep-flow:WholeLifeFlow . 214 rdfs:subClassOf ep-flow:WholeLifeFlow .
135 215
216 +ep-flow:EstimatedInventory
217 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
218 + rdfs:label "estimated inventory"^^xsd:string ;
219 + rdfs:subClassOf ep-flow:WholeLifeInventory .
220 +
136 ep-flow:Export 221 ep-flow:Export
137 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 222 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
138 rdfs:label "export"^^xsd:string ; 223 rdfs:label "export"^^xsd:string ;
139 rdfs:subClassOf ep-flow:WholeLifeFlow . 224 rdfs:subClassOf ep-flow:WholeLifeFlow .
140 225
141 ep-flow:Export-nominated 226 ep-flow:Export-nominated
142 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 227 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
143 rdfs:label "export nominated"^^xsd:string ; 228 rdfs:label "export nominated"^^xsd:string ;
144 rdfs:subClassOf ep-flow:Export . 229 rdfs:subClassOf ep-flow:Export .
145 230
146 ep-flow:Export-requested 231 ep-flow:Export-requested
147 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 232 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
148 rdfs:label "export requested"^^xsd:string ; 233 rdfs:label "export requested"^^xsd:string ;
149 rdfs:subClassOf ep-flow:Export . 234 rdfs:subClassOf ep-flow:Export .
150 235
151 ep-flow:Export-shortfall 236 ep-flow:Export-shortfall
152 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 237 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
153 rdfs:label "export shortfall"^^xsd:string ; 238 rdfs:label "export shortfall"^^xsd:string ;
154 rdfs:subClassOf ep-flow:Export . 239 rdfs:subClassOf ep-flow:Export .
155 240
...@@ -159,42 +244,42 @@ ep-flow:Flow ...@@ -159,42 +244,42 @@ ep-flow:Flow
159 rdfs:subClassOf ep-core:PhysicalThing . 244 rdfs:subClassOf ep-core:PhysicalThing .
160 245
161 ep-flow:FlowAtInstant 246 ep-flow:FlowAtInstant
162 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 247 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
163 rdfs:label "flow at instant"^^xsd:string ; 248 rdfs:label "flow at instant"^^xsd:string ;
164 rdfs:subClassOf ep-flow:Flow . 249 rdfs:subClassOf ep-flow:Flow .
165 250
166 ep-flow:FlowDuringDay 251 ep-flow:FlowDuringDay
167 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 252 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
168 rdfs:label "flow during day"^^xsd:string ; 253 rdfs:label "flow during day"^^xsd:string ;
169 rdfs:subClassOf ep-flow:FlowDuringPeriod . 254 rdfs:subClassOf ep-flow:FlowDuringPeriod .
170 255
171 ep-flow:FlowDuringMonth 256 ep-flow:FlowDuringMonth
172 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 257 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
173 rdfs:label "flow during month"^^xsd:string ; 258 rdfs:label "flow during month"^^xsd:string ;
174 rdfs:subClassOf ep-flow:FlowDuringPeriod . 259 rdfs:subClassOf ep-flow:FlowDuringPeriod .
175 260
176 ep-flow:FlowDuringMonthToDate 261 ep-flow:FlowDuringMonthToDate
177 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 262 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
178 rdfs:label "flow during month to date"^^xsd:string ; 263 rdfs:label "flow during month to date"^^xsd:string ;
179 rdfs:subClassOf ep-flow:FlowDuringPeriod . 264 rdfs:subClassOf ep-flow:FlowDuringPeriod .
180 265
181 ep-flow:FlowDuringPeriod 266 ep-flow:FlowDuringPeriod
182 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 267 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
183 rdfs:label "flow during period"^^xsd:string ; 268 rdfs:label "flow during period"^^xsd:string ;
184 rdfs:subClassOf ep-flow:Flow . 269 rdfs:subClassOf ep-flow:Flow .
185 270
186 ep-flow:FlowDuringWeek 271 ep-flow:FlowDuringWeek
187 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 272 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
188 rdfs:label "flow during week"^^xsd:string ; 273 rdfs:label "flow during week"^^xsd:string ;
189 rdfs:subClassOf ep-flow:FlowDuringPeriod . 274 rdfs:subClassOf ep-flow:FlowDuringPeriod .
190 275
191 ep-flow:FlowDuringYear 276 ep-flow:FlowDuringYear
192 - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; 277 + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ;
193 rdfs:label "flow during year"^^xsd:string ; 278 rdfs:label "flow during year"^^xsd:string ;
194 rdfs:subClassOf ep-flow:FlowDuringPeriod . 279 rdfs:subClassOf ep-flow:FlowDuringPeriod .
195 280
196 ep-flow:FlowDuringYearToDate 281 ep-flow:FlowDuringYearToDate
197 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 282 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
198 rdfs:label "flow during year to date"^^xsd:string ; 283 rdfs:label "flow during year to date"^^xsd:string ;
199 rdfs:subClassOf ep-flow:FlowDuringPeriod . 284 rdfs:subClassOf ep-flow:FlowDuringPeriod .
200 285
...@@ -204,125 +289,130 @@ ep-flow:FlowOfLiquid ...@@ -204,125 +289,130 @@ ep-flow:FlowOfLiquid
204 rdfs:subClassOf ep-core:PhysicalThing . 289 rdfs:subClassOf ep-core:PhysicalThing .
205 290
206 ep-flow:ForecastFlow 291 ep-flow:ForecastFlow
207 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 292 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
208 rdfs:label "forecast flow"^^xsd:string ; 293 rdfs:label "forecast flow"^^xsd:string ;
209 rdfs:subClassOf ep-flow:WholeLifeFlow . 294 rdfs:subClassOf ep-flow:WholeLifeFlow .
210 295
211 ep-flow:ForecastFlow-declineCurve 296 ep-flow:ForecastFlow-declineCurve
212 - rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; 297 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
213 rdfs:label "forecast flow - decline curve"^^xsd:string ; 298 rdfs:label "forecast flow - decline curve"^^xsd:string ;
214 rdfs:subClassOf ep-flow:ForecastFlow . 299 rdfs:subClassOf ep-flow:ForecastFlow .
215 300
216 ep-flow:ForecastFlow-standard 301 ep-flow:ForecastFlow-standard
217 - rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; 302 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
218 rdfs:label "forecast flow - standard"^^xsd:string ; 303 rdfs:label "forecast flow - standard"^^xsd:string ;
219 rdfs:subClassOf ep-flow:ForecastFlow . 304 rdfs:subClassOf ep-flow:ForecastFlow .
220 305
306 +ep-flow:ForecastInventory
307 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
308 + rdfs:label "forecast inventory"^^xsd:string ;
309 + rdfs:subClassOf ep-flow:WholeLifeInventory .
310 +
221 ep-flow:Gaslift 311 ep-flow:Gaslift
222 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 312 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
223 rdfs:label "gas lift"^^xsd:string ; 313 rdfs:label "gas lift"^^xsd:string ;
224 rdfs:subClassOf ep-flow:WholeLifeFlow . 314 rdfs:subClassOf ep-flow:WholeLifeFlow .
225 315
226 ep-flow:GrossProductFlow 316 ep-flow:GrossProductFlow
227 - rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ; 317 + rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ;
228 rdfs:label "gross product flow"^^xsd:string ; 318 rdfs:label "gross product flow"^^xsd:string ;
229 rdfs:subClassOf ep-flow:ProductFlow . 319 rdfs:subClassOf ep-flow:ProductFlow .
230 320
231 ep-flow:HydrocarbonAccounting 321 ep-flow:HydrocarbonAccounting
232 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 322 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
233 rdfs:label "hydrocarbon accounting"^^xsd:string ; 323 rdfs:label "hydrocarbon accounting"^^xsd:string ;
234 rdfs:subClassOf ep-flow:WholeLifeFlow . 324 rdfs:subClassOf ep-flow:WholeLifeFlow .
235 325
236 ep-flow:Import 326 ep-flow:Import
237 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 327 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
238 rdfs:label "import"^^xsd:string ; 328 rdfs:label "import"^^xsd:string ;
239 rdfs:subClassOf ep-flow:WholeLifeFlow . 329 rdfs:subClassOf ep-flow:WholeLifeFlow .
240 330
241 ep-flow:Injection 331 ep-flow:Injection
242 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 332 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
243 rdfs:label "injection"^^xsd:string ; 333 rdfs:label "injection"^^xsd:string ;
244 rdfs:subClassOf ep-flow:WholeLifeFlow . 334 rdfs:subClassOf ep-flow:WholeLifeFlow .
245 335
246 ep-flow:Inventory 336 ep-flow:Inventory
247 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 337 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
248 rdfs:label "inventory"^^xsd:string ; 338 rdfs:label "inventory"^^xsd:string ;
249 rdfs:subClassOf ep-core:PhysicalObject . 339 rdfs:subClassOf ep-core:PhysicalObject .
250 340
251 ep-flow:MassAdjustedFlow 341 ep-flow:MassAdjustedFlow
252 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 342 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
253 rdfs:label "mass adjusted flow"^^xsd:string ; 343 rdfs:label "mass adjusted flow"^^xsd:string ;
254 rdfs:subClassOf ep-flow:WholeLifeFlow . 344 rdfs:subClassOf ep-flow:WholeLifeFlow .
255 345
256 ep-flow:MeasuredFlow 346 ep-flow:MeasuredFlow
257 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 347 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
258 rdfs:label "measured flow"^^xsd:string ; 348 rdfs:label "measured flow"^^xsd:string ;
259 rdfs:subClassOf ep-flow:WholeLifeFlow . 349 rdfs:subClassOf ep-flow:WholeLifeFlow .
260 350
261 ep-flow:MeasuredFlow-fiscal 351 ep-flow:MeasuredFlow-fiscal
262 - rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; 352 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
263 rdfs:label "measured flow - fiscal"^^xsd:string ; 353 rdfs:label "measured flow - fiscal"^^xsd:string ;
264 rdfs:subClassOf ep-flow:MeasuredFlow . 354 rdfs:subClassOf ep-flow:MeasuredFlow .
265 355
266 ep-flow:MeasuredFlow-raw 356 ep-flow:MeasuredFlow-raw
267 - rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; 357 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
268 rdfs:label "measured flow - raw"^^xsd:string ; 358 rdfs:label "measured flow - raw"^^xsd:string ;
269 rdfs:subClassOf ep-flow:MeasuredFlow . 359 rdfs:subClassOf ep-flow:MeasuredFlow .
270 360
271 ep-flow:MeasuredFlow-recalibrated 361 ep-flow:MeasuredFlow-recalibrated
272 - rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; 362 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
273 rdfs:label "measured flow - recalibrated"^^xsd:string ; 363 rdfs:label "measured flow - recalibrated"^^xsd:string ;
274 rdfs:subClassOf ep-flow:MeasuredFlow . 364 rdfs:subClassOf ep-flow:MeasuredFlow .
275 365
366 +ep-flow:MeasuredInventory
367 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
368 + rdfs:label "measured inventory"^^xsd:string ;
369 + rdfs:subClassOf ep-flow:WholeLifeInventory .
370 +
276 ep-flow:MeteredFlowFiscal 371 ep-flow:MeteredFlowFiscal
277 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 372 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
278 rdfs:label "metered flow fiscal"^^xsd:string ; 373 rdfs:label "metered flow fiscal"^^xsd:string ;
279 rdfs:subClassOf ep-flow:WholeLifeFlow . 374 rdfs:subClassOf ep-flow:WholeLifeFlow .
280 375
281 ep-flow:NetProductFlow 376 ep-flow:NetProductFlow
282 - rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ; 377 + rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ;
283 rdfs:label "net product flow"^^xsd:string ; 378 rdfs:label "net product flow"^^xsd:string ;
284 rdfs:subClassOf ep-flow:ProductFlow . 379 rdfs:subClassOf ep-flow:ProductFlow .
285 380
286 ep-flow:NominatedFlow 381 ep-flow:NominatedFlow
287 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 382 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
288 rdfs:label "nominated flow"^^xsd:string ; 383 rdfs:label "nominated flow"^^xsd:string ;
289 rdfs:subClassOf ep-flow:WholeLifeFlow . 384 rdfs:subClassOf ep-flow:WholeLifeFlow .
290 385
291 -ep-flow:ObjectThatLastsOneDay 386 +ep-flow:NominatedInventory
292 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 387 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
293 - rdfs:label "object that lasts one day"^^xsd:string ; 388 + rdfs:label "nominated inventory"^^xsd:string ;
294 - rdfs:subClassOf ep-core:PhysicalObject . 389 + rdfs:subClassOf ep-flow:WholeLifeInventory .
295 -
296 -ep-flow:ObjectThatLastsOneMonth
297 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
298 - rdfs:label "object that lasts one month"^^xsd:string ;
299 - rdfs:subClassOf ep-core:PhysicalObject .
300 -
301 -ep-flow:ObjectThatLastsOneWeek
302 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
303 - rdfs:label "object that lasts one week"^^xsd:string ;
304 - rdfs:subClassOf ep-core:PhysicalObject .
305 -
306 -ep-flow:ObjectThatLastsOneYear
307 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
308 - rdfs:label "object that lasts one year"^^xsd:string ;
309 - rdfs:subClassOf ep-core:PhysicalObject .
310 390
311 ep-flow:Overboard 391 ep-flow:Overboard
312 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 392 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
313 rdfs:label "overboard"^^xsd:string ; 393 rdfs:label "overboard"^^xsd:string ;
314 rdfs:subClassOf ep-flow:WholeLifeFlow . 394 rdfs:subClassOf ep-flow:WholeLifeFlow .
315 395
316 ep-flow:PotentialFlow 396 ep-flow:PotentialFlow
317 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 397 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
318 rdfs:label "potential flow"^^xsd:string ; 398 rdfs:label "potential flow"^^xsd:string ;
319 rdfs:subClassOf ep-flow:WholeLifeFlow . 399 rdfs:subClassOf ep-flow:WholeLifeFlow .
320 400
401 +ep-flow:PotentialInventory
402 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
403 + rdfs:label "potential inventory"^^xsd:string ;
404 + rdfs:subClassOf ep-flow:WholeLifeInventory .
405 +
321 ep-flow:ProcessedFlow 406 ep-flow:ProcessedFlow
322 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 407 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
323 rdfs:label "processed flow"^^xsd:string ; 408 rdfs:label "processed flow"^^xsd:string ;
324 rdfs:subClassOf ep-flow:WholeLifeFlow . 409 rdfs:subClassOf ep-flow:WholeLifeFlow .
325 410
411 +ep-flow:ProcessedInventory
412 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
413 + rdfs:label "processed inventory"^^xsd:string ;
414 + rdfs:subClassOf ep-flow:WholeLifeInventory .
415 +
326 ep-flow:ProductFlow 416 ep-flow:ProductFlow
327 rdf:type owl:Class ; 417 rdf:type owl:Class ;
328 rdfs:label "(temporal part of a) product flow"^^xsd:string ; 418 rdfs:label "(temporal part of a) product flow"^^xsd:string ;
...@@ -344,27 +434,27 @@ ep-flow:ProductInventory ...@@ -344,27 +434,27 @@ ep-flow:ProductInventory
344 rdfs:subClassOf ep-flow:Inventory . 434 rdfs:subClassOf ep-flow:Inventory .
345 435
346 ep-flow:ProductInventoryAdjustedClosingBalance 436 ep-flow:ProductInventoryAdjustedClosingBalance
347 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 437 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
348 rdfs:label "product inventory adjusted closing balance"^^xsd:string ; 438 rdfs:label "product inventory adjusted closing balance"^^xsd:string ;
349 rdfs:subClassOf ep-flow:ProductInventory . 439 rdfs:subClassOf ep-flow:ProductInventory .
350 440
351 ep-flow:ProductInventoryClosingBalance 441 ep-flow:ProductInventoryClosingBalance
352 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 442 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
353 rdfs:label "product inventory closing balance"^^xsd:string ; 443 rdfs:label "product inventory closing balance"^^xsd:string ;
354 rdfs:subClassOf ep-flow:ProductInventory . 444 rdfs:subClassOf ep-flow:ProductInventory .
355 445
356 ep-flow:ProductInventoryClosingStorageBalance 446 ep-flow:ProductInventoryClosingStorageBalance
357 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 447 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
358 rdfs:label "product inventory closing storage balance"^^xsd:string ; 448 rdfs:label "product inventory closing storage balance"^^xsd:string ;
359 rdfs:subClassOf ep-flow:ProductInventory . 449 rdfs:subClassOf ep-flow:ProductInventory .
360 450
361 ep-flow:ProductInventoryOpFlex 451 ep-flow:ProductInventoryOpFlex
362 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 452 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
363 rdfs:label "product inventory opFlex"^^xsd:string ; 453 rdfs:label "product inventory opFlex"^^xsd:string ;
364 rdfs:subClassOf ep-flow:ProductInventory . 454 rdfs:subClassOf ep-flow:ProductInventory .
365 455
366 ep-flow:ProductInventoryOpeningBalance 456 ep-flow:ProductInventoryOpeningBalance
367 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 457 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
368 rdfs:label "product inventory opening balance"^^xsd:string ; 458 rdfs:label "product inventory opening balance"^^xsd:string ;
369 rdfs:subClassOf ep-flow:ProductInventory . 459 rdfs:subClassOf ep-flow:ProductInventory .
370 460
...@@ -379,7 +469,7 @@ ep-flow:ProductMaterialType ...@@ -379,7 +469,7 @@ ep-flow:ProductMaterialType
379 rdfs:subClassOf owl:Class . 469 rdfs:subClassOf owl:Class .
380 470
381 ep-flow:Production 471 ep-flow:Production
382 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 472 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
383 rdfs:label "production"^^xsd:string ; 473 rdfs:label "production"^^xsd:string ;
384 rdfs:subClassOf ep-flow:WholeLifeFlow . 474 rdfs:subClassOf ep-flow:WholeLifeFlow .
385 475
...@@ -398,6 +488,16 @@ ep-flow:ProductionFlowDefinitionType ...@@ -398,6 +488,16 @@ ep-flow:ProductionFlowDefinitionType
398 rdfs:label " production flow definition type"^^xsd:string ; 488 rdfs:label " production flow definition type"^^xsd:string ;
399 rdfs:subClassOf owl:Class . 489 rdfs:subClassOf owl:Class .
400 490
491 +ep-flow:ProductionFlowNetwork
492 + rdf:type owl:Class ;
493 + rdfs:label "(temporal part of a) production flow network"^^xsd:string ;
494 + rdfs:subClassOf ep-flow:Flow .
495 +
496 +ep-flow:ProductionFlowNetworkToDate
497 + rdf:type owl:Class ;
498 + rdfs:label "production flow network to date"^^xsd:string ;
499 + rdfs:subClassOf ep-flow:ProductionFlowNetwork .
500 +
401 ep-flow:ProductionFlowPurposeType 501 ep-flow:ProductionFlowPurposeType
402 rdf:type rdfs:Class ; 502 rdf:type rdfs:Class ;
403 rdfs:label " production flow purpose type"^^xsd:string ; 503 rdfs:label " production flow purpose type"^^xsd:string ;
...@@ -413,91 +513,21 @@ ep-flow:ProductionInventory ...@@ -413,91 +513,21 @@ ep-flow:ProductionInventory
413 rdfs:label "(temporal part of a) production inventory"^^xsd:string ; 513 rdfs:label "(temporal part of a) production inventory"^^xsd:string ;
414 rdfs:subClassOf ep-flow:Inventory . 514 rdfs:subClassOf ep-flow:Inventory .
415 515
416 -ep-flow:ProductionInventoryAllocatedMaterial 516 +ep-flow:ProductionInventoryCollection
417 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ; 517 + rdf:type owl:Class ;
418 - rdfs:label "production inventory allocated material"^^xsd:string ; 518 + rdfs:label "(temporal part of a) production inventory collection"^^xsd:string ;
419 - rdfs:subClassOf ep-flow:ProductionInventory . 519 + rdfs:subClassOf ep-flow:Inventory .
420 -
421 -ep-flow:ProductionInventoryBudgetMaterial
422 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
423 - rdfs:label "production inventory budget material"^^xsd:string ;
424 - rdfs:subClassOf ep-flow:ProductionInventory .
425 -
426 -ep-flow:ProductionInventoryConstraintMaterial
427 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
428 - rdfs:label "production inventory constraint material"^^xsd:string ;
429 - rdfs:subClassOf ep-flow:ProductionInventory .
430 -
431 -ep-flow:ProductionInventoryDerivedMaterial
432 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
433 - rdfs:label "production inventory derived material"^^xsd:string ;
434 - rdfs:subClassOf ep-flow:ProductionInventory .
435 -
436 -ep-flow:ProductionInventoryDifferenceMaterial
437 - rdf:type owl:Class , ep-flow:ProductionInventoryMaterialType ;
438 - rdfs:label "production inventory difference material"^^xsd:string ;
439 - rdfs:subClassOf ep-flow:ProductionInventory .
440 -
441 -ep-flow:ProductionInventoryEstimatedMaterial
442 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
443 - rdfs:label "production inventory estimated material"^^xsd:string ;
444 - rdfs:subClassOf ep-flow:ProductionInventory .
445 520
446 -ep-flow:ProductionInventoryForecastMaterial 521 +ep-flow:ProductionInventoryCollectionToDate
447 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ; 522 + rdf:type owl:Class ;
448 - rdfs:label "production inventory forecast material"^^xsd:string ; 523 + rdfs:label "production inventory collection to date"^^xsd:string ;
449 - rdfs:subClassOf ep-flow:ProductionInventory . 524 + rdfs:subClassOf ep-flow:ProductionInventoryCollection .
450 525
451 -ep-flow:ProductionInventoryMaterialType 526 +ep-flow:ProductionInventoryDefinitionType
452 rdf:type rdfs:Class ; 527 rdf:type rdfs:Class ;
453 - rdfs:label " production inventory material type"^^xsd:string ; 528 + rdfs:label " production inventory definition type"^^xsd:string ;
454 rdfs:subClassOf owl:Class . 529 rdfs:subClassOf owl:Class .
455 530
456 -ep-flow:ProductionInventoryMeasuredMaterial
457 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
458 - rdfs:label "production inventory measured material"^^xsd:string ;
459 - rdfs:subClassOf ep-flow:ProductionInventory .
460 -
461 -ep-flow:ProductionInventoryNominatedMaterial
462 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
463 - rdfs:label "production inventory nominated material"^^xsd:string ;
464 - rdfs:subClassOf ep-flow:ProductionInventory .
465 -
466 -ep-flow:ProductionInventoryPotentialMaterial
467 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
468 - rdfs:label "production inventory potential material"^^xsd:string ;
469 - rdfs:subClassOf ep-flow:ProductionInventory .
470 -
471 -ep-flow:ProductionInventoryProcessedMaterial
472 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
473 - rdfs:label "production inventory processed material"^^xsd:string ;
474 - rdfs:subClassOf ep-flow:ProductionInventory .
475 -
476 -ep-flow:ProductionInventoryQuotaMaterial
477 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
478 - rdfs:label "production inventory quota material"^^xsd:string ;
479 - rdfs:subClassOf ep-flow:ProductionInventory .
480 -
481 -ep-flow:ProductionInventoryRecommendedMaterial
482 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
483 - rdfs:label "production inventory recommended material"^^xsd:string ;
484 - rdfs:subClassOf ep-flow:ProductionInventory .
485 -
486 -ep-flow:ProductionInventorySaleableMaterial
487 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
488 - rdfs:label "production inventory saleable material"^^xsd:string ;
489 - rdfs:subClassOf ep-flow:ProductionInventory .
490 -
491 -ep-flow:ProductionInventorySimulatedMaterial
492 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
493 - rdfs:label "production inventory simulated material"^^xsd:string ;
494 - rdfs:subClassOf ep-flow:ProductionInventory .
495 -
496 -ep-flow:ProductionInventoryTargetMaterial
497 - rdf:type ep-flow:ProductionInventoryMaterialType , owl:Class ;
498 - rdfs:label "production inventory target material"^^xsd:string ;
499 - rdfs:subClassOf ep-flow:ProductionInventory .
500 -
501 ep-flow:ProductionInventoryToDate 531 ep-flow:ProductionInventoryToDate
502 rdf:type owl:Class ; 532 rdf:type owl:Class ;
503 rdfs:label "production inventory to date"^^xsd:string ; 533 rdfs:label "production inventory to date"^^xsd:string ;
...@@ -524,47 +554,72 @@ ep-flow:ProductionTestWellHeadFlow ...@@ -524,47 +554,72 @@ ep-flow:ProductionTestWellHeadFlow
524 rdfs:subClassOf ep-flow:WholeLifeFlow . 554 rdfs:subClassOf ep-flow:WholeLifeFlow .
525 555
526 ep-flow:QuotaFlow 556 ep-flow:QuotaFlow
527 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 557 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
528 rdfs:label "quota flow"^^xsd:string ; 558 rdfs:label "quota flow"^^xsd:string ;
529 rdfs:subClassOf ep-flow:WholeLifeFlow . 559 rdfs:subClassOf ep-flow:WholeLifeFlow .
530 560
561 +ep-flow:QuotaInventory
562 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
563 + rdfs:label "quota inventory"^^xsd:string ;
564 + rdfs:subClassOf ep-flow:WholeLifeInventory .
565 +
531 ep-flow:RecommendedFlow 566 ep-flow:RecommendedFlow
532 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 567 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
533 rdfs:label "recommended flow"^^xsd:string ; 568 rdfs:label "recommended flow"^^xsd:string ;
534 rdfs:subClassOf ep-flow:WholeLifeFlow . 569 rdfs:subClassOf ep-flow:WholeLifeFlow .
535 570
571 +ep-flow:RecommendedInventory
572 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
573 + rdfs:label "recommended inventory"^^xsd:string ;
574 + rdfs:subClassOf ep-flow:WholeLifeInventory .
575 +
536 ep-flow:Sale 576 ep-flow:Sale
537 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 577 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
538 rdfs:label "sale"^^xsd:string ; 578 rdfs:label "sale"^^xsd:string ;
539 rdfs:subClassOf ep-flow:WholeLifeFlow . 579 rdfs:subClassOf ep-flow:WholeLifeFlow .
540 580
541 ep-flow:SaleableFlow 581 ep-flow:SaleableFlow
542 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 582 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
543 rdfs:label "saleable flow"^^xsd:string ; 583 rdfs:label "saleable flow"^^xsd:string ;
544 rdfs:subClassOf ep-flow:WholeLifeFlow . 584 rdfs:subClassOf ep-flow:WholeLifeFlow .
545 585
586 +ep-flow:SaleableInventory
587 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
588 + rdfs:label "saleable inventory"^^xsd:string ;
589 + rdfs:subClassOf ep-flow:WholeLifeInventory .
590 +
546 ep-flow:SampleOfMaterial 591 ep-flow:SampleOfMaterial
547 rdf:type owl:Class ; 592 rdf:type owl:Class ;
548 - rdfs:label "sample of material"^^xsd:string , "(temporal part of a) sample of material"^^xsd:string ; 593 + rdfs:label "(temporal part of a) sample of material"^^xsd:string , "sample of material"^^xsd:string ;
549 rdfs:subClassOf ep-material:QuantityOfMaterial . 594 rdfs:subClassOf ep-material:QuantityOfMaterial .
550 595
551 ep-flow:SimulatedFlow 596 ep-flow:SimulatedFlow
552 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 597 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
553 rdfs:label "simulated flow"^^xsd:string ; 598 rdfs:label "simulated flow"^^xsd:string ;
554 rdfs:subClassOf ep-flow:WholeLifeFlow . 599 rdfs:subClassOf ep-flow:WholeLifeFlow .
555 600
601 +ep-flow:SimulatedInventory
602 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
603 + rdfs:label "simulated inventory"^^xsd:string ;
604 + rdfs:subClassOf ep-flow:WholeLifeInventory .
605 +
556 ep-flow:Storage 606 ep-flow:Storage
557 - rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; 607 + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
558 rdfs:label "storage"^^xsd:string ; 608 rdfs:label "storage"^^xsd:string ;
559 rdfs:subClassOf ep-flow:WholeLifeFlow . 609 rdfs:subClassOf ep-flow:WholeLifeFlow .
560 610
561 ep-flow:TargetFlow 611 ep-flow:TargetFlow
562 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 612 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
563 rdfs:label "target flow"^^xsd:string ; 613 rdfs:label "target flow"^^xsd:string ;
564 rdfs:subClassOf ep-flow:WholeLifeFlow . 614 rdfs:subClassOf ep-flow:WholeLifeFlow .
565 615
616 +ep-flow:TargetInventory
617 + rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
618 + rdfs:label "target inventory"^^xsd:string ;
619 + rdfs:subClassOf ep-flow:WholeLifeInventory .
620 +
566 ep-flow:TariffBasisFlow 621 ep-flow:TariffBasisFlow
567 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 622 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
568 rdfs:label "tariff basis flow"^^xsd:string ; 623 rdfs:label "tariff basis flow"^^xsd:string ;
569 rdfs:subClassOf ep-flow:WholeLifeFlow . 624 rdfs:subClassOf ep-flow:WholeLifeFlow .
570 625
...@@ -579,7 +634,7 @@ ep-flow:TemporalPartOfAFlowDurationType ...@@ -579,7 +634,7 @@ ep-flow:TemporalPartOfAFlowDurationType
579 rdfs:subClassOf owl:Class . 634 rdfs:subClassOf owl:Class .
580 635
581 ep-flow:ValueAdjustedFlow 636 ep-flow:ValueAdjustedFlow
582 - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 637 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
583 rdfs:label "value adjusted flow"^^xsd:string ; 638 rdfs:label "value adjusted flow"^^xsd:string ;
584 rdfs:subClassOf ep-flow:WholeLifeFlow . 639 rdfs:subClassOf ep-flow:WholeLifeFlow .
585 640
...@@ -588,10 +643,15 @@ ep-flow:WholeLifeFlow ...@@ -588,10 +643,15 @@ ep-flow:WholeLifeFlow
588 rdfs:label "whole life flow"^^xsd:string ; 643 rdfs:label "whole life flow"^^xsd:string ;
589 rdfs:subClassOf ep-flow:Flow . 644 rdfs:subClassOf ep-flow:Flow .
590 645
646 +ep-flow:WholeLifeInventory
647 + rdf:type owl:Class ;
648 + rdfs:label "whole life inventory"^^xsd:string ;
649 + rdfs:subClassOf ep-flow:Inventory .
650 +
591 ep-flow:WholeLifeProductFlow 651 ep-flow:WholeLifeProductFlow
592 rdf:type owl:Class ; 652 rdf:type owl:Class ;
593 rdfs:label "whole life product flow"^^xsd:string ; 653 rdfs:label "whole life product flow"^^xsd:string ;
594 - rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductFlow . 654 + rdfs:subClassOf ep-flow:ProductFlow , ep-flow:WholeLifeFlow .
595 655
596 ep-flow:WholeLifeProductInventory 656 ep-flow:WholeLifeProductInventory
597 rdf:type owl:Class ; 657 rdf:type owl:Class ;
...@@ -601,15 +661,25 @@ ep-flow:WholeLifeProductInventory ...@@ -601,15 +661,25 @@ ep-flow:WholeLifeProductInventory
601 ep-flow:WholeLifeProductionFlow 661 ep-flow:WholeLifeProductionFlow
602 rdf:type owl:Class ; 662 rdf:type owl:Class ;
603 rdfs:label "whole life production flow"^^xsd:string ; 663 rdfs:label "whole life production flow"^^xsd:string ;
604 - rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductionFlow . 664 + rdfs:subClassOf ep-flow:ProductionFlow , ep-flow:WholeLifeFlow .
665 +
666 +ep-flow:WholeLifeProductionFlowNetwork
667 + rdf:type owl:Class ;
668 + rdfs:label "whole life production flow network"^^xsd:string ;
669 + rdfs:subClassOf ep-flow:ProductionFlowNetwork .
605 670
606 ep-flow:WholeLifeProductionInventory 671 ep-flow:WholeLifeProductionInventory
607 rdf:type owl:Class ; 672 rdf:type owl:Class ;
608 rdfs:label "(whole life) production inventory"^^xsd:string ; 673 rdfs:label "(whole life) production inventory"^^xsd:string ;
609 - rdfs:subClassOf ep-flow:ProductionInventory . 674 + rdfs:subClassOf ep-flow:WholeLifeInventory , ep-flow:ProductionInventory .
675 +
676 +ep-flow:WholeLifeProductionInventoryCollection
677 + rdf:type owl:Class ;
678 + rdfs:label "whole life production inventory collection"^^xsd:string ;
679 + rdfs:subClassOf ep-flow:ProductionInventoryCollection .
610 680
611 ep-flow:allocatedTo 681 ep-flow:allocatedTo
612 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 682 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
613 rdfs:comment "facility to which a split of a flow or inventory is allocated"^^xsd:string ; 683 rdfs:comment "facility to which a split of a flow or inventory is allocated"^^xsd:string ;
614 rdfs:domain ep-core:PhysicalObject ; 684 rdfs:domain ep-core:PhysicalObject ;
615 rdfs:label "allocatedTo"^^xsd:string ; 685 rdfs:label "allocatedTo"^^xsd:string ;
...@@ -617,13 +687,13 @@ ep-flow:allocatedTo ...@@ -617,13 +687,13 @@ ep-flow:allocatedTo
617 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf . 687 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
618 688
619 ep-flow:dailyAverageAmountOfMaterial 689 ep-flow:dailyAverageAmountOfMaterial
620 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 690 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
621 rdfs:domain ep-flow:Flow ; 691 rdfs:domain ep-flow:Flow ;
622 rdfs:label "daily average amount of material"^^xsd:string ; 692 rdfs:label "daily average amount of material"^^xsd:string ;
623 rdfs:range ep-flow:ClassOfMaterialWithMassCriterion . 693 rdfs:range ep-flow:ClassOfMaterialWithMassCriterion .
624 694
625 ep-flow:energyContent 695 ep-flow:energyContent
626 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 696 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
627 rdfs:domain ep-material:QuantityOfMaterial ; 697 rdfs:domain ep-material:QuantityOfMaterial ;
628 rdfs:label "energy content"^^xsd:string ; 698 rdfs:label "energy content"^^xsd:string ;
629 rdfs:range ep-core:Work . 699 rdfs:range ep-core:Work .
...@@ -655,7 +725,7 @@ ep-flow:flowOutOf ...@@ -655,7 +725,7 @@ ep-flow:flowOutOf
655 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf . 725 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
656 726
657 ep-flow:grossCalorificValue 727 ep-flow:grossCalorificValue
658 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 728 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
659 rdfs:domain ep-material:QuantityOfMaterial ; 729 rdfs:domain ep-material:QuantityOfMaterial ;
660 rdfs:label "gross calorific value"^^xsd:string ; 730 rdfs:label "gross calorific value"^^xsd:string ;
661 rdfs:range ep-core:EnergyPerVolume . 731 rdfs:range ep-core:EnergyPerVolume .
...@@ -674,30 +744,30 @@ ep-flow:hasNetworkPart ...@@ -674,30 +744,30 @@ ep-flow:hasNetworkPart
674 rdfs:range ep-flow:WholeLifeFlow ; 744 rdfs:range ep-flow:WholeLifeFlow ;
675 rdfs:subPropertyOf ep-core:hasPart . 745 rdfs:subPropertyOf ep-core:hasPart .
676 746
677 -ep-flow:materialInInventory
678 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
679 - rdfs:domain ep-flow:Inventory ;
680 - rdfs:label "material in inventory"^^xsd:string ;
681 - rdfs:range ep-material:QuantityOfMaterial .
682 -
683 ep-flow:materialThatFlows 747 ep-flow:materialThatFlows
684 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 748 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
685 rdfs:domain ep-flow:Flow ; 749 rdfs:domain ep-flow:Flow ;
686 rdfs:label "material that flows"^^xsd:string ; 750 rdfs:label "material that flows"^^xsd:string ;
687 rdfs:range ep-material:QuantityOfMaterial . 751 rdfs:range ep-material:QuantityOfMaterial .
688 752
689 ep-flow:rateOfFlowOfMaterial 753 ep-flow:rateOfFlowOfMaterial
690 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 754 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
691 rdfs:label "rate of flow of material"^^xsd:string ; 755 rdfs:label "rate of flow of material"^^xsd:string ;
692 rdfs:range ep-core:MeasureOfAmountOfMaterial . 756 rdfs:range ep-core:MeasureOfAmountOfMaterial .
693 757
758 +ep-flow:summedDailyMass
759 + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
760 + rdfs:domain ep-flow:Inventory ;
761 + rdfs:label "summed daily mass"^^xsd:string ;
762 + rdfs:range ep-core:Mass .
763 +
694 ep-flow:totalVolumeOfMaterial-deprecated 764 ep-flow:totalVolumeOfMaterial-deprecated
695 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 765 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
696 rdfs:label "total volume of material"^^xsd:string ; 766 rdfs:label "total volume of material"^^xsd:string ;
697 rdfs:range ep-core:MeasureOfAmountOfMaterial . 767 rdfs:range ep-core:MeasureOfAmountOfMaterial .
698 768
699 ep-flow:yearlyAverageAmountOfMaterial 769 ep-flow:yearlyAverageAmountOfMaterial
700 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 770 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
701 rdfs:domain ep-flow:Flow ; 771 rdfs:domain ep-flow:Flow ;
702 rdfs:label "yearly average amount of material"^^xsd:string ; 772 rdfs:label "yearly average amount of material"^^xsd:string ;
703 rdfs:range ep-flow:ClassOfMaterialWithMassCriterion . 773 rdfs:range ep-flow:ClassOfMaterialWithMassCriterion .
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
12 12
13 <http://www.reportinghub.no/ep/schema/1.0/production-equipment> 13 <http://www.reportinghub.no/ep/schema/1.0/production-equipment>
14 rdf:type owl:Ontology ; 14 rdf:type owl:Ontology ;
15 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ; 15 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> ;
16 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 16 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
17 17
18 <http://www.reportinghub.no/ep/schema/equipment#ChokeValve> 18 <http://www.reportinghub.no/ep/schema/equipment#ChokeValve>
...@@ -26,16 +26,19 @@ ...@@ -26,16 +26,19 @@
26 26
27 ep-prodeqt:BlockValve 27 ep-prodeqt:BlockValve
28 rdf:type owl:Class ; 28 rdf:type owl:Class ;
29 + rdfs:comment "valve that is a block valve"^^xsd:string ;
29 rdfs:label "block valve"^^xsd:string ; 30 rdfs:label "block valve"^^xsd:string ;
30 rdfs:subClassOf ep-prodeqt:Valve . 31 rdfs:subClassOf ep-prodeqt:Valve .
31 32
32 ep-prodeqt:Controller 33 ep-prodeqt:Controller
33 - rdf:type ep-prodfac:ProductionFacilityType , owl:Class ; 34 + rdf:type owl:Class , ep-prodfac:ProductionFacilityType ;
35 + rdfs:comment "equipment that is a single lift gas controller"^^xsd:string ;
34 rdfs:label "controller"^^xsd:string ; 36 rdfs:label "controller"^^xsd:string ;
35 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 37 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
36 38
37 ep-prodeqt:DownHoleControlValve 39 ep-prodeqt:DownHoleControlValve
38 rdf:type owl:Class ; 40 rdf:type owl:Class ;
41 + rdfs:comment "valve that is a down hole control valve"^^xsd:string ;
39 rdfs:label "down hole control valve"^^xsd:string ; 42 rdfs:label "down hole control valve"^^xsd:string ;
40 rdfs:subClassOf ep-prodeqt:Valve . 43 rdfs:subClassOf ep-prodeqt:Valve .
41 44
...@@ -49,10 +52,12 @@ ep-prodeqt:FlowLine-Production ...@@ -49,10 +52,12 @@ ep-prodeqt:FlowLine-Production
49 52
50 ep-prodeqt:FlowMeter 53 ep-prodeqt:FlowMeter
51 rdf:type owl:Class ; 54 rdf:type owl:Class ;
55 + rdfs:comment "equipment that is a flow meter"^^xsd:string ;
52 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 56 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
53 57
54 ep-prodeqt:GasLiftChoke 58 ep-prodeqt:GasLiftChoke
55 rdf:type owl:Class ; 59 rdf:type owl:Class ;
60 + rdfs:comment "equipment that is a gas lift choke valve"^^xsd:string ;
56 rdfs:label "gas lift choke"^^xsd:string ; 61 rdfs:label "gas lift choke"^^xsd:string ;
57 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 62 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
58 63
...@@ -70,11 +75,13 @@ ep-prodeqt:Manifold-Production ...@@ -70,11 +75,13 @@ ep-prodeqt:Manifold-Production
70 75
71 ep-prodeqt:PressureMeter 76 ep-prodeqt:PressureMeter
72 rdf:type owl:Class ; 77 rdf:type owl:Class ;
78 + rdfs:comment "equipment that is a pressure meter"^^xsd:string ;
73 rdfs:label "pressure meter"^^xsd:string ; 79 rdfs:label "pressure meter"^^xsd:string ;
74 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 80 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
75 81
76 ep-prodeqt:RegulatingValve 82 ep-prodeqt:RegulatingValve
77 rdf:type owl:Class ; 83 rdf:type owl:Class ;
84 + rdfs:comment "valve that is a regulating valve"^^xsd:string ;
78 rdfs:label "regulating valve"^^xsd:string ; 85 rdfs:label "regulating valve"^^xsd:string ;
79 rdfs:subClassOf ep-prodeqt:Valve . 86 rdfs:subClassOf ep-prodeqt:Valve .
80 87
...@@ -84,6 +91,7 @@ ep-prodeqt:Separator ...@@ -84,6 +91,7 @@ ep-prodeqt:Separator
84 91
85 ep-prodeqt:SleeveValve 92 ep-prodeqt:SleeveValve
86 rdf:type owl:Class ; 93 rdf:type owl:Class ;
94 + rdfs:comment "valve that is a sleeve valve"^^xsd:string ;
87 rdfs:label "sleeve valve"^^xsd:string ; 95 rdfs:label "sleeve valve"^^xsd:string ;
88 rdfs:subClassOf ep-prodeqt:Valve . 96 rdfs:subClassOf ep-prodeqt:Valve .
89 97
...@@ -93,6 +101,7 @@ ep-prodeqt:Tank ...@@ -93,6 +101,7 @@ ep-prodeqt:Tank
93 101
94 ep-prodeqt:TemperatureMeter 102 ep-prodeqt:TemperatureMeter
95 rdf:type owl:Class ; 103 rdf:type owl:Class ;
104 + rdfs:comment "equipment that is a temperature meter"^^xsd:string ;
96 rdfs:label "temperature meter"^^xsd:string ; 105 rdfs:label "temperature meter"^^xsd:string ;
97 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 106 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
98 107
...@@ -114,21 +123,22 @@ ep-prodeqt:TemporalPartOfATank ...@@ -114,21 +123,22 @@ ep-prodeqt:TemporalPartOfATank
114 123
115 ep-prodeqt:Valve 124 ep-prodeqt:Valve
116 rdf:type owl:Class ; 125 rdf:type owl:Class ;
126 + rdfs:comment "equipment item that is a valve"^^xsd:string ;
117 rdfs:label "valve"^^xsd:string ; 127 rdfs:label "valve"^^xsd:string ;
118 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 128 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
119 129
120 ep-prodeqt:hasCaptain 130 ep-prodeqt:hasCaptain
121 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 131 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
122 rdfs:label "has captain"^^xsd:string ; 132 rdfs:label "has captain"^^xsd:string ;
123 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Person> . 133 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Person> .
124 134
125 ep-prodeqt:hasValvePosition 135 ep-prodeqt:hasValvePosition
126 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 136 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
127 rdfs:domain ep-prodeqt:Valve ; 137 rdfs:domain ep-prodeqt:Valve ;
128 rdfs:label "has valve position"^^xsd:string ; 138 rdfs:label "has valve position"^^xsd:string ;
129 rdfs:range ep-core:Ratio . 139 rdfs:range ep-core:Ratio .
130 140
131 ep-prodfac:Pipeline 141 ep-prodfac:Pipeline
132 - rdf:type owl:Class , ep-prodfac:ProductionFacilityType ; 142 + rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
133 rdfs:label "pipeline"^^xsd:string ; 143 rdfs:label "pipeline"^^xsd:string ;
134 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> . 144 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
50 50
51 <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> 51 <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
52 rdf:type owl:Class ; 52 rdf:type owl:Class ;
53 + rdfs:comment "production facility that is for all of its life up to a point in time"^^xsd:string ;
53 rdfs:label "production facility to date"^^xsd:string ; 54 rdfs:label "production facility to date"^^xsd:string ;
54 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> . 55 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
55 56
...@@ -105,16 +106,19 @@ ep-prodfac:Boat ...@@ -105,16 +106,19 @@ ep-prodfac:Boat
105 106
106 ep-prodfac:Field-area 107 ep-prodfac:Field-area
107 rdf:type ep-prodfac:ProductionFacilityType , owl:Class ; 108 rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
109 + rdfs:comment "area of ground that is above a field"^^xsd:string ;
108 rdfs:label "field - area"^^xsd:string ; 110 rdfs:label "field - area"^^xsd:string ;
109 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> . 111 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
110 112
111 ep-prodfac:Field-group 113 ep-prodfac:Field-group
112 rdf:type ep-prodfac:ProductionFacilityType , owl:Class ; 114 rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
115 + rdfs:comment "facility that is a set of fields"^^xsd:string ;
113 rdfs:label "field - group"^^xsd:string ; 116 rdfs:label "field - group"^^xsd:string ;
114 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> . 117 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
115 118
116 ep-prodfac:Field-part 119 ep-prodfac:Field-part
117 rdf:type ep-prodfac:ProductionFacilityType , owl:Class ; 120 rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
121 + rdfs:comment "facility that is part of a field"^^xsd:string ;
118 rdfs:label "field - part"^^xsd:string ; 122 rdfs:label "field - part"^^xsd:string ;
119 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> . 123 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
120 124
...@@ -128,6 +132,9 @@ ep-prodfac:OilTanker ...@@ -128,6 +132,9 @@ ep-prodfac:OilTanker
128 rdfs:label "oil tanker"^^xsd:string ; 132 rdfs:label "oil tanker"^^xsd:string ;
129 rdfs:subClassOf ep-prodfac:Ship . 133 rdfs:subClassOf ep-prodfac:Ship .
130 134
135 +ep-prodfac:Pipeline
136 + rdfs:comment "facility that is a pipeline"^^xsd:string .
137 +
131 ep-prodfac:Plant 138 ep-prodfac:Plant
132 rdf:type ep-prodfac:ProductionFacilityType , owl:Class ; 139 rdf:type ep-prodfac:ProductionFacilityType , owl:Class ;
133 rdfs:label "plant"^^xsd:string ; 140 rdfs:label "plant"^^xsd:string ;
......
...@@ -30,11 +30,6 @@ ep-report:DailyProductionReport ...@@ -30,11 +30,6 @@ ep-report:DailyProductionReport
30 rdfs:label "Daily Production Report"^^xsd:string ; 30 rdfs:label "Daily Production Report"^^xsd:string ;
31 rdfs:subClassOf ep-report:ProductionReport . 31 rdfs:subClassOf ep-report:ProductionReport .
32 32
33 -ep-report:DailyReport
34 - rdf:type ep-report:ReportPeriodType , owl:Class ;
35 - rdfs:label "daily report"^^xsd:string ;
36 - rdfs:subClassOf ep-report:Report .
37 -
38 ep-report:FinalDailyDrillingReport 33 ep-report:FinalDailyDrillingReport
39 rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ; 34 rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
40 rdfs:label "final daily drilling report"^^xsd:string ; 35 rdfs:label "final daily drilling report"^^xsd:string ;
...@@ -50,11 +45,6 @@ ep-report:MonthlyProductionReport ...@@ -50,11 +45,6 @@ ep-report:MonthlyProductionReport
50 rdfs:label "Monthly Production Report"^^xsd:string ; 45 rdfs:label "Monthly Production Report"^^xsd:string ;
51 rdfs:subClassOf ep-report:ProductionReport . 46 rdfs:subClassOf ep-report:ProductionReport .
52 47
53 -ep-report:MonthlyReport
54 - rdf:type ep-report:ReportPeriodType , owl:Class ;
55 - rdfs:label "monthly report"^^xsd:string ;
56 - rdfs:subClassOf ep-report:Report .
57 -
58 ep-report:NonProductivetimeReport 48 ep-report:NonProductivetimeReport
59 rdf:type owl:Class ; 49 rdf:type owl:Class ;
60 rdfs:subClassOf ep-report:Report ; 50 rdfs:subClassOf ep-report:Report ;
...@@ -143,14 +133,59 @@ ep-report:ReportAliasIdentifier ...@@ -143,14 +133,59 @@ ep-report:ReportAliasIdentifier
143 owl:onProperty ep-report:aliasName 133 owl:onProperty ep-report:aliasName
144 ] . 134 ] .
145 135
136 +ep-report:ReportForGasYearToDate
137 + rdf:type ep-report:ReportPeriodType , owl:Class ;
138 + rdfs:label "report for gas year to date"^^xsd:string ;
139 + rdfs:subClassOf ep-report:Report .
140 +
146 ep-report:ReportForInstant 141 ep-report:ReportForInstant
147 rdf:type ep-report:ReportPeriodType , owl:Class ; 142 rdf:type ep-report:ReportPeriodType , owl:Class ;
148 rdfs:label "report for instant"^^xsd:string ; 143 rdfs:label "report for instant"^^xsd:string ;
149 rdfs:subClassOf ep-report:Report . 144 rdfs:subClassOf ep-report:Report .
150 145
151 -ep-report:ReportMonthToDate 146 +ep-report:ReportForMonthToDate
147 + rdf:type ep-report:ReportPeriodType , owl:Class ;
148 + rdfs:label "report for month to date"^^xsd:string ;
149 + rdfs:subClassOf ep-report:Report .
150 +
151 +ep-report:ReportForOneDay
152 + rdf:type ep-report:ReportPeriodType , owl:Class ;
153 + rdfs:label "report for one day"^^xsd:string ;
154 + rdfs:subClassOf ep-report:Report .
155 +
156 +ep-report:ReportForOneGasDay
152 rdf:type ep-report:ReportPeriodType , owl:Class ; 157 rdf:type ep-report:ReportPeriodType , owl:Class ;
153 - rdfs:label "report month to date"^^xsd:string ; 158 + rdfs:label "report for one gas day"^^xsd:string ;
159 + rdfs:subClassOf ep-report:Report .
160 +
161 +ep-report:ReportForOneGasMonth
162 + rdf:type ep-report:ReportPeriodType , owl:Class ;
163 + rdfs:label "report for one gas month"^^xsd:string ;
164 + rdfs:subClassOf ep-report:Report .
165 +
166 +ep-report:ReportForOneGasYear
167 + rdf:type ep-report:ReportPeriodType , owl:Class ;
168 + rdfs:label "report for one gas year"^^xsd:string ;
169 + rdfs:subClassOf ep-report:Report .
170 +
171 +ep-report:ReportForOneMonth
172 + rdf:type ep-report:ReportPeriodType , owl:Class ;
173 + rdfs:label "report for one month"^^xsd:string ;
174 + rdfs:subClassOf ep-report:Report .
175 +
176 +ep-report:ReportForOneWeek
177 + rdf:type ep-report:ReportPeriodType , owl:Class ;
178 + rdfs:label "report for one week"^^xsd:string ;
179 + rdfs:subClassOf ep-report:Report .
180 +
181 +ep-report:ReportForOneYear
182 + rdf:type ep-report:ReportPeriodType , owl:Class ;
183 + rdfs:label "report for one year"^^xsd:string ;
184 + rdfs:subClassOf ep-report:Report .
185 +
186 +ep-report:ReportForYearToDate
187 + rdf:type owl:Class , ep-report:ReportPeriodType ;
188 + rdfs:label "report for year to date"^^xsd:string ;
154 rdfs:subClassOf ep-report:Report . 189 rdfs:subClassOf ep-report:Report .
155 190
156 ep-report:ReportPeriodType 191 ep-report:ReportPeriodType
...@@ -158,11 +193,6 @@ ep-report:ReportPeriodType ...@@ -158,11 +193,6 @@ ep-report:ReportPeriodType
158 rdfs:label "report period type"^^xsd:string ; 193 rdfs:label "report period type"^^xsd:string ;
159 rdfs:subClassOf owl:Class . 194 rdfs:subClassOf owl:Class .
160 195
161 -ep-report:ReportYearToDate
162 - rdf:type ep-report:ReportPeriodType , owl:Class ;
163 - rdfs:label "report year to date"^^xsd:string ;
164 - rdfs:subClassOf ep-report:Report .
165 -
166 ep-report:WeeklyDrillingReport 196 ep-report:WeeklyDrillingReport
167 rdf:type owl:Class ; 197 rdf:type owl:Class ;
168 rdfs:subClassOf ep-report:Report ; 198 rdfs:subClassOf ep-report:Report ;
...@@ -187,21 +217,11 @@ ep-report:WeeklyDrillingReport ...@@ -187,21 +217,11 @@ ep-report:WeeklyDrillingReport
187 owl:onProperty ep-report:reportOn 217 owl:onProperty ep-report:reportOn
188 ] . 218 ] .
189 219
190 -ep-report:WeeklyReport
191 - rdf:type ep-report:ReportPeriodType , owl:Class ;
192 - rdfs:label "weekly report"^^xsd:string ;
193 - rdfs:subClassOf ep-report:Report .
194 -
195 ep-report:WellTestReport 220 ep-report:WellTestReport
196 rdf:type owl:Class ; 221 rdf:type owl:Class ;
197 rdfs:label "well test report"^^xsd:string ; 222 rdfs:label "well test report"^^xsd:string ;
198 rdfs:subClassOf ep-report:Report . 223 rdfs:subClassOf ep-report:Report .
199 224
200 -ep-report:YearlyReport
201 - rdf:type ep-report:ReportPeriodType , owl:Class ;
202 - rdfs:label "yearly report"^^xsd:string ;
203 - rdfs:subClassOf ep-report:Report .
204 -
205 ep-report:aliasName 225 ep-report:aliasName
206 rdf:type owl:DatatypeProperty ; 226 rdf:type owl:DatatypeProperty ;
207 rdfs:range xsd:string . 227 rdfs:range xsd:string .
...@@ -269,3 +289,9 @@ ep-report:reportSubmittedBy ...@@ -269,3 +289,9 @@ ep-report:reportSubmittedBy
269 rdfs:domain ep-report:Report ; 289 rdfs:domain ep-report:Report ;
270 rdfs:label "report submitted by"^^xsd:string ; 290 rdfs:label "report submitted by"^^xsd:string ;
271 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . 291 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
292 +
293 +ep-report:reportSubmittedFrom
294 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
295 + rdfs:domain ep-report:Report ;
296 + rdfs:label "report submitted from"^^xsd:string ;
297 + rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -20,14 +20,22 @@ ...@@ -20,14 +20,22 @@
20 <http://www.epim.no/schemas/mprml/1#A_Global-Objects> 20 <http://www.epim.no/schemas/mprml/1#A_Global-Objects>
21 spin:rule 21 spin:rule
22 [ rdf:type sp:Construct ; 22 [ rdf:type sp:Construct ;
23 - rdfs:comment "STEP 10010 Add the contextFacility - unless the contextFacility is the production facility"^^xsd:string ; 23 + rdfs:comment "STEP 10001c Create the interval identifier - date from context"^^xsd:string ;
24 sp:templates ([ sp:object 24 sp:templates ([ sp:object
25 - [ sp:varName "contextFacility"^^xsd:string 25 + [ sp:varName "date"^^xsd:string
26 ] ; 26 ] ;
27 - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; 27 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
28 - sp:subject 28 + sp:subject spin:_this
29 - [ sp:varName "productionFacility"^^xsd:string 29 + ] [ sp:object
30 - ] 30 + [ sp:varName "date"^^xsd:string
31 + ] ;
32 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
33 + sp:subject spin:_this
34 + ] [ sp:object
35 + [ sp:varName "date"^^xsd:string
36 + ] ;
37 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
38 + sp:subject spin:_this
31 ]) ; 39 ]) ;
32 sp:where ([ sp:object 40 sp:where ([ sp:object
33 [ sp:varName "contextRef"^^xsd:string 41 [ sp:varName "contextRef"^^xsd:string
...@@ -40,84 +48,51 @@ ...@@ -40,84 +48,51 @@
40 [ sp:varName "contextRef"^^xsd:string 48 [ sp:varName "contextRef"^^xsd:string
41 ] 49 ]
42 ] [ sp:object 50 ] [ sp:object
43 - [ sp:varName "contextFacilityRef"^^xsd:string 51 + [ sp:varName "date"^^xsd:string
44 ] ; 52 ] ;
45 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; 53 + sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
46 sp:subject 54 sp:subject
47 [ sp:varName "contextRef"^^xsd:string 55 [ sp:varName "contextRef"^^xsd:string
48 ] 56 ]
49 - ] [ sp:object
50 - [ sp:varName "contextFacilityRef"^^xsd:string
51 - ] ;
52 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
53 - sp:subject
54 - [ sp:varName "contextFacility"^^xsd:string
55 - ]
56 ] [ rdf:type sp:NotExists ; 57 ] [ rdf:type sp:NotExists ;
57 - sp:elements ([ sp:object spin:_this ; 58 + sp:elements ([ sp:object
58 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 59 + [ sp:varName "dateStart"^^xsd:string
60 + ] ;
61 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
59 sp:subject 62 sp:subject
60 - [ sp:varName "contextFacility"^^xsd:string 63 + [ sp:varName "contextRef"^^xsd:string
64 + ]
65 + ])
66 + ] [ rdf:type sp:NotExists ;
67 + sp:elements ([ sp:object
68 + [ sp:varName "dateEnd"^^xsd:string
69 + ] ;
70 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
71 + sp:subject
72 + [ sp:varName "contextRef"^^xsd:string
61 ] 73 ]
62 ]) 74 ])
63 - ] [ sp:object spin:_this ;
64 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
65 - sp:subject
66 - [ sp:varName "productionReport"^^xsd:string
67 - ]
68 - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
69 - sp:predicate rdf:type ;
70 - sp:subject
71 - [ sp:varName "productionReport"^^xsd:string
72 - ]
73 - ] [ sp:object
74 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
75 - ] ;
76 - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ;
77 - sp:subject
78 - [ sp:varName "productionReport"^^xsd:string
79 - ]
80 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
81 - sp:predicate rdf:type ;
82 - sp:subject
83 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
84 - ]
85 - ] [ sp:object
86 - [ sp:varName "productionFacility"^^xsd:string
87 - ] ;
88 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
89 - sp:subject
90 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
91 - ]
92 ]) 75 ])
93 ] ; 76 ] ;
94 spin:rule 77 spin:rule
95 [ rdf:type sp:Construct ; 78 [ rdf:type sp:Construct ;
96 - rdfs:comment "STEP 10020 Add the operator"^^xsd:string ; 79 + rdfs:comment "STEP 10001m Create the ProductionReport - extract the report name from context/contextFacility"^^xsd:string ;
97 - sp:templates ([ sp:object _:b1 ; 80 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
98 - sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
99 - sp:subject
100 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
101 - ]
102 - ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
103 sp:predicate rdf:type ; 81 sp:predicate rdf:type ;
104 - sp:subject _:b1
105 - ] [ sp:object
106 - [ sp:varName "operator"^^xsd:string
107 - ] ;
108 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
109 - sp:subject _:b1
110 - ]) ;
111 - sp:where ([ sp:object spin:_this ;
112 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
113 sp:subject 82 sp:subject
114 [ sp:varName "productionReport"^^xsd:string 83 [ sp:varName "productionReport"^^xsd:string
115 ] 84 ]
116 - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; 85 + ] [ sp:object spin:_this ;
117 - sp:predicate rdf:type ; 86 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
118 sp:subject 87 sp:subject
119 [ sp:varName "productionReport"^^xsd:string 88 [ sp:varName "productionReport"^^xsd:string
120 ] 89 ]
90 + ]) ;
91 + sp:where ([ sp:object
92 + [ sp:varName "intervalIdentifier"^^xsd:string
93 + ] ;
94 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
95 + sp:subject spin:_this
121 ] [ sp:object 96 ] [ sp:object
122 [ sp:varName "contextRef"^^xsd:string 97 [ sp:varName "contextRef"^^xsd:string
123 ] ; 98 ] ;
...@@ -129,96 +104,27 @@ ...@@ -129,96 +104,27 @@
129 [ sp:varName "contextRef"^^xsd:string 104 [ sp:varName "contextRef"^^xsd:string
130 ] 105 ]
131 ] [ sp:object 106 ] [ sp:object
132 - [ sp:varName "operatorRef"^^xsd:string 107 + [ sp:varName "contextFacilityRef"^^xsd:string
133 ] ; 108 ] ;
134 - sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ; 109 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
135 sp:subject 110 sp:subject
136 [ sp:varName "contextRef"^^xsd:string 111 [ sp:varName "contextRef"^^xsd:string
137 ] 112 ]
138 - ] [ sp:object 113 + ] [ rdf:type sp:Bind ;
139 - [ sp:varName "operatorRef"^^xsd:string 114 + sp:expression
140 - ] ; 115 + [ rdf:type spl:object ;
141 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 116 + sp:arg1 [ sp:varName "contextFacilityRef"^^xsd:string
142 - sp:subject 117 + ] ;
143 - [ sp:varName "operator"^^xsd:string 118 + sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
144 - ]
145 - ] [ sp:object
146 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
147 ] ; 119 ] ;
148 - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ; 120 + sp:variable
149 - sp:subject 121 + [ sp:varName "normalizedContextFacilityName"^^xsd:string
150 - [ sp:varName "productionReport"^^xsd:string
151 - ]
152 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
153 - sp:predicate rdf:type ;
154 - sp:subject
155 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
156 - ]
157 - ])
158 - ] ;
159 - spin:rule
160 - [ rdf:type sp:Construct ;
161 - rdfs:comment "STEP 10001p Create the ProductionReport - unable to find an identifier"^^xsd:string ;
162 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
163 - sp:predicate rdf:type ;
164 - sp:subject
165 - [ sp:varName "productionReport"^^xsd:string
166 - ]
167 - ] [ sp:object spin:_this ;
168 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
169 - sp:subject
170 - [ sp:varName "productionReport"^^xsd:string
171 ] 122 ]
172 - ]) ;
173 - sp:where ([ sp:object
174 - [ sp:varName "intervalIdentifier"^^xsd:string
175 - ] ;
176 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
177 - sp:subject spin:_this
178 - ] [ rdf:type sp:NotExists ;
179 - sp:elements ([ sp:object
180 - [ sp:varName "contextRef"^^xsd:string
181 - ] ;
182 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
183 - sp:subject spin:_this
184 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
185 - sp:predicate rdf:type ;
186 - sp:subject
187 - [ sp:varName "contextRef"^^xsd:string
188 - ]
189 - ] [ sp:object
190 - [ sp:varName "contextFacilityRef"^^xsd:string
191 - ] ;
192 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
193 - sp:subject
194 - [ sp:varName "contextRef"^^xsd:string
195 - ]
196 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
197 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
198 - sp:subject
199 - [ sp:varName "contextFacilityRef"^^xsd:string
200 - ]
201 - ])
202 - ] [ rdf:type sp:NotExists ;
203 - sp:elements ([ sp:object
204 - [ sp:varName "installationRef"^^xsd:string
205 - ] ;
206 - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
207 - sp:subject
208 - [ sp:varName "contextRef"^^xsd:string
209 - ]
210 - ] [ sp:object
211 - [ sp:varName "installationRef"^^xsd:string
212 - ] ;
213 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
214 - sp:subject
215 - [ sp:varName "reportingFacility"^^xsd:string
216 - ]
217 - ])
218 ] [ rdf:type sp:Bind ; 123 ] [ rdf:type sp:Bind ;
219 sp:expression 124 sp:expression
220 [ rdf:type ep-mpr-spin-lib:buildProductionReportURI ; 125 [ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
221 - sp:arg1 "" ; 126 + sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string
127 + ] ;
222 sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string 128 sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
223 ] 129 ]
224 ] ; 130 ] ;
...@@ -229,74 +135,21 @@ ...@@ -229,74 +135,21 @@
229 ] ; 135 ] ;
230 spin:rule 136 spin:rule
231 [ rdf:type sp:Construct ; 137 [ rdf:type sp:Construct ;
232 - rdfs:comment "STEP 10001z Add the issue date and title"^^xsd:string ; 138 + rdfs:comment "STEP 10001b Create the interval identifier - date and dateEnd from context"^^xsd:string ;
233 sp:templates ([ sp:object 139 sp:templates ([ sp:object
234 - [ sp:varName "month"^^xsd:string 140 + [ sp:varName "intervalIdentifier"^^xsd:string
235 ] ; 141 ] ;
236 - sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedAt> ; 142 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
237 - sp:subject 143 + sp:subject spin:_this
238 - [ sp:varName "productionReport"^^xsd:string
239 - ]
240 ] [ sp:object 144 ] [ sp:object
241 - [ sp:varName "title"^^xsd:string 145 + [ sp:varName "date"^^xsd:string
242 - ] ;
243 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
244 - sp:subject
245 - [ sp:varName "productionReport"^^xsd:string
246 - ]
247 - ]) ;
248 - sp:where ([ sp:object
249 - [ sp:varName "contextRef"^^xsd:string
250 ] ; 146 ] ;
251 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ; 147 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
252 sp:subject spin:_this 148 sp:subject spin:_this
253 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ; 149 + ] [ sp:object
254 - sp:predicate rdf:type ; 150 + [ sp:varName "dateEnd"^^xsd:string
255 - sp:subject 151 + ] ;
256 - [ sp:varName "contextRef"^^xsd:string 152 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
257 - ]
258 - ] [ rdf:type sp:Optional ;
259 - sp:elements ([ sp:object
260 - [ sp:varName "month"^^xsd:string
261 - ] ;
262 - sp:predicate <http://www.epim.no/schemas/mprml/1#month> ;
263 - sp:subject
264 - [ sp:varName "contextRef"^^xsd:string
265 - ]
266 - ])
267 - ] [ rdf:type sp:Optional ;
268 - sp:elements ([ sp:object
269 - [ sp:varName "titleRef"^^xsd:string
270 - ] ;
271 - sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
272 - sp:subject
273 - [ sp:varName "contextRef"^^xsd:string
274 - ]
275 - ] [ sp:object
276 - [ sp:varName "title"^^xsd:string
277 - ] ;
278 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
279 - sp:subject
280 - [ sp:varName "titleRef"^^xsd:string
281 - ]
282 - ])
283 - ] [ sp:object spin:_this ;
284 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
285 - sp:subject
286 - [ sp:varName "productionReport"^^xsd:string
287 - ]
288 - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
289 - sp:predicate rdf:type ;
290 - sp:subject
291 - [ sp:varName "productionReport"^^xsd:string
292 - ]
293 - ])
294 - ] ;
295 - spin:rule
296 - [ rdf:type sp:Construct ;
297 - rdfs:comment "STEP 10001e Create the interval identifier - no date"^^xsd:string ;
298 - sp:templates ([ sp:object "noDate" ;
299 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
300 sp:subject spin:_this 153 sp:subject spin:_this
301 ]) ; 154 ]) ;
302 sp:where ([ sp:object 155 sp:where ([ sp:object
...@@ -309,24 +162,13 @@ ...@@ -309,24 +162,13 @@
309 sp:subject 162 sp:subject
310 [ sp:varName "contextRef"^^xsd:string 163 [ sp:varName "contextRef"^^xsd:string
311 ] 164 ]
312 - ] [ rdf:type sp:NotExists ; 165 + ] [ sp:object
313 - sp:elements ([ sp:object 166 + [ sp:varName "date"^^xsd:string
314 - [ sp:varName "dateEnd"^^xsd:string 167 + ] ;
315 - ] ; 168 + sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
316 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; 169 + sp:subject
317 - sp:subject 170 + [ sp:varName "contextRef"^^xsd:string
318 - [ sp:varName "contextRef"^^xsd:string 171 + ]
319 - ]
320 - ])
321 - ] [ rdf:type sp:NotExists ;
322 - sp:elements ([ sp:object
323 - [ sp:varName "date"^^xsd:string
324 - ] ;
325 - sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
326 - sp:subject
327 - [ sp:varName "contextRef"^^xsd:string
328 - ]
329 - ])
330 ] [ rdf:type sp:NotExists ; 172 ] [ rdf:type sp:NotExists ;
331 sp:elements ([ sp:object 173 sp:elements ([ sp:object
332 [ sp:varName "dateStart"^^xsd:string 174 [ sp:varName "dateStart"^^xsd:string
...@@ -336,6 +178,24 @@ ...@@ -336,6 +178,24 @@
336 [ sp:varName "contextRef"^^xsd:string 178 [ sp:varName "contextRef"^^xsd:string
337 ] 179 ]
338 ]) 180 ])
181 + ] [ sp:object
182 + [ sp:varName "dateEnd"^^xsd:string
183 + ] ;
184 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
185 + sp:subject
186 + [ sp:varName "contextRef"^^xsd:string
187 + ]
188 + ] [ rdf:type sp:Bind ;
189 + sp:expression
190 + [ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
191 + sp:arg1 [ sp:varName "date"^^xsd:string
192 + ] ;
193 + sp:arg2 [ sp:varName "dateEnd"^^xsd:string
194 + ]
195 + ] ;
196 + sp:variable
197 + [ sp:varName "intervalIdentifier"^^xsd:string
198 + ]
339 ]) 199 ])
340 ] ; 200 ] ;
341 spin:rule 201 spin:rule
...@@ -351,29 +211,29 @@ ...@@ -351,29 +211,29 @@
351 sp:subject 211 sp:subject
352 [ sp:varName "productionFacility"^^xsd:string 212 [ sp:varName "productionFacility"^^xsd:string
353 ] 213 ]
354 - ] [ sp:object _:b2 ; 214 + ] [ sp:object _:b1 ;
355 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; 215 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
356 sp:subject 216 sp:subject
357 [ sp:varName "productionReport"^^xsd:string 217 [ sp:varName "productionReport"^^xsd:string
358 ] 218 ]
359 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; 219 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
360 sp:predicate rdf:type ; 220 sp:predicate rdf:type ;
361 - sp:subject _:b2 221 + sp:subject _:b1
362 ] [ sp:object 222 ] [ sp:object
363 [ sp:varName "productionFacility"^^xsd:string 223 [ sp:varName "productionFacility"^^xsd:string
364 ] ; 224 ] ;
365 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 225 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
366 - sp:subject _:b2 226 + sp:subject _:b1
367 ] [ sp:object 227 ] [ sp:object
368 [ sp:varName "intervalStart"^^xsd:string 228 [ sp:varName "intervalStart"^^xsd:string
369 ] ; 229 ] ;
370 sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; 230 sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
371 - sp:subject _:b2 231 + sp:subject _:b1
372 ] [ sp:object 232 ] [ sp:object
373 [ sp:varName "intervalEnd"^^xsd:string 233 [ sp:varName "intervalEnd"^^xsd:string
374 ] ; 234 ] ;
375 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 235 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
376 - sp:subject _:b2 236 + sp:subject _:b1
377 ] [ sp:object 237 ] [ sp:object
378 [ sp:varName "normalizedProductionFacilityName"^^xsd:string 238 [ sp:varName "normalizedProductionFacilityName"^^xsd:string
379 ] ; 239 ] ;
...@@ -440,28 +300,128 @@ ...@@ -440,28 +300,128 @@
440 ] ; 300 ] ;
441 spin:rule 301 spin:rule
442 [ rdf:type sp:Construct ; 302 [ rdf:type sp:Construct ;
443 - rdfs:comment "STEP 10001n Create the ProductionReport - extract the report name from the reporting from the reporting installation"^^xsd:string ; 303 + rdfs:comment "STEP 10001z Add the issue date and title"^^xsd:string ;
444 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; 304 + sp:templates ([ sp:object
445 - sp:predicate rdf:type ; 305 + [ sp:varName "month"^^xsd:string
306 + ] ;
307 + sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedAt> ;
446 sp:subject 308 sp:subject
447 [ sp:varName "productionReport"^^xsd:string 309 [ sp:varName "productionReport"^^xsd:string
448 ] 310 ]
449 - ] [ sp:object spin:_this ; 311 + ] [ sp:object
450 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 312 + [ sp:varName "title"^^xsd:string
313 + ] ;
314 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
451 sp:subject 315 sp:subject
452 [ sp:varName "productionReport"^^xsd:string 316 [ sp:varName "productionReport"^^xsd:string
453 ] 317 ]
454 ]) ; 318 ]) ;
455 sp:where ([ sp:object 319 sp:where ([ sp:object
456 - [ sp:varName "intervalIdentifier"^^xsd:string 320 + [ sp:varName "contextRef"^^xsd:string
457 ] ; 321 ] ;
458 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; 322 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
459 sp:subject spin:_this 323 sp:subject spin:_this
324 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
325 + sp:predicate rdf:type ;
326 + sp:subject
327 + [ sp:varName "contextRef"^^xsd:string
328 + ]
329 + ] [ rdf:type sp:Optional ;
330 + sp:elements ([ sp:object
331 + [ sp:varName "month"^^xsd:string
332 + ] ;
333 + sp:predicate <http://www.epim.no/schemas/mprml/1#month> ;
334 + sp:subject
335 + [ sp:varName "contextRef"^^xsd:string
336 + ]
337 + ])
338 + ] [ rdf:type sp:Optional ;
339 + sp:elements ([ sp:object
340 + [ sp:varName "titleRef"^^xsd:string
341 + ] ;
342 + sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
343 + sp:subject
344 + [ sp:varName "contextRef"^^xsd:string
345 + ]
346 + ] [ sp:object
347 + [ sp:varName "title"^^xsd:string
348 + ] ;
349 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
350 + sp:subject
351 + [ sp:varName "titleRef"^^xsd:string
352 + ]
353 + ])
354 + ] [ sp:object spin:_this ;
355 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
356 + sp:subject
357 + [ sp:varName "productionReport"^^xsd:string
358 + ]
359 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
360 + sp:predicate rdf:type ;
361 + sp:subject
362 + [ sp:varName "productionReport"^^xsd:string
363 + ]
364 + ])
365 + ] ;
366 + spin:rule
367 + [ rdf:type sp:Construct ;
368 + rdfs:comment "STEP 10001r Set the submitting installation"^^xsd:string ;
369 + sp:templates ([ sp:object _:b2 ;
370 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedFrom> ;
371 + sp:subject
372 + [ sp:varName "productionReport"^^xsd:string
373 + ]
374 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
375 + sp:predicate rdf:type ;
376 + sp:subject _:b2
377 + ] [ sp:object
378 + [ sp:varName "installation"^^xsd:string
379 + ] ;
380 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
381 + sp:subject _:b2
382 + ] [ sp:object
383 + [ sp:varName "intervalStart"^^xsd:string
384 + ] ;
385 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
386 + sp:subject _:b2
387 + ] [ sp:object
388 + [ sp:varName "intervalEnd"^^xsd:string
389 + ] ;
390 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
391 + sp:subject _:b2
392 + ]) ;
393 + sp:where ([ sp:object spin:_this ;
394 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
395 + sp:subject
396 + [ sp:varName "productionReport"^^xsd:string
397 + ]
398 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
399 + sp:predicate rdf:type ;
400 + sp:subject
401 + [ sp:varName "productionReport"^^xsd:string
402 + ]
403 + ] [ rdf:type sp:Optional ;
404 + sp:elements ([ sp:object
405 + [ sp:varName "intervalStart"^^xsd:string
406 + ] ;
407 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
408 + sp:subject spin:_this
409 + ] [ sp:object
410 + [ sp:varName "intervalEnd"^^xsd:string
411 + ] ;
412 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
413 + sp:subject spin:_this
414 + ])
460 ] [ sp:object 415 ] [ sp:object
461 [ sp:varName "contextRef"^^xsd:string 416 [ sp:varName "contextRef"^^xsd:string
462 ] ; 417 ] ;
463 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ; 418 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
464 sp:subject spin:_this 419 sp:subject spin:_this
420 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
421 + sp:predicate rdf:type ;
422 + sp:subject
423 + [ sp:varName "contextRef"^^xsd:string
424 + ]
465 ] [ sp:object 425 ] [ sp:object
466 [ sp:varName "installationRef"^^xsd:string 426 [ sp:varName "installationRef"^^xsd:string
467 ] ; 427 ] ;
...@@ -469,44 +429,30 @@ ...@@ -469,44 +429,30 @@
469 sp:subject 429 sp:subject
470 [ sp:varName "contextRef"^^xsd:string 430 [ sp:varName "contextRef"^^xsd:string
471 ] 431 ]
472 - ] [ rdf:type sp:Bind ; 432 + ] [ sp:object
473 - sp:expression 433 + [ sp:varName "installationRef"^^xsd:string
474 - [ rdf:type spl:object ;
475 - sp:arg1 [ sp:varName "installationRef"^^xsd:string
476 - ] ;
477 - sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
478 - ] ;
479 - sp:variable
480 - [ sp:varName "normalizedInstallationName"^^xsd:string
481 - ]
482 - ] [ rdf:type sp:Bind ;
483 - sp:expression
484 - [ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
485 - sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
486 - ] ;
487 - sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
488 - ]
489 ] ; 434 ] ;
490 - sp:variable 435 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
491 - [ sp:varName "productionReport"^^xsd:string 436 + sp:subject
437 + [ sp:varName "installation"^^xsd:string
492 ] 438 ]
493 ]) 439 ])
494 ] ; 440 ] ;
495 spin:rule 441 spin:rule
496 [ rdf:type sp:Construct ; 442 [ rdf:type sp:Construct ;
497 - rdfs:comment "STEP 10001c Create the interval identifier - date from context"^^xsd:string ; 443 + rdfs:comment "STEP 10001a Create the inteval identifier - dateStart and dateEnd from context"^^xsd:string ;
498 sp:templates ([ sp:object 444 sp:templates ([ sp:object
499 - [ sp:varName "date"^^xsd:string 445 + [ sp:varName "intervalIdentifier"^^xsd:string
500 ] ; 446 ] ;
501 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; 447 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
502 sp:subject spin:_this 448 sp:subject spin:_this
503 ] [ sp:object 449 ] [ sp:object
504 - [ sp:varName "date"^^xsd:string 450 + [ sp:varName "dateStart"^^xsd:string
505 ] ; 451 ] ;
506 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ; 452 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
507 sp:subject spin:_this 453 sp:subject spin:_this
508 ] [ sp:object 454 ] [ sp:object
509 - [ sp:varName "date"^^xsd:string 455 + [ sp:varName "dateEnd"^^xsd:string
510 ] ; 456 ] ;
511 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ; 457 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
512 sp:subject spin:_this 458 sp:subject spin:_this
...@@ -522,35 +468,35 @@ ...@@ -522,35 +468,35 @@
522 [ sp:varName "contextRef"^^xsd:string 468 [ sp:varName "contextRef"^^xsd:string
523 ] 469 ]
524 ] [ sp:object 470 ] [ sp:object
525 - [ sp:varName "date"^^xsd:string 471 + [ sp:varName "dateStart"^^xsd:string
526 ] ; 472 ] ;
527 - sp:predicate <http://www.epim.no/schemas/mprml/1#date> ; 473 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
528 sp:subject 474 sp:subject
529 [ sp:varName "contextRef"^^xsd:string 475 [ sp:varName "contextRef"^^xsd:string
530 ] 476 ]
531 - ] [ rdf:type sp:NotExists ; 477 + ] [ sp:object
532 - sp:elements ([ sp:object 478 + [ sp:varName "dateEnd"^^xsd:string
533 - [ sp:varName "dateStart"^^xsd:string 479 + ] ;
534 - ] ; 480 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
535 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; 481 + sp:subject
536 - sp:subject 482 + [ sp:varName "contextRef"^^xsd:string
537 - [ sp:varName "contextRef"^^xsd:string 483 + ]
538 - ] 484 + ] [ rdf:type sp:Bind ;
539 - ]) 485 + sp:expression
540 - ] [ rdf:type sp:NotExists ; 486 + [ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
541 - sp:elements ([ sp:object 487 + sp:arg1 [ sp:varName "dateStart"^^xsd:string
542 - [ sp:varName "dateEnd"^^xsd:string 488 + ] ;
543 - ] ; 489 + sp:arg2 [ sp:varName "dateEnd"^^xsd:string
544 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; 490 + ]
545 - sp:subject 491 + ] ;
546 - [ sp:varName "contextRef"^^xsd:string 492 + sp:variable
547 - ] 493 + [ sp:varName "intervalIdentifier"^^xsd:string
548 - ]) 494 + ]
549 ]) 495 ])
550 ] ; 496 ] ;
551 spin:rule 497 spin:rule
552 [ rdf:type sp:Construct ; 498 [ rdf:type sp:Construct ;
553 - rdfs:comment "STEP 10001m Create the ProductionReport - extract the report name from context/contextFacility"^^xsd:string ; 499 + rdfs:comment "STEP 10001n Create the ProductionReport - extract the report name from the reporting from the reporting installation"^^xsd:string ;
554 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; 500 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
555 sp:predicate rdf:type ; 501 sp:predicate rdf:type ;
556 sp:subject 502 sp:subject
...@@ -572,32 +518,27 @@ ...@@ -572,32 +518,27 @@
572 ] ; 518 ] ;
573 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ; 519 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
574 sp:subject spin:_this 520 sp:subject spin:_this
575 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
576 - sp:predicate rdf:type ;
577 - sp:subject
578 - [ sp:varName "contextRef"^^xsd:string
579 - ]
580 ] [ sp:object 521 ] [ sp:object
581 - [ sp:varName "contextFacilityRef"^^xsd:string 522 + [ sp:varName "installationRef"^^xsd:string
582 ] ; 523 ] ;
583 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; 524 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
584 sp:subject 525 sp:subject
585 [ sp:varName "contextRef"^^xsd:string 526 [ sp:varName "contextRef"^^xsd:string
586 ] 527 ]
587 ] [ rdf:type sp:Bind ; 528 ] [ rdf:type sp:Bind ;
588 sp:expression 529 sp:expression
589 [ rdf:type spl:object ; 530 [ rdf:type spl:object ;
590 - sp:arg1 [ sp:varName "contextFacilityRef"^^xsd:string 531 + sp:arg1 [ sp:varName "installationRef"^^xsd:string
591 ] ; 532 ] ;
592 sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> 533 sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
593 ] ; 534 ] ;
594 sp:variable 535 sp:variable
595 - [ sp:varName "normalizedContextFacilityName"^^xsd:string 536 + [ sp:varName "normalizedInstallationName"^^xsd:string
596 ] 537 ]
597 ] [ rdf:type sp:Bind ; 538 ] [ rdf:type sp:Bind ;
598 sp:expression 539 sp:expression
599 [ rdf:type ep-mpr-spin-lib:buildProductionReportURI ; 540 [ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
600 - sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string 541 + sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
601 ] ; 542 ] ;
602 sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string 543 sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
603 ] 544 ]
...@@ -665,22 +606,85 @@ ...@@ -665,22 +606,85 @@
665 ] ; 606 ] ;
666 spin:rule 607 spin:rule
667 [ rdf:type sp:Construct ; 608 [ rdf:type sp:Construct ;
668 - rdfs:comment "STEP 10001b Create the interval identifier - date and dateEnd from context"^^xsd:string ; 609 + rdfs:comment "STEP 10001p Create the ProductionReport - unable to find an identifier"^^xsd:string ;
669 - sp:templates ([ sp:object 610 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
611 + sp:predicate rdf:type ;
612 + sp:subject
613 + [ sp:varName "productionReport"^^xsd:string
614 + ]
615 + ] [ sp:object spin:_this ;
616 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
617 + sp:subject
618 + [ sp:varName "productionReport"^^xsd:string
619 + ]
620 + ]) ;
621 + sp:where ([ sp:object
670 [ sp:varName "intervalIdentifier"^^xsd:string 622 [ sp:varName "intervalIdentifier"^^xsd:string
671 ] ; 623 ] ;
672 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; 624 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
673 sp:subject spin:_this 625 sp:subject spin:_this
674 - ] [ sp:object 626 + ] [ rdf:type sp:NotExists ;
675 - [ sp:varName "date"^^xsd:string 627 + sp:elements ([ sp:object
628 + [ sp:varName "contextRef"^^xsd:string
629 + ] ;
630 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
631 + sp:subject spin:_this
632 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
633 + sp:predicate rdf:type ;
634 + sp:subject
635 + [ sp:varName "contextRef"^^xsd:string
636 + ]
637 + ] [ sp:object
638 + [ sp:varName "contextFacilityRef"^^xsd:string
639 + ] ;
640 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
641 + sp:subject
642 + [ sp:varName "contextRef"^^xsd:string
643 + ]
644 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
645 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
646 + sp:subject
647 + [ sp:varName "contextFacilityRef"^^xsd:string
648 + ]
649 + ])
650 + ] [ rdf:type sp:NotExists ;
651 + sp:elements ([ sp:object
652 + [ sp:varName "installationRef"^^xsd:string
653 + ] ;
654 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
655 + sp:subject
656 + [ sp:varName "contextRef"^^xsd:string
657 + ]
658 + ] [ sp:object
659 + [ sp:varName "installationRef"^^xsd:string
660 + ] ;
661 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
662 + sp:subject
663 + [ sp:varName "reportingFacility"^^xsd:string
664 + ]
665 + ])
666 + ] [ rdf:type sp:Bind ;
667 + sp:expression
668 + [ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
669 + sp:arg1 "" ;
670 + sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
671 + ]
676 ] ; 672 ] ;
677 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ; 673 + sp:variable
678 - sp:subject spin:_this 674 + [ sp:varName "productionReport"^^xsd:string
679 - ] [ sp:object 675 + ]
680 - [ sp:varName "dateEnd"^^xsd:string 676 + ])
677 + ] ;
678 + spin:rule
679 + [ rdf:type sp:Construct ;
680 + rdfs:comment "STEP 10010 Add the contextFacility - unless the contextFacility is the production facility"^^xsd:string ;
681 + sp:templates ([ sp:object
682 + [ sp:varName "contextFacility"^^xsd:string
681 ] ; 683 ] ;
682 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ; 684 + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
683 - sp:subject spin:_this 685 + sp:subject
686 + [ sp:varName "productionFacility"^^xsd:string
687 + ]
684 ]) ; 688 ]) ;
685 sp:where ([ sp:object 689 sp:where ([ sp:object
686 [ sp:varName "contextRef"^^xsd:string 690 [ sp:varName "contextRef"^^xsd:string
...@@ -693,67 +697,73 @@ ...@@ -693,67 +697,73 @@
693 [ sp:varName "contextRef"^^xsd:string 697 [ sp:varName "contextRef"^^xsd:string
694 ] 698 ]
695 ] [ sp:object 699 ] [ sp:object
696 - [ sp:varName "date"^^xsd:string 700 + [ sp:varName "contextFacilityRef"^^xsd:string
697 ] ; 701 ] ;
698 - sp:predicate <http://www.epim.no/schemas/mprml/1#date> ; 702 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
699 sp:subject 703 sp:subject
700 [ sp:varName "contextRef"^^xsd:string 704 [ sp:varName "contextRef"^^xsd:string
701 ] 705 ]
706 + ] [ sp:object
707 + [ sp:varName "contextFacilityRef"^^xsd:string
708 + ] ;
709 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
710 + sp:subject
711 + [ sp:varName "contextFacility"^^xsd:string
712 + ]
702 ] [ rdf:type sp:NotExists ; 713 ] [ rdf:type sp:NotExists ;
703 - sp:elements ([ sp:object 714 + sp:elements ([ sp:object spin:_this ;
704 - [ sp:varName "dateStart"^^xsd:string 715 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
705 - ] ;
706 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
707 sp:subject 716 sp:subject
708 - [ sp:varName "contextRef"^^xsd:string 717 + [ sp:varName "contextFacility"^^xsd:string
709 ] 718 ]
710 ]) 719 ])
720 + ] [ sp:object spin:_this ;
721 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
722 + sp:subject
723 + [ sp:varName "productionReport"^^xsd:string
724 + ]
725 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
726 + sp:predicate rdf:type ;
727 + sp:subject
728 + [ sp:varName "productionReport"^^xsd:string
729 + ]
711 ] [ sp:object 730 ] [ sp:object
712 - [ sp:varName "dateEnd"^^xsd:string 731 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
713 ] ; 732 ] ;
714 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; 733 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ;
715 sp:subject 734 sp:subject
716 - [ sp:varName "contextRef"^^xsd:string 735 + [ sp:varName "productionReport"^^xsd:string
717 ] 736 ]
718 - ] [ rdf:type sp:Bind ; 737 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
719 - sp:expression 738 + sp:predicate rdf:type ;
720 - [ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ; 739 + sp:subject
721 - sp:arg1 [ sp:varName "date"^^xsd:string 740 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
722 - ] ; 741 + ]
723 - sp:arg2 [ sp:varName "dateEnd"^^xsd:string 742 + ] [ sp:object
724 - ] 743 + [ sp:varName "productionFacility"^^xsd:string
725 ] ; 744 ] ;
726 - sp:variable 745 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
727 - [ sp:varName "intervalIdentifier"^^xsd:string 746 + sp:subject
747 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
728 ] 748 ]
729 ]) 749 ])
730 ] ; 750 ] ;
731 spin:rule 751 spin:rule
732 [ rdf:type sp:Construct ; 752 [ rdf:type sp:Construct ;
733 - rdfs:comment "STEP 10001r Set the submitting installation"^^xsd:string ; 753 + rdfs:comment "STEP 10020 Add the operator"^^xsd:string ;
734 sp:templates ([ sp:object _:b3 ; 754 sp:templates ([ sp:object _:b3 ;
735 - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ; 755 + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
736 sp:subject 756 sp:subject
737 - [ sp:varName "productionReport"^^xsd:string 757 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
738 ] 758 ]
739 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; 759 + ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
740 sp:predicate rdf:type ; 760 sp:predicate rdf:type ;
741 sp:subject _:b3 761 sp:subject _:b3
742 ] [ sp:object 762 ] [ sp:object
743 - [ sp:varName "installation"^^xsd:string 763 + [ sp:varName "operator"^^xsd:string
744 ] ; 764 ] ;
745 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 765 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
746 sp:subject _:b3 766 sp:subject _:b3
747 - ] [ sp:object
748 - [ sp:varName "intervalStart"^^xsd:string
749 - ] ;
750 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
751 - sp:subject _:b3
752 - ] [ sp:object
753 - [ sp:varName "intervalEnd"^^xsd:string
754 - ] ;
755 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
756 - sp:subject _:b3
757 ]) ; 767 ]) ;
758 sp:where ([ sp:object spin:_this ; 768 sp:where ([ sp:object spin:_this ;
759 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 769 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
...@@ -765,18 +775,6 @@ ...@@ -765,18 +775,6 @@
765 sp:subject 775 sp:subject
766 [ sp:varName "productionReport"^^xsd:string 776 [ sp:varName "productionReport"^^xsd:string
767 ] 777 ]
768 - ] [ rdf:type sp:Optional ;
769 - sp:elements ([ sp:object
770 - [ sp:varName "intervalStart"^^xsd:string
771 - ] ;
772 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
773 - sp:subject spin:_this
774 - ] [ sp:object
775 - [ sp:varName "intervalEnd"^^xsd:string
776 - ] ;
777 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
778 - sp:subject spin:_this
779 - ])
780 ] [ sp:object 778 ] [ sp:object
781 [ sp:varName "contextRef"^^xsd:string 779 [ sp:varName "contextRef"^^xsd:string
782 ] ; 780 ] ;
...@@ -788,39 +786,39 @@ ...@@ -788,39 +786,39 @@
788 [ sp:varName "contextRef"^^xsd:string 786 [ sp:varName "contextRef"^^xsd:string
789 ] 787 ]
790 ] [ sp:object 788 ] [ sp:object
791 - [ sp:varName "installationRef"^^xsd:string 789 + [ sp:varName "operatorRef"^^xsd:string
792 ] ; 790 ] ;
793 - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; 791 + sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
794 sp:subject 792 sp:subject
795 [ sp:varName "contextRef"^^xsd:string 793 [ sp:varName "contextRef"^^xsd:string
796 ] 794 ]
797 ] [ sp:object 795 ] [ sp:object
798 - [ sp:varName "installationRef"^^xsd:string 796 + [ sp:varName "operatorRef"^^xsd:string
799 ] ; 797 ] ;
800 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 798 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
801 sp:subject 799 sp:subject
802 - [ sp:varName "installation"^^xsd:string 800 + [ sp:varName "operator"^^xsd:string
801 + ]
802 + ] [ sp:object
803 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
804 + ] ;
805 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedFrom> ;
806 + sp:subject
807 + [ sp:varName "productionReport"^^xsd:string
808 + ]
809 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
810 + sp:predicate rdf:type ;
811 + sp:subject
812 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
803 ] 813 ]
804 ]) 814 ])
805 ] ; 815 ] ;
806 spin:rule 816 spin:rule
807 [ rdf:type sp:Construct ; 817 [ rdf:type sp:Construct ;
808 - rdfs:comment "STEP 10001a Create the inteval identifier - dateStart and dateEnd from context"^^xsd:string ; 818 + rdfs:comment "STEP 10001e Create the interval identifier - no date"^^xsd:string ;
809 - sp:templates ([ sp:object 819 + sp:templates ([ sp:object "noDate" ;
810 - [ sp:varName "intervalIdentifier"^^xsd:string
811 - ] ;
812 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; 820 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
813 sp:subject spin:_this 821 sp:subject spin:_this
814 - ] [ sp:object
815 - [ sp:varName "dateStart"^^xsd:string
816 - ] ;
817 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
818 - sp:subject spin:_this
819 - ] [ sp:object
820 - [ sp:varName "dateEnd"^^xsd:string
821 - ] ;
822 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
823 - sp:subject spin:_this
824 ]) ; 822 ]) ;
825 sp:where ([ sp:object 823 sp:where ([ sp:object
826 [ sp:varName "contextRef"^^xsd:string 824 [ sp:varName "contextRef"^^xsd:string
...@@ -832,31 +830,33 @@ ...@@ -832,31 +830,33 @@
832 sp:subject 830 sp:subject
833 [ sp:varName "contextRef"^^xsd:string 831 [ sp:varName "contextRef"^^xsd:string
834 ] 832 ]
835 - ] [ sp:object 833 + ] [ rdf:type sp:NotExists ;
836 - [ sp:varName "dateStart"^^xsd:string 834 + sp:elements ([ sp:object
837 - ] ; 835 + [ sp:varName "dateEnd"^^xsd:string
838 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; 836 + ] ;
839 - sp:subject 837 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
840 - [ sp:varName "contextRef"^^xsd:string 838 + sp:subject
841 - ] 839 + [ sp:varName "contextRef"^^xsd:string
842 - ] [ sp:object 840 + ]
843 - [ sp:varName "dateEnd"^^xsd:string 841 + ])
844 - ] ; 842 + ] [ rdf:type sp:NotExists ;
845 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; 843 + sp:elements ([ sp:object
846 - sp:subject 844 + [ sp:varName "date"^^xsd:string
847 - [ sp:varName "contextRef"^^xsd:string 845 + ] ;
848 - ] 846 + sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
849 - ] [ rdf:type sp:Bind ; 847 + sp:subject
850 - sp:expression 848 + [ sp:varName "contextRef"^^xsd:string
851 - [ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ; 849 + ]
852 - sp:arg1 [ sp:varName "dateStart"^^xsd:string 850 + ])
853 - ] ; 851 + ] [ rdf:type sp:NotExists ;
854 - sp:arg2 [ sp:varName "dateEnd"^^xsd:string 852 + sp:elements ([ sp:object
855 - ] 853 + [ sp:varName "dateStart"^^xsd:string
856 - ] ; 854 + ] ;
857 - sp:variable 855 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
858 - [ sp:varName "intervalIdentifier"^^xsd:string 856 + sp:subject
859 - ] 857 + [ sp:varName "contextRef"^^xsd:string
858 + ]
859 + ])
860 ]) 860 ])
861 ] . 861 ] .
862 862
......