Showing
3 changed files
with
717 additions
and
659 deletions
... | @@ -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/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; | 18 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> ; |
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 ep-flow:TemporalPartDurationType , owl:Class ; | 22 | + rdf:type owl:Class , ep-flow:TemporalPartDurationType ; |
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 ep-flow:TemporalPartDurationType , owl:Class ; | 27 | + rdf:type owl:Class , ep-flow:TemporalPartDurationType ; |
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 ep-flow:ProductionFlowDefinitionType , owl:Class ; | 102 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
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 | ||
... | @@ -179,27 +179,27 @@ ep-flow:DailyProductionFlow | ... | @@ -179,27 +179,27 @@ ep-flow:DailyProductionFlow |
179 | rdfs:subClassOf ep-flow:ProductionFlow . | 179 | rdfs:subClassOf ep-flow:ProductionFlow . |
180 | 180 | ||
181 | ep-flow:DerivedFlow | 181 | ep-flow:DerivedFlow |
182 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 182 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
183 | rdfs:label "derived flow"^^xsd:string ; | 183 | rdfs:label "derived flow"^^xsd:string ; |
184 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 184 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
185 | 185 | ||
186 | ep-flow:DerivedFlow-difference | 186 | ep-flow:DerivedFlow-difference |
187 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; | 187 | + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; |
188 | rdfs:label "derived flow - difference"^^xsd:string ; | 188 | rdfs:label "derived flow - difference"^^xsd:string ; |
189 | rdfs:subClassOf ep-flow:DerivedFlow . | 189 | rdfs:subClassOf ep-flow:DerivedFlow . |
190 | 190 | ||
191 | ep-flow:DerivedInventory | 191 | ep-flow:DerivedInventory |
192 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 192 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
193 | rdfs:label "derived inventory"^^xsd:string ; | 193 | rdfs:label "derived inventory"^^xsd:string ; |
194 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 194 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
195 | 195 | ||
196 | ep-flow:DifferenceFlow | 196 | ep-flow:DifferenceFlow |
197 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 197 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
198 | rdfs:label "difference flow"^^xsd:string ; | 198 | rdfs:label "difference flow"^^xsd:string ; |
199 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 199 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
200 | 200 | ||
201 | ep-flow:DifferenceInventory | 201 | ep-flow:DifferenceInventory |
202 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 202 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
203 | rdfs:label "difference inventory"^^xsd:string ; | 203 | rdfs:label "difference inventory"^^xsd:string ; |
204 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 204 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
205 | 205 | ||
... | @@ -209,32 +209,32 @@ ep-flow:ElectricPowerFlow | ... | @@ -209,32 +209,32 @@ ep-flow:ElectricPowerFlow |
209 | rdfs:subClassOf ep-flow:Flow . | 209 | rdfs:subClassOf ep-flow:Flow . |
210 | 210 | ||
211 | ep-flow:EstimatedFlow | 211 | ep-flow:EstimatedFlow |
212 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 212 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
213 | rdfs:label "estimated flow"^^xsd:string ; | 213 | rdfs:label "estimated flow"^^xsd:string ; |
214 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 214 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
215 | 215 | ||
216 | ep-flow:EstimatedInventory | 216 | ep-flow:EstimatedInventory |
217 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 217 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
218 | rdfs:label "estimated inventory"^^xsd:string ; | 218 | rdfs:label "estimated inventory"^^xsd:string ; |
219 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 219 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
220 | 220 | ||
221 | ep-flow:Export | 221 | ep-flow:Export |
222 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 222 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
223 | rdfs:label "export"^^xsd:string ; | 223 | rdfs:label "export"^^xsd:string ; |
224 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 224 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
225 | 225 | ||
226 | ep-flow:Export-nominated | 226 | ep-flow:Export-nominated |
227 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 227 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
228 | rdfs:label "export nominated"^^xsd:string ; | 228 | rdfs:label "export nominated"^^xsd:string ; |
229 | rdfs:subClassOf ep-flow:Export . | 229 | rdfs:subClassOf ep-flow:Export . |
230 | 230 | ||
231 | ep-flow:Export-requested | 231 | ep-flow:Export-requested |
232 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 232 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
233 | rdfs:label "export requested"^^xsd:string ; | 233 | rdfs:label "export requested"^^xsd:string ; |
234 | rdfs:subClassOf ep-flow:Export . | 234 | rdfs:subClassOf ep-flow:Export . |
235 | 235 | ||
236 | ep-flow:Export-shortfall | 236 | ep-flow:Export-shortfall |
237 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 237 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
238 | rdfs:label "export shortfall"^^xsd:string ; | 238 | rdfs:label "export shortfall"^^xsd:string ; |
239 | rdfs:subClassOf ep-flow:Export . | 239 | rdfs:subClassOf ep-flow:Export . |
240 | 240 | ||
... | @@ -244,42 +244,42 @@ ep-flow:Flow | ... | @@ -244,42 +244,42 @@ ep-flow:Flow |
244 | rdfs:subClassOf ep-core:PhysicalThing . | 244 | rdfs:subClassOf ep-core:PhysicalThing . |
245 | 245 | ||
246 | ep-flow:FlowAtInstant | 246 | ep-flow:FlowAtInstant |
247 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 247 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
248 | rdfs:label "flow at instant"^^xsd:string ; | 248 | rdfs:label "flow at instant"^^xsd:string ; |
249 | rdfs:subClassOf ep-flow:Flow . | 249 | rdfs:subClassOf ep-flow:Flow . |
250 | 250 | ||
251 | ep-flow:FlowDuringDay | 251 | ep-flow:FlowDuringDay |
252 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 252 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
253 | rdfs:label "flow during day"^^xsd:string ; | 253 | rdfs:label "flow during day"^^xsd:string ; |
254 | rdfs:subClassOf ep-flow:FlowDuringPeriod . | 254 | rdfs:subClassOf ep-flow:FlowDuringPeriod . |
255 | 255 | ||
256 | ep-flow:FlowDuringMonth | 256 | ep-flow:FlowDuringMonth |
257 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 257 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
258 | rdfs:label "flow during month"^^xsd:string ; | 258 | rdfs:label "flow during month"^^xsd:string ; |
259 | rdfs:subClassOf ep-flow:FlowDuringPeriod . | 259 | rdfs:subClassOf ep-flow:FlowDuringPeriod . |
260 | 260 | ||
261 | ep-flow:FlowDuringMonthToDate | 261 | ep-flow:FlowDuringMonthToDate |
262 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 262 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
263 | rdfs:label "flow during month to date"^^xsd:string ; | 263 | rdfs:label "flow during month to date"^^xsd:string ; |
264 | rdfs:subClassOf ep-flow:FlowDuringPeriod . | 264 | rdfs:subClassOf ep-flow:FlowDuringPeriod . |
265 | 265 | ||
266 | ep-flow:FlowDuringPeriod | 266 | ep-flow:FlowDuringPeriod |
267 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 267 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
268 | rdfs:label "flow during period"^^xsd:string ; | 268 | rdfs:label "flow during period"^^xsd:string ; |
269 | rdfs:subClassOf ep-flow:Flow . | 269 | rdfs:subClassOf ep-flow:Flow . |
270 | 270 | ||
271 | ep-flow:FlowDuringWeek | 271 | ep-flow:FlowDuringWeek |
272 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 272 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
273 | rdfs:label "flow during week"^^xsd:string ; | 273 | rdfs:label "flow during week"^^xsd:string ; |
274 | rdfs:subClassOf ep-flow:FlowDuringPeriod . | 274 | rdfs:subClassOf ep-flow:FlowDuringPeriod . |
275 | 275 | ||
276 | ep-flow:FlowDuringYear | 276 | ep-flow:FlowDuringYear |
277 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 277 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
278 | rdfs:label "flow during year"^^xsd:string ; | 278 | rdfs:label "flow during year"^^xsd:string ; |
279 | rdfs:subClassOf ep-flow:FlowDuringPeriod . | 279 | rdfs:subClassOf ep-flow:FlowDuringPeriod . |
280 | 280 | ||
281 | ep-flow:FlowDuringYearToDate | 281 | ep-flow:FlowDuringYearToDate |
282 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 282 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
283 | rdfs:label "flow during year to date"^^xsd:string ; | 283 | rdfs:label "flow during year to date"^^xsd:string ; |
284 | rdfs:subClassOf ep-flow:FlowDuringPeriod . | 284 | rdfs:subClassOf ep-flow:FlowDuringPeriod . |
285 | 285 | ||
... | @@ -289,127 +289,127 @@ ep-flow:FlowOfLiquid | ... | @@ -289,127 +289,127 @@ ep-flow:FlowOfLiquid |
289 | rdfs:subClassOf ep-core:PhysicalThing . | 289 | rdfs:subClassOf ep-core:PhysicalThing . |
290 | 290 | ||
291 | ep-flow:ForecastFlow | 291 | ep-flow:ForecastFlow |
292 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 292 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
293 | rdfs:label "forecast flow"^^xsd:string ; | 293 | rdfs:label "forecast flow"^^xsd:string ; |
294 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 294 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
295 | 295 | ||
296 | ep-flow:ForecastFlow-declineCurve | 296 | ep-flow:ForecastFlow-declineCurve |
297 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; | 297 | + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; |
298 | rdfs:label "forecast flow - decline curve"^^xsd:string ; | 298 | rdfs:label "forecast flow - decline curve"^^xsd:string ; |
299 | rdfs:subClassOf ep-flow:ForecastFlow . | 299 | rdfs:subClassOf ep-flow:ForecastFlow . |
300 | 300 | ||
301 | ep-flow:ForecastFlow-standard | 301 | ep-flow:ForecastFlow-standard |
302 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; | 302 | + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; |
303 | rdfs:label "forecast flow - standard"^^xsd:string ; | 303 | rdfs:label "forecast flow - standard"^^xsd:string ; |
304 | rdfs:subClassOf ep-flow:ForecastFlow . | 304 | rdfs:subClassOf ep-flow:ForecastFlow . |
305 | 305 | ||
306 | ep-flow:ForecastInventory | 306 | ep-flow:ForecastInventory |
307 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 307 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
308 | rdfs:label "forecast inventory"^^xsd:string ; | 308 | rdfs:label "forecast inventory"^^xsd:string ; |
309 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 309 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
310 | 310 | ||
311 | ep-flow:Gaslift | 311 | ep-flow:Gaslift |
312 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 312 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
313 | rdfs:label "gas lift"^^xsd:string ; | 313 | rdfs:label "gas lift"^^xsd:string ; |
314 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 314 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
315 | 315 | ||
316 | ep-flow:GrossProductFlow | 316 | ep-flow:GrossProductFlow |
317 | - rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ; | 317 | + rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ; |
318 | rdfs:label "gross product flow"^^xsd:string ; | 318 | rdfs:label "gross product flow"^^xsd:string ; |
319 | rdfs:subClassOf ep-flow:ProductFlow . | 319 | rdfs:subClassOf ep-flow:ProductFlow . |
320 | 320 | ||
321 | ep-flow:HydrocarbonAccounting | 321 | ep-flow:HydrocarbonAccounting |
322 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 322 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
323 | rdfs:label "hydrocarbon accounting"^^xsd:string ; | 323 | rdfs:label "hydrocarbon accounting"^^xsd:string ; |
324 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 324 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
325 | 325 | ||
326 | ep-flow:Import | 326 | ep-flow:Import |
327 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 327 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
328 | rdfs:label "import"^^xsd:string ; | 328 | rdfs:label "import"^^xsd:string ; |
329 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 329 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
330 | 330 | ||
331 | ep-flow:Injection | 331 | ep-flow:Injection |
332 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 332 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
333 | rdfs:label "injection"^^xsd:string ; | 333 | rdfs:label "injection"^^xsd:string ; |
334 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 334 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
335 | 335 | ||
336 | ep-flow:Inventory | 336 | ep-flow:Inventory |
337 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 337 | + rdf:type owl:Class ; |
338 | rdfs:label "inventory"^^xsd:string ; | 338 | rdfs:label "inventory"^^xsd:string ; |
339 | rdfs:subClassOf ep-core:PhysicalObject . | 339 | rdfs:subClassOf ep-core:PhysicalObject . |
340 | 340 | ||
341 | ep-flow:MassAdjustedFlow | 341 | ep-flow:MassAdjustedFlow |
342 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 342 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
343 | rdfs:label "mass adjusted flow"^^xsd:string ; | 343 | rdfs:label "mass adjusted flow"^^xsd:string ; |
344 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 344 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
345 | 345 | ||
346 | ep-flow:MeasuredFlow | 346 | ep-flow:MeasuredFlow |
347 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 347 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
348 | rdfs:label "measured flow"^^xsd:string ; | 348 | rdfs:label "measured flow"^^xsd:string ; |
349 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 349 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
350 | 350 | ||
351 | ep-flow:MeasuredFlow-fiscal | 351 | ep-flow:MeasuredFlow-fiscal |
352 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; | 352 | + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; |
353 | rdfs:label "measured flow - fiscal"^^xsd:string ; | 353 | rdfs:label "measured flow - fiscal"^^xsd:string ; |
354 | rdfs:subClassOf ep-flow:MeasuredFlow . | 354 | rdfs:subClassOf ep-flow:MeasuredFlow . |
355 | 355 | ||
356 | ep-flow:MeasuredFlow-raw | 356 | ep-flow:MeasuredFlow-raw |
357 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; | 357 | + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; |
358 | rdfs:label "measured flow - raw"^^xsd:string ; | 358 | rdfs:label "measured flow - raw"^^xsd:string ; |
359 | rdfs:subClassOf ep-flow:MeasuredFlow . | 359 | rdfs:subClassOf ep-flow:MeasuredFlow . |
360 | 360 | ||
361 | ep-flow:MeasuredFlow-recalibrated | 361 | ep-flow:MeasuredFlow-recalibrated |
362 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ; | 362 | + rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ; |
363 | rdfs:label "measured flow - recalibrated"^^xsd:string ; | 363 | rdfs:label "measured flow - recalibrated"^^xsd:string ; |
364 | rdfs:subClassOf ep-flow:MeasuredFlow . | 364 | rdfs:subClassOf ep-flow:MeasuredFlow . |
365 | 365 | ||
366 | ep-flow:MeasuredInventory | 366 | ep-flow:MeasuredInventory |
367 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 367 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
368 | rdfs:label "measured inventory"^^xsd:string ; | 368 | rdfs:label "measured inventory"^^xsd:string ; |
369 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 369 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
370 | 370 | ||
371 | ep-flow:MeteredFlowFiscal | 371 | ep-flow:MeteredFlowFiscal |
372 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 372 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
373 | rdfs:label "metered flow fiscal"^^xsd:string ; | 373 | rdfs:label "metered flow fiscal"^^xsd:string ; |
374 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 374 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
375 | 375 | ||
376 | ep-flow:NetProductFlow | 376 | ep-flow:NetProductFlow |
377 | - rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ; | 377 | + rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ; |
378 | rdfs:label "net product flow"^^xsd:string ; | 378 | rdfs:label "net product flow"^^xsd:string ; |
379 | rdfs:subClassOf ep-flow:ProductFlow . | 379 | rdfs:subClassOf ep-flow:ProductFlow . |
380 | 380 | ||
381 | ep-flow:NominatedFlow | 381 | ep-flow:NominatedFlow |
382 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 382 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
383 | rdfs:label "nominated flow"^^xsd:string ; | 383 | rdfs:label "nominated flow"^^xsd:string ; |
384 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 384 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
385 | 385 | ||
386 | ep-flow:NominatedInventory | 386 | ep-flow:NominatedInventory |
387 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 387 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
388 | rdfs:label "nominated inventory"^^xsd:string ; | 388 | rdfs:label "nominated inventory"^^xsd:string ; |
389 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 389 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
390 | 390 | ||
391 | ep-flow:Overboard | 391 | ep-flow:Overboard |
392 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 392 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
393 | rdfs:label "overboard"^^xsd:string ; | 393 | rdfs:label "overboard"^^xsd:string ; |
394 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 394 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
395 | 395 | ||
396 | ep-flow:PotentialFlow | 396 | ep-flow:PotentialFlow |
397 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 397 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
398 | rdfs:label "potential flow"^^xsd:string ; | 398 | rdfs:label "potential flow"^^xsd:string ; |
399 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 399 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
400 | 400 | ||
401 | ep-flow:PotentialInventory | 401 | ep-flow:PotentialInventory |
402 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 402 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
403 | rdfs:label "potential inventory"^^xsd:string ; | 403 | rdfs:label "potential inventory"^^xsd:string ; |
404 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 404 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
405 | 405 | ||
406 | ep-flow:ProcessedFlow | 406 | ep-flow:ProcessedFlow |
407 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 407 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
408 | rdfs:label "processed flow"^^xsd:string ; | 408 | rdfs:label "processed flow"^^xsd:string ; |
409 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 409 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
410 | 410 | ||
411 | ep-flow:ProcessedInventory | 411 | ep-flow:ProcessedInventory |
412 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 412 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
413 | rdfs:label "processed inventory"^^xsd:string ; | 413 | rdfs:label "processed inventory"^^xsd:string ; |
414 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 414 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
415 | 415 | ||
... | @@ -434,27 +434,27 @@ ep-flow:ProductInventory | ... | @@ -434,27 +434,27 @@ ep-flow:ProductInventory |
434 | rdfs:subClassOf ep-flow:Inventory . | 434 | rdfs:subClassOf ep-flow:Inventory . |
435 | 435 | ||
436 | ep-flow:ProductInventoryAdjustedClosingBalance | 436 | ep-flow:ProductInventoryAdjustedClosingBalance |
437 | - rdf:type ep-flow:ProductInventoryType , owl:Class ; | 437 | + rdf:type owl:Class , ep-flow:ProductInventoryType ; |
438 | rdfs:label "product inventory adjusted closing balance"^^xsd:string ; | 438 | rdfs:label "product inventory adjusted closing balance"^^xsd:string ; |
439 | rdfs:subClassOf ep-flow:ProductInventory . | 439 | rdfs:subClassOf ep-flow:ProductInventory . |
440 | 440 | ||
441 | ep-flow:ProductInventoryClosingBalance | 441 | ep-flow:ProductInventoryClosingBalance |
442 | - rdf:type ep-flow:ProductInventoryType , owl:Class ; | 442 | + rdf:type owl:Class , ep-flow:ProductInventoryType ; |
443 | rdfs:label "product inventory closing balance"^^xsd:string ; | 443 | rdfs:label "product inventory closing balance"^^xsd:string ; |
444 | rdfs:subClassOf ep-flow:ProductInventory . | 444 | rdfs:subClassOf ep-flow:ProductInventory . |
445 | 445 | ||
446 | ep-flow:ProductInventoryClosingStorageBalance | 446 | ep-flow:ProductInventoryClosingStorageBalance |
447 | - rdf:type ep-flow:ProductInventoryType , owl:Class ; | 447 | + rdf:type owl:Class , ep-flow:ProductInventoryType ; |
448 | rdfs:label "product inventory closing storage balance"^^xsd:string ; | 448 | rdfs:label "product inventory closing storage balance"^^xsd:string ; |
449 | rdfs:subClassOf ep-flow:ProductInventory . | 449 | rdfs:subClassOf ep-flow:ProductInventory . |
450 | 450 | ||
451 | ep-flow:ProductInventoryOpFlex | 451 | ep-flow:ProductInventoryOpFlex |
452 | - rdf:type ep-flow:ProductInventoryType , owl:Class ; | 452 | + rdf:type owl:Class , ep-flow:ProductInventoryType ; |
453 | rdfs:label "product inventory opFlex"^^xsd:string ; | 453 | rdfs:label "product inventory opFlex"^^xsd:string ; |
454 | rdfs:subClassOf ep-flow:ProductInventory . | 454 | rdfs:subClassOf ep-flow:ProductInventory . |
455 | 455 | ||
456 | ep-flow:ProductInventoryOpeningBalance | 456 | ep-flow:ProductInventoryOpeningBalance |
457 | - rdf:type ep-flow:ProductInventoryType , owl:Class ; | 457 | + rdf:type owl:Class , ep-flow:ProductInventoryType ; |
458 | rdfs:label "product inventory opening balance"^^xsd:string ; | 458 | rdfs:label "product inventory opening balance"^^xsd:string ; |
459 | rdfs:subClassOf ep-flow:ProductInventory . | 459 | rdfs:subClassOf ep-flow:ProductInventory . |
460 | 460 | ||
... | @@ -469,7 +469,7 @@ ep-flow:ProductMaterialType | ... | @@ -469,7 +469,7 @@ ep-flow:ProductMaterialType |
469 | rdfs:subClassOf owl:Class . | 469 | rdfs:subClassOf owl:Class . |
470 | 470 | ||
471 | ep-flow:Production | 471 | ep-flow:Production |
472 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 472 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
473 | rdfs:label "production"^^xsd:string ; | 473 | rdfs:label "production"^^xsd:string ; |
474 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 474 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
475 | 475 | ||
... | @@ -554,72 +554,72 @@ ep-flow:ProductionTestWellHeadFlow | ... | @@ -554,72 +554,72 @@ ep-flow:ProductionTestWellHeadFlow |
554 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 554 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
555 | 555 | ||
556 | ep-flow:QuotaFlow | 556 | ep-flow:QuotaFlow |
557 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 557 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
558 | rdfs:label "quota flow"^^xsd:string ; | 558 | rdfs:label "quota flow"^^xsd:string ; |
559 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 559 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
560 | 560 | ||
561 | ep-flow:QuotaInventory | 561 | ep-flow:QuotaInventory |
562 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 562 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
563 | rdfs:label "quota inventory"^^xsd:string ; | 563 | rdfs:label "quota inventory"^^xsd:string ; |
564 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 564 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
565 | 565 | ||
566 | ep-flow:RecommendedFlow | 566 | ep-flow:RecommendedFlow |
567 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 567 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
568 | rdfs:label "recommended flow"^^xsd:string ; | 568 | rdfs:label "recommended flow"^^xsd:string ; |
569 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 569 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
570 | 570 | ||
571 | ep-flow:RecommendedInventory | 571 | ep-flow:RecommendedInventory |
572 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 572 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
573 | rdfs:label "recommended inventory"^^xsd:string ; | 573 | rdfs:label "recommended inventory"^^xsd:string ; |
574 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 574 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
575 | 575 | ||
576 | ep-flow:Sale | 576 | ep-flow:Sale |
577 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 577 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
578 | rdfs:label "sale"^^xsd:string ; | 578 | rdfs:label "sale"^^xsd:string ; |
579 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 579 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
580 | 580 | ||
581 | ep-flow:SaleableFlow | 581 | ep-flow:SaleableFlow |
582 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 582 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
583 | rdfs:label "saleable flow"^^xsd:string ; | 583 | rdfs:label "saleable flow"^^xsd:string ; |
584 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 584 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
585 | 585 | ||
586 | ep-flow:SaleableInventory | 586 | ep-flow:SaleableInventory |
587 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 587 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
588 | rdfs:label "saleable inventory"^^xsd:string ; | 588 | rdfs:label "saleable inventory"^^xsd:string ; |
589 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 589 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
590 | 590 | ||
591 | ep-flow:SampleOfMaterial | 591 | ep-flow:SampleOfMaterial |
592 | rdf:type owl:Class ; | 592 | rdf:type owl:Class ; |
593 | - rdfs:label "(temporal part of a) sample of material"^^xsd:string , "sample of material"^^xsd:string ; | 593 | + rdfs:label "sample of material"^^xsd:string , "(temporal part of a) sample of material"^^xsd:string ; |
594 | rdfs:subClassOf ep-material:QuantityOfMaterial . | 594 | rdfs:subClassOf ep-material:QuantityOfMaterial . |
595 | 595 | ||
596 | ep-flow:SimulatedFlow | 596 | ep-flow:SimulatedFlow |
597 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 597 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
598 | rdfs:label "simulated flow"^^xsd:string ; | 598 | rdfs:label "simulated flow"^^xsd:string ; |
599 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 599 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
600 | 600 | ||
601 | ep-flow:SimulatedInventory | 601 | ep-flow:SimulatedInventory |
602 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 602 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
603 | rdfs:label "simulated inventory"^^xsd:string ; | 603 | rdfs:label "simulated inventory"^^xsd:string ; |
604 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 604 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
605 | 605 | ||
606 | ep-flow:Storage | 606 | ep-flow:Storage |
607 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 607 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
608 | rdfs:label "storage"^^xsd:string ; | 608 | rdfs:label "storage"^^xsd:string ; |
609 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 609 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
610 | 610 | ||
611 | ep-flow:TargetFlow | 611 | ep-flow:TargetFlow |
612 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 612 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
613 | rdfs:label "target flow"^^xsd:string ; | 613 | rdfs:label "target flow"^^xsd:string ; |
614 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 614 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
615 | 615 | ||
616 | ep-flow:TargetInventory | 616 | ep-flow:TargetInventory |
617 | - rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ; | 617 | + rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ; |
618 | rdfs:label "target inventory"^^xsd:string ; | 618 | rdfs:label "target inventory"^^xsd:string ; |
619 | rdfs:subClassOf ep-flow:WholeLifeInventory . | 619 | rdfs:subClassOf ep-flow:WholeLifeInventory . |
620 | 620 | ||
621 | ep-flow:TariffBasisFlow | 621 | ep-flow:TariffBasisFlow |
622 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 622 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
623 | rdfs:label "tariff basis flow"^^xsd:string ; | 623 | rdfs:label "tariff basis flow"^^xsd:string ; |
624 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 624 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
625 | 625 | ||
... | @@ -634,7 +634,7 @@ ep-flow:TemporalPartOfAFlowDurationType | ... | @@ -634,7 +634,7 @@ ep-flow:TemporalPartOfAFlowDurationType |
634 | rdfs:subClassOf owl:Class . | 634 | rdfs:subClassOf owl:Class . |
635 | 635 | ||
636 | ep-flow:ValueAdjustedFlow | 636 | ep-flow:ValueAdjustedFlow |
637 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 637 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
638 | rdfs:label "value adjusted flow"^^xsd:string ; | 638 | rdfs:label "value adjusted flow"^^xsd:string ; |
639 | rdfs:subClassOf ep-flow:WholeLifeFlow . | 639 | rdfs:subClassOf ep-flow:WholeLifeFlow . |
640 | 640 | ||
... | @@ -651,7 +651,7 @@ ep-flow:WholeLifeInventory | ... | @@ -651,7 +651,7 @@ ep-flow:WholeLifeInventory |
651 | ep-flow:WholeLifeProductFlow | 651 | ep-flow:WholeLifeProductFlow |
652 | rdf:type owl:Class ; | 652 | rdf:type owl:Class ; |
653 | rdfs:label "whole life product flow"^^xsd:string ; | 653 | rdfs:label "whole life product flow"^^xsd:string ; |
654 | - rdfs:subClassOf ep-flow:ProductFlow , ep-flow:WholeLifeFlow . | 654 | + rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductFlow . |
655 | 655 | ||
656 | ep-flow:WholeLifeProductInventory | 656 | ep-flow:WholeLifeProductInventory |
657 | rdf:type owl:Class ; | 657 | rdf:type owl:Class ; |
... | @@ -661,7 +661,7 @@ ep-flow:WholeLifeProductInventory | ... | @@ -661,7 +661,7 @@ ep-flow:WholeLifeProductInventory |
661 | ep-flow:WholeLifeProductionFlow | 661 | ep-flow:WholeLifeProductionFlow |
662 | rdf:type owl:Class ; | 662 | rdf:type owl:Class ; |
663 | rdfs:label "whole life production flow"^^xsd:string ; | 663 | rdfs:label "whole life production flow"^^xsd:string ; |
664 | - rdfs:subClassOf ep-flow:ProductionFlow , ep-flow:WholeLifeFlow . | 664 | + rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductionFlow . |
665 | 665 | ||
666 | ep-flow:WholeLifeProductionFlowNetwork | 666 | ep-flow:WholeLifeProductionFlowNetwork |
667 | rdf:type owl:Class ; | 667 | rdf:type owl:Class ; |
... | @@ -671,7 +671,7 @@ ep-flow:WholeLifeProductionFlowNetwork | ... | @@ -671,7 +671,7 @@ ep-flow:WholeLifeProductionFlowNetwork |
671 | ep-flow:WholeLifeProductionInventory | 671 | ep-flow:WholeLifeProductionInventory |
672 | rdf:type owl:Class ; | 672 | rdf:type owl:Class ; |
673 | rdfs:label "(whole life) production inventory"^^xsd:string ; | 673 | rdfs:label "(whole life) production inventory"^^xsd:string ; |
674 | - rdfs:subClassOf ep-flow:WholeLifeInventory , ep-flow:ProductionInventory . | 674 | + rdfs:subClassOf ep-flow:ProductionInventory , ep-flow:WholeLifeInventory . |
675 | 675 | ||
676 | ep-flow:WholeLifeProductionInventoryCollection | 676 | ep-flow:WholeLifeProductionInventoryCollection |
677 | rdf:type owl:Class ; | 677 | rdf:type owl:Class ; |
... | @@ -679,7 +679,7 @@ ep-flow:WholeLifeProductionInventoryCollection | ... | @@ -679,7 +679,7 @@ ep-flow:WholeLifeProductionInventoryCollection |
679 | rdfs:subClassOf ep-flow:ProductionInventoryCollection . | 679 | rdfs:subClassOf ep-flow:ProductionInventoryCollection . |
680 | 680 | ||
681 | ep-flow:allocatedTo | 681 | ep-flow:allocatedTo |
682 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 682 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
683 | rdfs:comment "facility to which a split of a flow or inventory is allocated"^^xsd:string ; | 683 | rdfs:comment "facility to which a split of a flow or inventory is allocated"^^xsd:string ; |
684 | rdfs:domain ep-core:PhysicalObject ; | 684 | rdfs:domain ep-core:PhysicalObject ; |
685 | rdfs:label "allocatedTo"^^xsd:string ; | 685 | rdfs:label "allocatedTo"^^xsd:string ; |
... | @@ -687,13 +687,13 @@ ep-flow:allocatedTo | ... | @@ -687,13 +687,13 @@ ep-flow:allocatedTo |
687 | rdfs:subPropertyOf ep-flow:flowIntoOrOutOf . | 687 | rdfs:subPropertyOf ep-flow:flowIntoOrOutOf . |
688 | 688 | ||
689 | ep-flow:dailyAverageAmountOfMaterial | 689 | ep-flow:dailyAverageAmountOfMaterial |
690 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 690 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
691 | rdfs:domain ep-flow:Flow ; | 691 | rdfs:domain ep-flow:Flow ; |
692 | rdfs:label "daily average amount of material"^^xsd:string ; | 692 | rdfs:label "daily average amount of material"^^xsd:string ; |
693 | rdfs:range ep-flow:ClassOfMaterialWithMassCriterion . | 693 | rdfs:range ep-flow:ClassOfMaterialWithMassCriterion . |
694 | 694 | ||
695 | ep-flow:energyContent | 695 | ep-flow:energyContent |
696 | - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; | 696 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; |
697 | rdfs:domain ep-material:QuantityOfMaterial ; | 697 | rdfs:domain ep-material:QuantityOfMaterial ; |
698 | rdfs:label "energy content"^^xsd:string ; | 698 | rdfs:label "energy content"^^xsd:string ; |
699 | rdfs:range ep-core:Work . | 699 | rdfs:range ep-core:Work . |
... | @@ -725,7 +725,7 @@ ep-flow:flowOutOf | ... | @@ -725,7 +725,7 @@ ep-flow:flowOutOf |
725 | rdfs:subPropertyOf ep-flow:flowIntoOrOutOf . | 725 | rdfs:subPropertyOf ep-flow:flowIntoOrOutOf . |
726 | 726 | ||
727 | ep-flow:grossCalorificValue | 727 | ep-flow:grossCalorificValue |
728 | - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; | 728 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; |
729 | rdfs:domain ep-material:QuantityOfMaterial ; | 729 | rdfs:domain ep-material:QuantityOfMaterial ; |
730 | rdfs:label "gross calorific value"^^xsd:string ; | 730 | rdfs:label "gross calorific value"^^xsd:string ; |
731 | rdfs:range ep-core:EnergyPerVolume . | 731 | rdfs:range ep-core:EnergyPerVolume . |
... | @@ -745,29 +745,29 @@ ep-flow:hasNetworkPart | ... | @@ -745,29 +745,29 @@ ep-flow:hasNetworkPart |
745 | rdfs:subPropertyOf ep-core:hasPart . | 745 | rdfs:subPropertyOf ep-core:hasPart . |
746 | 746 | ||
747 | ep-flow:materialThatFlows | 747 | ep-flow:materialThatFlows |
748 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 748 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
749 | rdfs:domain ep-flow:Flow ; | 749 | rdfs:domain ep-flow:Flow ; |
750 | rdfs:label "material that flows"^^xsd:string ; | 750 | rdfs:label "material that flows"^^xsd:string ; |
751 | rdfs:range ep-material:QuantityOfMaterial . | 751 | rdfs:range ep-material:QuantityOfMaterial . |
752 | 752 | ||
753 | ep-flow:rateOfFlowOfMaterial | 753 | ep-flow:rateOfFlowOfMaterial |
754 | - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | 754 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; |
755 | rdfs:label "rate of flow of material"^^xsd:string ; | 755 | rdfs:label "rate of flow of material"^^xsd:string ; |
756 | rdfs:range ep-core:MeasureOfAmountOfMaterial . | 756 | rdfs:range ep-core:MeasureOfAmountOfMaterial . |
757 | 757 | ||
758 | ep-flow:summedDailyMass | 758 | ep-flow:summedDailyMass |
759 | - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | 759 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; |
760 | rdfs:domain ep-flow:Inventory ; | 760 | rdfs:domain ep-flow:Inventory ; |
761 | rdfs:label "summed daily mass"^^xsd:string ; | 761 | rdfs:label "summed daily mass"^^xsd:string ; |
762 | rdfs:range ep-core:Mass . | 762 | rdfs:range ep-core:Mass . |
763 | 763 | ||
764 | ep-flow:totalVolumeOfMaterial-deprecated | 764 | ep-flow:totalVolumeOfMaterial-deprecated |
765 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 765 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
766 | rdfs:label "total volume of material"^^xsd:string ; | 766 | rdfs:label "total volume of material"^^xsd:string ; |
767 | rdfs:range ep-core:MeasureOfAmountOfMaterial . | 767 | rdfs:range ep-core:MeasureOfAmountOfMaterial . |
768 | 768 | ||
769 | ep-flow:yearlyAverageAmountOfMaterial | 769 | ep-flow:yearlyAverageAmountOfMaterial |
770 | - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | 770 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; |
771 | rdfs:domain ep-flow:Flow ; | 771 | rdfs:domain ep-flow:Flow ; |
772 | rdfs:label "yearly average amount of material"^^xsd:string ; | 772 | rdfs:label "yearly average amount of material"^^xsd:string ; |
773 | rdfs:range ep-flow:ClassOfMaterialWithMassCriterion . | 773 | rdfs:range ep-flow:ClassOfMaterialWithMassCriterion . | ... | ... |
... | @@ -22,6 +22,88 @@ | ... | @@ -22,6 +22,88 @@ |
22 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> | 22 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> |
23 | spin:rule | 23 | spin:rule |
24 | [ rdf:type sp:Construct ; | 24 | [ rdf:type sp:Construct ; |
25 | + rdfs:comment "STEP 20020 Add the report kind ."^^xsd:string ; | ||
26 | + sp:templates ([ sp:object | ||
27 | + [ sp:varName "reportKind"^^xsd:string | ||
28 | + ] ; | ||
29 | + sp:predicate rdf:type ; | ||
30 | + sp:subject | ||
31 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
32 | + ] | ||
33 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReportKind> ; | ||
34 | + sp:predicate rdf:type ; | ||
35 | + sp:subject | ||
36 | + [ sp:varName "reportKind"^^xsd:string | ||
37 | + ] | ||
38 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
39 | + sp:predicate rdfs:subClassOf ; | ||
40 | + sp:subject | ||
41 | + [ sp:varName "reportKind"^^xsd:string | ||
42 | + ] | ||
43 | + ] [ sp:object | ||
44 | + [ sp:varName "kind"^^xsd:string | ||
45 | + ] ; | ||
46 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
47 | + sp:subject | ||
48 | + [ sp:varName "reportKind"^^xsd:string | ||
49 | + ] | ||
50 | + ]) ; | ||
51 | + sp:where ([ sp:object | ||
52 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
53 | + ] ; | ||
54 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
55 | + sp:subject spin:_this | ||
56 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
57 | + sp:predicate rdf:type ; | ||
58 | + sp:subject | ||
59 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
60 | + ] | ||
61 | + ] [ sp:object | ||
62 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
63 | + ] ; | ||
64 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
65 | + sp:subject | ||
66 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
67 | + ] | ||
68 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
69 | + sp:predicate rdf:type ; | ||
70 | + sp:subject | ||
71 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
72 | + ] | ||
73 | + ] [ sp:object | ||
74 | + [ sp:varName "nameRef"^^xsd:string | ||
75 | + ] ; | ||
76 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | ||
77 | + sp:subject | ||
78 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
79 | + ] | ||
80 | + ] [ sp:object | ||
81 | + [ sp:varName "name"^^xsd:string | ||
82 | + ] ; | ||
83 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
84 | + sp:subject | ||
85 | + [ sp:varName "nameRef"^^xsd:string | ||
86 | + ] | ||
87 | + ] [ sp:object | ||
88 | + [ sp:varName "kind"^^xsd:string | ||
89 | + ] ; | ||
90 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ; | ||
91 | + sp:subject | ||
92 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
93 | + ] | ||
94 | + ] [ rdf:type sp:Bind ; | ||
95 | + sp:expression | ||
96 | + [ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ; | ||
97 | + sp:arg1 [ sp:varName "kind"^^xsd:string | ||
98 | + ] | ||
99 | + ] ; | ||
100 | + sp:variable | ||
101 | + [ sp:varName "reportKind"^^xsd:string | ||
102 | + ] | ||
103 | + ]) | ||
104 | + ] ; | ||
105 | + spin:rule | ||
106 | + [ rdf:type sp:Construct ; | ||
25 | rdfs:comment "STEP 20041 Set the production facility - taken from context"^^xsd:string ; | 107 | rdfs:comment "STEP 20041 Set the production facility - taken from context"^^xsd:string ; |
26 | sp:templates ([ sp:object | 108 | sp:templates ([ sp:object |
27 | [ sp:varName "productionFacility"^^xsd:string | 109 | [ sp:varName "productionFacility"^^xsd:string |
... | @@ -107,30 +189,48 @@ | ... | @@ -107,30 +189,48 @@ |
107 | ] ; | 189 | ] ; |
108 | spin:rule | 190 | spin:rule |
109 | [ rdf:type sp:Construct ; | 191 | [ rdf:type sp:Construct ; |
110 | - rdfs:comment "STEP 20020 Add the report kind ."^^xsd:string ; | 192 | + rdfs:comment "STEP 20033 Inherit end dates from the report context if necessary"^^xsd:string ; |
111 | sp:templates ([ sp:object | 193 | sp:templates ([ sp:object |
112 | - [ sp:varName "reportKind"^^xsd:string | 194 | + [ sp:varName "dateEnd"^^xsd:string |
113 | ] ; | 195 | ] ; |
114 | - sp:predicate rdf:type ; | 196 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
115 | sp:subject | 197 | sp:subject |
116 | - [ sp:varName "productVolumeReport"^^xsd:string | 198 | + [ sp:varName "productionFlowNetwork"^^xsd:string |
117 | ] | 199 | ] |
118 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReportKind> ; | 200 | + ] [ sp:object |
119 | - sp:predicate rdf:type ; | 201 | + [ sp:varName "dateEnd"^^xsd:string |
202 | + ] ; | ||
203 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
120 | sp:subject | 204 | sp:subject |
121 | - [ sp:varName "reportKind"^^xsd:string | 205 | + [ sp:varName "productionFlowNetworkToDate"^^xsd:string |
122 | ] | 206 | ] |
123 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 207 | + ] [ sp:object |
124 | - sp:predicate rdfs:subClassOf ; | 208 | + [ sp:varName "dateEnd"^^xsd:string |
209 | + ] ; | ||
210 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
125 | sp:subject | 211 | sp:subject |
126 | - [ sp:varName "reportKind"^^xsd:string | 212 | + [ sp:varName "productionInventoryCollection"^^xsd:string |
127 | ] | 213 | ] |
128 | ] [ sp:object | 214 | ] [ sp:object |
129 | - [ sp:varName "kind"^^xsd:string | 215 | + [ sp:varName "dateEnd"^^xsd:string |
130 | ] ; | 216 | ] ; |
131 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | 217 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
132 | sp:subject | 218 | sp:subject |
133 | - [ sp:varName "reportKind"^^xsd:string | 219 | + [ sp:varName "productionInventoryCollectionToDate"^^xsd:string |
220 | + ] | ||
221 | + ] [ sp:object | ||
222 | + [ sp:varName "dateEnd"^^xsd:string | ||
223 | + ] ; | ||
224 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
225 | + sp:subject | ||
226 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
227 | + ] | ||
228 | + ] [ sp:object | ||
229 | + [ sp:varName "dateEnd"^^xsd:string | ||
230 | + ] ; | ||
231 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
232 | + sp:subject | ||
233 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
134 | ] | 234 | ] |
135 | ]) ; | 235 | ]) ; |
136 | sp:where ([ sp:object | 236 | sp:where ([ sp:object |
... | @@ -138,103 +238,105 @@ | ... | @@ -138,103 +238,105 @@ |
138 | ] ; | 238 | ] ; |
139 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 239 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
140 | sp:subject spin:_this | 240 | sp:subject spin:_this |
241 | + ] [ sp:object | ||
242 | + [ sp:varName "dateEnd"^^xsd:string | ||
243 | + ] ; | ||
244 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ; | ||
245 | + sp:subject spin:_this | ||
141 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | 246 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
142 | sp:predicate rdf:type ; | 247 | sp:predicate rdf:type ; |
143 | sp:subject | 248 | sp:subject |
144 | [ sp:varName "productVolumeRef"^^xsd:string | 249 | [ sp:varName "productVolumeRef"^^xsd:string |
145 | ] | 250 | ] |
251 | + ] [ rdf:type sp:NotExists ; | ||
252 | + sp:elements ([ sp:object | ||
253 | + [ sp:varName "dateEndx"^^xsd:string | ||
254 | + ] ; | ||
255 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; | ||
256 | + sp:subject | ||
257 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
258 | + ] | ||
259 | + ]) | ||
260 | + ] [ rdf:type sp:NotExists ; | ||
261 | + sp:elements ([ sp:object | ||
262 | + [ sp:varName "dTimEndx"^^xsd:string | ||
263 | + ] ; | ||
264 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ; | ||
265 | + sp:subject | ||
266 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
267 | + ] | ||
268 | + ]) | ||
146 | ] [ sp:object | 269 | ] [ sp:object |
147 | [ sp:varName "productVolumeRef"^^xsd:string | 270 | [ sp:varName "productVolumeRef"^^xsd:string |
148 | ] ; | 271 | ] ; |
149 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 272 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
150 | sp:subject | 273 | sp:subject |
151 | - [ sp:varName "productVolumeReport"^^xsd:string | 274 | + [ sp:varName "productionFlowNetwork"^^xsd:string |
152 | ] | 275 | ] |
153 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | 276 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; |
154 | sp:predicate rdf:type ; | 277 | sp:predicate rdf:type ; |
155 | sp:subject | 278 | sp:subject |
156 | - [ sp:varName "productVolumeReport"^^xsd:string | 279 | + [ sp:varName "productionFlowNetwork"^^xsd:string |
157 | ] | 280 | ] |
158 | ] [ sp:object | 281 | ] [ sp:object |
159 | - [ sp:varName "nameRef"^^xsd:string | 282 | + [ sp:varName "productionFlowNetworkToDate"^^xsd:string |
160 | ] ; | 283 | ] ; |
161 | - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | 284 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
162 | sp:subject | 285 | sp:subject |
163 | - [ sp:varName "productVolumeRef"^^xsd:string | 286 | + [ sp:varName "productionFlowNetwork"^^xsd:string |
164 | ] | 287 | ] |
165 | - ] [ sp:object | 288 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ; |
166 | - [ sp:varName "name"^^xsd:string | 289 | + sp:predicate rdf:type ; |
167 | - ] ; | ||
168 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
169 | sp:subject | 290 | sp:subject |
170 | - [ sp:varName "nameRef"^^xsd:string | 291 | + [ sp:varName "productionFlowNetworkToDate"^^xsd:string |
171 | ] | 292 | ] |
172 | ] [ sp:object | 293 | ] [ sp:object |
173 | - [ sp:varName "kind"^^xsd:string | ||
174 | - ] ; | ||
175 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ; | ||
176 | - sp:subject | ||
177 | [ sp:varName "productVolumeRef"^^xsd:string | 294 | [ sp:varName "productVolumeRef"^^xsd:string |
178 | - ] | ||
179 | - ] [ rdf:type sp:Bind ; | ||
180 | - sp:expression | ||
181 | - [ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ; | ||
182 | - sp:arg1 [ sp:varName "kind"^^xsd:string | ||
183 | - ] | ||
184 | - ] ; | ||
185 | - sp:variable | ||
186 | - [ sp:varName "reportKind"^^xsd:string | ||
187 | - ] | ||
188 | - ]) | ||
189 | - ] ; | ||
190 | - spin:rule | ||
191 | - [ rdf:type sp:Construct ; | ||
192 | - rdfs:comment "STEP 20050 Set the context facility - installation is always specified"^^xsd:string ; | ||
193 | - sp:templates ([ sp:object | ||
194 | - [ sp:varName "contextFacility"^^xsd:string | ||
195 | ] ; | 295 | ] ; |
196 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | 296 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
197 | sp:subject | 297 | sp:subject |
198 | - [ sp:varName "productionFacility"^^xsd:string | 298 | + [ sp:varName "productionInventoryCollection"^^xsd:string |
199 | ] | 299 | ] |
200 | - ]) ; | 300 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ; |
201 | - sp:where ([ sp:object | ||
202 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
203 | - ] ; | ||
204 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
205 | - sp:subject spin:_this | ||
206 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
207 | sp:predicate rdf:type ; | 301 | sp:predicate rdf:type ; |
208 | sp:subject | 302 | sp:subject |
209 | - [ sp:varName "productVolumeRef"^^xsd:string | 303 | + [ sp:varName "productionInventoryCollection"^^xsd:string |
210 | ] | 304 | ] |
211 | ] [ sp:object | 305 | ] [ sp:object |
212 | - [ sp:varName "installationRef"^^xsd:string | 306 | + [ sp:varName "productionInventoryCollectionToDate"^^xsd:string |
213 | ] ; | 307 | ] ; |
214 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; | 308 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
215 | sp:subject | 309 | sp:subject |
216 | - [ sp:varName "productVolumeRef"^^xsd:string | 310 | + [ sp:varName "productionInventoryCollection"^^xsd:string |
311 | + ] | ||
312 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ; | ||
313 | + sp:predicate rdf:type ; | ||
314 | + sp:subject | ||
315 | + [ sp:varName "productionInventoryCollectionToDate"^^xsd:string | ||
217 | ] | 316 | ] |
218 | ] [ sp:object | 317 | ] [ sp:object |
219 | - [ sp:varName "installationRef"^^xsd:string | 318 | + [ sp:varName "productVolumeRef"^^xsd:string |
220 | ] ; | 319 | ] ; |
221 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 320 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
222 | sp:subject | 321 | sp:subject |
223 | - [ sp:varName "productionFacility"^^xsd:string | 322 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
224 | ] | 323 | ] |
225 | - ] [ sp:object | 324 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
226 | - [ sp:varName "contextFacilityRef"^^xsd:string | 325 | + sp:predicate rdf:type ; |
227 | - ] ; | ||
228 | - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; | ||
229 | sp:subject | 326 | sp:subject |
230 | - [ sp:varName "productVolumeRef"^^xsd:string | 327 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
231 | ] | 328 | ] |
232 | ] [ sp:object | 329 | ] [ sp:object |
233 | - [ sp:varName "contextFacilityRef"^^xsd:string | 330 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
234 | ] ; | 331 | ] ; |
235 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 332 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
236 | sp:subject | 333 | sp:subject |
237 | - [ sp:varName "contextFacility"^^xsd:string | 334 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
335 | + ] | ||
336 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
337 | + sp:predicate rdf:type ; | ||
338 | + sp:subject | ||
339 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
238 | ] | 340 | ] |
239 | ]) | 341 | ]) |
240 | ] ; | 342 | ] ; |
... | @@ -405,53 +507,72 @@ | ... | @@ -405,53 +507,72 @@ |
405 | ] ; | 507 | ] ; |
406 | spin:rule | 508 | spin:rule |
407 | [ rdf:type sp:Construct ; | 509 | [ rdf:type sp:Construct ; |
408 | - rdfs:comment "STEP 20011 Create the reporting period ProductionFlowNetwork and the ProductionFlowNetworkToDate."^^xsd:string ; | 510 | + rdfs:comment "STEP 20031 Record the start and end dates"^^xsd:string ; |
409 | - sp:templates ([ sp:object _:b1 ; | 511 | + sp:templates ([ sp:object |
410 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 512 | + [ sp:varName "dateStart"^^xsd:string |
513 | + ] ; | ||
514 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
411 | sp:subject | 515 | sp:subject |
412 | - [ sp:varName "productVolumeReport"^^xsd:string | 516 | + [ sp:varName "productionFlowNetwork"^^xsd:string |
413 | ] | 517 | ] |
414 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; | ||
415 | - sp:predicate rdf:type ; | ||
416 | - sp:subject _:b1 | ||
417 | ] [ sp:object | 518 | ] [ sp:object |
418 | - [ sp:varName "temporalPartDurationType"^^xsd:string | 519 | + [ sp:varName "dateEnd"^^xsd:string |
419 | ] ; | 520 | ] ; |
420 | - sp:predicate rdf:type ; | 521 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
421 | - sp:subject _:b1 | 522 | + sp:subject |
422 | - ] [ sp:object | 523 | + [ sp:varName "productionFlowNetwork"^^xsd:string |
423 | - [ sp:varName "productVolumeRef"^^xsd:string | 524 | + ] |
525 | + ] [ sp:object | ||
526 | + [ sp:varName "dateEnd"^^xsd:string | ||
424 | ] ; | 527 | ] ; |
425 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 528 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
426 | - sp:subject _:b1 | ||
427 | - ] [ sp:object _:b2 ; | ||
428 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
429 | - sp:subject _:b1 | ||
430 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ; | ||
431 | - sp:predicate rdf:type ; | ||
432 | - sp:subject _:b2 | ||
433 | - ] [ sp:object _:b1 ; | ||
434 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
435 | sp:subject | 529 | sp:subject |
436 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 530 | + [ sp:varName "productionFlowNetworkToDate"^^xsd:string |
437 | ] | 531 | ] |
438 | - ] [ sp:object _:b2 ; | 532 | + ] [ sp:object |
439 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | 533 | + [ sp:varName "dateStart"^^xsd:string |
534 | + ] ; | ||
535 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
440 | sp:subject | 536 | sp:subject |
441 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 537 | + [ sp:varName "productionInventoryCollection"^^xsd:string |
442 | ] | 538 | ] |
443 | - ]) ; | 539 | + ] [ sp:object |
444 | - sp:where ([ sp:object spin:_this ; | 540 | + [ sp:varName "dateEnd"^^xsd:string |
445 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 541 | + ] ; |
542 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
446 | sp:subject | 543 | sp:subject |
447 | - [ sp:varName "productionReport"^^xsd:string | 544 | + [ sp:varName "productionInventoryCollection"^^xsd:string |
448 | ] | 545 | ] |
449 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 546 | + ] [ sp:object |
450 | - sp:predicate rdf:type ; | 547 | + [ sp:varName "dateEnd"^^xsd:string |
548 | + ] ; | ||
549 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
451 | sp:subject | 550 | sp:subject |
452 | - [ sp:varName "productionReport"^^xsd:string | 551 | + [ sp:varName "productionInventoryCollectionToDate"^^xsd:string |
552 | + ] | ||
553 | + ] [ sp:object | ||
554 | + [ sp:varName "dateStart"^^xsd:string | ||
555 | + ] ; | ||
556 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
557 | + sp:subject | ||
558 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
559 | + ] | ||
560 | + ] [ sp:object | ||
561 | + [ sp:varName "dateEnd"^^xsd:string | ||
562 | + ] ; | ||
563 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
564 | + sp:subject | ||
565 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
453 | ] | 566 | ] |
454 | ] [ sp:object | 567 | ] [ sp:object |
568 | + [ sp:varName "dateEnd"^^xsd:string | ||
569 | + ] ; | ||
570 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
571 | + sp:subject | ||
572 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
573 | + ] | ||
574 | + ]) ; | ||
575 | + sp:where ([ sp:object | ||
455 | [ sp:varName "productVolumeRef"^^xsd:string | 576 | [ sp:varName "productVolumeRef"^^xsd:string |
456 | ] ; | 577 | ] ; |
457 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 578 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
... | @@ -462,16 +583,66 @@ | ... | @@ -462,16 +583,66 @@ |
462 | [ sp:varName "productVolumeRef"^^xsd:string | 583 | [ sp:varName "productVolumeRef"^^xsd:string |
463 | ] | 584 | ] |
464 | ] [ sp:object | 585 | ] [ sp:object |
586 | + [ sp:varName "dateStart"^^xsd:string | ||
587 | + ] ; | ||
588 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; | ||
589 | + sp:subject | ||
590 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
591 | + ] | ||
592 | + ] [ sp:object | ||
593 | + [ sp:varName "dateEnd"^^xsd:string | ||
594 | + ] ; | ||
595 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; | ||
596 | + sp:subject | ||
597 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
598 | + ] | ||
599 | + ] [ sp:object | ||
465 | [ sp:varName "productVolumeRef"^^xsd:string | 600 | [ sp:varName "productVolumeRef"^^xsd:string |
466 | ] ; | 601 | ] ; |
467 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 602 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
468 | sp:subject | 603 | sp:subject |
469 | - [ sp:varName "productVolumeReport"^^xsd:string | 604 | + [ sp:varName "productionFlowNetwork"^^xsd:string |
470 | ] | 605 | ] |
471 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | 606 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; |
472 | sp:predicate rdf:type ; | 607 | sp:predicate rdf:type ; |
473 | sp:subject | 608 | sp:subject |
474 | - [ sp:varName "productVolumeReport"^^xsd:string | 609 | + [ sp:varName "productionFlowNetwork"^^xsd:string |
610 | + ] | ||
611 | + ] [ sp:object | ||
612 | + [ sp:varName "productionFlowNetworkToDate"^^xsd:string | ||
613 | + ] ; | ||
614 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
615 | + sp:subject | ||
616 | + [ sp:varName "productionFlowNetwork"^^xsd:string | ||
617 | + ] | ||
618 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ; | ||
619 | + sp:predicate rdf:type ; | ||
620 | + sp:subject | ||
621 | + [ sp:varName "productionFlowNetworkToDate"^^xsd:string | ||
622 | + ] | ||
623 | + ] [ sp:object | ||
624 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
625 | + ] ; | ||
626 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
627 | + sp:subject | ||
628 | + [ sp:varName "productionInventoryCollection"^^xsd:string | ||
629 | + ] | ||
630 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ; | ||
631 | + sp:predicate rdf:type ; | ||
632 | + sp:subject | ||
633 | + [ sp:varName "productionInventoryCollection"^^xsd:string | ||
634 | + ] | ||
635 | + ] [ sp:object | ||
636 | + [ sp:varName "productionInventoryCollectionToDate"^^xsd:string | ||
637 | + ] ; | ||
638 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
639 | + sp:subject | ||
640 | + [ sp:varName "productionInventoryCollection"^^xsd:string | ||
641 | + ] | ||
642 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ; | ||
643 | + sp:predicate rdf:type ; | ||
644 | + sp:subject | ||
645 | + [ sp:varName "productionInventoryCollectionToDate"^^xsd:string | ||
475 | ] | 646 | ] |
476 | ] [ sp:object | 647 | ] [ sp:object |
477 | [ sp:varName "productVolumeRef"^^xsd:string | 648 | [ sp:varName "productVolumeRef"^^xsd:string |
... | @@ -497,76 +668,45 @@ | ... | @@ -497,76 +668,45 @@ |
497 | sp:subject | 668 | sp:subject |
498 | [ sp:varName "productionFacilityToDate"^^xsd:string | 669 | [ sp:varName "productionFacilityToDate"^^xsd:string |
499 | ] | 670 | ] |
500 | - ] [ rdf:type sp:Optional ; | ||
501 | - sp:elements ([ sp:object | ||
502 | - [ sp:varName "periodKindRef"^^xsd:string | ||
503 | - ] ; | ||
504 | - sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ; | ||
505 | - sp:subject | ||
506 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
507 | - ] | ||
508 | - ]) | ||
509 | - ] [ rdf:type sp:Bind ; | ||
510 | - sp:expression | ||
511 | - [ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ; | ||
512 | - sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | ||
513 | - ] | ||
514 | - ] ; | ||
515 | - sp:variable | ||
516 | - [ sp:varName "temporalPartDurationType"^^xsd:string | ||
517 | - ] | ||
518 | ]) | 671 | ]) |
519 | ] ; | 672 | ] ; |
520 | spin:rule | 673 | spin:rule |
521 | [ rdf:type sp:Construct ; | 674 | [ rdf:type sp:Construct ; |
522 | - rdfs:comment "STEP 20010 Create the ProductVolumeReport; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ; | 675 | + rdfs:comment "STEP 20011 Create the reporting period ProductionFlowNetwork and the ProductionFlowNetworkToDate."^^xsd:string ; |
523 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | 676 | + sp:templates ([ sp:object _:b1 ; |
524 | - sp:predicate rdf:type ; | 677 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
525 | - sp:subject _:b3 | 678 | + sp:subject |
526 | - ] [ sp:object | 679 | + [ sp:varName "productVolumeReport"^^xsd:string |
527 | - [ sp:varName "productionReport"^^xsd:string | 680 | + ] |
528 | - ] ; | 681 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; |
529 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
530 | - sp:subject _:b3 | ||
531 | - ] [ sp:object | ||
532 | - [ sp:varName "name"^^xsd:string | ||
533 | - ] ; | ||
534 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
535 | - sp:subject _:b3 | ||
536 | - ] [ sp:object | ||
537 | - [ sp:varName "reportPeriodType"^^xsd:string | ||
538 | - ] ; | ||
539 | - sp:predicate rdf:type ; | ||
540 | - sp:subject _:b3 | ||
541 | - ] [ sp:object | ||
542 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
543 | - ] ; | ||
544 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
545 | - sp:subject _:b3 | ||
546 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
547 | sp:predicate rdf:type ; | 682 | sp:predicate rdf:type ; |
548 | - sp:subject _:b4 | 683 | + sp:subject _:b1 |
549 | ] [ sp:object | 684 | ] [ sp:object |
550 | [ sp:varName "temporalPartDurationType"^^xsd:string | 685 | [ sp:varName "temporalPartDurationType"^^xsd:string |
551 | ] ; | 686 | ] ; |
552 | sp:predicate rdf:type ; | 687 | sp:predicate rdf:type ; |
553 | - sp:subject _:b4 | 688 | + sp:subject _:b1 |
554 | ] [ sp:object | 689 | ] [ sp:object |
555 | [ sp:varName "productVolumeRef"^^xsd:string | 690 | [ sp:varName "productVolumeRef"^^xsd:string |
556 | ] ; | 691 | ] ; |
557 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 692 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
558 | - sp:subject _:b4 | 693 | + sp:subject _:b1 |
559 | - ] [ sp:object _:b5 ; | 694 | + ] [ sp:object _:b2 ; |
560 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 695 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
561 | - sp:subject _:b4 | 696 | + sp:subject _:b1 |
562 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | 697 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ; |
563 | sp:predicate rdf:type ; | 698 | sp:predicate rdf:type ; |
564 | - sp:subject _:b5 | 699 | + sp:subject _:b2 |
565 | - ] [ sp:object | 700 | + ] [ sp:object _:b1 ; |
566 | - [ sp:varName "title"^^xsd:string | 701 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; |
567 | - ] ; | 702 | + sp:subject |
568 | - sp:predicate <http://purl.org/dc/elements/1.1/title> ; | 703 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
569 | - sp:subject _:b3 | 704 | + ] |
705 | + ] [ sp:object _:b2 ; | ||
706 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
707 | + sp:subject | ||
708 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
709 | + ] | ||
570 | ]) ; | 710 | ]) ; |
571 | sp:where ([ sp:object spin:_this ; | 711 | sp:where ([ sp:object spin:_this ; |
572 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 712 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
... | @@ -589,18 +729,40 @@ | ... | @@ -589,18 +729,40 @@ |
589 | [ sp:varName "productVolumeRef"^^xsd:string | 729 | [ sp:varName "productVolumeRef"^^xsd:string |
590 | ] | 730 | ] |
591 | ] [ sp:object | 731 | ] [ sp:object |
592 | - [ sp:varName "nameRef"^^xsd:string | 732 | + [ sp:varName "productVolumeRef"^^xsd:string |
593 | ] ; | 733 | ] ; |
594 | - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | 734 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
735 | + sp:subject | ||
736 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
737 | + ] | ||
738 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
739 | + sp:predicate rdf:type ; | ||
595 | sp:subject | 740 | sp:subject |
741 | + [ sp:varName "productVolumeReport"^^xsd:string | ||
742 | + ] | ||
743 | + ] [ sp:object | ||
596 | [ sp:varName "productVolumeRef"^^xsd:string | 744 | [ sp:varName "productVolumeRef"^^xsd:string |
745 | + ] ; | ||
746 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
747 | + sp:subject | ||
748 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
749 | + ] | ||
750 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
751 | + sp:predicate rdf:type ; | ||
752 | + sp:subject | ||
753 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
597 | ] | 754 | ] |
598 | ] [ sp:object | 755 | ] [ sp:object |
599 | - [ sp:varName "name"^^xsd:string | 756 | + [ sp:varName "productionFacilityToDate"^^xsd:string |
600 | ] ; | 757 | ] ; |
601 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 758 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
602 | sp:subject | 759 | sp:subject |
603 | - [ sp:varName "nameRef"^^xsd:string | 760 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
761 | + ] | ||
762 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
763 | + sp:predicate rdf:type ; | ||
764 | + sp:subject | ||
765 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
604 | ] | 766 | ] |
605 | ] [ rdf:type sp:Optional ; | 767 | ] [ rdf:type sp:Optional ; |
606 | sp:elements ([ sp:object | 768 | sp:elements ([ sp:object |
... | @@ -611,33 +773,45 @@ | ... | @@ -611,33 +773,45 @@ |
611 | [ sp:varName "productVolumeRef"^^xsd:string | 773 | [ sp:varName "productVolumeRef"^^xsd:string |
612 | ] | 774 | ] |
613 | ]) | 775 | ]) |
614 | - ] [ rdf:type sp:Optional ; | 776 | + ] [ rdf:type sp:Exists ; |
615 | sp:elements ([ sp:object | 777 | sp:elements ([ sp:object |
616 | - [ sp:varName "titleRef"^^xsd:string | 778 | + [ sp:varName "facilityRef"^^xsd:string |
617 | ] ; | 779 | ] ; |
618 | - sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ; | 780 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; |
619 | sp:subject | 781 | sp:subject |
620 | [ sp:varName "productVolumeRef"^^xsd:string | 782 | [ sp:varName "productVolumeRef"^^xsd:string |
621 | ] | 783 | ] |
622 | ] [ sp:object | 784 | ] [ sp:object |
623 | - [ sp:varName "title"^^xsd:string | 785 | + [ sp:varName "flowRef"^^xsd:string |
624 | ] ; | 786 | ] ; |
625 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 787 | + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; |
626 | sp:subject | 788 | sp:subject |
627 | - [ sp:varName "titleRef"^^xsd:string | 789 | + [ sp:varName "facilityRef"^^xsd:string |
790 | + ] | ||
791 | + ] [ sp:object | ||
792 | + [ sp:varName "flowKind"^^xsd:string | ||
793 | + ] ; | ||
794 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
795 | + sp:subject | ||
796 | + [ sp:varName "flowRef"^^xsd:string | ||
797 | + ] | ||
798 | + ] [ rdf:type sp:Bind ; | ||
799 | + sp:expression | ||
800 | + [ rdf:type ep-mpr-spin-lib:selectProductionFlowPurposeType ; | ||
801 | + sp:arg1 [ sp:varName "flowKind"^^xsd:string | ||
802 | + ] | ||
803 | + ] ; | ||
804 | + sp:variable | ||
805 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
806 | + ] | ||
807 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
808 | + sp:predicate rdf:type ; | ||
809 | + sp:subject | ||
810 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
628 | ] | 811 | ] |
629 | ]) | 812 | ]) |
630 | ] [ rdf:type sp:Bind ; | 813 | ] [ rdf:type sp:Bind ; |
631 | sp:expression | 814 | sp:expression |
632 | - [ rdf:type ep-mpr-spin-lib:selectReportPeriodType ; | ||
633 | - sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | ||
634 | - ] | ||
635 | - ] ; | ||
636 | - sp:variable | ||
637 | - [ sp:varName "reportPeriodType"^^xsd:string | ||
638 | - ] | ||
639 | - ] [ rdf:type sp:Bind ; | ||
640 | - sp:expression | ||
641 | [ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ; | 815 | [ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ; |
642 | sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | 816 | sp:arg1 [ sp:varName "periodKindRef"^^xsd:string |
643 | ] | 817 | ] |
... | @@ -649,33 +823,14 @@ | ... | @@ -649,33 +823,14 @@ |
649 | ] ; | 823 | ] ; |
650 | spin:rule | 824 | spin:rule |
651 | [ rdf:type sp:Construct ; | 825 | [ rdf:type sp:Construct ; |
652 | - rdfs:comment "STEP 20040 Set the production facility - supplied"^^xsd:string ; | 826 | + rdfs:comment "STEP 20050 Set the context facility - installation is always specified"^^xsd:string ; |
653 | sp:templates ([ sp:object | 827 | sp:templates ([ sp:object |
654 | - [ sp:varName "productionFacility"^^xsd:string | 828 | + [ sp:varName "contextFacility"^^xsd:string |
655 | - ] ; | ||
656 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
657 | - sp:subject | ||
658 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
659 | - ] | ||
660 | - ] [ sp:object | ||
661 | - [ sp:varName "productionFacility"^^xsd:string | ||
662 | ] ; | 829 | ] ; |
663 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 830 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
664 | - sp:subject | ||
665 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
666 | - ] | ||
667 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
668 | - sp:predicate rdf:type ; | ||
669 | sp:subject | 831 | sp:subject |
670 | [ sp:varName "productionFacility"^^xsd:string | 832 | [ sp:varName "productionFacility"^^xsd:string |
671 | ] | 833 | ] |
672 | - ] [ sp:object | ||
673 | - [ sp:varName "normalizedProductionFacilityName"^^xsd:string | ||
674 | - ] ; | ||
675 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; | ||
676 | - sp:subject | ||
677 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
678 | - ] | ||
679 | ]) ; | 834 | ]) ; |
680 | sp:where ([ sp:object | 835 | sp:where ([ sp:object |
681 | [ sp:varName "productVolumeRef"^^xsd:string | 836 | [ sp:varName "productVolumeRef"^^xsd:string |
... | @@ -702,90 +857,108 @@ | ... | @@ -702,90 +857,108 @@ |
702 | [ sp:varName "productionFacility"^^xsd:string | 857 | [ sp:varName "productionFacility"^^xsd:string |
703 | ] | 858 | ] |
704 | ] [ sp:object | 859 | ] [ sp:object |
860 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
861 | + ] ; | ||
862 | + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; | ||
863 | + sp:subject | ||
705 | [ sp:varName "productVolumeRef"^^xsd:string | 864 | [ sp:varName "productVolumeRef"^^xsd:string |
865 | + ] | ||
866 | + ] [ sp:object | ||
867 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
706 | ] ; | 868 | ] ; |
707 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 869 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
708 | sp:subject | 870 | sp:subject |
709 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 871 | + [ sp:varName "contextFacility"^^xsd:string |
710 | ] | 872 | ] |
711 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 873 | + ]) |
712 | - sp:predicate rdf:type ; | 874 | + ] ; |
875 | + spin:rule | ||
876 | + [ rdf:type sp:Construct ; | ||
877 | + rdfs:comment """STEP 20060 Set the facility operator | ||
878 | +role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ||
879 | + sp:templates ([ sp:object _:b3 ; | ||
880 | + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; | ||
713 | sp:subject | 881 | sp:subject |
714 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 882 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
715 | ] | 883 | ] |
884 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; | ||
885 | + sp:predicate rdf:type ; | ||
886 | + sp:subject _:b3 | ||
716 | ] [ sp:object | 887 | ] [ sp:object |
717 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 888 | + [ sp:varName "operator"^^xsd:string |
718 | ] ; | 889 | ] ; |
719 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 890 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
891 | + sp:subject _:b3 | ||
892 | + ]) ; | ||
893 | + sp:where ([ sp:object | ||
894 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
895 | + ] ; | ||
896 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
897 | + sp:subject spin:_this | ||
898 | + ] [ sp:object | ||
899 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
900 | + ] ; | ||
901 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
720 | sp:subject | 902 | sp:subject |
721 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 903 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
722 | ] | 904 | ] |
723 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | 905 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
724 | sp:predicate rdf:type ; | 906 | sp:predicate rdf:type ; |
725 | sp:subject | 907 | sp:subject |
726 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 908 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
727 | - ] | ||
728 | - ] [ rdf:type sp:Bind ; | ||
729 | - sp:expression | ||
730 | - [ rdf:type spl:object ; | ||
731 | - sp:arg1 [ sp:varName "installationRef"^^xsd:string | ||
732 | - ] ; | ||
733 | - sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> | ||
734 | - ] ; | ||
735 | - sp:variable | ||
736 | - [ sp:varName "normalizedProductionFacilityName"^^xsd:string | ||
737 | ] | 909 | ] |
738 | - ]) | 910 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
739 | - ] ; | 911 | + sp:predicate rdf:type ; |
740 | - spin:rule | ||
741 | - [ rdf:type sp:Construct ; | ||
742 | - rdfs:comment "STEP 20012 Create the period ProductionInventoryCollection and the ProductionInventoryCollectionToDate."^^xsd:string ; | ||
743 | - sp:templates ([ sp:object _:b6 ; | ||
744 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
745 | sp:subject | 912 | sp:subject |
746 | - [ sp:varName "productVolumeReport"^^xsd:string | 913 | + [ sp:varName "productVolumeRef"^^xsd:string |
747 | ] | 914 | ] |
748 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ; | ||
749 | - sp:predicate rdf:type ; | ||
750 | - sp:subject _:b6 | ||
751 | ] [ sp:object | 915 | ] [ sp:object |
752 | - [ sp:varName "temporalPartDurationType"^^xsd:string | 916 | + [ sp:varName "operatorRef"^^xsd:string |
753 | ] ; | 917 | ] ; |
754 | - sp:predicate rdf:type ; | 918 | + sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ; |
755 | - sp:subject _:b6 | 919 | + sp:subject |
756 | - ] [ sp:object | ||
757 | [ sp:varName "productVolumeRef"^^xsd:string | 920 | [ sp:varName "productVolumeRef"^^xsd:string |
921 | + ] | ||
922 | + ] [ sp:object | ||
923 | + [ sp:varName "operatorRef"^^xsd:string | ||
758 | ] ; | 924 | ] ; |
759 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 925 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
760 | - sp:subject _:b6 | 926 | + sp:subject |
761 | - ] [ sp:object _:b7 ; | 927 | + [ sp:varName "operator"^^xsd:string |
928 | + ] | ||
929 | + ]) | ||
930 | + ] ; | ||
931 | + spin:rule | ||
932 | + [ rdf:type sp:Construct ; | ||
933 | + rdfs:comment "STEP 20040 Set the production facility - supplied"^^xsd:string ; | ||
934 | + sp:templates ([ sp:object | ||
935 | + [ sp:varName "productionFacility"^^xsd:string | ||
936 | + ] ; | ||
762 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 937 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
763 | - sp:subject _:b6 | ||
764 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ; | ||
765 | - sp:predicate rdf:type ; | ||
766 | - sp:subject _:b7 | ||
767 | - ] [ sp:object _:b6 ; | ||
768 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; | ||
769 | sp:subject | 938 | sp:subject |
770 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 939 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
771 | ] | 940 | ] |
772 | - ] [ sp:object _:b7 ; | 941 | + ] [ sp:object |
773 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; | 942 | + [ sp:varName "productionFacility"^^xsd:string |
943 | + ] ; | ||
944 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
774 | sp:subject | 945 | sp:subject |
775 | [ sp:varName "productionFacilityToDate"^^xsd:string | 946 | [ sp:varName "productionFacilityToDate"^^xsd:string |
776 | ] | 947 | ] |
777 | - ]) ; | 948 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; |
778 | - sp:where ([ sp:object spin:_this ; | ||
779 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
780 | - sp:subject | ||
781 | - [ sp:varName "productionReport"^^xsd:string | ||
782 | - ] | ||
783 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
784 | sp:predicate rdf:type ; | 949 | sp:predicate rdf:type ; |
785 | sp:subject | 950 | sp:subject |
786 | - [ sp:varName "productionReport"^^xsd:string | 951 | + [ sp:varName "productionFacility"^^xsd:string |
787 | ] | 952 | ] |
788 | ] [ sp:object | 953 | ] [ sp:object |
954 | + [ sp:varName "normalizedProductionFacilityName"^^xsd:string | ||
955 | + ] ; | ||
956 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> ; | ||
957 | + sp:subject | ||
958 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
959 | + ] | ||
960 | + ]) ; | ||
961 | + sp:where ([ sp:object | ||
789 | [ sp:varName "productVolumeRef"^^xsd:string | 962 | [ sp:varName "productVolumeRef"^^xsd:string |
790 | ] ; | 963 | ] ; |
791 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 964 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
... | @@ -796,16 +969,18 @@ | ... | @@ -796,16 +969,18 @@ |
796 | [ sp:varName "productVolumeRef"^^xsd:string | 969 | [ sp:varName "productVolumeRef"^^xsd:string |
797 | ] | 970 | ] |
798 | ] [ sp:object | 971 | ] [ sp:object |
799 | - [ sp:varName "productVolumeRef"^^xsd:string | 972 | + [ sp:varName "installationRef"^^xsd:string |
800 | ] ; | 973 | ] ; |
801 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 974 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; |
802 | sp:subject | 975 | sp:subject |
803 | - [ sp:varName "productVolumeReport"^^xsd:string | 976 | + [ sp:varName "productVolumeRef"^^xsd:string |
804 | ] | 977 | ] |
805 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | 978 | + ] [ sp:object |
806 | - sp:predicate rdf:type ; | 979 | + [ sp:varName "installationRef"^^xsd:string |
980 | + ] ; | ||
981 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
807 | sp:subject | 982 | sp:subject |
808 | - [ sp:varName "productVolumeReport"^^xsd:string | 983 | + [ sp:varName "productionFacility"^^xsd:string |
809 | ] | 984 | ] |
810 | ] [ sp:object | 985 | ] [ sp:object |
811 | [ sp:varName "productVolumeRef"^^xsd:string | 986 | [ sp:varName "productVolumeRef"^^xsd:string |
... | @@ -831,71 +1006,42 @@ | ... | @@ -831,71 +1006,42 @@ |
831 | sp:subject | 1006 | sp:subject |
832 | [ sp:varName "productionFacilityToDate"^^xsd:string | 1007 | [ sp:varName "productionFacilityToDate"^^xsd:string |
833 | ] | 1008 | ] |
834 | - ] [ rdf:type sp:Optional ; | ||
835 | - sp:elements ([ sp:object | ||
836 | - [ sp:varName "periodKindRef"^^xsd:string | ||
837 | - ] ; | ||
838 | - sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ; | ||
839 | - sp:subject | ||
840 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
841 | - ] | ||
842 | - ]) | ||
843 | ] [ rdf:type sp:Bind ; | 1009 | ] [ rdf:type sp:Bind ; |
844 | sp:expression | 1010 | sp:expression |
845 | - [ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ; | 1011 | + [ rdf:type spl:object ; |
846 | - sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | 1012 | + sp:arg1 [ sp:varName "installationRef"^^xsd:string |
847 | - ] | 1013 | + ] ; |
1014 | + sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> | ||
848 | ] ; | 1015 | ] ; |
849 | sp:variable | 1016 | sp:variable |
850 | - [ sp:varName "temporalPartDurationType"^^xsd:string | 1017 | + [ sp:varName "normalizedProductionFacilityName"^^xsd:string |
851 | ] | 1018 | ] |
852 | ]) | 1019 | ]) |
853 | ] ; | 1020 | ] ; |
854 | spin:rule | 1021 | spin:rule |
855 | [ rdf:type sp:Construct ; | 1022 | [ rdf:type sp:Construct ; |
856 | - rdfs:comment "STEP 20033 Inherit end dates from the report context if necessary"^^xsd:string ; | 1023 | + rdfs:comment "STEP 20032 Inherit start dates from the report context if necessary"^^xsd:string ; |
857 | sp:templates ([ sp:object | 1024 | sp:templates ([ sp:object |
858 | - [ sp:varName "dateEnd"^^xsd:string | 1025 | + [ sp:varName "dateStart"^^xsd:string |
859 | ] ; | 1026 | ] ; |
860 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1027 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
861 | sp:subject | 1028 | sp:subject |
862 | [ sp:varName "productionFlowNetwork"^^xsd:string | 1029 | [ sp:varName "productionFlowNetwork"^^xsd:string |
863 | ] | 1030 | ] |
864 | ] [ sp:object | 1031 | ] [ sp:object |
865 | - [ sp:varName "dateEnd"^^xsd:string | 1032 | + [ sp:varName "dateStart"^^xsd:string |
866 | - ] ; | ||
867 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
868 | - sp:subject | ||
869 | - [ sp:varName "productionFlowNetworkToDate"^^xsd:string | ||
870 | - ] | ||
871 | - ] [ sp:object | ||
872 | - [ sp:varName "dateEnd"^^xsd:string | ||
873 | ] ; | 1033 | ] ; |
874 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1034 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
875 | sp:subject | 1035 | sp:subject |
876 | [ sp:varName "productionInventoryCollection"^^xsd:string | 1036 | [ sp:varName "productionInventoryCollection"^^xsd:string |
877 | ] | 1037 | ] |
878 | ] [ sp:object | 1038 | ] [ sp:object |
879 | - [ sp:varName "dateEnd"^^xsd:string | 1039 | + [ sp:varName "dateStart"^^xsd:string |
880 | - ] ; | ||
881 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
882 | - sp:subject | ||
883 | - [ sp:varName "productionInventoryCollectionToDate"^^xsd:string | ||
884 | - ] | ||
885 | - ] [ sp:object | ||
886 | - [ sp:varName "dateEnd"^^xsd:string | ||
887 | ] ; | 1040 | ] ; |
888 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1041 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
889 | sp:subject | 1042 | sp:subject |
890 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1043 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
891 | ] | 1044 | ] |
892 | - ] [ sp:object | ||
893 | - [ sp:varName "dateEnd"^^xsd:string | ||
894 | - ] ; | ||
895 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
896 | - sp:subject | ||
897 | - [ sp:varName "productionFacilityToDate"^^xsd:string | ||
898 | - ] | ||
899 | ]) ; | 1045 | ]) ; |
900 | sp:where ([ sp:object | 1046 | sp:where ([ sp:object |
901 | [ sp:varName "productVolumeRef"^^xsd:string | 1047 | [ sp:varName "productVolumeRef"^^xsd:string |
... | @@ -903,9 +1049,9 @@ | ... | @@ -903,9 +1049,9 @@ |
903 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 1049 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
904 | sp:subject spin:_this | 1050 | sp:subject spin:_this |
905 | ] [ sp:object | 1051 | ] [ sp:object |
906 | - [ sp:varName "dateEnd"^^xsd:string | 1052 | + [ sp:varName "dateStart"^^xsd:string |
907 | ] ; | 1053 | ] ; |
908 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ; | 1054 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ; |
909 | sp:subject spin:_this | 1055 | sp:subject spin:_this |
910 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | 1056 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
911 | sp:predicate rdf:type ; | 1057 | sp:predicate rdf:type ; |
... | @@ -914,18 +1060,18 @@ | ... | @@ -914,18 +1060,18 @@ |
914 | ] | 1060 | ] |
915 | ] [ rdf:type sp:NotExists ; | 1061 | ] [ rdf:type sp:NotExists ; |
916 | sp:elements ([ sp:object | 1062 | sp:elements ([ sp:object |
917 | - [ sp:varName "dateEndx"^^xsd:string | 1063 | + [ sp:varName "dateStartx"^^xsd:string |
918 | ] ; | 1064 | ] ; |
919 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; | 1065 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; |
920 | sp:subject | 1066 | sp:subject |
921 | [ sp:varName "productVolumeRef"^^xsd:string | 1067 | [ sp:varName "productVolumeRef"^^xsd:string |
922 | ] | 1068 | ] |
923 | ]) | 1069 | ]) |
924 | ] [ rdf:type sp:NotExists ; | 1070 | ] [ rdf:type sp:NotExists ; |
925 | sp:elements ([ sp:object | 1071 | sp:elements ([ sp:object |
926 | - [ sp:varName "dTimEndx"^^xsd:string | 1072 | + [ sp:varName "dTimStartx"^^xsd:string |
927 | ] ; | 1073 | ] ; |
928 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ; | 1074 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ; |
929 | sp:subject | 1075 | sp:subject |
930 | [ sp:varName "productVolumeRef"^^xsd:string | 1076 | [ sp:varName "productVolumeRef"^^xsd:string |
931 | ] | 1077 | ] |
... | @@ -1006,274 +1152,203 @@ | ... | @@ -1006,274 +1152,203 @@ |
1006 | ] ; | 1152 | ] ; |
1007 | spin:rule | 1153 | spin:rule |
1008 | [ rdf:type sp:Construct ; | 1154 | [ rdf:type sp:Construct ; |
1009 | - rdfs:comment "STEP 20032 Inherit start dates from the report context if necessary"^^xsd:string ; | 1155 | + rdfs:comment "STEP 20010 Create the ProductVolumeReport; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ; |
1010 | - sp:templates ([ sp:object | 1156 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; |
1011 | - [ sp:varName "dateStart"^^xsd:string | 1157 | + sp:predicate rdf:type ; |
1158 | + sp:subject _:b4 | ||
1159 | + ] [ sp:object | ||
1160 | + [ sp:varName "productionReport"^^xsd:string | ||
1012 | ] ; | 1161 | ] ; |
1013 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 1162 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
1014 | - sp:subject | 1163 | + sp:subject _:b4 |
1015 | - [ sp:varName "productionFlowNetwork"^^xsd:string | ||
1016 | - ] | ||
1017 | ] [ sp:object | 1164 | ] [ sp:object |
1018 | - [ sp:varName "dateStart"^^xsd:string | 1165 | + [ sp:varName "name"^^xsd:string |
1019 | ] ; | 1166 | ] ; |
1020 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 1167 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
1021 | - sp:subject | 1168 | + sp:subject _:b4 |
1022 | - [ sp:varName "productionInventoryCollection"^^xsd:string | ||
1023 | - ] | ||
1024 | ] [ sp:object | 1169 | ] [ sp:object |
1025 | - [ sp:varName "dateStart"^^xsd:string | 1170 | + [ sp:varName "reportPeriodType"^^xsd:string |
1026 | ] ; | 1171 | ] ; |
1027 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 1172 | + sp:predicate rdf:type ; |
1028 | - sp:subject | 1173 | + sp:subject _:b4 |
1029 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1174 | + ] [ sp:object |
1030 | - ] | ||
1031 | - ]) ; | ||
1032 | - sp:where ([ sp:object | ||
1033 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1034 | - ] ; | ||
1035 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
1036 | - sp:subject spin:_this | ||
1037 | - ] [ sp:object | ||
1038 | - [ sp:varName "dateStart"^^xsd:string | ||
1039 | - ] ; | ||
1040 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ; | ||
1041 | - sp:subject spin:_this | ||
1042 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
1043 | - sp:predicate rdf:type ; | ||
1044 | - sp:subject | ||
1045 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1046 | - ] | ||
1047 | - ] [ rdf:type sp:NotExists ; | ||
1048 | - sp:elements ([ sp:object | ||
1049 | - [ sp:varName "dateStartx"^^xsd:string | ||
1050 | - ] ; | ||
1051 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; | ||
1052 | - sp:subject | ||
1053 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1054 | - ] | ||
1055 | - ]) | ||
1056 | - ] [ rdf:type sp:NotExists ; | ||
1057 | - sp:elements ([ sp:object | ||
1058 | - [ sp:varName "dTimStartx"^^xsd:string | ||
1059 | - ] ; | ||
1060 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ; | ||
1061 | - sp:subject | ||
1062 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1063 | - ] | ||
1064 | - ]) | ||
1065 | - ] [ sp:object | ||
1066 | [ sp:varName "productVolumeRef"^^xsd:string | 1175 | [ sp:varName "productVolumeRef"^^xsd:string |
1067 | ] ; | 1176 | ] ; |
1068 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1177 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1069 | - sp:subject | 1178 | + sp:subject _:b4 |
1070 | - [ sp:varName "productionFlowNetwork"^^xsd:string | 1179 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
1071 | - ] | ||
1072 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; | ||
1073 | sp:predicate rdf:type ; | 1180 | sp:predicate rdf:type ; |
1074 | - sp:subject | 1181 | + sp:subject _:b5 |
1075 | - [ sp:varName "productionFlowNetwork"^^xsd:string | ||
1076 | - ] | ||
1077 | ] [ sp:object | 1182 | ] [ sp:object |
1078 | - [ sp:varName "productionFlowNetworkToDate"^^xsd:string | 1183 | + [ sp:varName "temporalPartDurationType"^^xsd:string |
1079 | ] ; | 1184 | ] ; |
1080 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1081 | - sp:subject | ||
1082 | - [ sp:varName "productionFlowNetwork"^^xsd:string | ||
1083 | - ] | ||
1084 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ; | ||
1085 | sp:predicate rdf:type ; | 1185 | sp:predicate rdf:type ; |
1086 | - sp:subject | 1186 | + sp:subject _:b5 |
1087 | - [ sp:varName "productionFlowNetworkToDate"^^xsd:string | ||
1088 | - ] | ||
1089 | ] [ sp:object | 1187 | ] [ sp:object |
1090 | [ sp:varName "productVolumeRef"^^xsd:string | 1188 | [ sp:varName "productVolumeRef"^^xsd:string |
1091 | ] ; | 1189 | ] ; |
1092 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1190 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1093 | - sp:subject | 1191 | + sp:subject _:b5 |
1094 | - [ sp:varName "productionInventoryCollection"^^xsd:string | 1192 | + ] [ sp:object _:b6 ; |
1095 | - ] | ||
1096 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ; | ||
1097 | - sp:predicate rdf:type ; | ||
1098 | - sp:subject | ||
1099 | - [ sp:varName "productionInventoryCollection"^^xsd:string | ||
1100 | - ] | ||
1101 | - ] [ sp:object | ||
1102 | - [ sp:varName "productionInventoryCollectionToDate"^^xsd:string | ||
1103 | - ] ; | ||
1104 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1193 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
1105 | - sp:subject | 1194 | + sp:subject _:b5 |
1106 | - [ sp:varName "productionInventoryCollection"^^xsd:string | 1195 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; |
1107 | - ] | ||
1108 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ; | ||
1109 | sp:predicate rdf:type ; | 1196 | sp:predicate rdf:type ; |
1110 | - sp:subject | 1197 | + sp:subject _:b6 |
1111 | - [ sp:varName "productionInventoryCollectionToDate"^^xsd:string | ||
1112 | - ] | ||
1113 | ] [ sp:object | 1198 | ] [ sp:object |
1114 | - [ sp:varName "productVolumeRef"^^xsd:string | 1199 | + [ sp:varName "title"^^xsd:string |
1115 | ] ; | 1200 | ] ; |
1201 | + sp:predicate <http://purl.org/dc/elements/1.1/title> ; | ||
1202 | + sp:subject _:b4 | ||
1203 | + ]) ; | ||
1204 | + sp:where ([ sp:object spin:_this ; | ||
1116 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1205 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1117 | sp:subject | 1206 | sp:subject |
1118 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1207 | + [ sp:varName "productionReport"^^xsd:string |
1119 | ] | 1208 | ] |
1120 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 1209 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
1121 | sp:predicate rdf:type ; | 1210 | sp:predicate rdf:type ; |
1122 | sp:subject | 1211 | sp:subject |
1123 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1212 | + [ sp:varName "productionReport"^^xsd:string |
1124 | ] | 1213 | ] |
1125 | ] [ sp:object | 1214 | ] [ sp:object |
1126 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 1215 | + [ sp:varName "productVolumeRef"^^xsd:string |
1127 | ] ; | 1216 | ] ; |
1128 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1217 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
1129 | - sp:subject | 1218 | + sp:subject spin:_this |
1130 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1219 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
1131 | - ] | ||
1132 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
1133 | sp:predicate rdf:type ; | 1220 | sp:predicate rdf:type ; |
1134 | sp:subject | 1221 | sp:subject |
1135 | - [ sp:varName "productionFacilityToDate"^^xsd:string | 1222 | + [ sp:varName "productVolumeRef"^^xsd:string |
1136 | - ] | ||
1137 | - ]) | ||
1138 | - ] ; | ||
1139 | - spin:rule | ||
1140 | - [ rdf:type sp:Construct ; | ||
1141 | - rdfs:comment "STEP 20031 Record the start and end dates"^^xsd:string ; | ||
1142 | - sp:templates ([ sp:object | ||
1143 | - [ sp:varName "dateStart"^^xsd:string | ||
1144 | - ] ; | ||
1145 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
1146 | - sp:subject | ||
1147 | - [ sp:varName "productionFlowNetwork"^^xsd:string | ||
1148 | ] | 1223 | ] |
1149 | ] [ sp:object | 1224 | ] [ sp:object |
1150 | - [ sp:varName "dateEnd"^^xsd:string | 1225 | + [ sp:varName "nameRef"^^xsd:string |
1151 | ] ; | 1226 | ] ; |
1152 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1227 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; |
1153 | sp:subject | 1228 | sp:subject |
1154 | - [ sp:varName "productionFlowNetwork"^^xsd:string | 1229 | + [ sp:varName "productVolumeRef"^^xsd:string |
1155 | ] | 1230 | ] |
1156 | ] [ sp:object | 1231 | ] [ sp:object |
1157 | - [ sp:varName "dateEnd"^^xsd:string | 1232 | + [ sp:varName "name"^^xsd:string |
1158 | ] ; | 1233 | ] ; |
1159 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1234 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
1160 | sp:subject | 1235 | sp:subject |
1161 | - [ sp:varName "productionFlowNetworkToDate"^^xsd:string | 1236 | + [ sp:varName "nameRef"^^xsd:string |
1162 | ] | 1237 | ] |
1163 | - ] [ sp:object | 1238 | + ] [ rdf:type sp:Optional ; |
1164 | - [ sp:varName "dateStart"^^xsd:string | 1239 | + sp:elements ([ sp:object |
1240 | + [ sp:varName "periodKindRef"^^xsd:string | ||
1241 | + ] ; | ||
1242 | + sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ; | ||
1243 | + sp:subject | ||
1244 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1245 | + ] | ||
1246 | + ]) | ||
1247 | + ] [ rdf:type sp:Optional ; | ||
1248 | + sp:elements ([ sp:object | ||
1249 | + [ sp:varName "titleRef"^^xsd:string | ||
1250 | + ] ; | ||
1251 | + sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ; | ||
1252 | + sp:subject | ||
1253 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
1254 | + ] | ||
1255 | + ] [ sp:object | ||
1256 | + [ sp:varName "title"^^xsd:string | ||
1257 | + ] ; | ||
1258 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
1259 | + sp:subject | ||
1260 | + [ sp:varName "titleRef"^^xsd:string | ||
1261 | + ] | ||
1262 | + ]) | ||
1263 | + ] [ rdf:type sp:Bind ; | ||
1264 | + sp:expression | ||
1265 | + [ rdf:type ep-mpr-spin-lib:selectReportPeriodType ; | ||
1266 | + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | ||
1267 | + ] | ||
1165 | ] ; | 1268 | ] ; |
1166 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 1269 | + sp:variable |
1167 | - sp:subject | 1270 | + [ sp:varName "reportPeriodType"^^xsd:string |
1168 | - [ sp:varName "productionInventoryCollection"^^xsd:string | ||
1169 | ] | 1271 | ] |
1170 | - ] [ sp:object | 1272 | + ] [ rdf:type sp:Bind ; |
1171 | - [ sp:varName "dateEnd"^^xsd:string | 1273 | + sp:expression |
1274 | + [ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ; | ||
1275 | + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | ||
1276 | + ] | ||
1172 | ] ; | 1277 | ] ; |
1173 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1278 | + sp:variable |
1174 | - sp:subject | 1279 | + [ sp:varName "temporalPartDurationType"^^xsd:string |
1175 | - [ sp:varName "productionInventoryCollection"^^xsd:string | ||
1176 | ] | 1280 | ] |
1177 | - ] [ sp:object | 1281 | + ]) |
1178 | - [ sp:varName "dateEnd"^^xsd:string | 1282 | + ] ; |
1179 | - ] ; | 1283 | + spin:rule |
1180 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1284 | + [ rdf:type sp:Construct ; |
1285 | + rdfs:comment "STEP 20012 Create the period ProductionInventoryCollection and the ProductionInventoryCollectionToDate."^^xsd:string ; | ||
1286 | + sp:templates ([ sp:object _:b7 ; | ||
1287 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
1181 | sp:subject | 1288 | sp:subject |
1182 | - [ sp:varName "productionInventoryCollectionToDate"^^xsd:string | 1289 | + [ sp:varName "productVolumeReport"^^xsd:string |
1183 | ] | 1290 | ] |
1291 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ; | ||
1292 | + sp:predicate rdf:type ; | ||
1293 | + sp:subject _:b7 | ||
1184 | ] [ sp:object | 1294 | ] [ sp:object |
1185 | - [ sp:varName "dateStart"^^xsd:string | 1295 | + [ sp:varName "temporalPartDurationType"^^xsd:string |
1186 | ] ; | 1296 | ] ; |
1187 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 1297 | + sp:predicate rdf:type ; |
1188 | - sp:subject | 1298 | + sp:subject _:b7 |
1189 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
1190 | - ] | ||
1191 | ] [ sp:object | 1299 | ] [ sp:object |
1192 | - [ sp:varName "dateEnd"^^xsd:string | 1300 | + [ sp:varName "productVolumeRef"^^xsd:string |
1193 | ] ; | 1301 | ] ; |
1194 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 1302 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1303 | + sp:subject _:b7 | ||
1304 | + ] [ sp:object _:b8 ; | ||
1305 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1306 | + sp:subject _:b7 | ||
1307 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ; | ||
1308 | + sp:predicate rdf:type ; | ||
1309 | + sp:subject _:b8 | ||
1310 | + ] [ sp:object _:b7 ; | ||
1311 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; | ||
1195 | sp:subject | 1312 | sp:subject |
1196 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1313 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
1197 | ] | 1314 | ] |
1198 | - ] [ sp:object | 1315 | + ] [ sp:object _:b8 ; |
1199 | - [ sp:varName "dateEnd"^^xsd:string | 1316 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; |
1200 | - ] ; | ||
1201 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
1202 | sp:subject | 1317 | sp:subject |
1203 | [ sp:varName "productionFacilityToDate"^^xsd:string | 1318 | [ sp:varName "productionFacilityToDate"^^xsd:string |
1204 | ] | 1319 | ] |
1205 | ]) ; | 1320 | ]) ; |
1206 | - sp:where ([ sp:object | 1321 | + sp:where ([ sp:object spin:_this ; |
1207 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1208 | - ] ; | ||
1209 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
1210 | - sp:subject spin:_this | ||
1211 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
1212 | - sp:predicate rdf:type ; | ||
1213 | - sp:subject | ||
1214 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1215 | - ] | ||
1216 | - ] [ sp:object | ||
1217 | - [ sp:varName "dateStart"^^xsd:string | ||
1218 | - ] ; | ||
1219 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; | ||
1220 | - sp:subject | ||
1221 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1222 | - ] | ||
1223 | - ] [ sp:object | ||
1224 | - [ sp:varName "dateEnd"^^xsd:string | ||
1225 | - ] ; | ||
1226 | - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; | ||
1227 | - sp:subject | ||
1228 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1229 | - ] | ||
1230 | - ] [ sp:object | ||
1231 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1232 | - ] ; | ||
1233 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1322 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1234 | sp:subject | 1323 | sp:subject |
1235 | - [ sp:varName "productionFlowNetwork"^^xsd:string | 1324 | + [ sp:varName "productionReport"^^xsd:string |
1236 | ] | 1325 | ] |
1237 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | 1326 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
1238 | sp:predicate rdf:type ; | 1327 | sp:predicate rdf:type ; |
1239 | sp:subject | 1328 | sp:subject |
1240 | - [ sp:varName "productionFlowNetwork"^^xsd:string | 1329 | + [ sp:varName "productionReport"^^xsd:string |
1241 | ] | 1330 | ] |
1242 | ] [ sp:object | 1331 | ] [ sp:object |
1243 | - [ sp:varName "productionFlowNetworkToDate"^^xsd:string | 1332 | + [ sp:varName "productVolumeRef"^^xsd:string |
1244 | ] ; | 1333 | ] ; |
1245 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1334 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
1246 | - sp:subject | 1335 | + sp:subject spin:_this |
1247 | - [ sp:varName "productionFlowNetwork"^^xsd:string | 1336 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; |
1248 | - ] | ||
1249 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetworkToDate> ; | ||
1250 | sp:predicate rdf:type ; | 1337 | sp:predicate rdf:type ; |
1251 | sp:subject | 1338 | sp:subject |
1252 | - [ sp:varName "productionFlowNetworkToDate"^^xsd:string | 1339 | + [ sp:varName "productVolumeRef"^^xsd:string |
1253 | ] | 1340 | ] |
1254 | ] [ sp:object | 1341 | ] [ sp:object |
1255 | [ sp:varName "productVolumeRef"^^xsd:string | 1342 | [ sp:varName "productVolumeRef"^^xsd:string |
1256 | ] ; | 1343 | ] ; |
1257 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1344 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1258 | sp:subject | 1345 | sp:subject |
1259 | - [ sp:varName "productionInventoryCollection"^^xsd:string | 1346 | + [ sp:varName "productVolumeReport"^^xsd:string |
1260 | - ] | ||
1261 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ; | ||
1262 | - sp:predicate rdf:type ; | ||
1263 | - sp:subject | ||
1264 | - [ sp:varName "productionInventoryCollection"^^xsd:string | ||
1265 | - ] | ||
1266 | - ] [ sp:object | ||
1267 | - [ sp:varName "productionInventoryCollectionToDate"^^xsd:string | ||
1268 | - ] ; | ||
1269 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
1270 | - sp:subject | ||
1271 | - [ sp:varName "productionInventoryCollection"^^xsd:string | ||
1272 | ] | 1347 | ] |
1273 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollectionToDate> ; | 1348 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; |
1274 | sp:predicate rdf:type ; | 1349 | sp:predicate rdf:type ; |
1275 | sp:subject | 1350 | sp:subject |
1276 | - [ sp:varName "productionInventoryCollectionToDate"^^xsd:string | 1351 | + [ sp:varName "productVolumeReport"^^xsd:string |
1277 | ] | 1352 | ] |
1278 | ] [ sp:object | 1353 | ] [ sp:object |
1279 | [ sp:varName "productVolumeRef"^^xsd:string | 1354 | [ sp:varName "productVolumeRef"^^xsd:string |
... | @@ -1299,66 +1374,49 @@ | ... | @@ -1299,66 +1374,49 @@ |
1299 | sp:subject | 1374 | sp:subject |
1300 | [ sp:varName "productionFacilityToDate"^^xsd:string | 1375 | [ sp:varName "productionFacilityToDate"^^xsd:string |
1301 | ] | 1376 | ] |
1302 | - ]) | 1377 | + ] [ rdf:type sp:Optional ; |
1303 | - ] ; | 1378 | + sp:elements ([ sp:object |
1304 | - spin:rule | 1379 | + [ sp:varName "periodKindRef"^^xsd:string |
1305 | - [ rdf:type sp:Construct ; | 1380 | + ] ; |
1306 | - rdfs:comment """STEP 20060 Set the facility operator | 1381 | + sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ; |
1307 | -role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | 1382 | + sp:subject |
1308 | - sp:templates ([ sp:object _:b8 ; | 1383 | + [ sp:varName "productVolumeRef"^^xsd:string |
1309 | - sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; | 1384 | + ] |
1310 | - sp:subject | 1385 | + ]) |
1311 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1386 | + ] [ rdf:type sp:Exists ; |
1312 | - ] | 1387 | + sp:elements ([ sp:object |
1313 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; | 1388 | + [ sp:varName "facilityRef"^^xsd:string |
1314 | - sp:predicate rdf:type ; | 1389 | + ] ; |
1315 | - sp:subject _:b8 | 1390 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; |
1316 | - ] [ sp:object | 1391 | + sp:subject |
1317 | - [ sp:varName "operator"^^xsd:string | 1392 | + [ sp:varName "productVolumeRef"^^xsd:string |
1318 | - ] ; | 1393 | + ] |
1319 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1394 | + ] [ sp:object |
1320 | - sp:subject _:b8 | 1395 | + [ sp:varName "flowRef"^^xsd:string |
1321 | - ]) ; | 1396 | + ] ; |
1322 | - sp:where ([ sp:object | 1397 | + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; |
1323 | - [ sp:varName "productVolumeRef"^^xsd:string | 1398 | + sp:subject |
1324 | - ] ; | 1399 | + [ sp:varName "facilityRef"^^xsd:string |
1325 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 1400 | + ] |
1326 | - sp:subject spin:_this | 1401 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_inventory> ; |
1327 | - ] [ sp:object | 1402 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
1328 | - [ sp:varName "productVolumeRef"^^xsd:string | 1403 | + sp:subject |
1329 | - ] ; | 1404 | + [ sp:varName "flowRef"^^xsd:string |
1330 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1405 | + ] |
1331 | - sp:subject | 1406 | + ]) |
1332 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 1407 | + ] [ rdf:type sp:Bind ; |
1333 | - ] | 1408 | + sp:expression |
1334 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 1409 | + [ rdf:type ep-mpr-spin-lib:selectTemporalPartDurationType ; |
1335 | - sp:predicate rdf:type ; | 1410 | + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string |
1336 | - sp:subject | 1411 | + ] |
1337 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
1338 | - ] | ||
1339 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
1340 | - sp:predicate rdf:type ; | ||
1341 | - sp:subject | ||
1342 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1343 | - ] | ||
1344 | - ] [ sp:object | ||
1345 | - [ sp:varName "operatorRef"^^xsd:string | ||
1346 | - ] ; | ||
1347 | - sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ; | ||
1348 | - sp:subject | ||
1349 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
1350 | - ] | ||
1351 | - ] [ sp:object | ||
1352 | - [ sp:varName "operatorRef"^^xsd:string | ||
1353 | ] ; | 1412 | ] ; |
1354 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1413 | + sp:variable |
1355 | - sp:subject | 1414 | + [ sp:varName "temporalPartDurationType"^^xsd:string |
1356 | - [ sp:varName "operator"^^xsd:string | ||
1357 | ] | 1415 | ] |
1358 | ]) | 1416 | ]) |
1359 | ] . | 1417 | ] . |
1360 | 1418 | ||
1361 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> | 1419 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> |
1362 | rdf:type owl:Ontology ; | 1420 | rdf:type owl:Ontology ; |
1363 | - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ; | 1421 | + owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <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/transform/transform-helper-schema> ; |
1364 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 1422 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment