David Leal

dc:title replaced by ep-report:title

...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
13 13
14 <http://www.reportinghub.no/ep/schema/1.0/report> 14 <http://www.reportinghub.no/ep/schema/1.0/report>
15 rdf:type owl:Ontology ; 15 rdf:type owl:Ontology ;
16 - owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/well> ; 16 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/np/schema/1.0/npd> ;
17 owl:versionInfo "0.1.0"^^xsd:string . 17 owl:versionInfo "0.1.0"^^xsd:string .
18 18
19 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> 19 <http://www.reportinghub.no/ep/schema/activity#existsThroughout>
20 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 20 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
21 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 21 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
22 rdfs:label "exists throughout"^^xsd:string ; 22 rdfs:label "exists throughout"^^xsd:string ;
23 rdfs:range xsd:dateTime . 23 rdfs:range xsd:dateTime .
...@@ -43,7 +43,7 @@ ep-report:DailyProductionReport ...@@ -43,7 +43,7 @@ ep-report:DailyProductionReport
43 rdfs:subClassOf ep-report:ProductionReport . 43 rdfs:subClassOf ep-report:ProductionReport .
44 44
45 ep-report:FinalDailyDrillingReport 45 ep-report:FinalDailyDrillingReport
46 - rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ; 46 + rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
47 rdfs:label "final daily drilling report"^^xsd:string ; 47 rdfs:label "final daily drilling report"^^xsd:string ;
48 rdfs:subClassOf ep-report:DailyDrillingReport . 48 rdfs:subClassOf ep-report:DailyDrillingReport .
49 49
...@@ -62,13 +62,8 @@ ep-report:NonProductivetimeReport ...@@ -62,13 +62,8 @@ ep-report:NonProductivetimeReport
62 rdfs:subClassOf ep-report:Report ; 62 rdfs:subClassOf ep-report:Report ;
63 rdfs:subClassOf 63 rdfs:subClassOf
64 [ rdf:type owl:Restriction ; 64 [ rdf:type owl:Restriction ;
65 - owl:allValuesFrom xsd:dateTime ;
66 - owl:onProperty ep-report:createdAt
67 - ] ;
68 - rdfs:subClassOf
69 - [ rdf:type owl:Restriction ;
70 owl:cardinality "1"^^xsd:nonNegativeInteger ; 65 owl:cardinality "1"^^xsd:nonNegativeInteger ;
71 - owl:onProperty ep-report:createdAt 66 + owl:onProperty ep-report:reportOn
72 ] ; 67 ] ;
73 rdfs:subClassOf 68 rdfs:subClassOf
74 [ rdf:type owl:Restriction ; 69 [ rdf:type owl:Restriction ;
...@@ -78,16 +73,21 @@ ep-report:NonProductivetimeReport ...@@ -78,16 +73,21 @@ ep-report:NonProductivetimeReport
78 rdfs:subClassOf 73 rdfs:subClassOf
79 [ rdf:type owl:Restriction ; 74 [ rdf:type owl:Restriction ;
80 owl:cardinality "1"^^xsd:nonNegativeInteger ; 75 owl:cardinality "1"^^xsd:nonNegativeInteger ;
81 - owl:onProperty ep-report:reportOn 76 + owl:onProperty ep-report:createdAt
77 + ] ;
78 + rdfs:subClassOf
79 + [ rdf:type owl:Restriction ;
80 + owl:allValuesFrom xsd:dateTime ;
81 + owl:onProperty ep-report:createdAt
82 ] . 82 ] .
83 83
84 ep-report:NormalDailyDrillingReport 84 ep-report:NormalDailyDrillingReport
85 - rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ; 85 + rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
86 rdfs:label "normal daily drilling report"^^xsd:string ; 86 rdfs:label "normal daily drilling report"^^xsd:string ;
87 rdfs:subClassOf ep-report:DailyDrillingReport . 87 rdfs:subClassOf ep-report:DailyDrillingReport .
88 88
89 ep-report:PreliminaryDailyDrillingReport 89 ep-report:PreliminaryDailyDrillingReport
90 - rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ; 90 + rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
91 rdfs:label "preliminary daily drilling report"^^xsd:string ; 91 rdfs:label "preliminary daily drilling report"^^xsd:string ;
92 rdfs:subClassOf ep-report:DailyDrillingReport . 92 rdfs:subClassOf ep-report:DailyDrillingReport .
93 93
...@@ -131,8 +131,8 @@ ep-report:ReportAliasIdentifier ...@@ -131,8 +131,8 @@ ep-report:ReportAliasIdentifier
131 rdfs:subClassOf owl:Thing ; 131 rdfs:subClassOf owl:Thing ;
132 rdfs:subClassOf 132 rdfs:subClassOf
133 [ rdf:type owl:Restriction ; 133 [ rdf:type owl:Restriction ;
134 - owl:minCardinality "1"^^xsd:nonNegativeInteger ; 134 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
135 - owl:onProperty ep-report:aliasName 135 + owl:onProperty ep-report:isAliasFor
136 ] ; 136 ] ;
137 rdfs:subClassOf 137 rdfs:subClassOf
138 [ rdf:type owl:Restriction ; 138 [ rdf:type owl:Restriction ;
...@@ -141,62 +141,62 @@ ep-report:ReportAliasIdentifier ...@@ -141,62 +141,62 @@ ep-report:ReportAliasIdentifier
141 ] ; 141 ] ;
142 rdfs:subClassOf 142 rdfs:subClassOf
143 [ rdf:type owl:Restriction ; 143 [ rdf:type owl:Restriction ;
144 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 144 + owl:minCardinality "1"^^xsd:nonNegativeInteger ;
145 - owl:onProperty ep-report:isAliasFor 145 + owl:onProperty ep-report:aliasName
146 ] . 146 ] .
147 147
148 ep-report:ReportForGasYearToDate 148 ep-report:ReportForGasYearToDate
149 - rdf:type owl:Class , ep-report:ReportPeriodType ; 149 + rdf:type ep-report:ReportPeriodType , owl:Class ;
150 rdfs:label "report for gas year to date"^^xsd:string ; 150 rdfs:label "report for gas year to date"^^xsd:string ;
151 rdfs:subClassOf ep-report:Report . 151 rdfs:subClassOf ep-report:Report .
152 152
153 ep-report:ReportForInstant 153 ep-report:ReportForInstant
154 - rdf:type owl:Class , ep-report:ReportPeriodType ; 154 + rdf:type ep-report:ReportPeriodType , owl:Class ;
155 rdfs:label "report for instant"^^xsd:string ; 155 rdfs:label "report for instant"^^xsd:string ;
156 rdfs:subClassOf ep-report:Report . 156 rdfs:subClassOf ep-report:Report .
157 157
158 ep-report:ReportForMonthToDate 158 ep-report:ReportForMonthToDate
159 - rdf:type owl:Class , ep-report:ReportPeriodType ; 159 + rdf:type ep-report:ReportPeriodType , owl:Class ;
160 rdfs:label "report for month to date"^^xsd:string ; 160 rdfs:label "report for month to date"^^xsd:string ;
161 rdfs:subClassOf ep-report:Report . 161 rdfs:subClassOf ep-report:Report .
162 162
163 ep-report:ReportForOneDay 163 ep-report:ReportForOneDay
164 - rdf:type owl:Class , ep-report:ReportPeriodType ; 164 + rdf:type ep-report:ReportPeriodType , owl:Class ;
165 rdfs:label "report for one day"^^xsd:string ; 165 rdfs:label "report for one day"^^xsd:string ;
166 rdfs:subClassOf ep-report:Report . 166 rdfs:subClassOf ep-report:Report .
167 167
168 ep-report:ReportForOneGasDay 168 ep-report:ReportForOneGasDay
169 - rdf:type owl:Class , ep-report:ReportPeriodType ; 169 + rdf:type ep-report:ReportPeriodType , owl:Class ;
170 rdfs:label "report for one gas day"^^xsd:string ; 170 rdfs:label "report for one gas day"^^xsd:string ;
171 rdfs:subClassOf ep-report:Report . 171 rdfs:subClassOf ep-report:Report .
172 172
173 ep-report:ReportForOneGasMonth 173 ep-report:ReportForOneGasMonth
174 - rdf:type owl:Class , ep-report:ReportPeriodType ; 174 + rdf:type ep-report:ReportPeriodType , owl:Class ;
175 rdfs:label "report for one gas month"^^xsd:string ; 175 rdfs:label "report for one gas month"^^xsd:string ;
176 rdfs:subClassOf ep-report:Report . 176 rdfs:subClassOf ep-report:Report .
177 177
178 ep-report:ReportForOneGasYear 178 ep-report:ReportForOneGasYear
179 - rdf:type owl:Class , ep-report:ReportPeriodType ; 179 + rdf:type ep-report:ReportPeriodType , owl:Class ;
180 rdfs:label "report for one gas year"^^xsd:string ; 180 rdfs:label "report for one gas year"^^xsd:string ;
181 rdfs:subClassOf ep-report:Report . 181 rdfs:subClassOf ep-report:Report .
182 182
183 ep-report:ReportForOneMonth 183 ep-report:ReportForOneMonth
184 - rdf:type owl:Class , ep-report:ReportPeriodType ; 184 + rdf:type ep-report:ReportPeriodType , owl:Class ;
185 rdfs:label "report for one month"^^xsd:string ; 185 rdfs:label "report for one month"^^xsd:string ;
186 rdfs:subClassOf ep-report:Report . 186 rdfs:subClassOf ep-report:Report .
187 187
188 ep-report:ReportForOneWeek 188 ep-report:ReportForOneWeek
189 - rdf:type owl:Class , ep-report:ReportPeriodType ; 189 + rdf:type ep-report:ReportPeriodType , owl:Class ;
190 rdfs:label "report for one week"^^xsd:string ; 190 rdfs:label "report for one week"^^xsd:string ;
191 rdfs:subClassOf ep-report:Report . 191 rdfs:subClassOf ep-report:Report .
192 192
193 ep-report:ReportForOneYear 193 ep-report:ReportForOneYear
194 - rdf:type owl:Class , ep-report:ReportPeriodType ; 194 + rdf:type ep-report:ReportPeriodType , owl:Class ;
195 rdfs:label "report for one year"^^xsd:string ; 195 rdfs:label "report for one year"^^xsd:string ;
196 rdfs:subClassOf ep-report:Report . 196 rdfs:subClassOf ep-report:Report .
197 197
198 ep-report:ReportForYearToDate 198 ep-report:ReportForYearToDate
199 - rdf:type ep-report:ReportPeriodType , owl:Class ; 199 + rdf:type owl:Class , ep-report:ReportPeriodType ;
200 rdfs:label "report for year to date"^^xsd:string ; 200 rdfs:label "report for year to date"^^xsd:string ;
201 rdfs:subClassOf ep-report:Report . 201 rdfs:subClassOf ep-report:Report .
202 202
...@@ -210,23 +210,23 @@ ep-report:WeeklyDrillingReport ...@@ -210,23 +210,23 @@ ep-report:WeeklyDrillingReport
210 rdfs:subClassOf ep-report:Report ; 210 rdfs:subClassOf ep-report:Report ;
211 rdfs:subClassOf 211 rdfs:subClassOf
212 [ rdf:type owl:Restriction ; 212 [ rdf:type owl:Restriction ;
213 - owl:allValuesFrom ep-report:DailyDrillingReport ; 213 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
214 - owl:onProperty ep-report:reportOn 214 + owl:onProperty ep-report:createdAt
215 ] ; 215 ] ;
216 rdfs:subClassOf 216 rdfs:subClassOf
217 [ rdf:type owl:Restriction ; 217 [ rdf:type owl:Restriction ;
218 - owl:cardinality "7"^^xsd:nonNegativeInteger ; 218 + owl:allValuesFrom xsd:dateTime ;
219 - owl:onProperty ep-report:reportOn 219 + owl:onProperty ep-report:createdAt
220 ] ; 220 ] ;
221 rdfs:subClassOf 221 rdfs:subClassOf
222 [ rdf:type owl:Restriction ; 222 [ rdf:type owl:Restriction ;
223 - owl:allValuesFrom xsd:dateTime ; 223 + owl:cardinality "7"^^xsd:nonNegativeInteger ;
224 - owl:onProperty ep-report:createdAt 224 + owl:onProperty ep-report:reportOn
225 ] ; 225 ] ;
226 rdfs:subClassOf 226 rdfs:subClassOf
227 [ rdf:type owl:Restriction ; 227 [ rdf:type owl:Restriction ;
228 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 228 + owl:allValuesFrom ep-report:DailyDrillingReport ;
229 - owl:onProperty ep-report:createdAt 229 + owl:onProperty ep-report:reportOn
230 ] . 230 ] .
231 231
232 ep-report:WellTestReport 232 ep-report:WellTestReport
...@@ -243,12 +243,12 @@ ep-report:aliasOwner ...@@ -243,12 +243,12 @@ ep-report:aliasOwner
243 rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> . 243 rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> .
244 244
245 ep-report:createdAt 245 ep-report:createdAt
246 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 246 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
247 rdfs:domain ep-report:Report ; 247 rdfs:domain ep-report:Report ;
248 rdfs:label "created at"^^xsd:string . 248 rdfs:label "created at"^^xsd:string .
249 249
250 ep-report:dailyDrillingReportNumber 250 ep-report:dailyDrillingReportNumber
251 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 251 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
252 rdfs:domain ep-report:DailyDrillingReport ; 252 rdfs:domain ep-report:DailyDrillingReport ;
253 rdfs:label "daily drilling report number"^^xsd:string . 253 rdfs:label "daily drilling report number"^^xsd:string .
254 254
...@@ -273,7 +273,7 @@ ep-report:disclaimer ...@@ -273,7 +273,7 @@ ep-report:disclaimer
273 rdfs:range xsd:string . 273 rdfs:range xsd:string .
274 274
275 ep-report:hasContent 275 ep-report:hasContent
276 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 276 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
277 rdfs:domain ep-report:Report ; 277 rdfs:domain ep-report:Report ;
278 rdfs:label "has content"^^xsd:string . 278 rdfs:label "has content"^^xsd:string .
279 279
...@@ -282,12 +282,12 @@ ep-report:isAliasFor ...@@ -282,12 +282,12 @@ ep-report:isAliasFor
282 rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> . 282 rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> .
283 283
284 ep-report:issuedAt 284 ep-report:issuedAt
285 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 285 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
286 rdfs:domain ep-report:Report ; 286 rdfs:domain ep-report:Report ;
287 rdfs:label "issued at"^^xsd:string . 287 rdfs:label "issued at"^^xsd:string .
288 288
289 ep-report:nameAsDatumObject 289 ep-report:nameAsDatumObject
290 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 290 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
291 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 291 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
292 rdfs:label "name as datum object"^^xsd:string . 292 rdfs:label "name as datum object"^^xsd:string .
293 293
...@@ -297,13 +297,19 @@ ep-report:reportOn ...@@ -297,13 +297,19 @@ ep-report:reportOn
297 rdfs:label "report on"^^xsd:string . 297 rdfs:label "report on"^^xsd:string .
298 298
299 ep-report:reportSubmittedBy 299 ep-report:reportSubmittedBy
300 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 300 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
301 rdfs:domain ep-report:Report ; 301 rdfs:domain ep-report:Report ;
302 rdfs:label "report submitted by"^^xsd:string ; 302 rdfs:label "report submitted by"^^xsd:string ;
303 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . 303 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
304 304
305 ep-report:reportSubmittedFrom 305 ep-report:reportSubmittedFrom
306 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 306 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
307 rdfs:domain ep-report:Report ; 307 rdfs:domain ep-report:Report ;
308 rdfs:label "report submitted from"^^xsd:string ; 308 rdfs:label "report submitted from"^^xsd:string ;
309 rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> . 309 rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
310 +
311 +ep-report:title
312 + rdf:type owl:DatatypeProperty ;
313 + rdfs:domain ep-report:Report ;
314 + rdfs:label "title"^^xsd:string ;
315 + rdfs:range xsd:string .
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
61 ] [ sp:object 61 ] [ sp:object
62 [ sp:varName "title"^^xsd:string 62 [ sp:varName "title"^^xsd:string
63 ] ; 63 ] ;
64 - sp:predicate <http://purl.org/dc/elements/1.1/title> ; 64 + sp:predicate <http://www.reportinghub.no/ep/schema/report#title> ;
65 sp:subject _:b1 65 sp:subject _:b1
66 ]) ; 66 ]) ;
67 sp:where ([ sp:object spin:_this ; 67 sp:where ([ sp:object spin:_this ;
...@@ -136,17 +136,21 @@ ...@@ -136,17 +136,21 @@
136 ] ; 136 ] ;
137 spin:rule 137 spin:rule
138 [ rdf:type sp:Construct ; 138 [ rdf:type sp:Construct ;
139 - rdfs:comment "STEP 40040 Set the installation"^^xsd:string ; 139 + rdfs:comment "STEP 40051 Set the context facility - installation does not exist"^^xsd:string ;
140 - sp:templates ([ sp:object 140 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
141 - [ sp:varName "productionFacility"^^xsd:string 141 + sp:predicate rdf:type ;
142 + sp:subject _:b4
143 + ] [ sp:object
144 + [ sp:varName "contextFacility"^^xsd:string
142 ] ; 145 ] ;
146 + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
147 + sp:subject _:b4
148 + ] [ sp:object _:b4 ;
143 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 149 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
144 sp:subject 150 sp:subject
145 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string 151 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
146 ] 152 ]
147 - ] [ sp:object 153 + ] [ sp:object _:b4 ;
148 - [ sp:varName "productionFacility"^^xsd:string
149 - ] ;
150 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 154 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
151 sp:subject 155 sp:subject
152 [ sp:varName "productionFacilityToDate"^^xsd:string 156 [ sp:varName "productionFacilityToDate"^^xsd:string
...@@ -162,7 +166,8 @@ ...@@ -162,7 +166,8 @@
162 sp:subject 166 sp:subject
163 [ sp:varName "productionOperationRef"^^xsd:string 167 [ sp:varName "productionOperationRef"^^xsd:string
164 ] 168 ]
165 - ] [ sp:object 169 + ] [ rdf:type sp:NotExists ;
170 + sp:elements ([ sp:object
166 [ sp:varName "installationRef"^^xsd:string 171 [ sp:varName "installationRef"^^xsd:string
167 ] ; 172 ] ;
168 sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; 173 sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
...@@ -176,8 +181,23 @@ ...@@ -176,8 +181,23 @@
176 sp:subject 181 sp:subject
177 [ sp:varName "productionFacility"^^xsd:string 182 [ sp:varName "productionFacility"^^xsd:string
178 ] 183 ]
184 + ])
179 ] [ sp:object 185 ] [ sp:object
186 + [ sp:varName "contextFacilityRef"^^xsd:string
187 + ] ;
188 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
189 + sp:subject
180 [ sp:varName "productionOperationRef"^^xsd:string 190 [ sp:varName "productionOperationRef"^^xsd:string
191 + ]
192 + ] [ sp:object
193 + [ sp:varName "contextFacilityRef"^^xsd:string
194 + ] ;
195 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
196 + sp:subject
197 + [ sp:varName "contextFacility"^^xsd:string
198 + ]
199 + ] [ sp:object
200 + [ sp:varName "productVolumeRef"^^xsd:string
181 ] ; 201 ] ;
182 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 202 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
183 sp:subject 203 sp:subject
...@@ -204,69 +224,27 @@ ...@@ -204,69 +224,27 @@
204 ] ; 224 ] ;
205 spin:rule 225 spin:rule
206 [ rdf:type sp:Construct ; 226 [ rdf:type sp:Construct ;
207 - rdfs:comment """STEP 40060 Set the facility operator 227 + rdfs:comment "STEP 40031 Record the start and end dates"^^xsd:string ;
208 -role is ignored, because it is implicitly \"operator\""""^^xsd:string ; 228 + sp:templates ([ sp:object
209 - sp:templates ([ sp:object _:b4 ; 229 + [ sp:varName "dateStart"^^xsd:string
210 - sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
211 - sp:subject
212 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
213 - ]
214 - ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
215 - sp:predicate rdf:type ;
216 - sp:subject _:b4
217 - ] [ sp:object
218 - [ sp:varName "operator"^^xsd:string
219 - ] ;
220 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
221 - sp:subject _:b4
222 - ]) ;
223 - sp:where ([ sp:object
224 - [ sp:varName "productionOperationRef"^^xsd:string
225 - ] ;
226 - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
227 - sp:subject spin:_this
228 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
229 - sp:predicate rdf:type ;
230 - sp:subject
231 - [ sp:varName "productionOperationRef"^^xsd:string
232 - ]
233 - ] [ sp:object
234 - [ sp:varName "productionOperationRef"^^xsd:string
235 ] ; 230 ] ;
236 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 231 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
237 - sp:subject
238 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
239 - ]
240 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
241 - sp:predicate rdf:type ;
242 sp:subject 232 sp:subject
243 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string 233 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
244 ] 234 ]
245 ] [ sp:object 235 ] [ sp:object
246 - [ sp:varName "operatorRef"^^xsd:string 236 + [ sp:varName "dateEnd"^^xsd:string
247 ] ; 237 ] ;
248 - sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ; 238 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
249 sp:subject 239 sp:subject
250 - [ sp:varName "productionOperationRef"^^xsd:string 240 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
251 ] 241 ]
252 ] [ sp:object 242 ] [ sp:object
253 - [ sp:varName "operatorRef"^^xsd:string 243 + [ sp:varName "dateEnd"^^xsd:string
254 - ] ;
255 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
256 - sp:subject
257 - [ sp:varName "operator"^^xsd:string
258 - ]
259 - ])
260 - ] ;
261 - spin:rule
262 - [ rdf:type sp:Construct ;
263 - rdfs:comment "STEP 40050 Set the context facility - installation exists"^^xsd:string ;
264 - sp:templates ([ sp:object
265 - [ sp:varName "contextFacility"^^xsd:string
266 ] ; 244 ] ;
267 - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; 245 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
268 sp:subject 246 sp:subject
269 - [ sp:varName "productionFacility"^^xsd:string 247 + [ sp:varName "productionFacilityToDate"^^xsd:string
270 ] 248 ]
271 ]) ; 249 ]) ;
272 sp:where ([ sp:object 250 sp:where ([ sp:object
...@@ -280,32 +258,42 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; ...@@ -280,32 +258,42 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
280 [ sp:varName "productionOperationRef"^^xsd:string 258 [ sp:varName "productionOperationRef"^^xsd:string
281 ] 259 ]
282 ] [ sp:object 260 ] [ sp:object
283 - [ sp:varName "installationRef"^^xsd:string 261 + [ sp:varName "dateStart"^^xsd:string
284 ] ; 262 ] ;
285 - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; 263 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
286 sp:subject 264 sp:subject
287 [ sp:varName "productionOperationRef"^^xsd:string 265 [ sp:varName "productionOperationRef"^^xsd:string
288 ] 266 ]
289 ] [ sp:object 267 ] [ sp:object
290 - [ sp:varName "installationRef"^^xsd:string 268 + [ sp:varName "dateEnd"^^xsd:string
291 ] ; 269 ] ;
292 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 270 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
293 sp:subject 271 sp:subject
294 - [ sp:varName "productionFacility"^^xsd:string 272 + [ sp:varName "productionOperationsRef"^^xsd:string
295 ] 273 ]
296 ] [ sp:object 274 ] [ sp:object
297 - [ sp:varName "contextFacilityRef"^^xsd:string 275 + [ sp:varName "productionOperationRef"^^xsd:string
298 ] ; 276 ] ;
299 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ; 277 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
300 sp:subject 278 sp:subject
301 - [ sp:varName "productionOperationRef"^^xsd:string 279 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
280 + ]
281 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
282 + sp:predicate rdf:type ;
283 + sp:subject
284 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
302 ] 285 ]
303 ] [ sp:object 286 ] [ sp:object
304 - [ sp:varName "contextFacilityRef"^^xsd:string 287 + [ sp:varName "productionFacilityToDate"^^xsd:string
305 ] ; 288 ] ;
306 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 289 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
307 sp:subject 290 sp:subject
308 - [ sp:varName "contextFacility"^^xsd:string 291 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
292 + ]
293 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
294 + sp:predicate rdf:type ;
295 + sp:subject
296 + [ sp:varName "productionFacilityToDate"^^xsd:string
309 ] 297 ]
310 ]) 298 ])
311 ] ; 299 ] ;
...@@ -386,27 +374,13 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; ...@@ -386,27 +374,13 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
386 ] ; 374 ] ;
387 spin:rule 375 spin:rule
388 [ rdf:type sp:Construct ; 376 [ rdf:type sp:Construct ;
389 - rdfs:comment "STEP 40031 Record the start and end dates"^^xsd:string ; 377 + rdfs:comment "STEP 40050 Set the context facility - installation exists"^^xsd:string ;
390 sp:templates ([ sp:object 378 sp:templates ([ sp:object
391 - [ sp:varName "dateStart"^^xsd:string 379 + [ sp:varName "contextFacility"^^xsd:string
392 - ] ;
393 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
394 - sp:subject
395 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
396 - ]
397 - ] [ sp:object
398 - [ sp:varName "dateEnd"^^xsd:string
399 - ] ;
400 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
401 - sp:subject
402 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
403 - ]
404 - ] [ sp:object
405 - [ sp:varName "dateEnd"^^xsd:string
406 ] ; 380 ] ;
407 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 381 + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
408 sp:subject 382 sp:subject
409 - [ sp:varName "productionFacilityToDate"^^xsd:string 383 + [ sp:varName "productionFacility"^^xsd:string
410 ] 384 ]
411 ]) ; 385 ]) ;
412 sp:where ([ sp:object 386 sp:where ([ sp:object
...@@ -420,62 +394,104 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; ...@@ -420,62 +394,104 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
420 [ sp:varName "productionOperationRef"^^xsd:string 394 [ sp:varName "productionOperationRef"^^xsd:string
421 ] 395 ]
422 ] [ sp:object 396 ] [ sp:object
423 - [ sp:varName "dateStart"^^xsd:string 397 + [ sp:varName "installationRef"^^xsd:string
424 ] ; 398 ] ;
425 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ; 399 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
426 sp:subject 400 sp:subject
427 [ sp:varName "productionOperationRef"^^xsd:string 401 [ sp:varName "productionOperationRef"^^xsd:string
428 ] 402 ]
429 ] [ sp:object 403 ] [ sp:object
430 - [ sp:varName "dateEnd"^^xsd:string 404 + [ sp:varName "installationRef"^^xsd:string
431 ] ; 405 ] ;
432 - sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; 406 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
433 sp:subject 407 sp:subject
434 - [ sp:varName "productionOperationsRef"^^xsd:string 408 + [ sp:varName "productionFacility"^^xsd:string
435 ] 409 ]
436 ] [ sp:object 410 ] [ sp:object
411 + [ sp:varName "contextFacilityRef"^^xsd:string
412 + ] ;
413 + sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
414 + sp:subject
437 [ sp:varName "productionOperationRef"^^xsd:string 415 [ sp:varName "productionOperationRef"^^xsd:string
416 + ]
417 + ] [ sp:object
418 + [ sp:varName "contextFacilityRef"^^xsd:string
438 ] ; 419 ] ;
439 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 420 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
440 sp:subject 421 sp:subject
441 - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string 422 + [ sp:varName "contextFacility"^^xsd:string
442 ] 423 ]
443 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; 424 + ])
444 - sp:predicate rdf:type ; 425 + ] ;
426 + spin:rule
427 + [ rdf:type sp:Construct ;
428 + rdfs:comment """STEP 40060 Set the facility operator
429 +role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
430 + sp:templates ([ sp:object _:b5 ;
431 + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
445 sp:subject 432 sp:subject
446 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string 433 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
447 ] 434 ]
435 + ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
436 + sp:predicate rdf:type ;
437 + sp:subject _:b5
448 ] [ sp:object 438 ] [ sp:object
449 - [ sp:varName "productionFacilityToDate"^^xsd:string 439 + [ sp:varName "operator"^^xsd:string
450 ] ; 440 ] ;
451 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 441 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
442 + sp:subject _:b5
443 + ]) ;
444 + sp:where ([ sp:object
445 + [ sp:varName "productionOperationRef"^^xsd:string
446 + ] ;
447 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
448 + sp:subject spin:_this
449 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
450 + sp:predicate rdf:type ;
451 + sp:subject
452 + [ sp:varName "productionOperationRef"^^xsd:string
453 + ]
454 + ] [ sp:object
455 + [ sp:varName "productionOperationRef"^^xsd:string
456 + ] ;
457 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
452 sp:subject 458 sp:subject
453 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string 459 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
454 ] 460 ]
455 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; 461 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
456 sp:predicate rdf:type ; 462 sp:predicate rdf:type ;
457 sp:subject 463 sp:subject
458 - [ sp:varName "productionFacilityToDate"^^xsd:string 464 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
465 + ]
466 + ] [ sp:object
467 + [ sp:varName "operatorRef"^^xsd:string
468 + ] ;
469 + sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
470 + sp:subject
471 + [ sp:varName "productionOperationRef"^^xsd:string
472 + ]
473 + ] [ sp:object
474 + [ sp:varName "operatorRef"^^xsd:string
475 + ] ;
476 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
477 + sp:subject
478 + [ sp:varName "operator"^^xsd:string
459 ] 479 ]
460 ]) 480 ])
461 ] ; 481 ] ;
462 spin:rule 482 spin:rule
463 [ rdf:type sp:Construct ; 483 [ rdf:type sp:Construct ;
464 - rdfs:comment "STEP 40051 Set the context facility - installation does not exist"^^xsd:string ; 484 + rdfs:comment "STEP 40040 Set the installation"^^xsd:string ;
465 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; 485 + sp:templates ([ sp:object
466 - sp:predicate rdf:type ; 486 + [ sp:varName "productionFacility"^^xsd:string
467 - sp:subject _:b5
468 - ] [ sp:object
469 - [ sp:varName "contextFacility"^^xsd:string
470 ] ; 487 ] ;
471 - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
472 - sp:subject _:b5
473 - ] [ sp:object _:b5 ;
474 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 488 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
475 sp:subject 489 sp:subject
476 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string 490 [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
477 ] 491 ]
478 - ] [ sp:object _:b5 ; 492 + ] [ sp:object
493 + [ sp:varName "productionFacility"^^xsd:string
494 + ] ;
479 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 495 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
480 sp:subject 496 sp:subject
481 [ sp:varName "productionFacilityToDate"^^xsd:string 497 [ sp:varName "productionFacilityToDate"^^xsd:string
...@@ -491,8 +507,7 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; ...@@ -491,8 +507,7 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
491 sp:subject 507 sp:subject
492 [ sp:varName "productionOperationRef"^^xsd:string 508 [ sp:varName "productionOperationRef"^^xsd:string
493 ] 509 ]
494 - ] [ rdf:type sp:NotExists ; 510 + ] [ sp:object
495 - sp:elements ([ sp:object
496 [ sp:varName "installationRef"^^xsd:string 511 [ sp:varName "installationRef"^^xsd:string
497 ] ; 512 ] ;
498 sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; 513 sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
...@@ -506,23 +521,8 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; ...@@ -506,23 +521,8 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
506 sp:subject 521 sp:subject
507 [ sp:varName "productionFacility"^^xsd:string 522 [ sp:varName "productionFacility"^^xsd:string
508 ] 523 ]
509 - ])
510 ] [ sp:object 524 ] [ sp:object
511 - [ sp:varName "contextFacilityRef"^^xsd:string
512 - ] ;
513 - sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
514 - sp:subject
515 [ sp:varName "productionOperationRef"^^xsd:string 525 [ sp:varName "productionOperationRef"^^xsd:string
516 - ]
517 - ] [ sp:object
518 - [ sp:varName "contextFacilityRef"^^xsd:string
519 - ] ;
520 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
521 - sp:subject
522 - [ sp:varName "contextFacility"^^xsd:string
523 - ]
524 - ] [ sp:object
525 - [ sp:varName "productVolumeRef"^^xsd:string
526 ] ; 526 ] ;
527 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 527 sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
528 sp:subject 528 sp:subject
...@@ -637,5 +637,5 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ; ...@@ -637,5 +637,5 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
637 637
638 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1> 638 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1>
639 rdf:type owl:Ontology ; 639 rdf:type owl:Ontology ;
640 - owl:imports <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> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; 640 + owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <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> ;
641 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 641 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......