David Price

Merge branch 'master' into erh-fact-mar1

...@@ -15,81 +15,81 @@ ...@@ -15,81 +15,81 @@
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/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ; 18 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> ;
19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
20 20
21 ep-core:PhysicalThingAtInstant 21 ep-core:PhysicalThingAtInstant
22 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 22 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
23 rdfs:label "physical thing at instant"^^xsd:string ; 23 rdfs:label "physical thing at instant"^^xsd:string ;
24 rdfs:subClassOf ep-core:PhysicalThing . 24 rdfs:subClassOf ep-core:PhysicalThing .
25 25
26 ep-core:PhysicalThingDuringGasYearToDate 26 ep-core:PhysicalThingDuringGasYearToDate
27 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 27 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
28 rdfs:label "physical thing during gas year to date"^^xsd:string ; 28 rdfs:label "physical thing during gas year to date"^^xsd:string ;
29 rdfs:subClassOf ep-core:PhysicalThing . 29 rdfs:subClassOf ep-core:PhysicalThing .
30 30
31 ep-core:PhysicalThingDuringMonthToDate 31 ep-core:PhysicalThingDuringMonthToDate
32 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 32 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
33 rdfs:label "physical thing during month to date"^^xsd:string ; 33 rdfs:label "physical thing during month to date"^^xsd:string ;
34 rdfs:subClassOf ep-core:PhysicalThing . 34 rdfs:subClassOf ep-core:PhysicalThing .
35 35
36 ep-core:PhysicalThingDuringOneDay 36 ep-core:PhysicalThingDuringOneDay
37 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 37 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
38 rdfs:label "physical thing during one day"^^xsd:string ; 38 rdfs:label "physical thing during one day"^^xsd:string ;
39 rdfs:subClassOf ep-core:PhysicalThing . 39 rdfs:subClassOf ep-core:PhysicalThing .
40 40
41 ep-core:PhysicalThingDuringOneGasDay 41 ep-core:PhysicalThingDuringOneGasDay
42 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 42 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
43 rdfs:label "physical thing during one gas day"^^xsd:string ; 43 rdfs:label "physical thing during one gas day"^^xsd:string ;
44 rdfs:subClassOf ep-core:PhysicalThing . 44 rdfs:subClassOf ep-core:PhysicalThing .
45 45
46 ep-core:PhysicalThingDuringOneGasMonth 46 ep-core:PhysicalThingDuringOneGasMonth
47 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 47 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
48 rdfs:label "physical thing during one gas month"^^xsd:string ; 48 rdfs:label "physical thing during one gas month"^^xsd:string ;
49 rdfs:subClassOf ep-core:PhysicalThing . 49 rdfs:subClassOf ep-core:PhysicalThing .
50 50
51 ep-core:PhysicalThingDuringOneGasYear 51 ep-core:PhysicalThingDuringOneGasYear
52 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 52 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
53 rdfs:label "physical thing during one gas year"^^xsd:string ; 53 rdfs:label "physical thing during one gas year"^^xsd:string ;
54 rdfs:subClassOf ep-core:PhysicalThing . 54 rdfs:subClassOf ep-core:PhysicalThing .
55 55
56 ep-core:PhysicalThingDuringOneMonth 56 ep-core:PhysicalThingDuringOneMonth
57 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 57 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
58 rdfs:label "physical thing during one month"^^xsd:string ; 58 rdfs:label "physical thing during one month"^^xsd:string ;
59 rdfs:subClassOf ep-core:PhysicalThing . 59 rdfs:subClassOf ep-core:PhysicalThing .
60 60
61 ep-core:PhysicalThingDuringOneWeek 61 ep-core:PhysicalThingDuringOneWeek
62 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 62 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
63 rdfs:label "physical thing during one week"^^xsd:string ; 63 rdfs:label "physical thing during one week"^^xsd:string ;
64 rdfs:subClassOf ep-core:PhysicalThing . 64 rdfs:subClassOf ep-core:PhysicalThing .
65 65
66 ep-core:PhysicalThingDuringOneYear 66 ep-core:PhysicalThingDuringOneYear
67 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 67 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
68 rdfs:label "physical thing during one year"^^xsd:string ; 68 rdfs:label "physical thing during one year"^^xsd:string ;
69 rdfs:subClassOf ep-core:PhysicalThing . 69 rdfs:subClassOf ep-core:PhysicalThing .
70 70
71 ep-core:PhysicalThingDuringYearToDate 71 ep-core:PhysicalThingDuringYearToDate
72 - rdf:type owl:Class , ep-flow:TemporalPartDurationType ; 72 + rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
73 rdfs:label "physical thing during year to date"^^xsd:string ; 73 rdfs:label "physical thing during year to date"^^xsd:string ;
74 rdfs:subClassOf ep-core:PhysicalThing . 74 rdfs:subClassOf ep-core:PhysicalThing .
75 75
76 ep-flow:AllocatedFlow 76 ep-flow:AllocatedFlow
77 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 77 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
78 rdfs:label "allocated flow"^^xsd:string ; 78 rdfs:label "allocated flow"^^xsd:string ;
79 rdfs:subClassOf ep-flow:WholeLifeFlow . 79 rdfs:subClassOf ep-flow:WholeLifeFlow .
80 80
81 ep-flow:AllocatedInventory 81 ep-flow:AllocatedInventory
82 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 82 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
83 rdfs:label "allocated inventory"^^xsd:string ; 83 rdfs:label "allocated inventory"^^xsd:string ;
84 rdfs:subClassOf ep-flow:WholeLifeInventory . 84 rdfs:subClassOf ep-flow:WholeLifeInventory .
85 85
86 ep-flow:BudgetFlow 86 ep-flow:BudgetFlow
87 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 87 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
88 rdfs:label "budget flow"^^xsd:string ; 88 rdfs:label "budget flow"^^xsd:string ;
89 rdfs:subClassOf ep-flow:WholeLifeFlow . 89 rdfs:subClassOf ep-flow:WholeLifeFlow .
90 90
91 ep-flow:BudgetInventory 91 ep-flow:BudgetInventory
92 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 92 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
93 rdfs:label "budget inventory"^^xsd:string ; 93 rdfs:label "budget inventory"^^xsd:string ;
94 rdfs:subClassOf ep-flow:WholeLifeInventory . 94 rdfs:subClassOf ep-flow:WholeLifeInventory .
95 95
...@@ -99,77 +99,77 @@ ep-flow:ClassOfMaterialWithMassCriterion ...@@ -99,77 +99,77 @@ ep-flow:ClassOfMaterialWithMassCriterion
99 rdfs:subClassOf owl:Class . 99 rdfs:subClassOf owl:Class .
100 100
101 ep-flow:ConstraintFlow 101 ep-flow:ConstraintFlow
102 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 102 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
103 rdfs:label "constraint flow"^^xsd:string ; 103 rdfs:label "constraint flow"^^xsd:string ;
104 rdfs:subClassOf ep-flow:WholeLifeFlow . 104 rdfs:subClassOf ep-flow:WholeLifeFlow .
105 105
106 ep-flow:ConstraintFlow-fixed 106 ep-flow:ConstraintFlow-fixed
107 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; 107 + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
108 rdfs:label "constraint flow - fixed"^^xsd:string ; 108 rdfs:label "constraint flow - fixed"^^xsd:string ;
109 rdfs:subClassOf ep-flow:ConstraintFlow . 109 rdfs:subClassOf ep-flow:ConstraintFlow .
110 110
111 ep-flow:ConstraintFlow-maximum 111 ep-flow:ConstraintFlow-maximum
112 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; 112 + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
113 rdfs:label "constraint flow - maximum"^^xsd:string ; 113 rdfs:label "constraint flow - maximum"^^xsd:string ;
114 rdfs:subClassOf ep-flow:ConstraintFlow . 114 rdfs:subClassOf ep-flow:ConstraintFlow .
115 115
116 ep-flow:ConstraintFlow-minimum 116 ep-flow:ConstraintFlow-minimum
117 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; 117 + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
118 rdfs:label "constraint flow - minimum"^^xsd:string ; 118 rdfs:label "constraint flow - minimum"^^xsd:string ;
119 rdfs:subClassOf ep-flow:ConstraintFlow . 119 rdfs:subClassOf ep-flow:ConstraintFlow .
120 120
121 ep-flow:ConstraintInventory 121 ep-flow:ConstraintInventory
122 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 122 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
123 rdfs:label "constraint inventory"^^xsd:string ; 123 rdfs:label "constraint inventory"^^xsd:string ;
124 rdfs:subClassOf ep-flow:WholeLifeInventory . 124 rdfs:subClassOf ep-flow:WholeLifeInventory .
125 125
126 ep-flow:Consume 126 ep-flow:Consume
127 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 127 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
128 rdfs:label "consume"^^xsd:string ; 128 rdfs:label "consume"^^xsd:string ;
129 rdfs:subClassOf ep-flow:WholeLifeFlow . 129 rdfs:subClassOf ep-flow:WholeLifeFlow .
130 130
131 ep-flow:Consume-HPflare 131 ep-flow:Consume-HPflare
132 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 132 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
133 rdfs:label "consume - HP flare"^^xsd:string ; 133 rdfs:label "consume - HP flare"^^xsd:string ;
134 rdfs:subClassOf ep-flow:Consume-flare . 134 rdfs:subClassOf ep-flow:Consume-flare .
135 135
136 ep-flow:Consume-LPflare 136 ep-flow:Consume-LPflare
137 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 137 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
138 rdfs:label "consume - LP flare"^^xsd:string ; 138 rdfs:label "consume - LP flare"^^xsd:string ;
139 rdfs:subClassOf ep-flow:Consume-flare . 139 rdfs:subClassOf ep-flow:Consume-flare .
140 140
141 ep-flow:Consume-blackstart 141 ep-flow:Consume-blackstart
142 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 142 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
143 rdfs:label "consume - blackstart"^^xsd:string ; 143 rdfs:label "consume - blackstart"^^xsd:string ;
144 rdfs:subClassOf ep-flow:Consume . 144 rdfs:subClassOf ep-flow:Consume .
145 145
146 ep-flow:Consume-compressor 146 ep-flow:Consume-compressor
147 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 147 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
148 rdfs:label "consume - compressor"^^xsd:string ; 148 rdfs:label "consume - compressor"^^xsd:string ;
149 rdfs:subClassOf ep-flow:Consume . 149 rdfs:subClassOf ep-flow:Consume .
150 150
151 ep-flow:Consume-emitted 151 ep-flow:Consume-emitted
152 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 152 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
153 rdfs:label "consume - emitted"^^xsd:string ; 153 rdfs:label "consume - emitted"^^xsd:string ;
154 rdfs:subClassOf ep-flow:Consume . 154 rdfs:subClassOf ep-flow:Consume .
155 155
156 ep-flow:Consume-flare 156 ep-flow:Consume-flare
157 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 157 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
158 rdfs:label "consume - flare"^^xsd:string ; 158 rdfs:label "consume - flare"^^xsd:string ;
159 rdfs:subClassOf ep-flow:Consume . 159 rdfs:subClassOf ep-flow:Consume .
160 160
161 ep-flow:Consume-fuel 161 ep-flow:Consume-fuel
162 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 162 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
163 rdfs:label "consume - fuel"^^xsd:string ; 163 rdfs:label "consume - fuel"^^xsd:string ;
164 rdfs:subClassOf ep-flow:Consume . 164 rdfs:subClassOf ep-flow:Consume .
165 165
166 ep-flow:Consume-noncompressor 166 ep-flow:Consume-noncompressor
167 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 167 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
168 rdfs:label "consume - non-compressor"^^xsd:string ; 168 rdfs:label "consume - non-compressor"^^xsd:string ;
169 rdfs:subClassOf ep-flow:Consume . 169 rdfs:subClassOf ep-flow:Consume .
170 170
171 ep-flow:Consume-venting 171 ep-flow:Consume-venting
172 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 172 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
173 rdfs:label "consume - venting"^^xsd:string ; 173 rdfs:label "consume - venting"^^xsd:string ;
174 rdfs:subClassOf ep-flow:Consume . 174 rdfs:subClassOf ep-flow:Consume .
175 175
...@@ -184,27 +184,27 @@ ep-flow:DailyProductionFlow ...@@ -184,27 +184,27 @@ ep-flow:DailyProductionFlow
184 rdfs:subClassOf ep-flow:ProductionFlow . 184 rdfs:subClassOf ep-flow:ProductionFlow .
185 185
186 ep-flow:DerivedFlow 186 ep-flow:DerivedFlow
187 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 187 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
188 rdfs:label "derived flow"^^xsd:string ; 188 rdfs:label "derived flow"^^xsd:string ;
189 rdfs:subClassOf ep-flow:WholeLifeFlow . 189 rdfs:subClassOf ep-flow:WholeLifeFlow .
190 190
191 ep-flow:DerivedFlow-difference 191 ep-flow:DerivedFlow-difference
192 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; 192 + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
193 rdfs:label "derived flow - difference"^^xsd:string ; 193 rdfs:label "derived flow - difference"^^xsd:string ;
194 rdfs:subClassOf ep-flow:DerivedFlow . 194 rdfs:subClassOf ep-flow:DerivedFlow .
195 195
196 ep-flow:DerivedInventory 196 ep-flow:DerivedInventory
197 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 197 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
198 rdfs:label "derived inventory"^^xsd:string ; 198 rdfs:label "derived inventory"^^xsd:string ;
199 rdfs:subClassOf ep-flow:WholeLifeInventory . 199 rdfs:subClassOf ep-flow:WholeLifeInventory .
200 200
201 ep-flow:DifferenceFlow 201 ep-flow:DifferenceFlow
202 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 202 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
203 rdfs:label "difference flow"^^xsd:string ; 203 rdfs:label "difference flow"^^xsd:string ;
204 rdfs:subClassOf ep-flow:WholeLifeFlow . 204 rdfs:subClassOf ep-flow:WholeLifeFlow .
205 205
206 ep-flow:DifferenceInventory 206 ep-flow:DifferenceInventory
207 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 207 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
208 rdfs:label "difference inventory"^^xsd:string ; 208 rdfs:label "difference inventory"^^xsd:string ;
209 rdfs:subClassOf ep-flow:WholeLifeInventory . 209 rdfs:subClassOf ep-flow:WholeLifeInventory .
210 210
...@@ -214,32 +214,32 @@ ep-flow:ElectricPowerFlow ...@@ -214,32 +214,32 @@ ep-flow:ElectricPowerFlow
214 rdfs:subClassOf ep-flow:Flow . 214 rdfs:subClassOf ep-flow:Flow .
215 215
216 ep-flow:EstimatedFlow 216 ep-flow:EstimatedFlow
217 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 217 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
218 rdfs:label "estimated flow"^^xsd:string ; 218 rdfs:label "estimated flow"^^xsd:string ;
219 rdfs:subClassOf ep-flow:WholeLifeFlow . 219 rdfs:subClassOf ep-flow:WholeLifeFlow .
220 220
221 ep-flow:EstimatedInventory 221 ep-flow:EstimatedInventory
222 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 222 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
223 rdfs:label "estimated inventory"^^xsd:string ; 223 rdfs:label "estimated inventory"^^xsd:string ;
224 rdfs:subClassOf ep-flow:WholeLifeInventory . 224 rdfs:subClassOf ep-flow:WholeLifeInventory .
225 225
226 ep-flow:Export 226 ep-flow:Export
227 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 227 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
228 rdfs:label "export"^^xsd:string ; 228 rdfs:label "export"^^xsd:string ;
229 rdfs:subClassOf ep-flow:WholeLifeFlow . 229 rdfs:subClassOf ep-flow:WholeLifeFlow .
230 230
231 ep-flow:Export-nominated 231 ep-flow:Export-nominated
232 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 232 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
233 rdfs:label "export nominated"^^xsd:string ; 233 rdfs:label "export nominated"^^xsd:string ;
234 rdfs:subClassOf ep-flow:Export . 234 rdfs:subClassOf ep-flow:Export .
235 235
236 ep-flow:Export-requested 236 ep-flow:Export-requested
237 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 237 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
238 rdfs:label "export requested"^^xsd:string ; 238 rdfs:label "export requested"^^xsd:string ;
239 rdfs:subClassOf ep-flow:Export . 239 rdfs:subClassOf ep-flow:Export .
240 240
241 ep-flow:Export-shortfall 241 ep-flow:Export-shortfall
242 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 242 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
243 rdfs:label "export shortfall"^^xsd:string ; 243 rdfs:label "export shortfall"^^xsd:string ;
244 rdfs:subClassOf ep-flow:Export . 244 rdfs:subClassOf ep-flow:Export .
245 245
...@@ -249,42 +249,42 @@ ep-flow:Flow ...@@ -249,42 +249,42 @@ ep-flow:Flow
249 rdfs:subClassOf ep-core:PhysicalThing . 249 rdfs:subClassOf ep-core:PhysicalThing .
250 250
251 ep-flow:FlowAtInstant 251 ep-flow:FlowAtInstant
252 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 252 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
253 rdfs:label "flow at instant"^^xsd:string ; 253 rdfs:label "flow at instant"^^xsd:string ;
254 rdfs:subClassOf ep-flow:Flow . 254 rdfs:subClassOf ep-flow:Flow .
255 255
256 ep-flow:FlowDuringDay 256 ep-flow:FlowDuringDay
257 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 257 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
258 rdfs:label "flow during day"^^xsd:string ; 258 rdfs:label "flow during day"^^xsd:string ;
259 rdfs:subClassOf ep-flow:FlowDuringPeriod . 259 rdfs:subClassOf ep-flow:FlowDuringPeriod .
260 260
261 ep-flow:FlowDuringMonth 261 ep-flow:FlowDuringMonth
262 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 262 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
263 rdfs:label "flow during month"^^xsd:string ; 263 rdfs:label "flow during month"^^xsd:string ;
264 rdfs:subClassOf ep-flow:FlowDuringPeriod . 264 rdfs:subClassOf ep-flow:FlowDuringPeriod .
265 265
266 ep-flow:FlowDuringMonthToDate 266 ep-flow:FlowDuringMonthToDate
267 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 267 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
268 rdfs:label "flow during month to date"^^xsd:string ; 268 rdfs:label "flow during month to date"^^xsd:string ;
269 rdfs:subClassOf ep-flow:FlowDuringPeriod . 269 rdfs:subClassOf ep-flow:FlowDuringPeriod .
270 270
271 ep-flow:FlowDuringPeriod 271 ep-flow:FlowDuringPeriod
272 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 272 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
273 rdfs:label "flow during period"^^xsd:string ; 273 rdfs:label "flow during period"^^xsd:string ;
274 rdfs:subClassOf ep-flow:Flow . 274 rdfs:subClassOf ep-flow:Flow .
275 275
276 ep-flow:FlowDuringWeek 276 ep-flow:FlowDuringWeek
277 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 277 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
278 rdfs:label "flow during week"^^xsd:string ; 278 rdfs:label "flow during week"^^xsd:string ;
279 rdfs:subClassOf ep-flow:FlowDuringPeriod . 279 rdfs:subClassOf ep-flow:FlowDuringPeriod .
280 280
281 ep-flow:FlowDuringYear 281 ep-flow:FlowDuringYear
282 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 282 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
283 rdfs:label "flow during year"^^xsd:string ; 283 rdfs:label "flow during year"^^xsd:string ;
284 rdfs:subClassOf ep-flow:FlowDuringPeriod . 284 rdfs:subClassOf ep-flow:FlowDuringPeriod .
285 285
286 ep-flow:FlowDuringYearToDate 286 ep-flow:FlowDuringYearToDate
287 - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; 287 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
288 rdfs:label "flow during year to date"^^xsd:string ; 288 rdfs:label "flow during year to date"^^xsd:string ;
289 rdfs:subClassOf ep-flow:FlowDuringPeriod . 289 rdfs:subClassOf ep-flow:FlowDuringPeriod .
290 290
...@@ -299,47 +299,47 @@ ep-flow:FlowOfLiquid ...@@ -299,47 +299,47 @@ ep-flow:FlowOfLiquid
299 rdfs:subClassOf ep-flow:Flow . 299 rdfs:subClassOf ep-flow:Flow .
300 300
301 ep-flow:ForecastFlow 301 ep-flow:ForecastFlow
302 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 302 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
303 rdfs:label "forecast flow"^^xsd:string ; 303 rdfs:label "forecast flow"^^xsd:string ;
304 rdfs:subClassOf ep-flow:WholeLifeFlow . 304 rdfs:subClassOf ep-flow:WholeLifeFlow .
305 305
306 ep-flow:ForecastFlow-declineCurve 306 ep-flow:ForecastFlow-declineCurve
307 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; 307 + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
308 rdfs:label "forecast flow - decline curve"^^xsd:string ; 308 rdfs:label "forecast flow - decline curve"^^xsd:string ;
309 rdfs:subClassOf ep-flow:ForecastFlow . 309 rdfs:subClassOf ep-flow:ForecastFlow .
310 310
311 ep-flow:ForecastFlow-standard 311 ep-flow:ForecastFlow-standard
312 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; 312 + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
313 rdfs:label "forecast flow - standard"^^xsd:string ; 313 rdfs:label "forecast flow - standard"^^xsd:string ;
314 rdfs:subClassOf ep-flow:ForecastFlow . 314 rdfs:subClassOf ep-flow:ForecastFlow .
315 315
316 ep-flow:ForecastInventory 316 ep-flow:ForecastInventory
317 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 317 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
318 rdfs:label "forecast inventory"^^xsd:string ; 318 rdfs:label "forecast inventory"^^xsd:string ;
319 rdfs:subClassOf ep-flow:WholeLifeInventory . 319 rdfs:subClassOf ep-flow:WholeLifeInventory .
320 320
321 ep-flow:Gaslift 321 ep-flow:Gaslift
322 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 322 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
323 rdfs:label "gas lift"^^xsd:string ; 323 rdfs:label "gas lift"^^xsd:string ;
324 rdfs:subClassOf ep-flow:WholeLifeFlow . 324 rdfs:subClassOf ep-flow:WholeLifeFlow .
325 325
326 ep-flow:GrossProductFlow 326 ep-flow:GrossProductFlow
327 - rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ; 327 + rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ;
328 rdfs:label "gross product flow"^^xsd:string ; 328 rdfs:label "gross product flow"^^xsd:string ;
329 rdfs:subClassOf ep-flow:ProductFlow . 329 rdfs:subClassOf ep-flow:ProductFlow .
330 330
331 ep-flow:HydrocarbonAccounting 331 ep-flow:HydrocarbonAccounting
332 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 332 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
333 rdfs:label "hydrocarbon accounting"^^xsd:string ; 333 rdfs:label "hydrocarbon accounting"^^xsd:string ;
334 rdfs:subClassOf ep-flow:WholeLifeFlow . 334 rdfs:subClassOf ep-flow:WholeLifeFlow .
335 335
336 ep-flow:Import 336 ep-flow:Import
337 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 337 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
338 rdfs:label "import"^^xsd:string ; 338 rdfs:label "import"^^xsd:string ;
339 rdfs:subClassOf ep-flow:WholeLifeFlow . 339 rdfs:subClassOf ep-flow:WholeLifeFlow .
340 340
341 ep-flow:Injection 341 ep-flow:Injection
342 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 342 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
343 rdfs:label "injection"^^xsd:string ; 343 rdfs:label "injection"^^xsd:string ;
344 rdfs:subClassOf ep-flow:WholeLifeFlow . 344 rdfs:subClassOf ep-flow:WholeLifeFlow .
345 345
...@@ -349,67 +349,67 @@ ep-flow:Inventory ...@@ -349,67 +349,67 @@ ep-flow:Inventory
349 rdfs:subClassOf ep-core:PhysicalObject . 349 rdfs:subClassOf ep-core:PhysicalObject .
350 350
351 ep-flow:MassAdjustedFlow 351 ep-flow:MassAdjustedFlow
352 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 352 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
353 rdfs:label "mass adjusted flow"^^xsd:string ; 353 rdfs:label "mass adjusted flow"^^xsd:string ;
354 rdfs:subClassOf ep-flow:WholeLifeFlow . 354 rdfs:subClassOf ep-flow:WholeLifeFlow .
355 355
356 ep-flow:MeasuredFlow 356 ep-flow:MeasuredFlow
357 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 357 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
358 rdfs:label "measured flow"^^xsd:string ; 358 rdfs:label "measured flow"^^xsd:string ;
359 rdfs:subClassOf ep-flow:WholeLifeFlow . 359 rdfs:subClassOf ep-flow:WholeLifeFlow .
360 360
361 ep-flow:MeasuredFlow-fiscal 361 ep-flow:MeasuredFlow-fiscal
362 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; 362 + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
363 rdfs:label "measured flow - fiscal"^^xsd:string ; 363 rdfs:label "measured flow - fiscal"^^xsd:string ;
364 rdfs:subClassOf ep-flow:MeasuredFlow . 364 rdfs:subClassOf ep-flow:MeasuredFlow .
365 365
366 ep-flow:MeasuredFlow-raw 366 ep-flow:MeasuredFlow-raw
367 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; 367 + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
368 rdfs:label "measured flow - raw"^^xsd:string ; 368 rdfs:label "measured flow - raw"^^xsd:string ;
369 rdfs:subClassOf ep-flow:MeasuredFlow . 369 rdfs:subClassOf ep-flow:MeasuredFlow .
370 370
371 ep-flow:MeasuredFlow-recalibrated 371 ep-flow:MeasuredFlow-recalibrated
372 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; 372 + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
373 rdfs:label "measured flow - recalibrated"^^xsd:string ; 373 rdfs:label "measured flow - recalibrated"^^xsd:string ;
374 rdfs:subClassOf ep-flow:MeasuredFlow . 374 rdfs:subClassOf ep-flow:MeasuredFlow .
375 375
376 ep-flow:MeasuredInventory 376 ep-flow:MeasuredInventory
377 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 377 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
378 rdfs:label "measured inventory"^^xsd:string ; 378 rdfs:label "measured inventory"^^xsd:string ;
379 rdfs:subClassOf ep-flow:WholeLifeInventory . 379 rdfs:subClassOf ep-flow:WholeLifeInventory .
380 380
381 ep-flow:MeteredFlowFiscal 381 ep-flow:MeteredFlowFiscal
382 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 382 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
383 rdfs:label "metered flow fiscal"^^xsd:string ; 383 rdfs:label "metered flow fiscal"^^xsd:string ;
384 rdfs:subClassOf ep-flow:WholeLifeFlow . 384 rdfs:subClassOf ep-flow:WholeLifeFlow .
385 385
386 ep-flow:NetProductFlow 386 ep-flow:NetProductFlow
387 - rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ; 387 + rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ;
388 rdfs:label "net product flow"^^xsd:string ; 388 rdfs:label "net product flow"^^xsd:string ;
389 rdfs:subClassOf ep-flow:ProductFlow . 389 rdfs:subClassOf ep-flow:ProductFlow .
390 390
391 ep-flow:NominatedFlow 391 ep-flow:NominatedFlow
392 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 392 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
393 rdfs:label "nominated flow"^^xsd:string ; 393 rdfs:label "nominated flow"^^xsd:string ;
394 rdfs:subClassOf ep-flow:WholeLifeFlow . 394 rdfs:subClassOf ep-flow:WholeLifeFlow .
395 395
396 ep-flow:NominatedInventory 396 ep-flow:NominatedInventory
397 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 397 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
398 rdfs:label "nominated inventory"^^xsd:string ; 398 rdfs:label "nominated inventory"^^xsd:string ;
399 rdfs:subClassOf ep-flow:WholeLifeInventory . 399 rdfs:subClassOf ep-flow:WholeLifeInventory .
400 400
401 ep-flow:Overboard 401 ep-flow:Overboard
402 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 402 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
403 rdfs:label "overboard"^^xsd:string ; 403 rdfs:label "overboard"^^xsd:string ;
404 rdfs:subClassOf ep-flow:WholeLifeFlow . 404 rdfs:subClassOf ep-flow:WholeLifeFlow .
405 405
406 ep-flow:PotentialFlow 406 ep-flow:PotentialFlow
407 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 407 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
408 rdfs:label "potential flow"^^xsd:string ; 408 rdfs:label "potential flow"^^xsd:string ;
409 rdfs:subClassOf ep-flow:WholeLifeFlow . 409 rdfs:subClassOf ep-flow:WholeLifeFlow .
410 410
411 ep-flow:PotentialInventory 411 ep-flow:PotentialInventory
412 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 412 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
413 rdfs:label "potential inventory"^^xsd:string ; 413 rdfs:label "potential inventory"^^xsd:string ;
414 rdfs:subClassOf ep-flow:WholeLifeInventory . 414 rdfs:subClassOf ep-flow:WholeLifeInventory .
415 415
...@@ -424,12 +424,12 @@ ep-flow:PrecipitationType ...@@ -424,12 +424,12 @@ ep-flow:PrecipitationType
424 rdfs:subClassOf owl:Class . 424 rdfs:subClassOf owl:Class .
425 425
426 ep-flow:ProcessedFlow 426 ep-flow:ProcessedFlow
427 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 427 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
428 rdfs:label "processed flow"^^xsd:string ; 428 rdfs:label "processed flow"^^xsd:string ;
429 rdfs:subClassOf ep-flow:WholeLifeFlow . 429 rdfs:subClassOf ep-flow:WholeLifeFlow .
430 430
431 ep-flow:ProcessedInventory 431 ep-flow:ProcessedInventory
432 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 432 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
433 rdfs:label "processed inventory"^^xsd:string ; 433 rdfs:label "processed inventory"^^xsd:string ;
434 rdfs:subClassOf ep-flow:WholeLifeInventory . 434 rdfs:subClassOf ep-flow:WholeLifeInventory .
435 435
...@@ -454,27 +454,27 @@ ep-flow:ProductInventory ...@@ -454,27 +454,27 @@ ep-flow:ProductInventory
454 rdfs:subClassOf ep-flow:Inventory . 454 rdfs:subClassOf ep-flow:Inventory .
455 455
456 ep-flow:ProductInventoryAdjustedClosingBalance 456 ep-flow:ProductInventoryAdjustedClosingBalance
457 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 457 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
458 rdfs:label "product inventory adjusted closing balance"^^xsd:string ; 458 rdfs:label "product inventory adjusted closing balance"^^xsd:string ;
459 rdfs:subClassOf ep-flow:ProductInventory . 459 rdfs:subClassOf ep-flow:ProductInventory .
460 460
461 ep-flow:ProductInventoryClosingBalance 461 ep-flow:ProductInventoryClosingBalance
462 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 462 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
463 rdfs:label "product inventory closing balance"^^xsd:string ; 463 rdfs:label "product inventory closing balance"^^xsd:string ;
464 rdfs:subClassOf ep-flow:ProductInventory . 464 rdfs:subClassOf ep-flow:ProductInventory .
465 465
466 ep-flow:ProductInventoryClosingStorageBalance 466 ep-flow:ProductInventoryClosingStorageBalance
467 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 467 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
468 rdfs:label "product inventory closing storage balance"^^xsd:string ; 468 rdfs:label "product inventory closing storage balance"^^xsd:string ;
469 rdfs:subClassOf ep-flow:ProductInventory . 469 rdfs:subClassOf ep-flow:ProductInventory .
470 470
471 ep-flow:ProductInventoryOpFlex 471 ep-flow:ProductInventoryOpFlex
472 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 472 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
473 rdfs:label "product inventory opFlex"^^xsd:string ; 473 rdfs:label "product inventory opFlex"^^xsd:string ;
474 rdfs:subClassOf ep-flow:ProductInventory . 474 rdfs:subClassOf ep-flow:ProductInventory .
475 475
476 ep-flow:ProductInventoryOpeningBalance 476 ep-flow:ProductInventoryOpeningBalance
477 - rdf:type owl:Class , ep-flow:ProductInventoryType ; 477 + rdf:type ep-flow:ProductInventoryType , owl:Class ;
478 rdfs:label "product inventory opening balance"^^xsd:string ; 478 rdfs:label "product inventory opening balance"^^xsd:string ;
479 rdfs:subClassOf ep-flow:ProductInventory . 479 rdfs:subClassOf ep-flow:ProductInventory .
480 480
...@@ -489,7 +489,7 @@ ep-flow:ProductMaterialType ...@@ -489,7 +489,7 @@ ep-flow:ProductMaterialType
489 rdfs:subClassOf owl:Class . 489 rdfs:subClassOf owl:Class .
490 490
491 ep-flow:Production 491 ep-flow:Production
492 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 492 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
493 rdfs:label "production"^^xsd:string ; 493 rdfs:label "production"^^xsd:string ;
494 rdfs:subClassOf ep-flow:WholeLifeFlow . 494 rdfs:subClassOf ep-flow:WholeLifeFlow .
495 495
...@@ -574,37 +574,37 @@ ep-flow:ProductionTestWellHeadFlow ...@@ -574,37 +574,37 @@ ep-flow:ProductionTestWellHeadFlow
574 rdfs:subClassOf ep-flow:WholeLifeFlow . 574 rdfs:subClassOf ep-flow:WholeLifeFlow .
575 575
576 ep-flow:QuotaFlow 576 ep-flow:QuotaFlow
577 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 577 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
578 rdfs:label "quota flow"^^xsd:string ; 578 rdfs:label "quota flow"^^xsd:string ;
579 rdfs:subClassOf ep-flow:WholeLifeFlow . 579 rdfs:subClassOf ep-flow:WholeLifeFlow .
580 580
581 ep-flow:QuotaInventory 581 ep-flow:QuotaInventory
582 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 582 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
583 rdfs:label "quota inventory"^^xsd:string ; 583 rdfs:label "quota inventory"^^xsd:string ;
584 rdfs:subClassOf ep-flow:WholeLifeInventory . 584 rdfs:subClassOf ep-flow:WholeLifeInventory .
585 585
586 ep-flow:RecommendedFlow 586 ep-flow:RecommendedFlow
587 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 587 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
588 rdfs:label "recommended flow"^^xsd:string ; 588 rdfs:label "recommended flow"^^xsd:string ;
589 rdfs:subClassOf ep-flow:WholeLifeFlow . 589 rdfs:subClassOf ep-flow:WholeLifeFlow .
590 590
591 ep-flow:RecommendedInventory 591 ep-flow:RecommendedInventory
592 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 592 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
593 rdfs:label "recommended inventory"^^xsd:string ; 593 rdfs:label "recommended inventory"^^xsd:string ;
594 rdfs:subClassOf ep-flow:WholeLifeInventory . 594 rdfs:subClassOf ep-flow:WholeLifeInventory .
595 595
596 ep-flow:Sale 596 ep-flow:Sale
597 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 597 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
598 rdfs:label "sale"^^xsd:string ; 598 rdfs:label "sale"^^xsd:string ;
599 rdfs:subClassOf ep-flow:WholeLifeFlow . 599 rdfs:subClassOf ep-flow:WholeLifeFlow .
600 600
601 ep-flow:SaleableFlow 601 ep-flow:SaleableFlow
602 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 602 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
603 rdfs:label "saleable flow"^^xsd:string ; 603 rdfs:label "saleable flow"^^xsd:string ;
604 rdfs:subClassOf ep-flow:WholeLifeFlow . 604 rdfs:subClassOf ep-flow:WholeLifeFlow .
605 605
606 ep-flow:SaleableInventory 606 ep-flow:SaleableInventory
607 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 607 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
608 rdfs:label "saleable inventory"^^xsd:string ; 608 rdfs:label "saleable inventory"^^xsd:string ;
609 rdfs:subClassOf ep-flow:WholeLifeInventory . 609 rdfs:subClassOf ep-flow:WholeLifeInventory .
610 610
...@@ -614,32 +614,32 @@ ep-flow:SampleOfMaterial ...@@ -614,32 +614,32 @@ ep-flow:SampleOfMaterial
614 rdfs:subClassOf ep-material:QuantityOfMaterial . 614 rdfs:subClassOf ep-material:QuantityOfMaterial .
615 615
616 ep-flow:SimulatedFlow 616 ep-flow:SimulatedFlow
617 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 617 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
618 rdfs:label "simulated flow"^^xsd:string ; 618 rdfs:label "simulated flow"^^xsd:string ;
619 rdfs:subClassOf ep-flow:WholeLifeFlow . 619 rdfs:subClassOf ep-flow:WholeLifeFlow .
620 620
621 ep-flow:SimulatedInventory 621 ep-flow:SimulatedInventory
622 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 622 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
623 rdfs:label "simulated inventory"^^xsd:string ; 623 rdfs:label "simulated inventory"^^xsd:string ;
624 rdfs:subClassOf ep-flow:WholeLifeInventory . 624 rdfs:subClassOf ep-flow:WholeLifeInventory .
625 625
626 ep-flow:Storage 626 ep-flow:Storage
627 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 627 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
628 rdfs:label "storage"^^xsd:string ; 628 rdfs:label "storage"^^xsd:string ;
629 rdfs:subClassOf ep-flow:WholeLifeFlow . 629 rdfs:subClassOf ep-flow:WholeLifeFlow .
630 630
631 ep-flow:TargetFlow 631 ep-flow:TargetFlow
632 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 632 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
633 rdfs:label "target flow"^^xsd:string ; 633 rdfs:label "target flow"^^xsd:string ;
634 rdfs:subClassOf ep-flow:WholeLifeFlow . 634 rdfs:subClassOf ep-flow:WholeLifeFlow .
635 635
636 ep-flow:TargetInventory 636 ep-flow:TargetInventory
637 - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; 637 + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
638 rdfs:label "target inventory"^^xsd:string ; 638 rdfs:label "target inventory"^^xsd:string ;
639 rdfs:subClassOf ep-flow:WholeLifeInventory . 639 rdfs:subClassOf ep-flow:WholeLifeInventory .
640 640
641 ep-flow:TariffBasisFlow 641 ep-flow:TariffBasisFlow
642 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 642 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
643 rdfs:label "tariff basis flow"^^xsd:string ; 643 rdfs:label "tariff basis flow"^^xsd:string ;
644 rdfs:subClassOf ep-flow:WholeLifeFlow . 644 rdfs:subClassOf ep-flow:WholeLifeFlow .
645 645
...@@ -654,7 +654,7 @@ ep-flow:TemporalPartOfAFlowDurationType ...@@ -654,7 +654,7 @@ ep-flow:TemporalPartOfAFlowDurationType
654 rdfs:subClassOf owl:Class . 654 rdfs:subClassOf owl:Class .
655 655
656 ep-flow:ValueAdjustedFlow 656 ep-flow:ValueAdjustedFlow
657 - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; 657 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
658 rdfs:label "value adjusted flow"^^xsd:string ; 658 rdfs:label "value adjusted flow"^^xsd:string ;
659 rdfs:subClassOf ep-flow:WholeLifeFlow . 659 rdfs:subClassOf ep-flow:WholeLifeFlow .
660 660
...@@ -671,7 +671,7 @@ ep-flow:WholeLifeInventory ...@@ -671,7 +671,7 @@ ep-flow:WholeLifeInventory
671 ep-flow:WholeLifeProductFlow 671 ep-flow:WholeLifeProductFlow
672 rdf:type owl:Class ; 672 rdf:type owl:Class ;
673 rdfs:label "whole life product flow"^^xsd:string ; 673 rdfs:label "whole life product flow"^^xsd:string ;
674 - rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductFlow . 674 + rdfs:subClassOf ep-flow:ProductFlow , ep-flow:WholeLifeFlow .
675 675
676 ep-flow:WholeLifeProductInventory 676 ep-flow:WholeLifeProductInventory
677 rdf:type owl:Class ; 677 rdf:type owl:Class ;
...@@ -681,7 +681,7 @@ ep-flow:WholeLifeProductInventory ...@@ -681,7 +681,7 @@ ep-flow:WholeLifeProductInventory
681 ep-flow:WholeLifeProductionFlow 681 ep-flow:WholeLifeProductionFlow
682 rdf:type owl:Class ; 682 rdf:type owl:Class ;
683 rdfs:label "whole life production flow"^^xsd:string ; 683 rdfs:label "whole life production flow"^^xsd:string ;
684 - rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductionFlow . 684 + rdfs:subClassOf ep-flow:ProductionFlow , ep-flow:WholeLifeFlow .
685 685
686 ep-flow:WholeLifeProductionFlowNetwork 686 ep-flow:WholeLifeProductionFlowNetwork
687 rdf:type owl:Class ; 687 rdf:type owl:Class ;
...@@ -691,7 +691,7 @@ ep-flow:WholeLifeProductionFlowNetwork ...@@ -691,7 +691,7 @@ ep-flow:WholeLifeProductionFlowNetwork
691 ep-flow:WholeLifeProductionInventory 691 ep-flow:WholeLifeProductionInventory
692 rdf:type owl:Class ; 692 rdf:type owl:Class ;
693 rdfs:label "(whole life) production inventory"^^xsd:string ; 693 rdfs:label "(whole life) production inventory"^^xsd:string ;
694 - rdfs:subClassOf ep-flow:WholeLifeInventory , ep-flow:ProductionInventory . 694 + rdfs:subClassOf ep-flow:ProductionInventory , ep-flow:WholeLifeInventory .
695 695
696 ep-flow:WholeLifeProductionInventoryCollection 696 ep-flow:WholeLifeProductionInventoryCollection
697 rdf:type owl:Class ; 697 rdf:type owl:Class ;
...@@ -704,7 +704,7 @@ ep-flow:Wind ...@@ -704,7 +704,7 @@ ep-flow:Wind
704 rdfs:subClassOf ep-flow:Flow . 704 rdfs:subClassOf ep-flow:Flow .
705 705
706 ep-flow:allocatedTo 706 ep-flow:allocatedTo
707 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 707 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
708 rdfs:comment "facility to which a split of a flow or inventory is allocated"^^xsd:string ; 708 rdfs:comment "facility to which a split of a flow or inventory is allocated"^^xsd:string ;
709 rdfs:domain ep-core:PhysicalObject ; 709 rdfs:domain ep-core:PhysicalObject ;
710 rdfs:label "allocatedTo"^^xsd:string ; 710 rdfs:label "allocatedTo"^^xsd:string ;
...@@ -712,19 +712,19 @@ ep-flow:allocatedTo ...@@ -712,19 +712,19 @@ ep-flow:allocatedTo
712 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf . 712 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
713 713
714 ep-flow:amountOfPrecipitation 714 ep-flow:amountOfPrecipitation
715 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 715 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
716 rdfs:domain ep-flow:Flow ; 716 rdfs:domain ep-flow:Flow ;
717 rdfs:label "amount of precipitation"^^xsd:string ; 717 rdfs:label "amount of precipitation"^^xsd:string ;
718 rdfs:range ep-core:Length . 718 rdfs:range ep-core:Length .
719 719
720 ep-flow:dailyAverageAmountOfMaterial 720 ep-flow:dailyAverageAmountOfMaterial
721 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 721 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
722 rdfs:domain ep-flow:Flow ; 722 rdfs:domain ep-flow:Flow ;
723 rdfs:label "daily average amount of material"^^xsd:string ; 723 rdfs:label "daily average amount of material"^^xsd:string ;
724 rdfs:range ep-flow:ClassOfMaterialWithMassCriterion . 724 rdfs:range ep-flow:ClassOfMaterialWithMassCriterion .
725 725
726 ep-flow:energyContent 726 ep-flow:energyContent
727 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 727 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
728 rdfs:domain ep-material:QuantityOfMaterial ; 728 rdfs:domain ep-material:QuantityOfMaterial ;
729 rdfs:label "energy content"^^xsd:string ; 729 rdfs:label "energy content"^^xsd:string ;
730 rdfs:range ep-core:Work . 730 rdfs:range ep-core:Work .
...@@ -755,6 +755,12 @@ ep-flow:flowMeasuredBy ...@@ -755,6 +755,12 @@ ep-flow:flowMeasuredBy
755 rdfs:label "flow measured by"^^xsd:string ; 755 rdfs:label "flow measured by"^^xsd:string ;
756 rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> . 756 rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
757 757
758 +ep-flow:flowMeasuredOrCalculatedAt
759 + rdf:type owl:ObjectProperty ;
760 + rdfs:domain ep-flow:Flow ;
761 + rdfs:label "flow measured or calculated at"^^xsd:string ;
762 + rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
763 +
758 ep-flow:flowOutOf 764 ep-flow:flowOutOf
759 rdf:type owl:ObjectProperty ; 765 rdf:type owl:ObjectProperty ;
760 rdfs:domain ep-flow:WholeLifeFlow ; 766 rdfs:domain ep-flow:WholeLifeFlow ;
...@@ -763,7 +769,7 @@ ep-flow:flowOutOf ...@@ -763,7 +769,7 @@ ep-flow:flowOutOf
763 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf . 769 rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
764 770
765 ep-flow:grossCalorificValue 771 ep-flow:grossCalorificValue
766 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 772 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
767 rdfs:domain ep-material:QuantityOfMaterial ; 773 rdfs:domain ep-material:QuantityOfMaterial ;
768 rdfs:label "gross calorific value"^^xsd:string ; 774 rdfs:label "gross calorific value"^^xsd:string ;
769 rdfs:range ep-core:EnergyPerVolume . 775 rdfs:range ep-core:EnergyPerVolume .
...@@ -783,34 +789,34 @@ ep-flow:hasNetworkPart ...@@ -783,34 +789,34 @@ ep-flow:hasNetworkPart
783 rdfs:subPropertyOf ep-core:hasPart . 789 rdfs:subPropertyOf ep-core:hasPart .
784 790
785 ep-flow:horizontalDirectionAzimuth 791 ep-flow:horizontalDirectionAzimuth
786 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 792 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
787 rdfs:label "horizontal direction azimuth"^^xsd:string ; 793 rdfs:label "horizontal direction azimuth"^^xsd:string ;
788 rdfs:range ep-core:PlaneAngle . 794 rdfs:range ep-core:PlaneAngle .
789 795
790 ep-flow:materialThatFlows 796 ep-flow:materialThatFlows
791 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 797 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
792 rdfs:domain ep-flow:Flow ; 798 rdfs:domain ep-flow:Flow ;
793 rdfs:label "material that flows"^^xsd:string ; 799 rdfs:label "material that flows"^^xsd:string ;
794 rdfs:range ep-material:QuantityOfMaterial . 800 rdfs:range ep-material:QuantityOfMaterial .
795 801
796 ep-flow:rateOfFlowOfMaterial 802 ep-flow:rateOfFlowOfMaterial
797 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 803 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
798 rdfs:label "rate of flow of material"^^xsd:string ; 804 rdfs:label "rate of flow of material"^^xsd:string ;
799 rdfs:range ep-core:MeasureOfAmountOfMaterial . 805 rdfs:range ep-core:MeasureOfAmountOfMaterial .
800 806
801 ep-flow:summedDailyMass 807 ep-flow:summedDailyMass
802 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 808 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
803 rdfs:domain ep-flow:Inventory ; 809 rdfs:domain ep-flow:Inventory ;
804 rdfs:label "summed daily mass"^^xsd:string ; 810 rdfs:label "summed daily mass"^^xsd:string ;
805 rdfs:range ep-core:Mass . 811 rdfs:range ep-core:Mass .
806 812
807 ep-flow:totalVolumeOfMaterial-deprecated 813 ep-flow:totalVolumeOfMaterial-deprecated
808 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 814 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
809 rdfs:label "total volume of material"^^xsd:string ; 815 rdfs:label "total volume of material"^^xsd:string ;
810 rdfs:range ep-core:MeasureOfAmountOfMaterial . 816 rdfs:range ep-core:MeasureOfAmountOfMaterial .
811 817
812 ep-flow:yearlyAverageAmountOfMaterial 818 ep-flow:yearlyAverageAmountOfMaterial
813 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 819 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
814 rdfs:domain ep-flow:Flow ; 820 rdfs:domain ep-flow:Flow ;
815 rdfs:label "yearly average amount of material"^^xsd:string ; 821 rdfs:label "yearly average amount of material"^^xsd:string ;
816 rdfs:range ep-flow:ClassOfMaterialWithMassCriterion . 822 rdfs:range ep-flow:ClassOfMaterialWithMassCriterion .
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 23
24 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> 24 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib>
25 rdf:type owl:Ontology ; 25 rdf:type owl:Ontology ;
26 - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ; 26 + owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
27 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 27 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
28 28
29 ep-mpr-spin-lib:Function 29 ep-mpr-spin-lib:Function
...@@ -4051,7 +4051,7 @@ ep-mpr-spin-lib:selectProductionFlowDefinitionSubType ...@@ -4051,7 +4051,7 @@ ep-mpr-spin-lib:selectProductionFlowDefinitionSubType
4051 sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_standard> 4051 sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_standard>
4052 ] ; 4052 ] ;
4053 sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ForecastFlow-standard> ; 4053 sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ForecastFlow-standard> ;
4054 - sp:arg3 <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> 4054 + sp:arg3 <http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
4055 ] 4055 ]
4056 ] 4056 ]
4057 ] 4057 ]
...@@ -4191,7 +4191,7 @@ ep-mpr-spin-lib:selectProductionFlowDefinitionType ...@@ -4191,7 +4191,7 @@ ep-mpr-spin-lib:selectProductionFlowDefinitionType
4191 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_massadjusted> 4191 sp:arg2 <http://www.epim.no/schemas/mprml/1#FQ_massadjusted>
4192 ] ; 4192 ] ;
4193 sp:arg2 <http://www.reportinghub.no/ep/schema/flow#MassAdjustedFlow> ; 4193 sp:arg2 <http://www.reportinghub.no/ep/schema/flow#MassAdjustedFlow> ;
4194 - sp:arg3 <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> 4194 + sp:arg3 <http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
4195 ] 4195 ]
4196 ] 4196 ]
4197 ] 4197 ]
...@@ -4432,8 +4432,8 @@ ep-mpr-spin-lib:selectProductionFlowPurposeType ...@@ -4432,8 +4432,8 @@ ep-mpr-spin-lib:selectProductionFlowPurposeType
4432 sp:arg1 spin:_arg1 ; 4432 sp:arg1 spin:_arg1 ;
4433 sp:arg2 <http://www.epim.no/schemas/mprml/1#ReportingFlow_RF_unknown> 4433 sp:arg2 <http://www.epim.no/schemas/mprml/1#ReportingFlow_RF_unknown>
4434 ] ; 4434 ] ;
4435 - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#WholeLifeFlow> ; 4435 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
4436 - sp:arg3 <http://www.reportinghub.no/ep/schema/flow#WholeLifeFlow> 4436 + sp:arg3 <http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
4437 ] 4437 ]
4438 ] 4438 ]
4439 ] 4439 ]
......
...@@ -21,63 +21,58 @@ ...@@ -21,63 +21,58 @@
21 <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> 21 <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct>
22 spin:rule 22 spin:rule
23 [ rdf:type sp:Construct ; 23 [ rdf:type sp:Construct ;
24 - rdfs:comment """STEP 00008 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an OperatingCompany 24 + rdfs:comment """STEP 00007 Record the Facility that has the flows - kind is \"terminal\" - assumed to be a SurfaceFixedFacility
25 Nothing is done with the namingSystem!"""^^xsd:string ; 25 Nothing is done with the namingSystem!"""^^xsd:string ;
26 sp:templates ([ sp:object spin:_this ; 26 sp:templates ([ sp:object spin:_this ;
27 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 27 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
28 sp:subject 28 sp:subject
29 - [ sp:varName "company"^^xsd:string 29 + [ sp:varName "terminal"^^xsd:string
30 ] 30 ]
31 ] [ sp:object 31 ] [ sp:object
32 - [ sp:varName "companyLabel"^^xsd:string 32 + [ sp:varName "terminalLabel"^^xsd:string
33 ] ; 33 ] ;
34 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; 34 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
35 sp:subject spin:_this 35 sp:subject spin:_this
36 ]) ; 36 ]) ;
37 - sp:where ([ rdf:type sp:Union ; 37 + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
38 - sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
39 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
40 - sp:subject spin:_this
41 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
42 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 38 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
43 sp:subject spin:_this 39 sp:subject spin:_this
44 - ]))
45 ] [ sp:object 40 ] [ sp:object
46 - [ sp:varName "companyName"^^xsd:string 41 + [ sp:varName "terminalName"^^xsd:string
47 ] ; 42 ] ;
48 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 43 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
49 sp:subject spin:_this 44 sp:subject spin:_this
50 ] [ rdf:type sp:NamedGraph ; 45 ] [ rdf:type sp:NamedGraph ;
51 - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; 46 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ;
52 sp:predicate rdf:type ; 47 sp:predicate rdf:type ;
53 sp:subject 48 sp:subject
54 - [ sp:varName "company"^^xsd:string 49 + [ sp:varName "terminal"^^xsd:string
55 ] 50 ]
56 ] [ sp:object 51 ] [ sp:object
57 - [ sp:varName "companyName"^^xsd:string 52 + [ sp:varName "terminalName"^^xsd:string
58 ] ; 53 ] ;
59 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 54 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
60 sp:subject 55 sp:subject
61 - [ sp:varName "company"^^xsd:string 56 + [ sp:varName "terminal"^^xsd:string
62 ] 57 ]
63 ] [ sp:object 58 ] [ sp:object
64 - [ sp:varName "companyId"^^xsd:string 59 + [ sp:varName "terminalId"^^xsd:string
65 ] ; 60 ] ;
66 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; 61 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
67 sp:subject 62 sp:subject
68 - [ sp:varName "company"^^xsd:string 63 + [ sp:varName "terminal"^^xsd:string
69 ] 64 ]
70 ]) ; 65 ]) ;
71 sp:graphNameNode <http://www.reportinghub.no/np/data/npd> 66 sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
72 ] [ rdf:type sp:Bind ; 67 ] [ rdf:type sp:Bind ;
73 sp:expression 68 sp:expression
74 [ rdf:type fn:concat ; 69 [ rdf:type fn:concat ;
75 - sp:arg1 "company-" ; 70 + sp:arg1 "terminal-" ;
76 - sp:arg2 [ sp:varName "companyId"^^xsd:string 71 + sp:arg2 [ sp:varName "terminalId"^^xsd:string
77 ] 72 ]
78 ] ; 73 ] ;
79 sp:variable 74 sp:variable
80 - [ sp:varName "companyLabel"^^xsd:string 75 + [ sp:varName "terminalLabel"^^xsd:string
81 ] 76 ]
82 ]) 77 ])
83 ] ; 78 ] ;
...@@ -140,190 +135,120 @@ Nothing is done with the namingSystem!"""^^xsd:string ; ...@@ -140,190 +135,120 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
140 ] ; 135 ] ;
141 spin:rule 136 spin:rule
142 [ rdf:type sp:Construct ; 137 [ rdf:type sp:Construct ;
143 - rdfs:comment """STEP 00001 Record the Facility that has the flows - kind is \"field\", etc. 138 + rdfs:comment """STEP 00010 Record the Facility that has the flows - kind is \"licence\"
144 Nothing is done with the namingSystem!"""^^xsd:string ; 139 Nothing is done with the namingSystem!"""^^xsd:string ;
145 sp:templates ([ sp:object spin:_this ; 140 sp:templates ([ sp:object spin:_this ;
146 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 141 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
147 sp:subject 142 sp:subject
148 - [ sp:varName "field"^^xsd:string 143 + [ sp:varName "licence"^^xsd:string
149 ] 144 ]
150 ] [ sp:object 145 ] [ sp:object
151 - [ sp:varName "fieldLabel"^^xsd:string 146 + [ sp:varName "licenceLabel"^^xsd:string
152 ] ; 147 ] ;
153 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; 148 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
154 sp:subject spin:_this 149 sp:subject spin:_this
155 ]) ; 150 ]) ;
156 - sp:where ([ rdf:type sp:Union ; 151 + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_licence> ;
157 - sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
158 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
159 - sp:subject spin:_this
160 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-part> ;
161 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
162 - sp:subject spin:_this
163 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-group> ;
164 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
165 - sp:subject spin:_this
166 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-area> ;
167 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 152 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
168 sp:subject spin:_this 153 sp:subject spin:_this
169 - ]))
170 ] [ sp:object 154 ] [ sp:object
171 - [ sp:varName "fieldName"^^xsd:string 155 + [ sp:varName "licenceName"^^xsd:string
172 ] ; 156 ] ;
173 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 157 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
174 sp:subject spin:_this 158 sp:subject spin:_this
175 ] [ rdf:type sp:NamedGraph ; 159 ] [ rdf:type sp:NamedGraph ;
176 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; 160 + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#Licence> ;
177 sp:predicate rdf:type ; 161 sp:predicate rdf:type ;
178 sp:subject 162 sp:subject
179 - [ sp:varName "field"^^xsd:string 163 + [ sp:varName "licence"^^xsd:string
180 ] 164 ]
181 ] [ sp:object 165 ] [ sp:object
182 - [ sp:varName "fieldName"^^xsd:string 166 + [ sp:varName "licenceName"^^xsd:string
183 ] ; 167 ] ;
184 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 168 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
185 sp:subject 169 sp:subject
186 - [ sp:varName "field"^^xsd:string 170 + [ sp:varName "licence"^^xsd:string
187 ] 171 ]
188 ] [ sp:object 172 ] [ sp:object
189 - [ sp:varName "fieldId"^^xsd:string 173 + [ sp:varName "licenceId"^^xsd:string
190 ] ; 174 ] ;
191 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; 175 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
192 sp:subject 176 sp:subject
193 - [ sp:varName "field"^^xsd:string 177 + [ sp:varName "livence"^^xsd:string
194 ] 178 ]
195 ]) ; 179 ]) ;
196 sp:graphNameNode <http://www.reportinghub.no/np/data/npd> 180 sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
197 ] [ rdf:type sp:Bind ; 181 ] [ rdf:type sp:Bind ;
198 sp:expression 182 sp:expression
199 [ rdf:type fn:concat ; 183 [ rdf:type fn:concat ;
200 - sp:arg1 "field-" ; 184 + sp:arg1 "licence-" ;
201 - sp:arg2 [ sp:varName "fieldId"^^xsd:string 185 + sp:arg2 [ sp:varName "licenceId"^^xsd:string
202 ] 186 ]
203 ] ; 187 ] ;
204 sp:variable 188 sp:variable
205 - [ sp:varName "fieldLabel"^^xsd:string 189 + [ sp:varName "licenceLabel"^^xsd:string
206 ] 190 ]
207 ]) 191 ])
208 ] ; 192 ] ;
209 spin:rule 193 spin:rule
210 [ rdf:type sp:Construct ; 194 [ rdf:type sp:Construct ;
211 - rdfs:comment """STEP 00011 Record the Facility that has the flows - not in the NPD Fact Pages - already in the file 195 + rdfs:comment """STEP 00008 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an OperatingCompany
212 -Naming system supplied"""^^xsd:string ; 196 +Nothing is done with the namingSystem!"""^^xsd:string ;
213 sp:templates ([ sp:object spin:_this ; 197 sp:templates ([ sp:object spin:_this ;
214 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 198 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
215 sp:subject 199 sp:subject
216 - [ sp:varName "facility"^^xsd:string 200 + [ sp:varName "company"^^xsd:string
217 ] 201 ]
218 ] [ sp:object 202 ] [ sp:object
219 - [ sp:varName "facilityLabel"^^xsd:string 203 + [ sp:varName "companyLabel"^^xsd:string
220 ] ; 204 ] ;
221 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; 205 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
222 sp:subject spin:_this 206 sp:subject spin:_this
223 ]) ; 207 ]) ;
224 - sp:where ([ rdf:type sp:Optional ; 208 + sp:where ([ rdf:type sp:Union ;
225 - sp:elements ([ sp:object 209 + sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
226 - [ sp:varName "facilityKind"^^xsd:string
227 - ] ;
228 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 210 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
229 sp:subject spin:_this 211 sp:subject spin:_this
230 - ]) 212 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
231 - ] [ sp:object 213 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
232 - [ sp:varName "facilityName"^^xsd:string
233 - ] ;
234 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
235 sp:subject spin:_this 214 sp:subject spin:_this
215 + ]))
236 ] [ sp:object 216 ] [ sp:object
237 - [ sp:varName "namingSystem"^^xsd:string 217 + [ sp:varName "companyName"^^xsd:string
238 ] ; 218 ] ;
239 - sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; 219 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
240 sp:subject spin:_this 220 sp:subject spin:_this
241 - ] [ rdf:type sp:NotExists ; 221 + ] [ rdf:type sp:NamedGraph ;
242 - sp:elements ([ sp:object spin:_this ; 222 + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
243 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 223 + sp:predicate rdf:type ;
244 sp:subject 224 sp:subject
245 - [ sp:varName "something"^^xsd:string 225 + [ sp:varName "company"^^xsd:string
246 - ]
247 - ])
248 - ] [ rdf:type sp:Bind ;
249 - sp:expression
250 - [ rdf:type ep-mpr-spin-lib:selectReportingFacilityType ;
251 - sp:arg1 [ sp:varName "facilityKind"^^xsd:string
252 - ]
253 - ] ;
254 - sp:variable
255 - [ sp:varName "reportingFacilityType"^^xsd:string
256 - ]
257 - ] [ rdf:type sp:Bind ;
258 - sp:expression
259 - [ rdf:type fn:concat ;
260 - sp:arg1 [ sp:varName "namingSystem"^^xsd:string
261 - ] ;
262 - sp:arg2 "$" ;
263 - sp:arg3 [ sp:varName "facilityName"^^xsd:string
264 - ]
265 - ] ;
266 - sp:variable
267 - [ sp:varName "facilityNameWithContext"^^xsd:string
268 - ]
269 - ] [ rdf:type sp:Bind ;
270 - sp:expression
271 - [ rdf:type fn:concat ;
272 - sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
273 - sp:arg1 [ sp:varName "namingSystem"^^xsd:string
274 - ]
275 - ] ;
276 - sp:arg2 "-" ;
277 - sp:arg3 [ rdf:type ep-spin-lib:normalizeString ;
278 - sp:arg1 [ sp:varName "facilityName"^^xsd:string
279 - ]
280 - ]
281 - ] ;
282 - sp:variable
283 - [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string
284 ] 226 ]
285 - ] [ rdf:type sp:Bind ; 227 + ] [ sp:object
286 - sp:expression 228 + [ sp:varName "companyName"^^xsd:string
287 - [ rdf:type ep-spin-lib:normalizeString ;
288 - sp:arg1 [ rdf:type spl:object ;
289 - sp:arg1 [ sp:varName "reportingFacilityType"^^xsd:string
290 ] ; 229 ] ;
291 - sp:arg2 rdfs:label 230 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
231 + sp:subject
232 + [ sp:varName "company"^^xsd:string
292 ] 233 ]
234 + ] [ sp:object
235 + [ sp:varName "companyId"^^xsd:string
293 ] ; 236 ] ;
294 - sp:variable 237 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
295 - [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string 238 + sp:subject
239 + [ sp:varName "company"^^xsd:string
296 ] 240 ]
241 + ]) ;
242 + sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
297 ] [ rdf:type sp:Bind ; 243 ] [ rdf:type sp:Bind ;
298 sp:expression 244 sp:expression
299 [ rdf:type fn:concat ; 245 [ rdf:type fn:concat ;
300 - sp:arg1 [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string 246 + sp:arg1 "company-" ;
301 - ] ; 247 + sp:arg2 [ sp:varName "companyId"^^xsd:string
302 - sp:arg2 "-" ;
303 - sp:arg3 [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string
304 ] 248 ]
305 ] ; 249 ] ;
306 sp:variable 250 sp:variable
307 - [ sp:varName "facilityLabel"^^xsd:string 251 + [ sp:varName "companyLabel"^^xsd:string
308 - ]
309 - ] [ sp:object
310 - [ sp:varName "aFacilityIdentifierStructure"^^xsd:string
311 - ] ;
312 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
313 - sp:subject
314 - [ sp:varName "facility"^^xsd:string
315 - ]
316 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> ;
317 - sp:predicate rdf:type ;
318 - sp:subject
319 - [ sp:varName "aFacilityIdentifierStructure"^^xsd:string
320 - ]
321 - ] [ sp:object
322 - [ sp:varName "facilityLabel"^^xsd:string
323 - ] ;
324 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
325 - sp:subject
326 - [ sp:varName "aFacilityIdentifierStructure"^^xsd:string
327 ] 252 ]
328 ]) 253 ])
329 ] ; 254 ] ;
...@@ -386,50 +311,49 @@ Nothing is done with the namingSystem!"""^^xsd:string ; ...@@ -386,50 +311,49 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
386 ] ; 311 ] ;
387 spin:rule 312 spin:rule
388 [ rdf:type sp:Construct ; 313 [ rdf:type sp:Construct ;
389 - rdfs:comment """STEP 00014 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file 314 + rdfs:comment """STEP 00011 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file - a terminal
390 -Naming system not supplied 315 +Naming system supplied"""^^xsd:string ;
391 -now anonymous - BIND (ep-dpr-spin-lib:buildSmallFacilityURI(\"\", ?facilityName) AS ?facility) ."""^^xsd:string ;
392 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ; 316 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
393 sp:predicate rdf:type ; 317 sp:predicate rdf:type ;
394 - sp:subject _:b1 318 + sp:subject
395 - ] [ sp:object 319 + [ sp:varName "terminal"^^xsd:string
396 - [ sp:varName "reportingFacilityType"^^xsd:string 320 + ]
397 - ] ; 321 + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Terminal> ;
398 sp:predicate rdf:type ; 322 sp:predicate rdf:type ;
399 - sp:subject _:b1 323 + sp:subject
324 + [ sp:varName "terminal"^^xsd:string
325 + ]
400 ] [ sp:object 326 ] [ sp:object
401 - [ sp:varName "facilityName"^^xsd:string 327 + [ sp:varName "facilityNameWithContext"^^xsd:string
402 ] ; 328 ] ;
403 sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 329 sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
404 - sp:subject _:b1 330 + sp:subject
331 + [ sp:varName "terminal"^^xsd:string
332 + ]
405 ] [ sp:object spin:_this ; 333 ] [ sp:object spin:_this ;
406 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 334 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
407 - sp:subject _:b1 335 + sp:subject
336 + [ sp:varName "terminal"^^xsd:string
337 + ]
408 ] [ sp:object 338 ] [ sp:object
409 [ sp:varName "facilityLabel"^^xsd:string 339 [ sp:varName "facilityLabel"^^xsd:string
410 ] ; 340 ] ;
411 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; 341 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
412 sp:subject spin:_this 342 sp:subject spin:_this
413 ]) ; 343 ]) ;
414 - sp:where ([ rdf:type sp:Optional ; 344 + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
415 - sp:elements ([ sp:object
416 - [ sp:varName "facilityKind"^^xsd:string
417 - ] ;
418 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 345 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
419 sp:subject spin:_this 346 sp:subject spin:_this
420 - ])
421 ] [ sp:object 347 ] [ sp:object
422 [ sp:varName "facilityName"^^xsd:string 348 [ sp:varName "facilityName"^^xsd:string
423 ] ; 349 ] ;
424 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 350 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
425 sp:subject spin:_this 351 sp:subject spin:_this
426 - ] [ rdf:type sp:NotExists ; 352 + ] [ sp:object
427 - sp:elements ([ sp:object
428 [ sp:varName "namingSystem"^^xsd:string 353 [ sp:varName "namingSystem"^^xsd:string
429 ] ; 354 ] ;
430 sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; 355 sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
431 sp:subject spin:_this 356 sp:subject spin:_this
432 - ])
433 ] [ rdf:type sp:NotExists ; 357 ] [ rdf:type sp:NotExists ;
434 sp:elements ([ sp:object spin:_this ; 358 sp:elements ([ sp:object spin:_this ;
435 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 359 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
...@@ -439,39 +363,141 @@ now anonymous - BIND (ep-dpr-spin-lib:buildSmallFacilityURI(\"\", ?facilityName) ...@@ -439,39 +363,141 @@ now anonymous - BIND (ep-dpr-spin-lib:buildSmallFacilityURI(\"\", ?facilityName)
439 ]) 363 ])
440 ] [ rdf:type sp:Bind ; 364 ] [ rdf:type sp:Bind ;
441 sp:expression 365 sp:expression
442 - [ rdf:type ep-mpr-spin-lib:selectReportingFacilityType ; 366 + [ rdf:type fn:concat ;
443 - sp:arg1 [ sp:varName "facilityKind"^^xsd:string 367 + sp:arg1 [ sp:varName "namingSystem"^^xsd:string
368 + ] ;
369 + sp:arg2 "$" ;
370 + sp:arg3 [ sp:varName "facilityName"^^xsd:string
444 ] 371 ]
445 ] ; 372 ] ;
446 sp:variable 373 sp:variable
447 - [ sp:varName "reportingFacilityType"^^xsd:string 374 + [ sp:varName "facilityNameWithContext"^^xsd:string
448 ] 375 ]
449 ] [ rdf:type sp:Bind ; 376 ] [ rdf:type sp:Bind ;
450 sp:expression 377 sp:expression
451 - [ rdf:type ep-spin-lib:normalizeString ; 378 + [ rdf:type fn:concat ;
379 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
380 + sp:arg1 [ sp:varName "namingSystem"^^xsd:string
381 + ]
382 + ] ;
383 + sp:arg2 "-" ;
384 + sp:arg3 [ rdf:type ep-spin-lib:normalizeString ;
452 sp:arg1 [ sp:varName "facilityName"^^xsd:string 385 sp:arg1 [ sp:varName "facilityName"^^xsd:string
453 ] 386 ]
387 + ]
454 ] ; 388 ] ;
455 sp:variable 389 sp:variable
456 - [ sp:varName "normalizedfacilityName"^^xsd:string 390 + [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string
457 ] 391 ]
458 ] [ rdf:type sp:Bind ; 392 ] [ rdf:type sp:Bind ;
459 sp:expression 393 sp:expression
460 - [ rdf:type ep-spin-lib:normalizeString ; 394 + [ rdf:type ep-dpr-spin-lib:buildTerminalURI ;
461 - sp:arg1 [ rdf:type spl:object ; 395 + sp:arg1 [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string
462 - sp:arg1 [ sp:varName "reportingFacilityType"^^xsd:string
463 - ] ;
464 - sp:arg2 rdfs:label
465 ] 396 ]
466 ] ; 397 ] ;
467 sp:variable 398 sp:variable
468 - [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string 399 + [ sp:varName "terminal"^^xsd:string
469 ] 400 ]
470 ] [ rdf:type sp:Bind ; 401 ] [ rdf:type sp:Bind ;
471 sp:expression 402 sp:expression
472 [ rdf:type fn:concat ; 403 [ rdf:type fn:concat ;
473 - sp:arg1 [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string 404 + sp:arg1 "terminal-" ;
474 - ] ; 405 + sp:arg2 [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string
406 + ]
407 + ] ;
408 + sp:variable
409 + [ sp:varName "facilityLabel"^^xsd:string
410 + ]
411 + ])
412 + ] ;
413 + spin:rule
414 + [ rdf:type sp:Construct ;
415 + rdfs:comment """STEP 00012d Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file
416 +Naming system not supplied
417 +now anonymous - BIND (ep-dpr-spin-lib:buildSmallFacilityURI(\"\", ?facilityName) AS ?facility) ."""^^xsd:string ;
418 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
419 + sp:predicate rdf:type ;
420 + sp:subject _:b1
421 + ] [ sp:object
422 + [ sp:varName "reportingFacilityType"^^xsd:string
423 + ] ;
424 + sp:predicate rdf:type ;
425 + sp:subject _:b1
426 + ] [ sp:object
427 + [ sp:varName "facilityName"^^xsd:string
428 + ] ;
429 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
430 + sp:subject _:b1
431 + ] [ sp:object spin:_this ;
432 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
433 + sp:subject _:b1
434 + ] [ sp:object
435 + [ sp:varName "facilityLabel"^^xsd:string
436 + ] ;
437 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
438 + sp:subject spin:_this
439 + ]) ;
440 + sp:where ([ rdf:type sp:Optional ;
441 + sp:elements ([ sp:object
442 + [ sp:varName "facilityKind"^^xsd:string
443 + ] ;
444 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
445 + sp:subject spin:_this
446 + ])
447 + ] [ sp:object
448 + [ sp:varName "facilityName"^^xsd:string
449 + ] ;
450 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
451 + sp:subject spin:_this
452 + ] [ rdf:type sp:NotExists ;
453 + sp:elements ([ sp:object
454 + [ sp:varName "namingSystem"^^xsd:string
455 + ] ;
456 + sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
457 + sp:subject spin:_this
458 + ])
459 + ] [ rdf:type sp:NotExists ;
460 + sp:elements ([ sp:object spin:_this ;
461 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
462 + sp:subject
463 + [ sp:varName "something"^^xsd:string
464 + ]
465 + ])
466 + ] [ rdf:type sp:Bind ;
467 + sp:expression
468 + [ rdf:type ep-mpr-spin-lib:selectReportingFacilityType ;
469 + sp:arg1 [ sp:varName "facilityKind"^^xsd:string
470 + ]
471 + ] ;
472 + sp:variable
473 + [ sp:varName "reportingFacilityType"^^xsd:string
474 + ]
475 + ] [ rdf:type sp:Bind ;
476 + sp:expression
477 + [ rdf:type ep-spin-lib:normalizeString ;
478 + sp:arg1 [ sp:varName "facilityName"^^xsd:string
479 + ]
480 + ] ;
481 + sp:variable
482 + [ sp:varName "normalizedfacilityName"^^xsd:string
483 + ]
484 + ] [ rdf:type sp:Bind ;
485 + sp:expression
486 + [ rdf:type ep-spin-lib:normalizeString ;
487 + sp:arg1 [ rdf:type spl:object ;
488 + sp:arg1 [ sp:varName "reportingFacilityType"^^xsd:string
489 + ] ;
490 + sp:arg2 rdfs:label
491 + ]
492 + ] ;
493 + sp:variable
494 + [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string
495 + ]
496 + ] [ rdf:type sp:Bind ;
497 + sp:expression
498 + [ rdf:type fn:concat ;
499 + sp:arg1 [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string
500 + ] ;
475 sp:arg2 "-" ; 501 sp:arg2 "-" ;
476 sp:arg3 [ sp:varName "normalizedFacilityName"^^xsd:string 502 sp:arg3 [ sp:varName "normalizedFacilityName"^^xsd:string
477 ] 503 ]
...@@ -545,8 +571,8 @@ Nothing is done with the namingSystem!"""^^xsd:string ; ...@@ -545,8 +571,8 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
545 ] ; 571 ] ;
546 spin:rule 572 spin:rule
547 [ rdf:type sp:Construct ; 573 [ rdf:type sp:Construct ;
548 - rdfs:comment """STEP 00011a Record the Facility that has the flows - not in the NPD Fact Pages - already in the file 574 + rdfs:comment """STEP 00012a Record the Facility that has the flows - not in the NPD Fact Pages - already in the file
549 -Naming system not supplied"""^^xsd:string ; 575 +Naming system supplied"""^^xsd:string ;
550 sp:templates ([ sp:object spin:_this ; 576 sp:templates ([ sp:object spin:_this ;
551 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 577 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
552 sp:subject 578 sp:subject
...@@ -570,13 +596,11 @@ Naming system not supplied"""^^xsd:string ; ...@@ -570,13 +596,11 @@ Naming system not supplied"""^^xsd:string ;
570 ] ; 596 ] ;
571 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 597 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
572 sp:subject spin:_this 598 sp:subject spin:_this
573 - ] [ rdf:type sp:NotExists ; 599 + ] [ sp:object
574 - sp:elements ([ sp:object
575 [ sp:varName "namingSystem"^^xsd:string 600 [ sp:varName "namingSystem"^^xsd:string
576 ] ; 601 ] ;
577 sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; 602 sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
578 sp:subject spin:_this 603 sp:subject spin:_this
579 - ])
580 ] [ rdf:type sp:NotExists ; 604 ] [ rdf:type sp:NotExists ;
581 sp:elements ([ sp:object spin:_this ; 605 sp:elements ([ sp:object spin:_this ;
582 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 606 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
...@@ -595,12 +619,31 @@ Naming system not supplied"""^^xsd:string ; ...@@ -595,12 +619,31 @@ Naming system not supplied"""^^xsd:string ;
595 ] 619 ]
596 ] [ rdf:type sp:Bind ; 620 ] [ rdf:type sp:Bind ;
597 sp:expression 621 sp:expression
598 - [ rdf:type ep-spin-lib:normalizeString ; 622 + [ rdf:type fn:concat ;
623 + sp:arg1 [ sp:varName "namingSystem"^^xsd:string
624 + ] ;
625 + sp:arg2 "$" ;
626 + sp:arg3 [ sp:varName "facilityName"^^xsd:string
627 + ]
628 + ] ;
629 + sp:variable
630 + [ sp:varName "facilityNameWithContext"^^xsd:string
631 + ]
632 + ] [ rdf:type sp:Bind ;
633 + sp:expression
634 + [ rdf:type fn:concat ;
635 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
636 + sp:arg1 [ sp:varName "namingSystem"^^xsd:string
637 + ]
638 + ] ;
639 + sp:arg2 "-" ;
640 + sp:arg3 [ rdf:type ep-spin-lib:normalizeString ;
599 sp:arg1 [ sp:varName "facilityName"^^xsd:string 641 sp:arg1 [ sp:varName "facilityName"^^xsd:string
600 ] 642 ]
643 + ]
601 ] ; 644 ] ;
602 sp:variable 645 sp:variable
603 - [ sp:varName "normalizedfacilityName"^^xsd:string 646 + [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string
604 ] 647 ]
605 ] [ rdf:type sp:Bind ; 648 ] [ rdf:type sp:Bind ;
606 sp:expression 649 sp:expression
...@@ -620,7 +663,7 @@ Naming system not supplied"""^^xsd:string ; ...@@ -620,7 +663,7 @@ Naming system not supplied"""^^xsd:string ;
620 sp:arg1 [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string 663 sp:arg1 [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string
621 ] ; 664 ] ;
622 sp:arg2 "-" ; 665 sp:arg2 "-" ;
623 - sp:arg3 [ sp:varName "normalizedFacilityName"^^xsd:string 666 + sp:arg3 [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string
624 ] 667 ]
625 ] ; 668 ] ;
626 sp:variable 669 sp:variable
...@@ -649,29 +692,220 @@ Naming system not supplied"""^^xsd:string ; ...@@ -649,29 +692,220 @@ Naming system not supplied"""^^xsd:string ;
649 ] ; 692 ] ;
650 spin:rule 693 spin:rule
651 [ rdf:type sp:Construct ; 694 [ rdf:type sp:Construct ;
652 - rdfs:comment """STEP 00012 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file - a terminal 695 + rdfs:comment """STEP 00001 Record the Facility that has the flows - kind is \"field\", etc.
653 -Naming system supplied"""^^xsd:string ; 696 +Nothing is done with the namingSystem!"""^^xsd:string ;
654 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ; 697 + sp:templates ([ sp:object spin:_this ;
698 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
699 + sp:subject
700 + [ sp:varName "field"^^xsd:string
701 + ]
702 + ] [ sp:object
703 + [ sp:varName "fieldLabel"^^xsd:string
704 + ] ;
705 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
706 + sp:subject spin:_this
707 + ]) ;
708 + sp:where ([ rdf:type sp:Union ;
709 + sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
710 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
711 + sp:subject spin:_this
712 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-part> ;
713 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
714 + sp:subject spin:_this
715 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-group> ;
716 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
717 + sp:subject spin:_this
718 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-area> ;
719 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
720 + sp:subject spin:_this
721 + ]))
722 + ] [ sp:object
723 + [ sp:varName "fieldName"^^xsd:string
724 + ] ;
725 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
726 + sp:subject spin:_this
727 + ] [ rdf:type sp:NamedGraph ;
728 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
655 sp:predicate rdf:type ; 729 sp:predicate rdf:type ;
656 sp:subject 730 sp:subject
657 - [ sp:varName "terminal"^^xsd:string 731 + [ sp:varName "field"^^xsd:string
658 ] 732 ]
659 - ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Terminal> ; 733 + ] [ sp:object
734 + [ sp:varName "fieldName"^^xsd:string
735 + ] ;
736 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
737 + sp:subject
738 + [ sp:varName "field"^^xsd:string
739 + ]
740 + ] [ sp:object
741 + [ sp:varName "fieldId"^^xsd:string
742 + ] ;
743 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
744 + sp:subject
745 + [ sp:varName "field"^^xsd:string
746 + ]
747 + ]) ;
748 + sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
749 + ] [ rdf:type sp:Bind ;
750 + sp:expression
751 + [ rdf:type fn:concat ;
752 + sp:arg1 "field-" ;
753 + sp:arg2 [ sp:varName "fieldId"^^xsd:string
754 + ]
755 + ] ;
756 + sp:variable
757 + [ sp:varName "fieldLabel"^^xsd:string
758 + ]
759 + ])
760 + ] ;
761 + spin:rule
762 + [ rdf:type sp:Construct ;
763 + rdfs:comment """STEP 00002 Record the Facility that has the flows - kind is \"wellbore\"
764 +Nothing is done with the namingSystem!"""^^xsd:string ;
765 + sp:templates ([ sp:object spin:_this ;
766 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
767 + sp:subject
768 + [ sp:varName "wellBore"^^xsd:string
769 + ]
770 + ] [ sp:object
771 + [ sp:varName "wellBoreLabel"^^xsd:string
772 + ] ;
773 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
774 + sp:subject spin:_this
775 + ]) ;
776 + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
777 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
778 + sp:subject spin:_this
779 + ] [ sp:object
780 + [ sp:varName "wellBoreName"^^xsd:string
781 + ] ;
782 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
783 + sp:subject spin:_this
784 + ] [ rdf:type sp:NamedGraph ;
785 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
660 sp:predicate rdf:type ; 786 sp:predicate rdf:type ;
661 sp:subject 787 sp:subject
662 - [ sp:varName "terminal"^^xsd:string 788 + [ sp:varName "wellBore"^^xsd:string
663 ] 789 ]
664 ] [ sp:object 790 ] [ sp:object
665 - [ sp:varName "facilityName"^^xsd:string 791 + [ sp:varName "wellBoreName"^^xsd:string
666 ] ; 792 ] ;
667 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 793 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
668 sp:subject 794 sp:subject
669 - [ sp:varName "terminal"^^xsd:string 795 + [ sp:varName "wellBore"^^xsd:string
670 ] 796 ]
671 - ] [ sp:object spin:_this ; 797 + ] [ sp:object
798 + [ sp:varName "wellBoreId"^^xsd:string
799 + ] ;
800 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
801 + sp:subject
802 + [ sp:varName "wellBore"^^xsd:string
803 + ]
804 + ]) ;
805 + sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
806 + ] [ rdf:type sp:Bind ;
807 + sp:expression
808 + [ rdf:type fn:concat ;
809 + sp:arg1 "wellbore-" ;
810 + sp:arg2 [ sp:varName "wellBoreId"^^xsd:string
811 + ]
812 + ] ;
813 + sp:variable
814 + [ sp:varName "wellBoreLabel"^^xsd:string
815 + ]
816 + ])
817 + ] ;
818 + spin:rule
819 + [ rdf:type sp:Construct ;
820 + rdfs:comment """STEP 00006 Record the Facility that has the flows - kind is \"terminal\", \"pipeline\", \"flowline\", \"installation\", etc.
821 +Nothing is done with the namingSystem!"""^^xsd:string ;
822 + sp:templates ([ sp:object spin:_this ;
672 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 823 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
673 sp:subject 824 sp:subject
674 - [ sp:varName "terminal"^^xsd:string 825 + [ sp:varName "tuf"^^xsd:string
826 + ]
827 + ] [ sp:object
828 + [ sp:varName "tufLabel"^^xsd:string
829 + ] ;
830 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
831 + sp:subject spin:_this
832 + ]) ;
833 + sp:where ([ rdf:type sp:Union ;
834 + sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
835 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
836 + sp:subject spin:_this
837 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_pipeline> ;
838 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
839 + sp:subject spin:_this
840 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_flowline> ;
841 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
842 + sp:subject spin:_this
843 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_installation> ;
844 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
845 + sp:subject spin:_this
846 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_plant> ;
847 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
848 + sp:subject spin:_this
849 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_processingfacility> ;
850 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
851 + sp:subject spin:_this
852 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_trunkline> ;
853 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
854 + sp:subject spin:_this
855 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_storage> ;
856 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
857 + sp:subject spin:_this
858 + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_plant-processing> ;
859 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
860 + sp:subject spin:_this
861 + ]))
862 + ] [ sp:object
863 + [ sp:varName "tufName"^^xsd:string
864 + ] ;
865 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
866 + sp:subject spin:_this
867 + ] [ rdf:type sp:NamedGraph ;
868 + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#TUF> ;
869 + sp:predicate rdf:type ;
870 + sp:subject
871 + [ sp:varName "tuf"^^xsd:string
872 + ]
873 + ] [ sp:object
874 + [ sp:varName "tufName"^^xsd:string
875 + ] ;
876 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
877 + sp:subject
878 + [ sp:varName "tuf"^^xsd:string
879 + ]
880 + ] [ sp:object
881 + [ sp:varName "tufId"^^xsd:string
882 + ] ;
883 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
884 + sp:subject
885 + [ sp:varName "tuf"^^xsd:string
886 + ]
887 + ]) ;
888 + sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
889 + ] [ rdf:type sp:Bind ;
890 + sp:expression
891 + [ rdf:type fn:concat ;
892 + sp:arg1 "tuf-" ;
893 + sp:arg2 [ sp:varName "tufId"^^xsd:string
894 + ]
895 + ] ;
896 + sp:variable
897 + [ sp:varName "tufLabel"^^xsd:string
898 + ]
899 + ])
900 + ] ;
901 + spin:rule
902 + [ rdf:type sp:Construct ;
903 + rdfs:comment """STEP 00012b Record the Facility that has the flows - not in the NPD Fact Pages - already in the file
904 +Naming system not supplied"""^^xsd:string ;
905 + sp:templates ([ sp:object spin:_this ;
906 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
907 + sp:subject
908 + [ sp:varName "facility"^^xsd:string
675 ] 909 ]
676 ] [ sp:object 910 ] [ sp:object
677 [ sp:varName "facilityLabel"^^xsd:string 911 [ sp:varName "facilityLabel"^^xsd:string
...@@ -679,19 +913,25 @@ Naming system supplied"""^^xsd:string ; ...@@ -679,19 +913,25 @@ Naming system supplied"""^^xsd:string ;
679 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; 913 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
680 sp:subject spin:_this 914 sp:subject spin:_this
681 ]) ; 915 ]) ;
682 - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ; 916 + sp:where ([ rdf:type sp:Optional ;
917 + sp:elements ([ sp:object
918 + [ sp:varName "facilityKind"^^xsd:string
919 + ] ;
683 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 920 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
684 sp:subject spin:_this 921 sp:subject spin:_this
922 + ])
685 ] [ sp:object 923 ] [ sp:object
686 [ sp:varName "facilityName"^^xsd:string 924 [ sp:varName "facilityName"^^xsd:string
687 ] ; 925 ] ;
688 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 926 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
689 sp:subject spin:_this 927 sp:subject spin:_this
690 - ] [ sp:object 928 + ] [ rdf:type sp:NotExists ;
929 + sp:elements ([ sp:object
691 [ sp:varName "namingSystem"^^xsd:string 930 [ sp:varName "namingSystem"^^xsd:string
692 ] ; 931 ] ;
693 sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; 932 sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
694 sp:subject spin:_this 933 sp:subject spin:_this
934 + ])
695 ] [ rdf:type sp:NotExists ; 935 ] [ rdf:type sp:NotExists ;
696 sp:elements ([ sp:object spin:_this ; 936 sp:elements ([ sp:object spin:_this ;
697 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 937 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
...@@ -701,51 +941,65 @@ Naming system supplied"""^^xsd:string ; ...@@ -701,51 +941,65 @@ Naming system supplied"""^^xsd:string ;
701 ]) 941 ])
702 ] [ rdf:type sp:Bind ; 942 ] [ rdf:type sp:Bind ;
703 sp:expression 943 sp:expression
704 - [ rdf:type fn:concat ; 944 + [ rdf:type ep-mpr-spin-lib:selectReportingFacilityType ;
705 - sp:arg1 [ sp:varName "namingSystem"^^xsd:string 945 + sp:arg1 [ sp:varName "facilityKind"^^xsd:string
706 - ] ;
707 - sp:arg2 "$" ;
708 - sp:arg3 [ sp:varName "facilityName"^^xsd:string
709 ] 946 ]
710 ] ; 947 ] ;
711 sp:variable 948 sp:variable
712 - [ sp:varName "facilityNameWithContext"^^xsd:string 949 + [ sp:varName "reportingFacilityType"^^xsd:string
713 ] 950 ]
714 ] [ rdf:type sp:Bind ; 951 ] [ rdf:type sp:Bind ;
715 sp:expression 952 sp:expression
716 - [ rdf:type fn:concat ; 953 + [ rdf:type ep-spin-lib:normalizeString ;
717 - sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
718 - sp:arg1 [ sp:varName "namingSystem"^^xsd:string
719 - ]
720 - ] ;
721 - sp:arg2 "-" ;
722 - sp:arg3 [ rdf:type ep-spin-lib:normalizeString ;
723 sp:arg1 [ sp:varName "facilityName"^^xsd:string 954 sp:arg1 [ sp:varName "facilityName"^^xsd:string
724 ] 955 ]
725 - ]
726 ] ; 956 ] ;
727 sp:variable 957 sp:variable
728 - [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string 958 + [ sp:varName "normalizedfacilityName"^^xsd:string
729 ] 959 ]
730 ] [ rdf:type sp:Bind ; 960 ] [ rdf:type sp:Bind ;
731 sp:expression 961 sp:expression
732 - [ rdf:type ep-dpr-spin-lib:buildTerminalURI ; 962 + [ rdf:type ep-spin-lib:normalizeString ;
733 - sp:arg1 [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string 963 + sp:arg1 [ rdf:type spl:object ;
964 + sp:arg1 [ sp:varName "reportingFacilityType"^^xsd:string
965 + ] ;
966 + sp:arg2 rdfs:label
734 ] 967 ]
735 ] ; 968 ] ;
736 sp:variable 969 sp:variable
737 - [ sp:varName "terminal"^^xsd:string 970 + [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string
738 ] 971 ]
739 ] [ rdf:type sp:Bind ; 972 ] [ rdf:type sp:Bind ;
740 sp:expression 973 sp:expression
741 [ rdf:type fn:concat ; 974 [ rdf:type fn:concat ;
742 - sp:arg1 "terminal-" ; 975 + sp:arg1 [ sp:varName "normalizedReportingFacilityTypeLabel"^^xsd:string
743 - sp:arg2 [ sp:varName "normalizedFacilityNameWithContext"^^xsd:string 976 + ] ;
977 + sp:arg2 "-" ;
978 + sp:arg3 [ sp:varName "normalizedFacilityName"^^xsd:string
744 ] 979 ]
745 ] ; 980 ] ;
746 sp:variable 981 sp:variable
747 [ sp:varName "facilityLabel"^^xsd:string 982 [ sp:varName "facilityLabel"^^xsd:string
748 ] 983 ]
984 + ] [ sp:object
985 + [ sp:varName "aFacilityIdentifierStructure"^^xsd:string
986 + ] ;
987 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
988 + sp:subject
989 + [ sp:varName "facility"^^xsd:string
990 + ]
991 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> ;
992 + sp:predicate rdf:type ;
993 + sp:subject
994 + [ sp:varName "aFacilityIdentifierStructure"^^xsd:string
995 + ]
996 + ] [ sp:object
997 + [ sp:varName "facilityLabel"^^xsd:string
998 + ] ;
999 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
1000 + sp:subject
1001 + [ sp:varName "aFacilityIdentifierStructure"^^xsd:string
1002 + ]
749 ]) 1003 ])
750 ] ; 1004 ] ;
751 spin:rule 1005 spin:rule
...@@ -807,64 +1061,7 @@ Nothing is done with the namingSystem!"""^^xsd:string ; ...@@ -807,64 +1061,7 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
807 ] ; 1061 ] ;
808 spin:rule 1062 spin:rule
809 [ rdf:type sp:Construct ; 1063 [ rdf:type sp:Construct ;
810 - rdfs:comment """STEP 00010 Record the Facility that has the flows - kind is \"licence\" 1064 + rdfs:comment """STEP 00011a Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file - a terminal
811 -Nothing is done with the namingSystem!"""^^xsd:string ;
812 - sp:templates ([ sp:object spin:_this ;
813 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
814 - sp:subject
815 - [ sp:varName "licence"^^xsd:string
816 - ]
817 - ] [ sp:object
818 - [ sp:varName "licenceLabel"^^xsd:string
819 - ] ;
820 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
821 - sp:subject spin:_this
822 - ]) ;
823 - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_licence> ;
824 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
825 - sp:subject spin:_this
826 - ] [ sp:object
827 - [ sp:varName "licenceName"^^xsd:string
828 - ] ;
829 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
830 - sp:subject spin:_this
831 - ] [ rdf:type sp:NamedGraph ;
832 - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#Licence> ;
833 - sp:predicate rdf:type ;
834 - sp:subject
835 - [ sp:varName "licence"^^xsd:string
836 - ]
837 - ] [ sp:object
838 - [ sp:varName "licenceName"^^xsd:string
839 - ] ;
840 - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
841 - sp:subject
842 - [ sp:varName "licence"^^xsd:string
843 - ]
844 - ] [ sp:object
845 - [ sp:varName "licenceId"^^xsd:string
846 - ] ;
847 - sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
848 - sp:subject
849 - [ sp:varName "livence"^^xsd:string
850 - ]
851 - ]) ;
852 - sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
853 - ] [ rdf:type sp:Bind ;
854 - sp:expression
855 - [ rdf:type fn:concat ;
856 - sp:arg1 "licence-" ;
857 - sp:arg2 [ sp:varName "licenceId"^^xsd:string
858 - ]
859 - ] ;
860 - sp:variable
861 - [ sp:varName "licenceLabel"^^xsd:string
862 - ]
863 - ])
864 - ] ;
865 - spin:rule
866 - [ rdf:type sp:Construct ;
867 - rdfs:comment """STEP 00012a Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file - a terminal
868 Naming system not supplied"""^^xsd:string ; 1065 Naming system not supplied"""^^xsd:string ;
869 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ; 1066 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
870 sp:predicate rdf:type ; 1067 sp:predicate rdf:type ;
...@@ -948,147 +1145,7 @@ Naming system not supplied"""^^xsd:string ; ...@@ -948,147 +1145,7 @@ Naming system not supplied"""^^xsd:string ;
948 ] ; 1145 ] ;
949 spin:rule 1146 spin:rule
950 [ rdf:type sp:Construct ; 1147 [ rdf:type sp:Construct ;
951 - rdfs:comment """STEP 00007 Record the Facility that has the flows - kind is \"terminal\" - assumed to be a SurfaceFixedFacility 1148 + rdfs:comment """STEP 00012c Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file
952 -Nothing is done with the namingSystem!"""^^xsd:string ;
953 - sp:templates ([ sp:object spin:_this ;
954 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
955 - sp:subject
956 - [ sp:varName "terminal"^^xsd:string
957 - ]
958 - ] [ sp:object
959 - [ sp:varName "terminalLabel"^^xsd:string
960 - ] ;
961 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
962 - sp:subject spin:_this
963 - ]) ;
964 - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
965 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
966 - sp:subject spin:_this
967 - ] [ sp:object
968 - [ sp:varName "terminalName"^^xsd:string
969 - ] ;
970 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
971 - sp:subject spin:_this
972 - ] [ rdf:type sp:NamedGraph ;
973 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ;
974 - sp:predicate rdf:type ;
975 - sp:subject
976 - [ sp:varName "terminal"^^xsd:string
977 - ]
978 - ] [ sp:object
979 - [ sp:varName "terminalName"^^xsd:string
980 - ] ;
981 - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
982 - sp:subject
983 - [ sp:varName "terminal"^^xsd:string
984 - ]
985 - ] [ sp:object
986 - [ sp:varName "terminalId"^^xsd:string
987 - ] ;
988 - sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
989 - sp:subject
990 - [ sp:varName "terminal"^^xsd:string
991 - ]
992 - ]) ;
993 - sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
994 - ] [ rdf:type sp:Bind ;
995 - sp:expression
996 - [ rdf:type fn:concat ;
997 - sp:arg1 "terminal-" ;
998 - sp:arg2 [ sp:varName "terminalId"^^xsd:string
999 - ]
1000 - ] ;
1001 - sp:variable
1002 - [ sp:varName "terminalLabel"^^xsd:string
1003 - ]
1004 - ])
1005 - ] ;
1006 - spin:rule
1007 - [ rdf:type sp:Construct ;
1008 - rdfs:comment """STEP 00006 Record the Facility that has the flows - kind is \"terminal\", \"pipeline\", \"flowline\", \"installation\", etc.
1009 -Nothing is done with the namingSystem!"""^^xsd:string ;
1010 - sp:templates ([ sp:object spin:_this ;
1011 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
1012 - sp:subject
1013 - [ sp:varName "tuf"^^xsd:string
1014 - ]
1015 - ] [ sp:object
1016 - [ sp:varName "tufLabel"^^xsd:string
1017 - ] ;
1018 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
1019 - sp:subject spin:_this
1020 - ]) ;
1021 - sp:where ([ rdf:type sp:Union ;
1022 - sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
1023 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1024 - sp:subject spin:_this
1025 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_pipeline> ;
1026 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1027 - sp:subject spin:_this
1028 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_flowline> ;
1029 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1030 - sp:subject spin:_this
1031 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_installation> ;
1032 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1033 - sp:subject spin:_this
1034 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_plant> ;
1035 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1036 - sp:subject spin:_this
1037 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_processingfacility> ;
1038 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1039 - sp:subject spin:_this
1040 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_trunkline> ;
1041 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1042 - sp:subject spin:_this
1043 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_storage> ;
1044 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1045 - sp:subject spin:_this
1046 - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_plant-processing> ;
1047 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1048 - sp:subject spin:_this
1049 - ]))
1050 - ] [ sp:object
1051 - [ sp:varName "tufName"^^xsd:string
1052 - ] ;
1053 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1054 - sp:subject spin:_this
1055 - ] [ rdf:type sp:NamedGraph ;
1056 - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#TUF> ;
1057 - sp:predicate rdf:type ;
1058 - sp:subject
1059 - [ sp:varName "tuf"^^xsd:string
1060 - ]
1061 - ] [ sp:object
1062 - [ sp:varName "tufName"^^xsd:string
1063 - ] ;
1064 - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
1065 - sp:subject
1066 - [ sp:varName "tuf"^^xsd:string
1067 - ]
1068 - ] [ sp:object
1069 - [ sp:varName "tufId"^^xsd:string
1070 - ] ;
1071 - sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
1072 - sp:subject
1073 - [ sp:varName "tuf"^^xsd:string
1074 - ]
1075 - ]) ;
1076 - sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
1077 - ] [ rdf:type sp:Bind ;
1078 - sp:expression
1079 - [ rdf:type fn:concat ;
1080 - sp:arg1 "tuf-" ;
1081 - sp:arg2 [ sp:varName "tufId"^^xsd:string
1082 - ]
1083 - ] ;
1084 - sp:variable
1085 - [ sp:varName "tufLabel"^^xsd:string
1086 - ]
1087 - ])
1088 - ] ;
1089 - spin:rule
1090 - [ rdf:type sp:Construct ;
1091 - rdfs:comment """STEP 00013 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file
1092 Naming system supplied 1149 Naming system supplied
1093 now anonymous - BIND (ep-dpr-spin-lib:buildSmallFacilityURI(?namingSystem, ?facilityName) AS ?facility) . 1150 now anonymous - BIND (ep-dpr-spin-lib:buildSmallFacilityURI(?namingSystem, ?facilityName) AS ?facility) .
1094 now context not in name"""^^xsd:string ; 1151 now context not in name"""^^xsd:string ;
...@@ -1101,7 +1158,7 @@ now context not in name"""^^xsd:string ; ...@@ -1101,7 +1158,7 @@ now context not in name"""^^xsd:string ;
1101 sp:predicate rdf:type ; 1158 sp:predicate rdf:type ;
1102 sp:subject _:b2 1159 sp:subject _:b2
1103 ] [ sp:object 1160 ] [ sp:object
1104 - [ sp:varName "facilityName"^^xsd:string 1161 + [ sp:varName "facilityNameWithContext"^^xsd:string
1105 ] ; 1162 ] ;
1106 sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 1163 sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
1107 sp:subject _:b2 1164 sp:subject _:b2
...@@ -1200,66 +1257,9 @@ now context not in name"""^^xsd:string ; ...@@ -1200,66 +1257,9 @@ now context not in name"""^^xsd:string ;
1200 [ sp:varName "facilityLabel"^^xsd:string 1257 [ sp:varName "facilityLabel"^^xsd:string
1201 ] 1258 ]
1202 ]) 1259 ])
1203 - ] ;
1204 - spin:rule
1205 - [ rdf:type sp:Construct ;
1206 - rdfs:comment """STEP 00002 Record the Facility that has the flows - kind is \"wellbore\"
1207 -Nothing is done with the namingSystem!"""^^xsd:string ;
1208 - sp:templates ([ sp:object spin:_this ;
1209 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
1210 - sp:subject
1211 - [ sp:varName "wellBore"^^xsd:string
1212 - ]
1213 - ] [ sp:object
1214 - [ sp:varName "wellBoreLabel"^^xsd:string
1215 - ] ;
1216 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ;
1217 - sp:subject spin:_this
1218 - ]) ;
1219 - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
1220 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
1221 - sp:subject spin:_this
1222 - ] [ sp:object
1223 - [ sp:varName "wellBoreName"^^xsd:string
1224 - ] ;
1225 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1226 - sp:subject spin:_this
1227 - ] [ rdf:type sp:NamedGraph ;
1228 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
1229 - sp:predicate rdf:type ;
1230 - sp:subject
1231 - [ sp:varName "wellBore"^^xsd:string
1232 - ]
1233 - ] [ sp:object
1234 - [ sp:varName "wellBoreName"^^xsd:string
1235 - ] ;
1236 - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
1237 - sp:subject
1238 - [ sp:varName "wellBore"^^xsd:string
1239 - ]
1240 - ] [ sp:object
1241 - [ sp:varName "wellBoreId"^^xsd:string
1242 - ] ;
1243 - sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
1244 - sp:subject
1245 - [ sp:varName "wellBore"^^xsd:string
1246 - ]
1247 - ]) ;
1248 - sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
1249 - ] [ rdf:type sp:Bind ;
1250 - sp:expression
1251 - [ rdf:type fn:concat ;
1252 - sp:arg1 "wellbore-" ;
1253 - sp:arg2 [ sp:varName "wellBoreId"^^xsd:string
1254 - ]
1255 - ] ;
1256 - sp:variable
1257 - [ sp:varName "wellBoreLabel"^^xsd:string
1258 - ]
1259 - ])
1260 ] . 1260 ] .
1261 1261
1262 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> 1262 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1>
1263 rdf:type owl:Ontology ; 1263 rdf:type owl:Ontology ;
1264 - owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; 1264 + owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
1265 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 1265 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
...@@ -169,7 +169,7 @@ log:processingTime ...@@ -169,7 +169,7 @@ log:processingTime
169 rdf:type owl:DatatypeProperty ; 169 rdf:type owl:DatatypeProperty ;
170 rdfs:comment "Number of milliseconds that a request took."^^xsd:string ; 170 rdfs:comment "Number of milliseconds that a request took."^^xsd:string ;
171 rdfs:domain log:ReportEvent ; 171 rdfs:domain log:ReportEvent ;
172 - rdfs:label "processing time"^^xsd:string ; 172 + rdfs:label "processing time (ms)"^^xsd:string ;
173 rdfs:range xsd:integer ; 173 rdfs:range xsd:integer ;
174 . 174 .
175 log:reportType 175 log:reportType
......
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<objects xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 + xmlns="http://www.epim.no/schemas/mprml/1" version="1.0(MPRML)">
4 + <documentInfo>
5 + <DocumentName namingSystem="EC">TRYM February 2012</DocumentName>
6 + <DocumentAlias namingSystem="EC">TRYM Copex Report</DocumentAlias>
7 + <DocumentDate>2012-03-04T00:00:00.0Z</DocumentDate>
8 + <documentClass namingSystem="EC">Dong E&amp;P Norge AS</documentClass>
9 + <documentClass namingSystem="EC">DPR 2.0</documentClass>
10 + <documentClass namingSystem="ERH">dpr2</documentClass>
11 + <FileCreationInformation>
12 +
13 + <FileCreationDate>2012-03-14T00:00:00.0Z</FileCreationDate>
14 +
15 + <SoftwareName>Energy Components</SoftwareName>
16 + <FileCreator>Dong E&amp;P Norge AS</FileCreator>
17 + <Comment>NA</Comment>
18 + </FileCreationInformation>
19 + <Owner>Dong E&amp;P Norge AS</Owner>
20 + </documentInfo>
21 + <context xsi:type="obj_report">
22 + <kind>DPR 2.0</kind>
23 + <title>OSELVAR</title>
24 + <date>2012-02-28</date>
25 + <dateEnd>2012-02-28</dateEnd>
26 + <month>2012-02</month>
27 + <year>2012</year>
28 + <reportVersion>1.2</reportVersion>
29 + <reportStatus>final</reportStatus>
30 + <installation kind="field" namingSystem="NPD">OSELVAR</installation>
31 + <operator>
32 + <name>Dong E&amp;P Norge AS</name>
33 + <role>Operating company</role>
34 + </operator>
35 + </context>
36 + <object xsi:type="obj_productVolume">
37 + <name>OSELVAR</name>
38 + <installation kind="field" namingSystem="NPD">OSELVAR</installation>
39 + <standardTempPres>0 degC 1 atm</standardTempPres>
40 + <facility>
41 + <name kind="tank" namingSystem="DONG" uidRef="NaN">TK0420</name>
42 + <flow>
43 + <name>OSL MEG TANK1 CONS MEAS CHEM</name>
44 + <kind>consume</kind>
45 + <qualifier>measured</qualifier>
46 + <version>2012-02-28T21:00:00.0Z</version>
47 + <versionSource>version src 726</versionSource>
48 + <gor uom="Euc">55.81</gor>
49 + <gorMTD uom="m3/m3">95.86</gorMTD>
50 + <waterConcMass uom="%">99.52</waterConcMass>
51 + <waterConcVol uom="ppm">27.17</waterConcVol>
52 + <atmosphere uom="Pa">41.37</atmosphere>
53 + <volumeValue>
54 + <volume status="comm failure" uom="m3">339.12</volume>
55 + <grossCalorificValue uom="J/m3">987.06</grossCalorificValue>
56 + <temp uom="K">66.34</temp>
57 + <pres uom="Pa">58.84</pres>
58 + </volumeValue>
59 + <volume status="bad calibration" uom="m3">95.52</volume>
60 + <volumeStd status="bad calibration" uom="m3">40.08</volumeStd>
61 + <flowRate status="bad calibration" uom="m3/s">82.26</flowRate>
62 + <product>
63 + <kind>oil - gross</kind>
64 + <name namingSystem="TEST484">Test product name 791</name>
65 + <splitFactor>0.29</splitFactor>
66 + <gor uom="Euc">43.79</gor>
67 + <gorMTD uom="m3/m3">38.14</gorMTD>
68 + <waterConcMass uom="%">46.18</waterConcMass>
69 + <waterConcVol uom="ppm">39.2</waterConcVol>
70 + <atmosphere uom="Pa">79.21</atmosphere>
71 + <volumeValue>
72 + <volume status="comm failure" uom="m3">915.72</volume>
73 + <grossCalorificValue uom="J/m3">244.95</grossCalorificValue>
74 + <temp uom="K">68.94</temp>
75 + <pres uom="Pa">33.34</pres>
76 + </volumeValue>
77 + <volume status="bad calibration" uom="m3">23.78</volume>
78 + <volumeStd status="bad calibration" uom="m3">77.03</volumeStd>
79 + <flowRate status="bad calibration" uom="m3/s">46.36</flowRate>
80 + <temp uom="K">13.23</temp>
81 + <pres uom="Pa">34.92</pres>
82 + <absoluteMinPres uom="Pa">36.61</absoluteMinPres>
83 + <portDiff uid="f69e9f51-12d9-11e2-b954-d067e534860e">
84 + <port uidRef="f69e9f52-12d9-11e2-b96d-d067e534860e">Port 1</port>
85 + <presDiff uom="Pa">29.48</presDiff>
86 + <tempDiff uom="K">35.77</tempDiff>
87 + <chokeSize uom="in/32">65.85</chokeSize>
88 + <chokeRelative uom="%">65.02</chokeRelative>
89 + </portDiff>
90 + <portDiff uid="f69e9f53-12d9-11e2-b64e-d067e534860e">
91 + <port uidRef="f69e9f54-12d9-11e2-bbea-d067e534860e">Port 2</port>
92 + <presDiff uom="Pa">54.02</presDiff>
93 + <tempDiff uom="K">99.07</tempDiff>
94 + <chokeSize uom="in/32">64.92</chokeSize>
95 + <chokeRelative uom="%">60.85</chokeRelative>
96 + </portDiff>
97 + <mass uom="kg">195.62</mass>
98 + <work uom="MJ">728.23</work>
99 + <efficiency uom="%">23.73</efficiency>
100 + <rvp uom="Pa">150.85</rvp>
101 + <tvp uom="bar">772.75</tvp>
102 + <bsw uom="%">39.02</bsw>
103 + <bswPrevious uom="m3/m3">34.27</bswPrevious>
104 + <densityValue>
105 + <density uom="kg/m3">552.48</density>
106 + <temp uom="K">39.99</temp>
107 + <pres uom="Pa">26.03</pres>
108 + </densityValue>
109 + <density uom="kg/m3">378.88</density>
110 + <densityFlowRate uom="Mg/a">496.24</densityFlowRate>
111 + <densityStd uom="kg/m3">300.14</densityStd>
112 + <concentration uom="ppm">28.08</concentration>
113 + <molecularWeight>90.61</molecularWeight>
114 + <weightPercent uom="%">65.51</weightPercent>
115 + <molePercent uom="%">57.58</molePercent>
116 + <moleAmt uom="kmol">16.98</moleAmt>
117 + <sg uom="Euc">18.21</sg>
118 + <hcDewpoint uom="K">261.68</hcDewpoint>
119 + <waterDewpoint uom="K">664.2</waterDewpoint>
120 + <wobbeIndex uom="J/m3">635.05</wobbeIndex>
121 + <grossCalorificValueStd uom="J/m3">976.34</grossCalorificValueStd>
122 + <rvpStabilizedCrude uom="Pa">931.43</rvpStabilizedCrude>
123 + <bswStabilizedCrude uom="Euc">596.37</bswStabilizedCrude>
124 + <densityStabilizedCrude uom="kg/m3">678.95</densityStabilizedCrude>
125 + <componentContent uid="f69e9f55-12d9-11e2-bda3-d067e534860e">
126 + <kind>oil - net</kind>
127 + <referenceKind>vapor</referenceKind>
128 + <gor uom="Euc">64.75</gor>
129 + <gorMTD uom="m3/m3">70.72</gorMTD>
130 + <waterConcMass uom="%">31.95</waterConcMass>
131 + <waterConcVol uom="ppm">88.44</waterConcVol>
132 + <atmosphere uom="Pa">87.8</atmosphere>
133 + <volumeValue>
134 + <volume status="questionable" uom="m3">758.79</volume>
135 + <grossCalorificValue uom="J/m3">743.79</grossCalorificValue>
136 + <temp uom="K">28.91</temp>
137 + <pres uom="Pa">37.78</pres>
138 + </volumeValue>
139 + <volume status="bad calibration" uom="m3">27.49</volume>
140 + <volumeStd status="bad calibration" uom="m3">16.75</volumeStd>
141 + <flowRate status="bad calibration" uom="m3/s">44.69</flowRate>
142 + <temp uom="K">23.86</temp>
143 + <pres uom="Pa">42.98</pres>
144 + <absoluteMinPres uom="Pa">13.58</absoluteMinPres>
145 + <portDiff uid="f69ec661-12d9-11e2-a856-d067e534860e">
146 + <port uidRef="f69ec662-12d9-11e2-ba09-d067e534860e">Port 1</port>
147 + <presDiff uom="Pa">68.14</presDiff>
148 + <tempDiff uom="K">30.85</tempDiff>
149 + <chokeSize uom="in/32">19.01</chokeSize>
150 + <chokeRelative uom="%">35.48</chokeRelative>
151 + </portDiff>
152 + <portDiff uid="f69ec663-12d9-11e2-896f-d067e534860e">
153 + <port uidRef="f69ec664-12d9-11e2-9f42-d067e534860e">Port 2</port>
154 + <presDiff uom="Pa">38.84</presDiff>
155 + <tempDiff uom="K">51.72</tempDiff>
156 + <chokeSize uom="in/32">56.47</chokeSize>
157 + <chokeRelative uom="%">53.79</chokeRelative>
158 + </portDiff>
159 + <mass uom="kg">349.36</mass>
160 + <work uom="MJ">235.95</work>
161 + <efficiency uom="%">62.82</efficiency>
162 + <rvp uom="Pa">975.21</rvp>
163 + <tvp uom="bar">878.48</tvp>
164 + <bsw uom="%">26.81</bsw>
165 + <bswPrevious uom="m3/m3">35.68</bswPrevious>
166 + <densityValue>
167 + <density uom="kg/m3">74.09</density>
168 + <temp uom="K">83.37</temp>
169 + <pres uom="Pa">15.41</pres>
170 + </densityValue>
171 + <density uom="kg/m3">414.68</density>
172 + <densityFlowRate uom="Mg/a">621.95</densityFlowRate>
173 + <densityStd uom="kg/m3">618.24</densityStd>
174 + <concentration uom="ppm">25.04</concentration>
175 + <molecularWeight>92.78</molecularWeight>
176 + <weightPercent uom="%">42.47</weightPercent>
177 + <molePercent uom="%">64.66</molePercent>
178 + <moleAmt uom="kmol">98.37</moleAmt>
179 + <sg uom="Euc">77.2</sg>
180 + <hcDewpoint uom="K">84.09</hcDewpoint>
181 + <waterDewpoint uom="K">576.56</waterDewpoint>
182 + <wobbeIndex uom="J/m3">568.53</wobbeIndex>
183 + <grossCalorificValueStd uom="J/m3">925.43</grossCalorificValueStd>
184 + <rvpStabilizedCrude uom="Pa">324.93</rvpStabilizedCrude>
185 + <bswStabilizedCrude uom="Euc">268.91</bswStabilizedCrude>
186 + <densityStabilizedCrude uom="kg/m3">703.27</densityStabilizedCrude>
187 + </componentContent>
188 + <period>
189 + <kind>day</kind>
190 + <dateStart>2012-02-28</dateStart>
191 + <dateEnd>2012-02-28</dateEnd>
192 + <gor uom="Euc">91.18</gor>
193 + <gorMTD uom="m3/m3">50.18</gorMTD>
194 + <waterConcMass uom="%">18.4</waterConcMass>
195 + <waterConcVol uom="ppm">99.56</waterConcVol>
196 + <atmosphere uom="Pa">82.72</atmosphere>
197 + <volumeValue>
198 +
199 + <volume uom="m3">1844.83</volume><temp uom="degC">15</temp>
200 + <pres uom="atm">1</pres>
201 + </volumeValue>
202 + <volume status="bad calibration" uom="m3">21.98</volume>
203 + <volumeStd status="bad calibration" uom="m3">83.58</volumeStd>
204 + <flowRate status="bad calibration" uom="m3/s">44.68</flowRate>
205 + <temp uom="K">62.0</temp>
206 + <pres uom="Pa">57.99</pres>
207 + <absoluteMinPres uom="Pa">98.21</absoluteMinPres>
208 +
209 + <mass uom="kg">900.4</mass>
210 + <work uom="J">510.98</work>
211 + <efficiency uom="%">56.43</efficiency>
212 + <rvp uom="Pa">942.18</rvp>
213 + <tvp uom="bar">171.81</tvp>
214 + <bsw uom="%">21.04</bsw>
215 + <bswPrevious uom="m3/m3">76.96</bswPrevious>
216 + <densityValue>
217 +
218 + <density uom="kg/m3">701.36</density>
219 + <temp uom="degC">15</temp>
220 + <pres uom="atm">1</pres>
221 + </densityValue>
222 + <density uom="kg/m3">329.8</density>
223 + <densityFlowRate uom="Mg/a">466.61</densityFlowRate>
224 + <densityStd uom="kg/m3">139.14</densityStd>
225 + <concentration uom="ppm">28.48</concentration>
226 + <molecularWeight>84.1</molecularWeight>
227 + <weightPercent uom="%">90.22</weightPercent>
228 + <molePercent uom="%">19.83</molePercent>
229 + <moleAmt uom="kmol">30.7</moleAmt>
230 + <sg uom="Euc">60.02</sg>
231 + <hcDewpoint uom="K">143.79</hcDewpoint>
232 + <waterDewpoint uom="K">551.42</waterDewpoint>
233 + <wobbeIndex uom="J/m3">327.48</wobbeIndex>
234 + <grossCalorificValueStd uom="J/m3">501.58</grossCalorificValueStd>
235 + <rvpStabilizedCrude uom="Pa">376.43</rvpStabilizedCrude>
236 + <bswStabilizedCrude uom="Euc">498.53</bswStabilizedCrude>
237 + <densityStabilizedCrude uom="kg/m3">528.55</densityStabilizedCrude>
238 + </period>
239 + </product>
240 + </flow>
241 + </facility>
242 + </object>
243 +</objects>
...\ No newline at end of file ...\ No newline at end of file
1 +# baseURI: http://www.reportinghub.no/test/flow_facts_examples/flow-facts-schema
2 +# imports: http://www.reportinghub.no/ep/schema/1.0/flow
3 +
4 +@prefix flowFacts: <http://www.reportinghub.no/test/flow_facts_examples/flow-facts-schema#> .
5 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
6 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
7 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
8 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
9 +
10 +<http://www.reportinghub.no/test/flow_facts_examples/flow-facts-schema>
11 + rdf:type owl:Ontology ;
12 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> ;
13 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
14 +
15 +flowFacts:possibleTemporalPartName
16 + rdf:type owl:DatatypeProperty ;
17 + rdfs:domain <http://www.reportinghub.no/ep/schema/flow#Flow> ;
18 + rdfs:label "possible temporal part name"^^xsd:string .
1 +# baseURI: http://www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-flow-facts-xml-ingest
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
4 +# imports: http://www.reportinghub.no/np/data/npd
5 +# imports: http://www.reportinghub.no/test/flow_facts_examples/flow_facts
6 +
7 +@prefix : <http://www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-flow-facts-xml-ingest#> .
8 +@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
9 +@prefix TRYM-DPR2.0-28-FEB-2012-dpr2-ONE-VOLUME: <file:///www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/tqedits/TRYM-DPR2.0-28-FEB-2012-dpr2-ONE-VOLUME.xml#> .
10 +@prefix flow_facts: <http://www.reportinghub.no/test/flow_facts_examples/flow_facts#> .
11 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
12 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
13 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
14 +@prefix sp: <http://spinrdf.org/sp#> .
15 +@prefix spin: <http://spinrdf.org/spin#> .
16 +@prefix spl: <http://spinrdf.org/spl#> .
17 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
18 +
19 +<http://www.reportinghub.no/test/dpr2/testcase/TEST_dpr2-flow-facts-xml-ingest>
20 + rdf:type owl:Ontology ;
21 + owl:imports <http://www.reportinghub.no/test/flow_facts_examples/flow_facts> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> , <http://www.reportinghub.no/np/data/npd> ;
22 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + <http://spinrdf.org/spin#topSPINOptions>
16 + "singlePass" ;
17 + composite:index "0"^^xsd:int
18 + ] ;
19 + inference:completeMode
20 + "true"^^xsd:boolean .
1 +# baseURI: http://www.reportinghub.no/test/flow_facts_examples/flow_facts
2 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
3 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
4 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/drilling
6 +# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type
7 +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
8 +# imports: http://www.reportinghub.no/ep/schema/1.0/facility
9 +# imports: http://www.reportinghub.no/ep/schema/1.0/flow
10 +# imports: http://www.reportinghub.no/ep/schema/1.0/geography
11 +# imports: http://www.reportinghub.no/ep/schema/1.0/material
12 +# imports: http://www.reportinghub.no/ep/schema/1.0/organization
13 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
14 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
15 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
16 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-well
17 +# imports: http://www.reportinghub.no/ep/schema/1.0/report
18 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
19 +# imports: http://www.reportinghub.no/np/data/npd
20 +# imports: http://www.reportinghub.no/test/flow_facts_examples/flow-facts-schema
21 +
22 +@prefix : <http://www.reportinghub.no/test/flow_facts_examples/flow_facts#> .
23 +@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
24 +@prefix drilling: <http://www.reportinghub.no/ep/schema/1.0/drilling#> .
25 +@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
26 +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
27 +@prefix ep-eqt: <http://www.reportinghub.no/ep/schema/equipment#> .
28 +@prefix ep-flow: <http://www.reportinghub.no/ep/schema/flow#> .
29 +@prefix flowFacts: <http://www.reportinghub.no/test/flow_facts_examples/flow-facts-schema#> .
30 +@prefix npd: <http://www.reportinghub.no/np/schema/npd#> .
31 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
32 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
33 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
34 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
35 +
36 +<http://www.reportinghub.no/test/flow_facts_examples/flow_facts>
37 + rdf:type owl:Ontology ;
38 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/geography> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/test/flow_facts_examples/flow-facts-schema> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/np/data/npd> , <http://www.reportinghub.no/ep/schema/1.0/production-well> , <http://www.reportinghub.no/ep/schema/1.0/drilling> ;
39 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
40 +
41 +<https://reportinghub.no/ep/schema/flowRegistry#Flow-000001>
42 + rdf:type ep-flow:MeteredFlowFiscal , ep-flow:ProductionFlow , ep-flow:WholeLifeProductionFlow , ep-flow:Production , ep-flow:Flow ;
43 + rdfs:comment "Fiscal metered total gross gas in Nm3 for Oselvar -> stream pipe 1 and 2 combined"^^xsd:string ;
44 + rdfs:label "flow 000001"^^xsd:string ;
45 + ep-activity:startedAt
46 + "2013-02-11T00:00:00.0Z"^^xsd:dateTime ;
47 + ep-core:name "000001"^^xsd:string ;
48 + ep-flow:flowIntoOrOutOf
49 + <http://www.reportinghub.no/np/data/npd/Field-5506919> ;
50 + flowFacts:possibleTemporalPartName
51 + "OSL GAS STATION PROD FISCAL GAS"^^xsd:string .
52 +
53 +<https://reportinghub.no/ep/schema/flowRegistry#Flow-000002>
54 + rdf:type ep-flow:Flow , ep-flow:Consume , ep-flow:ProductionFlow , ep-flow:WholeLifeProductionFlow ;
55 + rdfs:label "flow 000002"^^xsd:string ;
56 + ep-activity:startedAt
57 + "2013-02-11T00:00:00.0Z"^^xsd:dateTime ;
58 + ep-core:name "000002"^^xsd:string ;
59 + ep-core:partOf <http://www.reportinghub.no/np/data/npd/Field-5506919> ;
60 + ep-flow:flowIntoOrOutOf
61 + <http://www.reportinghub.no/np/data/npd/Field-5506919> ;
62 + flowFacts:possibleTemporalPartName
63 + "OSL MEG TANK1 CONS MEAS CHEM"^^xsd:string , "OSL MEG TANK2 CONS MEAS CHEM"^^xsd:string .