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> .
......
...@@ -1983,7 +1983,7 @@ mpr-tables:ProductionInventory ...@@ -1983,7 +1983,7 @@ mpr-tables:ProductionInventory
1983 sp:subject 1983 sp:subject
1984 [ sp:varName "monthobject"^^xsd:string 1984 [ sp:varName "monthobject"^^xsd:string
1985 ] 1985 ]
1986 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ObjectThatLastsOneMonth> ; 1986 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneMonth> ;
1987 sp:predicate rdf:type ; 1987 sp:predicate rdf:type ;
1988 sp:subject 1988 sp:subject
1989 [ sp:varName "monthobject"^^xsd:string 1989 [ sp:varName "monthobject"^^xsd:string
...@@ -2230,7 +2230,7 @@ mpr-tables:ProductionInventory ...@@ -2230,7 +2230,7 @@ mpr-tables:ProductionInventory
2230 sp:subject 2230 sp:subject
2231 [ sp:varName "piWhole"^^xsd:string 2231 [ sp:varName "piWhole"^^xsd:string
2232 ] 2232 ]
2233 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryMaterialType> ; 2233 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryDefinitionType> ;
2234 sp:predicate rdf:type ; 2234 sp:predicate rdf:type ;
2235 sp:subject 2235 sp:subject
2236 [ sp:varName "piType"^^xsd:string 2236 [ sp:varName "piType"^^xsd:string
...@@ -2320,7 +2320,7 @@ mpr-tables:ProductionInventoryOwnership ...@@ -2320,7 +2320,7 @@ mpr-tables:ProductionInventoryOwnership
2320 sp:subject 2320 sp:subject
2321 [ sp:varName "monthobject"^^xsd:string 2321 [ sp:varName "monthobject"^^xsd:string
2322 ] 2322 ]
2323 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ObjectThatLastsOneMonth> ; 2323 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneMonth> ;
2324 sp:predicate rdf:type ; 2324 sp:predicate rdf:type ;
2325 sp:subject 2325 sp:subject
2326 [ sp:varName "monthobject"^^xsd:string 2326 [ sp:varName "monthobject"^^xsd:string
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 20
21 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> 21 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib>
22 rdf:type owl:Ontology ; 22 rdf:type owl:Ontology ;
23 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> ; 23 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://spinrdf.org/spin> ;
24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
25 25
26 ep-mpr-spin-lib:Function 26 ep-mpr-spin-lib:Function
...@@ -4927,97 +4927,97 @@ ep-mpr-spin-lib:selectProductionInventoryMaterialType ...@@ -4927,97 +4927,97 @@ ep-mpr-spin-lib:selectProductionInventoryMaterialType
4927 sp:arg1 spin:_arg1 ; 4927 sp:arg1 spin:_arg1 ;
4928 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_allocated> 4928 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_allocated>
4929 ] ; 4929 ] ;
4930 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryAllocatedMaterial> ; 4930 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#AllocatedInventory> ;
4931 sp:arg3 [ rdf:type sp:if ; 4931 sp:arg3 [ rdf:type sp:if ;
4932 sp:arg1 [ rdf:type sp:eq ; 4932 sp:arg1 [ rdf:type sp:eq ;
4933 sp:arg1 spin:_arg1 ; 4933 sp:arg1 spin:_arg1 ;
4934 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_budget> 4934 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_budget>
4935 ] ; 4935 ] ;
4936 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryBudgetMaterial> ; 4936 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#BudgetInventory> ;
4937 sp:arg3 [ rdf:type sp:if ; 4937 sp:arg3 [ rdf:type sp:if ;
4938 sp:arg1 [ rdf:type sp:eq ; 4938 sp:arg1 [ rdf:type sp:eq ;
4939 sp:arg1 spin:_arg1 ; 4939 sp:arg1 spin:_arg1 ;
4940 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_constraint> 4940 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_constraint>
4941 ] ; 4941 ] ;
4942 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryConstraintMaterial> ; 4942 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ConstraintInventory> ;
4943 sp:arg3 [ rdf:type sp:if ; 4943 sp:arg3 [ rdf:type sp:if ;
4944 sp:arg1 [ rdf:type sp:eq ; 4944 sp:arg1 [ rdf:type sp:eq ;
4945 sp:arg1 spin:_arg1 ; 4945 sp:arg1 spin:_arg1 ;
4946 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_derived> 4946 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_derived>
4947 ] ; 4947 ] ;
4948 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryDerivedMaterial> ; 4948 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#DerivedInventory> ;
4949 sp:arg3 [ rdf:type sp:if ; 4949 sp:arg3 [ rdf:type sp:if ;
4950 sp:arg1 [ rdf:type sp:eq ; 4950 sp:arg1 [ rdf:type sp:eq ;
4951 sp:arg1 spin:_arg1 ; 4951 sp:arg1 spin:_arg1 ;
4952 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_difference> 4952 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_difference>
4953 ] ; 4953 ] ;
4954 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryDifferenceMaterial> ; 4954 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#DifferenceInventory> ;
4955 sp:arg3 [ rdf:type sp:if ; 4955 sp:arg3 [ rdf:type sp:if ;
4956 sp:arg1 [ rdf:type sp:eq ; 4956 sp:arg1 [ rdf:type sp:eq ;
4957 sp:arg1 spin:_arg1 ; 4957 sp:arg1 spin:_arg1 ;
4958 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_estimate> 4958 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_estimate>
4959 ] ; 4959 ] ;
4960 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryEstimatedMaterial> ; 4960 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#EstimatedInventory> ;
4961 sp:arg3 [ rdf:type sp:if ; 4961 sp:arg3 [ rdf:type sp:if ;
4962 sp:arg1 [ rdf:type sp:eq ; 4962 sp:arg1 [ rdf:type sp:eq ;
4963 sp:arg1 spin:_arg1 ; 4963 sp:arg1 spin:_arg1 ;
4964 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_forecast> 4964 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_forecast>
4965 ] ; 4965 ] ;
4966 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryForecastMaterial> ; 4966 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ForecastInventory> ;
4967 sp:arg3 [ rdf:type sp:if ; 4967 sp:arg3 [ rdf:type sp:if ;
4968 sp:arg1 [ rdf:type sp:eq ; 4968 sp:arg1 [ rdf:type sp:eq ;
4969 sp:arg1 spin:_arg1 ; 4969 sp:arg1 spin:_arg1 ;
4970 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_measured> 4970 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_measured>
4971 ] ; 4971 ] ;
4972 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryMeasuredMaterial> ; 4972 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#MeasuredInventory> ;
4973 sp:arg3 [ rdf:type sp:if ; 4973 sp:arg3 [ rdf:type sp:if ;
4974 sp:arg1 [ rdf:type sp:eq ; 4974 sp:arg1 [ rdf:type sp:eq ;
4975 sp:arg1 spin:_arg1 ; 4975 sp:arg1 spin:_arg1 ;
4976 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_nominated> 4976 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_nominated>
4977 ] ; 4977 ] ;
4978 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryNominatedMaterial> ; 4978 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#NominatedInventory> ;
4979 sp:arg3 [ rdf:type sp:if ; 4979 sp:arg3 [ rdf:type sp:if ;
4980 sp:arg1 [ rdf:type sp:eq ; 4980 sp:arg1 [ rdf:type sp:eq ;
4981 sp:arg1 spin:_arg1 ; 4981 sp:arg1 spin:_arg1 ;
4982 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_potential> 4982 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_potential>
4983 ] ; 4983 ] ;
4984 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryPotentialMaterial> ; 4984 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#PotentialInventory> ;
4985 sp:arg3 [ rdf:type sp:if ; 4985 sp:arg3 [ rdf:type sp:if ;
4986 sp:arg1 [ rdf:type sp:eq ; 4986 sp:arg1 [ rdf:type sp:eq ;
4987 sp:arg1 spin:_arg1 ; 4987 sp:arg1 spin:_arg1 ;
4988 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_processed> 4988 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_processed>
4989 ] ; 4989 ] ;
4990 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryProcessedMaterial> ; 4990 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProcessedInventory> ;
4991 sp:arg3 [ rdf:type sp:if ; 4991 sp:arg3 [ rdf:type sp:if ;
4992 sp:arg1 [ rdf:type sp:eq ; 4992 sp:arg1 [ rdf:type sp:eq ;
4993 sp:arg1 spin:_arg1 ; 4993 sp:arg1 spin:_arg1 ;
4994 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_quota> 4994 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_quota>
4995 ] ; 4995 ] ;
4996 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryQuotaMaterial> ; 4996 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#QuotaInventory> ;
4997 sp:arg3 [ rdf:type sp:if ; 4997 sp:arg3 [ rdf:type sp:if ;
4998 sp:arg1 [ rdf:type sp:eq ; 4998 sp:arg1 [ rdf:type sp:eq ;
4999 sp:arg1 spin:_arg1 ; 4999 sp:arg1 spin:_arg1 ;
5000 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_recommended> 5000 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_recommended>
5001 ] ; 5001 ] ;
5002 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryRecommendedMaterial> ; 5002 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#RecommendedInventory> ;
5003 sp:arg3 [ rdf:type sp:if ; 5003 sp:arg3 [ rdf:type sp:if ;
5004 sp:arg1 [ rdf:type sp:eq ; 5004 sp:arg1 [ rdf:type sp:eq ;
5005 sp:arg1 spin:_arg1 ; 5005 sp:arg1 spin:_arg1 ;
5006 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_saleable> 5006 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_saleable>
5007 ] ; 5007 ] ;
5008 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventorySaleableMaterial> ; 5008 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#SaleableInventory> ;
5009 sp:arg3 [ rdf:type sp:if ; 5009 sp:arg3 [ rdf:type sp:if ;
5010 sp:arg1 [ rdf:type sp:eq ; 5010 sp:arg1 [ rdf:type sp:eq ;
5011 sp:arg1 spin:_arg1 ; 5011 sp:arg1 spin:_arg1 ;
5012 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_simulated> 5012 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_simulated>
5013 ] ; 5013 ] ;
5014 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventorySimulatedMaterial> ; 5014 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#SimulatedInventory> ;
5015 sp:arg3 [ rdf:type sp:if ; 5015 sp:arg3 [ rdf:type sp:if ;
5016 sp:arg1 [ rdf:type sp:eq ; 5016 sp:arg1 [ rdf:type sp:eq ;
5017 sp:arg1 spin:_arg1 ; 5017 sp:arg1 spin:_arg1 ;
5018 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_target> 5018 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_target>
5019 ] ; 5019 ] ;
5020 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryTargetMaterial> ; 5020 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#TargetInventory> ;
5021 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> 5021 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#ProductionInventory>
5022 ] 5022 ]
5023 ] 5023 ]
...@@ -5276,43 +5276,43 @@ ep-mpr-spin-lib:selectReportPeriodType ...@@ -5276,43 +5276,43 @@ ep-mpr-spin-lib:selectReportPeriodType
5276 sp:arg1 spin:_arg1 ; 5276 sp:arg1 spin:_arg1 ;
5277 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailymonthtodate> 5277 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailymonthtodate>
5278 ] ; 5278 ] ;
5279 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportMonthToDate> ; 5279 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForMonthToDate> ;
5280 sp:arg3 [ rdf:type sp:if ; 5280 sp:arg3 [ rdf:type sp:if ;
5281 sp:arg1 [ rdf:type sp:eq ; 5281 sp:arg1 [ rdf:type sp:eq ;
5282 sp:arg1 spin:_arg1 ; 5282 sp:arg1 spin:_arg1 ;
5283 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailyyeartodate> 5283 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailyyeartodate>
5284 ] ; 5284 ] ;
5285 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportYearToDate> ; 5285 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForYearToDate> ;
5286 sp:arg3 [ rdf:type sp:if ; 5286 sp:arg3 [ rdf:type sp:if ;
5287 sp:arg1 [ rdf:type sp:eq ; 5287 sp:arg1 [ rdf:type sp:eq ;
5288 sp:arg1 spin:_arg1 ; 5288 sp:arg1 spin:_arg1 ;
5289 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_day> 5289 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_day>
5290 ] ; 5290 ] ;
5291 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#DailyReport> ; 5291 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForOneDay> ;
5292 sp:arg3 [ rdf:type sp:if ; 5292 sp:arg3 [ rdf:type sp:if ;
5293 sp:arg1 [ rdf:type sp:eq ; 5293 sp:arg1 [ rdf:type sp:eq ;
5294 sp:arg1 spin:_arg1 ; 5294 sp:arg1 spin:_arg1 ;
5295 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasday> 5295 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasday>
5296 ] ; 5296 ] ;
5297 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#DailyReport> ; 5297 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForOneGasDay> ;
5298 sp:arg3 [ rdf:type sp:if ; 5298 sp:arg3 [ rdf:type sp:if ;
5299 sp:arg1 [ rdf:type sp:eq ; 5299 sp:arg1 [ rdf:type sp:eq ;
5300 sp:arg1 spin:_arg1 ; 5300 sp:arg1 spin:_arg1 ;
5301 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasmonth> 5301 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasmonth>
5302 ] ; 5302 ] ;
5303 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#MonthlyReport> ; 5303 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForOneMonth> ;
5304 sp:arg3 [ rdf:type sp:if ; 5304 sp:arg3 [ rdf:type sp:if ;
5305 sp:arg1 [ rdf:type sp:eq ; 5305 sp:arg1 [ rdf:type sp:eq ;
5306 sp:arg1 spin:_arg1 ; 5306 sp:arg1 spin:_arg1 ;
5307 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyear> 5307 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyear>
5308 ] ; 5308 ] ;
5309 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#YearlyReport> ; 5309 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForOneGasYear> ;
5310 sp:arg3 [ rdf:type sp:if ; 5310 sp:arg3 [ rdf:type sp:if ;
5311 sp:arg1 [ rdf:type sp:eq ; 5311 sp:arg1 [ rdf:type sp:eq ;
5312 sp:arg1 spin:_arg1 ; 5312 sp:arg1 spin:_arg1 ;
5313 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyeartodate> 5313 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyeartodate>
5314 ] ; 5314 ] ;
5315 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportYearToDate> ; 5315 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForGasYearToDate> ;
5316 sp:arg3 [ rdf:type sp:if ; 5316 sp:arg3 [ rdf:type sp:if ;
5317 sp:arg1 [ rdf:type sp:eq ; 5317 sp:arg1 [ rdf:type sp:eq ;
5318 sp:arg1 spin:_arg1 ; 5318 sp:arg1 spin:_arg1 ;
...@@ -5324,13 +5324,13 @@ ep-mpr-spin-lib:selectReportPeriodType ...@@ -5324,13 +5324,13 @@ ep-mpr-spin-lib:selectReportPeriodType
5324 sp:arg1 spin:_arg1 ; 5324 sp:arg1 spin:_arg1 ;
5325 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_month> 5325 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_month>
5326 ] ; 5326 ] ;
5327 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#MonthlyReport> ; 5327 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForOneMonth> ;
5328 sp:arg3 [ rdf:type sp:if ; 5328 sp:arg3 [ rdf:type sp:if ;
5329 sp:arg1 [ rdf:type sp:eq ; 5329 sp:arg1 [ rdf:type sp:eq ;
5330 sp:arg1 spin:_arg1 ; 5330 sp:arg1 spin:_arg1 ;
5331 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_monthtodate> 5331 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_monthtodate>
5332 ] ; 5332 ] ;
5333 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportMonthToDate> ; 5333 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForMonthToDate> ;
5334 sp:arg3 [ rdf:type sp:if ; 5334 sp:arg3 [ rdf:type sp:if ;
5335 sp:arg1 [ rdf:type sp:eq ; 5335 sp:arg1 [ rdf:type sp:eq ;
5336 sp:arg1 spin:_arg1 ; 5336 sp:arg1 spin:_arg1 ;
...@@ -5372,19 +5372,19 @@ ep-mpr-spin-lib:selectReportPeriodType ...@@ -5372,19 +5372,19 @@ ep-mpr-spin-lib:selectReportPeriodType
5372 sp:arg1 spin:_arg1 ; 5372 sp:arg1 spin:_arg1 ;
5373 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_week> 5373 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_week>
5374 ] ; 5374 ] ;
5375 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#WeeklyReport> ; 5375 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForOneWeek> ;
5376 sp:arg3 [ rdf:type sp:if ; 5376 sp:arg3 [ rdf:type sp:if ;
5377 sp:arg1 [ rdf:type sp:eq ; 5377 sp:arg1 [ rdf:type sp:eq ;
5378 sp:arg1 spin:_arg1 ; 5378 sp:arg1 spin:_arg1 ;
5379 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_year> 5379 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_year>
5380 ] ; 5380 ] ;
5381 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#YearlyReport> ; 5381 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForOneYear> ;
5382 sp:arg3 [ rdf:type sp:if ; 5382 sp:arg3 [ rdf:type sp:if ;
5383 sp:arg1 [ rdf:type sp:eq ; 5383 sp:arg1 [ rdf:type sp:eq ;
5384 sp:arg1 spin:_arg1 ; 5384 sp:arg1 spin:_arg1 ;
5385 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_yeartodate> 5385 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_yeartodate>
5386 ] ; 5386 ] ;
5387 - sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportYearToDate> ; 5387 + sp:arg2 <http://www.reportinghub.no/ep/schema/report#ReportForYearToDate> ;
5388 sp:arg3 <http://www.reportinghub.no/ep/schema/report#Report> 5388 sp:arg3 <http://www.reportinghub.no/ep/schema/report#Report>
5389 ] 5389 ]
5390 ] 5390 ]
...@@ -5688,118 +5688,125 @@ ep-mpr-spin-lib:selectTemporalPartDurationType ...@@ -5688,118 +5688,125 @@ ep-mpr-spin-lib:selectTemporalPartDurationType
5688 [ rdf:type sp:if ; 5688 [ rdf:type sp:if ;
5689 sp:arg1 [ rdf:type sp:eq ; 5689 sp:arg1 [ rdf:type sp:eq ;
5690 sp:arg1 spin:_arg1 ; 5690 sp:arg1 spin:_arg1 ;
5691 + sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_0600>
5692 + ] ;
5693 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingAtInstant> ;
5694 + sp:arg3 [ rdf:type sp:if ;
5695 + sp:arg1 [ rdf:type sp:eq ;
5696 + sp:arg1 spin:_arg1 ;
5691 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailymonthtodate> 5697 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailymonthtodate>
5692 ] ; 5698 ] ;
5693 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5699 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringMonthToDate> ;
5694 sp:arg3 [ rdf:type sp:if ; 5700 sp:arg3 [ rdf:type sp:if ;
5695 sp:arg1 [ rdf:type sp:eq ; 5701 sp:arg1 [ rdf:type sp:eq ;
5696 sp:arg1 spin:_arg1 ; 5702 sp:arg1 spin:_arg1 ;
5697 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailyyeartodate> 5703 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_dailyyeartodate>
5698 ] ; 5704 ] ;
5699 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5705 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringYearToDate> ;
5700 sp:arg3 [ rdf:type sp:if ; 5706 sp:arg3 [ rdf:type sp:if ;
5701 sp:arg1 [ rdf:type sp:eq ; 5707 sp:arg1 [ rdf:type sp:eq ;
5702 sp:arg1 spin:_arg1 ; 5708 sp:arg1 spin:_arg1 ;
5703 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_day> 5709 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_day>
5704 ] ; 5710 ] ;
5705 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ObjectThatLastsOneDay> ; 5711 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneDay> ;
5706 sp:arg3 [ rdf:type sp:if ; 5712 sp:arg3 [ rdf:type sp:if ;
5707 sp:arg1 [ rdf:type sp:eq ; 5713 sp:arg1 [ rdf:type sp:eq ;
5708 sp:arg1 spin:_arg1 ; 5714 sp:arg1 spin:_arg1 ;
5709 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasday> 5715 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasday>
5710 ] ; 5716 ] ;
5711 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ObjectThatLastsOneDay> ; 5717 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneGasDay> ;
5712 sp:arg3 [ rdf:type sp:if ; 5718 sp:arg3 [ rdf:type sp:if ;
5713 sp:arg1 [ rdf:type sp:eq ; 5719 sp:arg1 [ rdf:type sp:eq ;
5714 sp:arg1 spin:_arg1 ; 5720 sp:arg1 spin:_arg1 ;
5715 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasmonth> 5721 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasmonth>
5716 ] ; 5722 ] ;
5717 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ObjectThatLastsOneMonth> ; 5723 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneGasMonth> ;
5718 sp:arg3 [ rdf:type sp:if ; 5724 sp:arg3 [ rdf:type sp:if ;
5719 sp:arg1 [ rdf:type sp:eq ; 5725 sp:arg1 [ rdf:type sp:eq ;
5720 sp:arg1 spin:_arg1 ; 5726 sp:arg1 spin:_arg1 ;
5721 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyeartodate> 5727 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyeartodate>
5722 ] ; 5728 ] ;
5723 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5729 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringGasYearToDate> ;
5724 sp:arg3 [ rdf:type sp:if ; 5730 sp:arg3 [ rdf:type sp:if ;
5725 sp:arg1 [ rdf:type sp:eq ; 5731 sp:arg1 [ rdf:type sp:eq ;
5726 sp:arg1 spin:_arg1 ; 5732 sp:arg1 spin:_arg1 ;
5727 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyear> 5733 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_gasyear>
5728 ] ; 5734 ] ;
5729 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ObjectThatLastsOneYear> ; 5735 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneGasYear> ;
5730 sp:arg3 [ rdf:type sp:if ; 5736 sp:arg3 [ rdf:type sp:if ;
5731 sp:arg1 [ rdf:type sp:eq ; 5737 sp:arg1 [ rdf:type sp:eq ;
5732 sp:arg1 spin:_arg1 ; 5738 sp:arg1 spin:_arg1 ;
5733 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_midnight> 5739 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_midnight>
5734 ] ; 5740 ] ;
5735 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5741 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingAtInstant> ;
5736 sp:arg3 [ rdf:type sp:if ; 5742 sp:arg3 [ rdf:type sp:if ;
5737 sp:arg1 [ rdf:type sp:eq ; 5743 sp:arg1 [ rdf:type sp:eq ;
5738 sp:arg1 spin:_arg1 ; 5744 sp:arg1 spin:_arg1 ;
5739 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_monthtodate> 5745 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_monthtodate>
5740 ] ; 5746 ] ;
5741 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5747 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringMonthToDate> ;
5742 sp:arg3 [ rdf:type sp:if ; 5748 sp:arg3 [ rdf:type sp:if ;
5743 sp:arg1 [ rdf:type sp:eq ; 5749 sp:arg1 [ rdf:type sp:eq ;
5744 sp:arg1 spin:_arg1 ; 5750 sp:arg1 spin:_arg1 ;
5745 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_month> 5751 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_month>
5746 ] ; 5752 ] ;
5747 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ObjectThatLastsOneMonth> ; 5753 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneMonth> ;
5748 sp:arg3 [ rdf:type sp:if ; 5754 sp:arg3 [ rdf:type sp:if ;
5749 sp:arg1 [ rdf:type sp:eq ; 5755 sp:arg1 [ rdf:type sp:eq ;
5750 sp:arg1 spin:_arg1 ; 5756 sp:arg1 spin:_arg1 ;
5751 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_noon> 5757 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_noon>
5752 ] ; 5758 ] ;
5753 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5759 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingAtInstant> ;
5754 sp:arg3 [ rdf:type sp:if ; 5760 sp:arg3 [ rdf:type sp:if ;
5755 sp:arg1 [ rdf:type sp:eq ; 5761 sp:arg1 [ rdf:type sp:eq ;
5756 sp:arg1 spin:_arg1 ; 5762 sp:arg1 spin:_arg1 ;
5757 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_previousperiod> 5763 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_previousperiod>
5758 ] ; 5764 ] ;
5759 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5765 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
5760 sp:arg3 [ rdf:type sp:if ; 5766 sp:arg3 [ rdf:type sp:if ;
5761 sp:arg1 [ rdf:type sp:eq ; 5767 sp:arg1 [ rdf:type sp:eq ;
5762 sp:arg1 spin:_arg1 ; 5768 sp:arg1 spin:_arg1 ;
5763 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_reportend> 5769 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_reportend>
5764 ] ; 5770 ] ;
5765 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5771 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingAtInstant> ;
5766 sp:arg3 [ rdf:type sp:if ; 5772 sp:arg3 [ rdf:type sp:if ;
5767 sp:arg1 [ rdf:type sp:eq ; 5773 sp:arg1 [ rdf:type sp:eq ;
5768 sp:arg1 spin:_arg1 ; 5774 sp:arg1 spin:_arg1 ;
5769 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_reportstart> 5775 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_reportstart>
5770 ] ; 5776 ] ;
5771 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5777 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingAtInstant> ;
5772 sp:arg3 [ rdf:type sp:if ; 5778 sp:arg3 [ rdf:type sp:if ;
5773 sp:arg1 [ rdf:type sp:eq ; 5779 sp:arg1 [ rdf:type sp:eq ;
5774 sp:arg1 spin:_arg1 ; 5780 sp:arg1 spin:_arg1 ;
5775 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_report> 5781 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_report>
5776 ] ; 5782 ] ;
5777 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5783 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
5778 sp:arg3 [ rdf:type sp:if ; 5784 sp:arg3 [ rdf:type sp:if ;
5779 sp:arg1 [ rdf:type sp:eq ; 5785 sp:arg1 [ rdf:type sp:eq ;
5780 sp:arg1 spin:_arg1 ; 5786 sp:arg1 spin:_arg1 ;
5781 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_totalcumulative> 5787 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_totalcumulative>
5782 ] ; 5788 ] ;
5783 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5789 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
5784 sp:arg3 [ rdf:type sp:if ; 5790 sp:arg3 [ rdf:type sp:if ;
5785 sp:arg1 [ rdf:type sp:eq ; 5791 sp:arg1 [ rdf:type sp:eq ;
5786 sp:arg1 spin:_arg1 ; 5792 sp:arg1 spin:_arg1 ;
5787 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_week> 5793 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_week>
5788 ] ; 5794 ] ;
5789 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ObjectThatLastsOneWeek> ; 5795 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneWeek> ;
5790 sp:arg3 [ rdf:type sp:if ; 5796 sp:arg3 [ rdf:type sp:if ;
5791 sp:arg1 [ rdf:type sp:eq ; 5797 sp:arg1 [ rdf:type sp:eq ;
5792 sp:arg1 spin:_arg1 ; 5798 sp:arg1 spin:_arg1 ;
5793 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_yeartodate> 5799 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_yeartodate>
5794 ] ; 5800 ] ;
5795 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 5801 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringYearToDate> ;
5796 sp:arg3 [ rdf:type sp:if ; 5802 sp:arg3 [ rdf:type sp:if ;
5797 sp:arg1 [ rdf:type sp:eq ; 5803 sp:arg1 [ rdf:type sp:eq ;
5798 sp:arg1 spin:_arg1 ; 5804 sp:arg1 spin:_arg1 ;
5799 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_year> 5805 sp:arg2 <http://www.epim.no/schemas/mprml/1#RP_year>
5800 ] ; 5806 ] ;
5801 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ObjectThatLastsOneYear> ; 5807 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneYear> ;
5802 - sp:arg3 <http://www.reportinghub.no/ep/schema/core#PhysicalObject> 5808 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#PhysicalThing>
5809 + ]
5803 ] 5810 ]
5804 ] 5811 ]
5805 ] 5812 ]
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 <http://www.epim.no/schemas/mprml/1#Cs_densityValue> 19 <http://www.epim.no/schemas/mprml/1#Cs_densityValue>
20 spin:rule 20 spin:rule
21 [ rdf:type sp:Construct ; 21 [ rdf:type sp:Construct ;
22 - rdfs:comment "STEP 90020 Process densityValue for a quantityOfMaterial"^^xsd:string ; 22 + rdfs:comment "STEP 90021 Process densityValue for a productInventory"^^xsd:string ;
23 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; 23 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
24 sp:predicate rdf:type ; 24 sp:predicate rdf:type ;
25 sp:subject _:b1 25 sp:subject _:b1
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
27 sp:predicate rdf:type ; 27 sp:predicate rdf:type ;
28 sp:subject _:b1 28 sp:subject _:b1
29 ] [ sp:object 29 ] [ sp:object
30 - [ sp:varName "quantityOfMaterial"^^xsd:string 30 + [ sp:varName "productInventory"^^xsd:string
31 ] ; 31 ] ;
32 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 32 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
33 sp:subject _:b1 33 sp:subject _:b1
...@@ -45,6 +45,43 @@ ...@@ -45,6 +45,43 @@
45 ] ; 45 ] ;
46 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 46 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
47 sp:subject 47 sp:subject
48 + [ sp:varName "productInventory"^^xsd:string
49 + ]
50 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductInventory> ;
51 + sp:predicate rdf:type ;
52 + sp:subject
53 + [ sp:varName "productInventory"^^xsd:string
54 + ]
55 + ])
56 + ] ;
57 + spin:rule
58 + [ rdf:type sp:Construct ;
59 + rdfs:comment "STEP 90020 Process densityValue for a quantityOfMaterial"^^xsd:string ;
60 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
61 + sp:predicate rdf:type ;
62 + sp:subject _:b2
63 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
64 + sp:predicate rdf:type ;
65 + sp:subject _:b2
66 + ] [ sp:object
67 + [ sp:varName "quantityOfMaterial"^^xsd:string
68 + ] ;
69 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
70 + sp:subject _:b2
71 + ] [ sp:object spin:_this ;
72 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
73 + sp:subject _:b2
74 + ]) ;
75 + sp:where ([ sp:object spin:_this ;
76 + sp:predicate <http://www.epim.no/schemas/mprml/1#densityValueRef> ;
77 + sp:subject
78 + [ sp:varName "target"^^xsd:string
79 + ]
80 + ] [ sp:object
81 + [ sp:varName "target"^^xsd:string
82 + ] ;
83 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
84 + sp:subject
48 [ sp:varName "quantityOfMaterial"^^xsd:string 85 [ sp:varName "quantityOfMaterial"^^xsd:string
49 ] 86 ]
50 ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; 87 ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
...@@ -72,89 +109,183 @@ ...@@ -72,89 +109,183 @@
72 <http://www.epim.no/schemas/mprml/1#Cs_volumeValue> 109 <http://www.epim.no/schemas/mprml/1#Cs_volumeValue>
73 spin:rule 110 spin:rule
74 [ rdf:type sp:Construct ; 111 [ rdf:type sp:Construct ;
75 - rdfs:comment "STEP 90001 Process volumeValue for a quantityOfMaterial average amount of material"^^xsd:string ; 112 + rdfs:comment "STEP 90000 Process volumeValue for a quantityOfMaterial"^^xsd:string ;
113 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
114 + sp:predicate rdf:type ;
115 + sp:subject _:b3
116 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
117 + sp:predicate rdf:type ;
118 + sp:subject _:b3
119 + ] [ sp:object
120 + [ sp:varName "quantityOfMaterial"^^xsd:string
121 + ] ;
122 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
123 + sp:subject _:b3
124 + ] [ sp:object _:b4 ;
125 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ;
126 + sp:subject _:b3
127 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ;
128 + sp:predicate rdf:type ;
129 + sp:subject _:b4
130 + ] [ sp:object
131 + [ sp:varName "realGrossCalorificValue"^^xsd:string
132 + ] ;
133 + sp:predicate
134 + [ sp:varName "grossCalorificValueScale"^^xsd:string
135 + ] ;
136 + sp:subject _:b4
137 + ] [ sp:object spin:_this ;
138 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
139 + sp:subject _:b3
140 + ]) ;
141 + sp:where ([ sp:object spin:_this ;
142 + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ;
143 + sp:subject
144 + [ sp:varName "target"^^xsd:string
145 + ]
146 + ] [ sp:object
147 + [ sp:varName "target"^^xsd:string
148 + ] ;
149 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
150 + sp:subject
151 + [ sp:varName "quantityOfMaterial"^^xsd:string
152 + ]
153 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
154 + sp:predicate rdf:type ;
155 + sp:subject
156 + [ sp:varName "quantityOfMaterial"^^xsd:string
157 + ]
158 + ] [ rdf:type sp:NotExists ;
159 + sp:elements ([ sp:object
160 + [ sp:varName "target"^^xsd:string
161 + ] ;
162 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
163 + sp:subject
164 + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string
165 + ]
166 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ;
167 + sp:predicate rdf:type ;
168 + sp:subject
169 + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string
170 + ]
171 + ])
172 + ] [ rdf:type sp:Optional ;
173 + sp:elements ([ sp:object
174 + [ sp:varName "grossCalorificValueRef"^^xsd:string
175 + ] ;
176 + sp:predicate <http://www.epim.no/schemas/mprml/1#grossCalorificValueRef> ;
177 + sp:subject spin:_this
178 + ] [ sp:object
179 + [ sp:varName "realGrossCalorificValue"^^xsd:string
180 + ] ;
181 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
182 + sp:subject
183 + [ sp:varName "grossCalorificValueRef"^^xsd:string
184 + ]
185 + ] [ sp:object
186 + [ sp:varName "uomGrossCalorificValue"^^xsd:string
187 + ] ;
188 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
189 + sp:subject
190 + [ sp:varName "grossCalorificValueRef"^^xsd:string
191 + ]
192 + ])
193 + ] [ rdf:type sp:Bind ;
194 + sp:expression
195 + [ rdf:type ep-mpr-spin-lib:selectEnergyPerVolumeScale ;
196 + sp:arg1 [ sp:varName "uomGrossCalorificValue"^^xsd:string
197 + ]
198 + ] ;
199 + sp:variable
200 + [ sp:varName "grossCalorificValueScale"^^xsd:string
201 + ]
202 + ])
203 + ] ;
204 + spin:rule
205 + [ rdf:type sp:Construct ;
206 + rdfs:comment "STEP 90002 Process volumeValue for a quantityOfMaterial average amount of material"^^xsd:string ;
76 sp:templates ([ sp:object 207 sp:templates ([ sp:object
77 [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string 208 [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string
78 ] ; 209 ] ;
79 sp:predicate rdfs:subClassOf ; 210 sp:predicate rdfs:subClassOf ;
80 - sp:subject _:b2 211 + sp:subject _:b5
81 - ] [ sp:object _:b3 ; 212 + ] [ sp:object _:b6 ;
82 sp:predicate rdfs:subClassOf ; 213 sp:predicate rdfs:subClassOf ;
83 - sp:subject _:b2 214 + sp:subject _:b5
84 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; 215 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
85 sp:predicate rdf:type ; 216 sp:predicate rdf:type ;
86 - sp:subject _:b3 217 + sp:subject _:b6
87 ] [ sp:object 218 ] [ sp:object
88 [ sp:varName "realVolume"^^xsd:string 219 [ sp:varName "realVolume"^^xsd:string
89 ] ; 220 ] ;
90 sp:predicate 221 sp:predicate
91 [ sp:varName "volumeScale"^^xsd:string 222 [ sp:varName "volumeScale"^^xsd:string
92 ] ; 223 ] ;
93 - sp:subject _:b3 224 + sp:subject _:b6
94 - ] [ sp:object _:b4 ; 225 + ] [ sp:object _:b7 ;
95 sp:predicate rdfs:subClassOf ; 226 sp:predicate rdfs:subClassOf ;
96 - sp:subject _:b2 227 + sp:subject _:b5
97 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; 228 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
98 sp:predicate rdf:type ; 229 sp:predicate rdf:type ;
99 - sp:subject _:b4 230 + sp:subject _:b7
100 ] [ sp:object 231 ] [ sp:object
101 [ sp:varName "realTemp"^^xsd:string 232 [ sp:varName "realTemp"^^xsd:string
102 ] ; 233 ] ;
103 sp:predicate 234 sp:predicate
104 [ sp:varName "temperatureScale"^^xsd:string 235 [ sp:varName "temperatureScale"^^xsd:string
105 ] ; 236 ] ;
106 - sp:subject _:b4 237 + sp:subject _:b7
107 - ] [ sp:object _:b5 ; 238 + ] [ sp:object _:b8 ;
108 sp:predicate rdfs:subClassOf ; 239 sp:predicate rdfs:subClassOf ;
109 - sp:subject _:b2 240 + sp:subject _:b5
110 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; 241 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
111 sp:predicate rdf:type ; 242 sp:predicate rdf:type ;
112 - sp:subject _:b5 243 + sp:subject _:b8
113 ] [ sp:object 244 ] [ sp:object
114 [ sp:varName "realPres"^^xsd:string 245 [ sp:varName "realPres"^^xsd:string
115 ] ; 246 ] ;
116 sp:predicate 247 sp:predicate
117 [ sp:varName "pressureScale"^^xsd:string 248 [ sp:varName "pressureScale"^^xsd:string
118 ] ; 249 ] ;
119 - sp:subject _:b5 250 + sp:subject _:b8
120 - ] [ sp:object _:b6 ; 251 + ] [ sp:object _:b9 ;
121 sp:predicate rdfs:subClassOf ; 252 sp:predicate rdfs:subClassOf ;
122 - sp:subject _:b2 253 + sp:subject _:b5
123 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ; 254 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ;
124 sp:predicate owl:onProperty ; 255 sp:predicate owl:onProperty ;
125 - sp:subject _:b6 256 + sp:subject _:b9
126 - ] [ sp:object _:b7 ; 257 + ] [ sp:object _:b10 ;
127 sp:predicate owl:allValuesFrom ; 258 sp:predicate owl:allValuesFrom ;
128 - sp:subject _:b6 259 + sp:subject _:b9
129 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ; 260 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ;
130 sp:predicate rdf:type ; 261 sp:predicate rdf:type ;
131 - sp:subject _:b7 262 + sp:subject _:b10
132 ] [ sp:object 263 ] [ sp:object
133 [ sp:varName "realGrossCalorificValue"^^xsd:string 264 [ sp:varName "realGrossCalorificValue"^^xsd:string
134 ] ; 265 ] ;
135 sp:predicate 266 sp:predicate
136 [ sp:varName "grossCalorificValueScale"^^xsd:string 267 [ sp:varName "grossCalorificValueScale"^^xsd:string
137 ] ; 268 ] ;
138 - sp:subject _:b7 269 + sp:subject _:b10
139 - ] [ sp:object _:b8 ; 270 + ] [ sp:object _:b11 ;
140 sp:predicate rdfs:subClassOf ; 271 sp:predicate rdfs:subClassOf ;
141 - sp:subject _:b2 272 + sp:subject _:b5
142 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#energyContent> ; 273 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#energyContent> ;
143 sp:predicate owl:onProperty ; 274 sp:predicate owl:onProperty ;
144 - sp:subject _:b8 275 + sp:subject _:b11
145 - ] [ sp:object _:b9 ; 276 + ] [ sp:object _:b12 ;
146 sp:predicate owl:allValuesFrom ; 277 sp:predicate owl:allValuesFrom ;
147 - sp:subject _:b8 278 + sp:subject _:b11
148 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; 279 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ;
149 sp:predicate rdf:type ; 280 sp:predicate rdf:type ;
150 - sp:subject _:b9 281 + sp:subject _:b12
151 ] [ sp:object 282 ] [ sp:object
152 [ sp:varName "realWork"^^xsd:string 283 [ sp:varName "realWork"^^xsd:string
153 ] ; 284 ] ;
154 sp:predicate 285 sp:predicate
155 [ sp:varName "workScale"^^xsd:string 286 [ sp:varName "workScale"^^xsd:string
156 ] ; 287 ] ;
157 - sp:subject _:b9 288 + sp:subject _:b12
158 ]) ; 289 ]) ;
159 sp:where ([ sp:object spin:_this ; 290 sp:where ([ sp:object spin:_this ;
160 sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; 291 sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ;
...@@ -325,34 +456,34 @@ ...@@ -325,34 +456,34 @@
325 ] ; 456 ] ;
326 spin:rule 457 spin:rule
327 [ rdf:type sp:Construct ; 458 [ rdf:type sp:Construct ;
328 - rdfs:comment "STEP 90000 Process volumeValue for a quantityOfMaterial"^^xsd:string ; 459 + rdfs:comment "STEP 90001 Process volumeValue for a productInventory"^^xsd:string ;
329 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; 460 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
330 sp:predicate rdf:type ; 461 sp:predicate rdf:type ;
331 - sp:subject _:b10 462 + sp:subject _:b13
332 ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; 463 ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
333 sp:predicate rdf:type ; 464 sp:predicate rdf:type ;
334 - sp:subject _:b10 465 + sp:subject _:b13
335 ] [ sp:object 466 ] [ sp:object
336 - [ sp:varName "quantityOfMaterial"^^xsd:string 467 + [ sp:varName "productInventory"^^xsd:string
337 ] ; 468 ] ;
338 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 469 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
339 - sp:subject _:b10 470 + sp:subject _:b13
340 - ] [ sp:object _:b11 ; 471 + ] [ sp:object _:b14 ;
341 sp:predicate <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ; 472 sp:predicate <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ;
342 - sp:subject _:b10 473 + sp:subject _:b13
343 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ; 474 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ;
344 sp:predicate rdf:type ; 475 sp:predicate rdf:type ;
345 - sp:subject _:b11 476 + sp:subject _:b14
346 ] [ sp:object 477 ] [ sp:object
347 [ sp:varName "realGrossCalorificValue"^^xsd:string 478 [ sp:varName "realGrossCalorificValue"^^xsd:string
348 ] ; 479 ] ;
349 sp:predicate 480 sp:predicate
350 [ sp:varName "grossCalorificValueScale"^^xsd:string 481 [ sp:varName "grossCalorificValueScale"^^xsd:string
351 ] ; 482 ] ;
352 - sp:subject _:b11 483 + sp:subject _:b14
353 ] [ sp:object spin:_this ; 484 ] [ sp:object spin:_this ;
354 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 485 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
355 - sp:subject _:b10 486 + sp:subject _:b13
356 ]) ; 487 ]) ;
357 sp:where ([ sp:object spin:_this ; 488 sp:where ([ sp:object spin:_this ;
358 sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; 489 sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ;
...@@ -364,27 +495,13 @@ ...@@ -364,27 +495,13 @@
364 ] ; 495 ] ;
365 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 496 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
366 sp:subject 497 sp:subject
367 - [ sp:varName "quantityOfMaterial"^^xsd:string 498 + [ sp:varName "productInventory"^^xsd:string
368 - ]
369 - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
370 - sp:predicate rdf:type ;
371 - sp:subject
372 - [ sp:varName "quantityOfMaterial"^^xsd:string
373 - ]
374 - ] [ rdf:type sp:NotExists ;
375 - sp:elements ([ sp:object
376 - [ sp:varName "target"^^xsd:string
377 - ] ;
378 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
379 - sp:subject
380 - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string
381 ] 499 ]
382 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; 500 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductInventory> ;
383 sp:predicate rdf:type ; 501 sp:predicate rdf:type ;
384 sp:subject 502 sp:subject
385 - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string 503 + [ sp:varName "productInventory"^^xsd:string
386 ] 504 ]
387 - ])
388 ] [ rdf:type sp:Optional ; 505 ] [ rdf:type sp:Optional ;
389 sp:elements ([ sp:object 506 sp:elements ([ sp:object
390 [ sp:varName "grossCalorificValueRef"^^xsd:string 507 [ sp:varName "grossCalorificValueRef"^^xsd:string
...@@ -422,21 +539,21 @@ ...@@ -422,21 +539,21 @@
422 spin:rule 539 spin:rule
423 [ rdf:type sp:Construct ; 540 [ rdf:type sp:Construct ;
424 rdfs:comment "STEP 90060 Process density for a quantity of material"^^xsd:string ; 541 rdfs:comment "STEP 90060 Process density for a quantity of material"^^xsd:string ;
425 - sp:templates ([ sp:object _:b12 ; 542 + sp:templates ([ sp:object _:b15 ;
426 sp:predicate rdf:type ; 543 sp:predicate rdf:type ;
427 sp:subject 544 sp:subject
428 [ sp:varName "quantityOfMaterial"^^xsd:string 545 [ sp:varName "quantityOfMaterial"^^xsd:string
429 ] 546 ]
430 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; 547 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
431 sp:predicate rdf:type ; 548 sp:predicate rdf:type ;
432 - sp:subject _:b12 549 + sp:subject _:b15
433 ] [ sp:object 550 ] [ sp:object
434 [ sp:varName "realDensity"^^xsd:string 551 [ sp:varName "realDensity"^^xsd:string
435 ] ; 552 ] ;
436 sp:predicate 553 sp:predicate
437 [ sp:varName "densityScale"^^xsd:string 554 [ sp:varName "densityScale"^^xsd:string
438 ] ; 555 ] ;
439 - sp:subject _:b12 556 + sp:subject _:b15
440 ]) ; 557 ]) ;
441 sp:where ([ sp:object spin:_this ; 558 sp:where ([ sp:object spin:_this ;
442 sp:predicate <http://www.epim.no/schemas/mprml/1#densityRef> ; 559 sp:predicate <http://www.epim.no/schemas/mprml/1#densityRef> ;
...@@ -494,22 +611,79 @@ ...@@ -494,22 +611,79 @@
494 <http://www.epim.no/schemas/mprml/1#MassMeasure> 611 <http://www.epim.no/schemas/mprml/1#MassMeasure>
495 spin:rule 612 spin:rule
496 [ rdf:type sp:Construct ; 613 [ rdf:type sp:Construct ;
614 + rdfs:comment "STEP 90011 Process mass for a product inventory"^^xsd:string ;
615 + sp:templates ([ sp:object _:b16 ;
616 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#summedDailyMass> ;
617 + sp:subject
618 + [ sp:varName "productInventory"^^xsd:string
619 + ]
620 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ;
621 + sp:predicate rdf:type ;
622 + sp:subject _:b16
623 + ] [ sp:object
624 + [ sp:varName "realMass"^^xsd:string
625 + ] ;
626 + sp:predicate
627 + [ sp:varName "massScale"^^xsd:string
628 + ] ;
629 + sp:subject _:b16
630 + ]) ;
631 + sp:where ([ sp:object spin:_this ;
632 + sp:predicate <http://www.epim.no/schemas/mprml/1#massRef> ;
633 + sp:subject
634 + [ sp:varName "target"^^xsd:string
635 + ]
636 + ] [ sp:object
637 + [ sp:varName "target"^^xsd:string
638 + ] ;
639 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
640 + sp:subject
641 + [ sp:varName "productInventory"^^xsd:string
642 + ]
643 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductInventory> ;
644 + sp:predicate rdf:type ;
645 + sp:subject
646 + [ sp:varName "productInventory"^^xsd:string
647 + ]
648 + ] [ sp:object
649 + [ sp:varName "realMass"^^xsd:string
650 + ] ;
651 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
652 + sp:subject spin:_this
653 + ] [ sp:object
654 + [ sp:varName "uomMass"^^xsd:string
655 + ] ;
656 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
657 + sp:subject spin:_this
658 + ] [ rdf:type sp:Bind ;
659 + sp:expression
660 + [ rdf:type ep-mpr-spin-lib:selectMassScale ;
661 + sp:arg1 [ sp:varName "uomMass"^^xsd:string
662 + ]
663 + ] ;
664 + sp:variable
665 + [ sp:varName "massScale"^^xsd:string
666 + ]
667 + ])
668 + ] ;
669 + spin:rule
670 + [ rdf:type sp:Construct ;
497 rdfs:comment "STEP 90010 Process mass for a quantity of material"^^xsd:string ; 671 rdfs:comment "STEP 90010 Process mass for a quantity of material"^^xsd:string ;
498 - sp:templates ([ sp:object _:b13 ; 672 + sp:templates ([ sp:object _:b17 ;
499 sp:predicate rdf:type ; 673 sp:predicate rdf:type ;
500 sp:subject 674 sp:subject
501 [ sp:varName "quantityOfMaterial"^^xsd:string 675 [ sp:varName "quantityOfMaterial"^^xsd:string
502 ] 676 ]
503 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; 677 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ;
504 sp:predicate rdf:type ; 678 sp:predicate rdf:type ;
505 - sp:subject _:b13 679 + sp:subject _:b17
506 ] [ sp:object 680 ] [ sp:object
507 [ sp:varName "realMass"^^xsd:string 681 [ sp:varName "realMass"^^xsd:string
508 ] ; 682 ] ;
509 sp:predicate 683 sp:predicate
510 [ sp:varName "massScale"^^xsd:string 684 [ sp:varName "massScale"^^xsd:string
511 ] ; 685 ] ;
512 - sp:subject _:b13 686 + sp:subject _:b17
513 ]) ; 687 ]) ;
514 sp:where ([ sp:object spin:_this ; 688 sp:where ([ sp:object spin:_this ;
515 sp:predicate <http://www.epim.no/schemas/mprml/1#massRef> ; 689 sp:predicate <http://www.epim.no/schemas/mprml/1#massRef> ;
...@@ -568,21 +742,21 @@ ...@@ -568,21 +742,21 @@
568 spin:rule 742 spin:rule
569 [ rdf:type sp:Construct ; 743 [ rdf:type sp:Construct ;
570 rdfs:comment "STEP 90040 Process pressure for a quantity of material"^^xsd:string ; 744 rdfs:comment "STEP 90040 Process pressure for a quantity of material"^^xsd:string ;
571 - sp:templates ([ sp:object _:b14 ; 745 + sp:templates ([ sp:object _:b18 ;
572 sp:predicate rdf:type ; 746 sp:predicate rdf:type ;
573 sp:subject 747 sp:subject
574 [ sp:varName "quantityOfMaterial"^^xsd:string 748 [ sp:varName "quantityOfMaterial"^^xsd:string
575 ] 749 ]
576 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; 750 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
577 sp:predicate rdf:type ; 751 sp:predicate rdf:type ;
578 - sp:subject _:b14 752 + sp:subject _:b18
579 ] [ sp:object 753 ] [ sp:object
580 [ sp:varName "realPressure"^^xsd:string 754 [ sp:varName "realPressure"^^xsd:string
581 ] ; 755 ] ;
582 sp:predicate 756 sp:predicate
583 [ sp:varName "pressureScale"^^xsd:string 757 [ sp:varName "pressureScale"^^xsd:string
584 ] ; 758 ] ;
585 - sp:subject _:b14 759 + sp:subject _:b18
586 ]) ; 760 ]) ;
587 sp:where ([ sp:object spin:_this ; 761 sp:where ([ sp:object spin:_this ;
588 sp:predicate <http://www.epim.no/schemas/mprml/1#presRef> ; 762 sp:predicate <http://www.epim.no/schemas/mprml/1#presRef> ;
...@@ -641,21 +815,21 @@ ...@@ -641,21 +815,21 @@
641 spin:rule 815 spin:rule
642 [ rdf:type sp:Construct ; 816 [ rdf:type sp:Construct ;
643 rdfs:comment "STEP 90050 Process temperature for a quantity of material"^^xsd:string ; 817 rdfs:comment "STEP 90050 Process temperature for a quantity of material"^^xsd:string ;
644 - sp:templates ([ sp:object _:b15 ; 818 + sp:templates ([ sp:object _:b19 ;
645 sp:predicate rdf:type ; 819 sp:predicate rdf:type ;
646 sp:subject 820 sp:subject
647 [ sp:varName "quantityOfMaterial"^^xsd:string 821 [ sp:varName "quantityOfMaterial"^^xsd:string
648 ] 822 ]
649 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; 823 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
650 sp:predicate rdf:type ; 824 sp:predicate rdf:type ;
651 - sp:subject _:b15 825 + sp:subject _:b19
652 ] [ sp:object 826 ] [ sp:object
653 [ sp:varName "realTemperature"^^xsd:string 827 [ sp:varName "realTemperature"^^xsd:string
654 ] ; 828 ] ;
655 sp:predicate 829 sp:predicate
656 [ sp:varName "temperatureScale"^^xsd:string 830 [ sp:varName "temperatureScale"^^xsd:string
657 ] ; 831 ] ;
658 - sp:subject _:b15 832 + sp:subject _:b19
659 ]) ; 833 ]) ;
660 sp:where ([ sp:object spin:_this ; 834 sp:where ([ sp:object spin:_this ;
661 sp:predicate <http://www.epim.no/schemas/mprml/1#tempRef> ; 835 sp:predicate <http://www.epim.no/schemas/mprml/1#tempRef> ;
...@@ -714,21 +888,21 @@ ...@@ -714,21 +888,21 @@
714 spin:rule 888 spin:rule
715 [ rdf:type sp:Construct ; 889 [ rdf:type sp:Construct ;
716 rdfs:comment "STEP 90070 Process volume for a quantity of material"^^xsd:string ; 890 rdfs:comment "STEP 90070 Process volume for a quantity of material"^^xsd:string ;
717 - sp:templates ([ sp:object _:b16 ; 891 + sp:templates ([ sp:object _:b20 ;
718 sp:predicate rdf:type ; 892 sp:predicate rdf:type ;
719 sp:subject 893 sp:subject
720 [ sp:varName "quantityOfMaterial"^^xsd:string 894 [ sp:varName "quantityOfMaterial"^^xsd:string
721 ] 895 ]
722 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; 896 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
723 sp:predicate rdf:type ; 897 sp:predicate rdf:type ;
724 - sp:subject _:b16 898 + sp:subject _:b20
725 ] [ sp:object 899 ] [ sp:object
726 [ sp:varName "realVolume"^^xsd:string 900 [ sp:varName "realVolume"^^xsd:string
727 ] ; 901 ] ;
728 sp:predicate 902 sp:predicate
729 [ sp:varName "volumeScale"^^xsd:string 903 [ sp:varName "volumeScale"^^xsd:string
730 ] ; 904 ] ;
731 - sp:subject _:b16 905 + sp:subject _:b20
732 ]) ; 906 ]) ;
733 sp:where ([ sp:object spin:_this ; 907 sp:where ([ sp:object spin:_this ;
734 sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; 908 sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ;
...@@ -787,21 +961,21 @@ ...@@ -787,21 +961,21 @@
787 spin:rule 961 spin:rule
788 [ rdf:type sp:Construct ; 962 [ rdf:type sp:Construct ;
789 rdfs:comment "STEP 90070a Process volume for a quantity of material"^^xsd:string ; 963 rdfs:comment "STEP 90070a Process volume for a quantity of material"^^xsd:string ;
790 - sp:templates ([ sp:object _:b17 ; 964 + sp:templates ([ sp:object _:b21 ;
791 sp:predicate rdf:type ; 965 sp:predicate rdf:type ;
792 sp:subject 966 sp:subject
793 [ sp:varName "quantityOfMaterial"^^xsd:string 967 [ sp:varName "quantityOfMaterial"^^xsd:string
794 ] 968 ]
795 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; 969 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
796 sp:predicate rdf:type ; 970 sp:predicate rdf:type ;
797 - sp:subject _:b17 971 + sp:subject _:b21
798 ] [ sp:object 972 ] [ sp:object
799 [ sp:varName "realVolume"^^xsd:string 973 [ sp:varName "realVolume"^^xsd:string
800 ] ; 974 ] ;
801 sp:predicate 975 sp:predicate
802 [ sp:varName "volumeScale"^^xsd:string 976 [ sp:varName "volumeScale"^^xsd:string
803 ] ; 977 ] ;
804 - sp:subject _:b17 978 + sp:subject _:b21
805 ]) ; 979 ]) ;
806 sp:where ([ sp:object spin:_this ; 980 sp:where ([ sp:object spin:_this ;
807 sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; 981 sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ;
...@@ -860,21 +1034,21 @@ ...@@ -860,21 +1034,21 @@
860 spin:rule 1034 spin:rule
861 [ rdf:type sp:Construct ; 1035 [ rdf:type sp:Construct ;
862 rdfs:comment "STEP 90030 Process work for a quantity of material"^^xsd:string ; 1036 rdfs:comment "STEP 90030 Process work for a quantity of material"^^xsd:string ;
863 - sp:templates ([ sp:object _:b18 ; 1037 + sp:templates ([ sp:object _:b22 ;
864 sp:predicate rdf:type ; 1038 sp:predicate rdf:type ;
865 sp:subject 1039 sp:subject
866 [ sp:varName "quantityOfMaterial"^^xsd:string 1040 [ sp:varName "quantityOfMaterial"^^xsd:string
867 ] 1041 ]
868 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; 1042 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ;
869 sp:predicate rdf:type ; 1043 sp:predicate rdf:type ;
870 - sp:subject _:b18 1044 + sp:subject _:b22
871 ] [ sp:object 1045 ] [ sp:object
872 [ sp:varName "realWork"^^xsd:string 1046 [ sp:varName "realWork"^^xsd:string
873 ] ; 1047 ] ;
874 sp:predicate 1048 sp:predicate
875 [ sp:varName "workScale"^^xsd:string 1049 [ sp:varName "workScale"^^xsd:string
876 ] ; 1050 ] ;
877 - sp:subject _:b18 1051 + sp:subject _:b22
878 ]) ; 1052 ]) ;
879 sp:where ([ sp:object spin:_this ; 1053 sp:where ([ sp:object spin:_this ;
880 sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; 1054 sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ;
......
...@@ -20,105 +20,24 @@ ...@@ -20,105 +20,24 @@
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 - ] ;
27 - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
28 - sp:subject
29 - [ sp:varName "productionFacility"^^xsd:string
30 - ]
31 - ]) ;
32 - sp:where ([ sp:object
33 - [ sp:varName "contextRef"^^xsd:string
34 ] ; 26 ] ;
35 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ; 27 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
36 sp:subject spin:_this 28 sp:subject spin:_this
37 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
38 - sp:predicate rdf:type ;
39 - sp:subject
40 - [ sp:varName "contextRef"^^xsd:string
41 - ]
42 ] [ sp:object 29 ] [ sp:object
43 - [ sp:varName "contextFacilityRef"^^xsd:string 30 + [ sp:varName "date"^^xsd:string
44 - ] ;
45 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
46 - sp:subject
47 - [ sp:varName "contextRef"^^xsd:string
48 - ]
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 - sp:elements ([ sp:object spin:_this ;
58 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
59 - sp:subject
60 - [ sp:varName "contextFacility"^^xsd:string
61 - ]
62 - ])
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 - ])
93 ] ; 31 ] ;
94 - spin:rule 32 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
95 - [ rdf:type sp:Construct ; 33 + sp:subject spin:_this
96 - rdfs:comment "STEP 10020 Add the operator"^^xsd:string ;
97 - sp:templates ([ sp:object _:b1 ;
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 ;
104 - sp:subject _:b1
105 ] [ sp:object 34 ] [ sp:object
106 - [ sp:varName "operator"^^xsd:string 35 + [ sp:varName "date"^^xsd:string
107 ] ; 36 ] ;
108 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 37 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
109 - sp:subject _:b1 38 + sp:subject spin:_this
110 ]) ; 39 ]) ;
111 - sp:where ([ sp:object spin:_this ; 40 + sp:where ([ sp:object
112 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
113 - sp:subject
114 - [ sp:varName "productionReport"^^xsd:string
115 - ]
116 - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
117 - sp:predicate rdf:type ;
118 - sp:subject
119 - [ sp:varName "productionReport"^^xsd:string
120 - ]
121 - ] [ sp:object
122 [ sp:varName "contextRef"^^xsd:string 41 [ sp:varName "contextRef"^^xsd:string
123 ] ; 42 ] ;
124 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ; 43 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
...@@ -129,36 +48,35 @@ ...@@ -129,36 +48,35 @@
129 [ sp:varName "contextRef"^^xsd:string 48 [ sp:varName "contextRef"^^xsd:string
130 ] 49 ]
131 ] [ sp:object 50 ] [ sp:object
132 - [ sp:varName "operatorRef"^^xsd:string 51 + [ sp:varName "date"^^xsd:string
133 ] ; 52 ] ;
134 - sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ; 53 + sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
135 sp:subject 54 sp:subject
136 [ sp:varName "contextRef"^^xsd:string 55 [ sp:varName "contextRef"^^xsd:string
137 ] 56 ]
138 - ] [ sp:object 57 + ] [ rdf:type sp:NotExists ;
139 - [ sp:varName "operatorRef"^^xsd:string 58 + sp:elements ([ sp:object
59 + [ sp:varName "dateStart"^^xsd:string
140 ] ; 60 ] ;
141 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 61 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
142 sp:subject 62 sp:subject
143 - [ sp:varName "operator"^^xsd:string 63 + [ sp:varName "contextRef"^^xsd:string
144 ] 64 ]
145 - ] [ sp:object 65 + ])
146 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string 66 + ] [ rdf:type sp:NotExists ;
67 + sp:elements ([ sp:object
68 + [ sp:varName "dateEnd"^^xsd:string
147 ] ; 69 ] ;
148 - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ; 70 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
149 - sp:subject
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 71 sp:subject
155 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string 72 + [ sp:varName "contextRef"^^xsd:string
156 ] 73 ]
157 ]) 74 ])
75 + ])
158 ] ; 76 ] ;
159 spin:rule 77 spin:rule
160 [ rdf:type sp:Construct ; 78 [ rdf:type sp:Construct ;
161 - rdfs:comment "STEP 10001p Create the ProductionReport - unable to find an identifier"^^xsd:string ; 79 + rdfs:comment "STEP 10001m Create the ProductionReport - extract the report name from context/contextFacility"^^xsd:string ;
162 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; 80 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
163 sp:predicate rdf:type ; 81 sp:predicate rdf:type ;
164 sp:subject 82 sp:subject
...@@ -175,8 +93,7 @@ ...@@ -175,8 +93,7 @@
175 ] ; 93 ] ;
176 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; 94 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ;
177 sp:subject spin:_this 95 sp:subject spin:_this
178 - ] [ rdf:type sp:NotExists ; 96 + ] [ sp:object
179 - sp:elements ([ sp:object
180 [ sp:varName "contextRef"^^xsd:string 97 [ sp:varName "contextRef"^^xsd:string
181 ] ; 98 ] ;
182 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ; 99 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
...@@ -193,32 +110,21 @@ ...@@ -193,32 +110,21 @@
193 sp:subject 110 sp:subject
194 [ sp:varName "contextRef"^^xsd:string 111 [ sp:varName "contextRef"^^xsd:string
195 ] 112 ]
196 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ; 113 + ] [ rdf:type sp:Bind ;
197 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 114 + sp:expression
198 - sp:subject 115 + [ rdf:type spl:object ;
199 - [ sp:varName "contextFacilityRef"^^xsd:string 116 + sp:arg1 [ sp:varName "contextFacilityRef"^^xsd:string
200 - ]
201 - ])
202 - ] [ rdf:type sp:NotExists ;
203 - sp:elements ([ sp:object
204 - [ sp:varName "installationRef"^^xsd:string
205 ] ; 117 ] ;
206 - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; 118 + sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
207 - sp:subject
208 - [ sp:varName "contextRef"^^xsd:string
209 - ]
210 - ] [ sp:object
211 - [ sp:varName "installationRef"^^xsd:string
212 ] ; 119 ] ;
213 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 120 + sp:variable
214 - sp:subject 121 + [ sp:varName "normalizedContextFacilityName"^^xsd:string
215 - [ sp:varName "reportingFacility"^^xsd:string
216 ] 122 ]
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,21 +135,22 @@ ...@@ -229,21 +135,22 @@
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 ] ; 146 ] ;
243 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 147 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
244 - sp:subject 148 + sp:subject spin:_this
245 - [ sp:varName "productionReport"^^xsd:string 149 + ] [ sp:object
246 - ] 150 + [ sp:varName "dateEnd"^^xsd:string
151 + ] ;
152 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
153 + sp:subject spin:_this
247 ]) ; 154 ]) ;
248 sp:where ([ sp:object 155 sp:where ([ sp:object
249 [ sp:varName "contextRef"^^xsd:string 156 [ sp:varName "contextRef"^^xsd:string
...@@ -255,88 +162,41 @@ ...@@ -255,88 +162,41 @@
255 sp:subject 162 sp:subject
256 [ sp:varName "contextRef"^^xsd:string 163 [ sp:varName "contextRef"^^xsd:string
257 ] 164 ]
258 - ] [ rdf:type sp:Optional ; 165 + ] [ sp:object
259 - sp:elements ([ sp:object 166 + [ sp:varName "date"^^xsd:string
260 - [ sp:varName "month"^^xsd:string
261 ] ; 167 ] ;
262 - sp:predicate <http://www.epim.no/schemas/mprml/1#month> ; 168 + sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
263 sp:subject 169 sp:subject
264 [ sp:varName "contextRef"^^xsd:string 170 [ sp:varName "contextRef"^^xsd:string
265 ] 171 ]
266 - ]) 172 + ] [ rdf:type sp:NotExists ;
267 - ] [ rdf:type sp:Optional ;
268 sp:elements ([ sp:object 173 sp:elements ([ sp:object
269 - [ sp:varName "titleRef"^^xsd:string 174 + [ sp:varName "dateStart"^^xsd:string
270 ] ; 175 ] ;
271 - sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ; 176 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
272 sp:subject 177 sp:subject
273 [ sp:varName "contextRef"^^xsd:string 178 [ sp:varName "contextRef"^^xsd:string
274 ] 179 ]
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 ]) 180 ])
294 - ] ; 181 + ] [ sp:object
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
301 - ]) ;
302 - sp:where ([ sp:object
303 - [ sp:varName "contextRef"^^xsd:string
304 - ] ;
305 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
306 - sp:subject spin:_this
307 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
308 - sp:predicate rdf:type ;
309 - sp:subject
310 - [ sp:varName "contextRef"^^xsd:string
311 - ]
312 - ] [ rdf:type sp:NotExists ;
313 - sp:elements ([ sp:object
314 [ sp:varName "dateEnd"^^xsd:string 182 [ sp:varName "dateEnd"^^xsd:string
315 ] ; 183 ] ;
316 sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; 184 sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
317 sp:subject 185 sp:subject
318 [ sp:varName "contextRef"^^xsd:string 186 [ sp:varName "contextRef"^^xsd:string
319 ] 187 ]
320 - ]) 188 + ] [ rdf:type sp:Bind ;
321 - ] [ rdf:type sp:NotExists ; 189 + sp:expression
322 - sp:elements ([ sp:object 190 + [ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
323 - [ sp:varName "date"^^xsd:string 191 + sp:arg1 [ sp:varName "date"^^xsd:string
324 ] ; 192 ] ;
325 - sp:predicate <http://www.epim.no/schemas/mprml/1#date> ; 193 + sp:arg2 [ sp:varName "dateEnd"^^xsd:string
326 - sp:subject
327 - [ sp:varName "contextRef"^^xsd:string
328 ] 194 ]
329 - ])
330 - ] [ rdf:type sp:NotExists ;
331 - sp:elements ([ sp:object
332 - [ sp:varName "dateStart"^^xsd:string
333 ] ; 195 ] ;
334 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; 196 + sp:variable
335 - sp:subject 197 + [ sp:varName "intervalIdentifier"^^xsd:string
336 - [ sp:varName "contextRef"^^xsd:string
337 ] 198 ]
338 ]) 199 ])
339 - ])
340 ] ; 200 ] ;
341 spin:rule 201 spin:rule
342 [ rdf:type sp:Construct ; 202 [ rdf:type sp:Construct ;
...@@ -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 ]
311 + ] [ sp:object
312 + [ sp:varName "title"^^xsd:string
313 + ] ;
314 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
315 + sp:subject
316 + [ sp:varName "productionReport"^^xsd:string
317 + ]
318 + ]) ;
319 + sp:where ([ sp:object
320 + [ sp:varName "contextRef"^^xsd:string
321 + ] ;
322 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
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 + ])
449 ] [ sp:object spin:_this ; 354 ] [ sp:object spin:_this ;
450 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 355 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
451 sp:subject 356 sp:subject
452 [ sp:varName "productionReport"^^xsd:string 357 [ sp:varName "productionReport"^^xsd:string
453 ] 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
454 ]) ; 392 ]) ;
455 - sp:where ([ sp:object 393 + sp:where ([ sp:object spin:_this ;
456 - [ sp:varName "intervalIdentifier"^^xsd:string 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
457 ] ; 406 ] ;
458 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; 407 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
459 sp:subject spin:_this 408 sp:subject spin:_this
460 ] [ sp:object 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 + ])
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
...@@ -521,36 +467,36 @@ ...@@ -521,36 +467,36 @@
521 sp:subject 467 sp:subject
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
526 - ] ;
527 - sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
528 - sp:subject
529 - [ sp:varName "contextRef"^^xsd:string
530 - ]
531 - ] [ rdf:type sp:NotExists ;
532 - sp:elements ([ sp:object
533 [ sp:varName "dateStart"^^xsd:string 471 [ sp:varName "dateStart"^^xsd:string
534 ] ; 472 ] ;
535 sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; 473 sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
536 sp:subject 474 sp:subject
537 [ sp:varName "contextRef"^^xsd:string 475 [ sp:varName "contextRef"^^xsd:string
538 ] 476 ]
539 - ]) 477 + ] [ sp:object
540 - ] [ rdf:type sp:NotExists ;
541 - sp:elements ([ sp:object
542 [ sp:varName "dateEnd"^^xsd:string 478 [ sp:varName "dateEnd"^^xsd:string
543 ] ; 479 ] ;
544 sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; 480 sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
545 sp:subject 481 sp:subject
546 [ sp:varName "contextRef"^^xsd:string 482 [ sp:varName "contextRef"^^xsd:string
547 ] 483 ]
548 - ]) 484 + ] [ rdf:type sp:Bind ;
485 + sp:expression
486 + [ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
487 + sp:arg1 [ sp:varName "dateStart"^^xsd:string
488 + ] ;
489 + sp:arg2 [ sp:varName "dateEnd"^^xsd:string
490 + ]
491 + ] ;
492 + sp:variable
493 + [ sp:varName "intervalIdentifier"^^xsd:string
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,24 +606,25 @@ ...@@ -665,24 +606,25 @@
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
676 - ] ;
677 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
678 - sp:subject spin:_this
679 - ] [ sp:object
680 - [ sp:varName "dateEnd"^^xsd:string
681 - ] ;
682 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
683 - sp:subject spin:_this
684 - ]) ;
685 - sp:where ([ sp:object
686 [ sp:varName "contextRef"^^xsd:string 628 [ sp:varName "contextRef"^^xsd:string
687 ] ; 629 ] ;
688 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ; 630 sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
...@@ -693,66 +635,134 @@ ...@@ -693,66 +635,134 @@
693 [ sp:varName "contextRef"^^xsd:string 635 [ sp:varName "contextRef"^^xsd:string
694 ] 636 ]
695 ] [ sp:object 637 ] [ sp:object
696 - [ sp:varName "date"^^xsd:string 638 + [ sp:varName "contextFacilityRef"^^xsd:string
697 ] ; 639 ] ;
698 - sp:predicate <http://www.epim.no/schemas/mprml/1#date> ; 640 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
699 sp:subject 641 sp:subject
700 [ sp:varName "contextRef"^^xsd:string 642 [ sp:varName "contextRef"^^xsd:string
701 ] 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 + ])
702 ] [ rdf:type sp:NotExists ; 650 ] [ rdf:type sp:NotExists ;
703 sp:elements ([ sp:object 651 sp:elements ([ sp:object
704 - [ sp:varName "dateStart"^^xsd:string 652 + [ sp:varName "installationRef"^^xsd:string
705 ] ; 653 ] ;
706 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; 654 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
707 sp:subject 655 sp:subject
708 [ sp:varName "contextRef"^^xsd:string 656 [ sp:varName "contextRef"^^xsd:string
709 ] 657 ]
710 - ])
711 ] [ sp:object 658 ] [ sp:object
712 - [ sp:varName "dateEnd"^^xsd:string 659 + [ sp:varName "installationRef"^^xsd:string
713 ] ; 660 ] ;
714 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; 661 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
715 sp:subject 662 sp:subject
716 - [ sp:varName "contextRef"^^xsd:string 663 + [ sp:varName "reportingFacility"^^xsd:string
717 ] 664 ]
665 + ])
718 ] [ rdf:type sp:Bind ; 666 ] [ rdf:type sp:Bind ;
719 sp:expression 667 sp:expression
720 - [ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ; 668 + [ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
721 - sp:arg1 [ sp:varName "date"^^xsd:string 669 + sp:arg1 "" ;
722 - ] ; 670 + sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
723 - sp:arg2 [ sp:varName "dateEnd"^^xsd:string
724 ] 671 ]
725 ] ; 672 ] ;
726 sp:variable 673 sp:variable
727 - [ sp:varName "intervalIdentifier"^^xsd:string 674 + [ sp:varName "productionReport"^^xsd:string
728 ] 675 ]
729 ]) 676 ])
730 ] ; 677 ] ;
731 spin:rule 678 spin:rule
732 [ rdf:type sp:Construct ; 679 [ rdf:type sp:Construct ;
733 - rdfs:comment "STEP 10001r Set the submitting installation"^^xsd:string ; 680 + rdfs:comment "STEP 10010 Add the contextFacility - unless the contextFacility is the production facility"^^xsd:string ;
734 - sp:templates ([ sp:object _:b3 ; 681 + sp:templates ([ sp:object
682 + [ sp:varName "contextFacility"^^xsd:string
683 + ] ;
684 + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
685 + sp:subject
686 + [ sp:varName "productionFacility"^^xsd:string
687 + ]
688 + ]) ;
689 + sp:where ([ sp:object
690 + [ sp:varName "contextRef"^^xsd:string
691 + ] ;
692 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
693 + sp:subject spin:_this
694 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
695 + sp:predicate rdf:type ;
696 + sp:subject
697 + [ sp:varName "contextRef"^^xsd:string
698 + ]
699 + ] [ sp:object
700 + [ sp:varName "contextFacilityRef"^^xsd:string
701 + ] ;
702 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
703 + sp:subject
704 + [ sp:varName "contextRef"^^xsd:string
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 + ]
713 + ] [ rdf:type sp:NotExists ;
714 + sp:elements ([ sp:object spin:_this ;
715 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
716 + sp:subject
717 + [ sp:varName "contextFacility"^^xsd:string
718 + ]
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 + ]
730 + ] [ sp:object
731 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
732 + ] ;
735 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ; 733 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportSubmittedBy> ;
736 sp:subject 734 sp:subject
737 [ sp:varName "productionReport"^^xsd:string 735 [ sp:varName "productionReport"^^xsd:string
738 ] 736 ]
739 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; 737 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
740 sp:predicate rdf:type ; 738 sp:predicate rdf:type ;
741 - sp:subject _:b3 739 + sp:subject
740 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
741 + ]
742 ] [ sp:object 742 ] [ sp:object
743 - [ sp:varName "installation"^^xsd:string 743 + [ sp:varName "productionFacility"^^xsd:string
744 ] ; 744 ] ;
745 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 745 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
746 - sp:subject _:b3 746 + sp:subject
747 - ] [ sp:object 747 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
748 - [ sp:varName "intervalStart"^^xsd:string 748 + ]
749 + ])
749 ] ; 750 ] ;
750 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; 751 + spin:rule
752 + [ rdf:type sp:Construct ;
753 + rdfs:comment "STEP 10020 Add the operator"^^xsd:string ;
754 + sp:templates ([ sp:object _:b3 ;
755 + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
756 + sp:subject
757 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
758 + ]
759 + ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
760 + sp:predicate rdf:type ;
751 sp:subject _:b3 761 sp:subject _:b3
752 ] [ sp:object 762 ] [ sp:object
753 - [ sp:varName "intervalEnd"^^xsd:string 763 + [ sp:varName "operator"^^xsd:string
754 ] ; 764 ] ;
755 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 765 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
756 sp:subject _:b3 766 sp:subject _:b3
757 ]) ; 767 ]) ;
758 sp:where ([ sp:object spin:_this ; 768 sp:where ([ sp:object spin:_this ;
...@@ -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,32 +830,34 @@ ...@@ -832,32 +830,34 @@
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 - ] ;
838 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
839 - sp:subject
840 - [ sp:varName "contextRef"^^xsd:string
841 - ]
842 - ] [ sp:object
843 [ sp:varName "dateEnd"^^xsd:string 835 [ sp:varName "dateEnd"^^xsd:string
844 ] ; 836 ] ;
845 sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; 837 sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
846 sp:subject 838 sp:subject
847 [ sp:varName "contextRef"^^xsd:string 839 [ sp:varName "contextRef"^^xsd:string
848 ] 840 ]
849 - ] [ rdf:type sp:Bind ; 841 + ])
850 - sp:expression 842 + ] [ rdf:type sp:NotExists ;
851 - [ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ; 843 + sp:elements ([ sp:object
852 - sp:arg1 [ sp:varName "dateStart"^^xsd:string 844 + [ sp:varName "date"^^xsd:string
853 ] ; 845 ] ;
854 - sp:arg2 [ sp:varName "dateEnd"^^xsd:string 846 + sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
847 + sp:subject
848 + [ sp:varName "contextRef"^^xsd:string
855 ] 849 ]
850 + ])
851 + ] [ rdf:type sp:NotExists ;
852 + sp:elements ([ sp:object
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
857 + [ sp:varName "contextRef"^^xsd:string
859 ] 858 ]
860 ]) 859 ])
860 + ])
861 ] . 861 ] .
862 862
863 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> 863 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0>
......