David Leal

Fixed an inventory bug

...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 14
15 <http://www.reportinghub.no/ep/schema/1.0/report> 15 <http://www.reportinghub.no/ep/schema/1.0/report>
16 rdf:type owl:Ontology ; 16 rdf:type owl:Ontology ;
17 - owl:imports <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/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/np/schema/1.0/npd> ; 17 + owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <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> ;
18 owl:versionInfo "0.1.0"^^xsd:string . 18 owl:versionInfo "0.1.0"^^xsd:string .
19 19
20 <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> 20 <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType>
...@@ -48,13 +48,13 @@ ep-report:DrillingReport ...@@ -48,13 +48,13 @@ ep-report:DrillingReport
48 rdfs:subClassOf ep-report:Report . 48 rdfs:subClassOf ep-report:Report .
49 49
50 ep-report:FinalDailyDrillingReport 50 ep-report:FinalDailyDrillingReport
51 - rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ; 51 + rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
52 rdfs:comment "daily drilling report that contains the final definitive status for the well. This report is normally issued some period of time (e.g., 6 months) after the completion of drilling. (source: DDR-XSD)"^^xsd:string ; 52 rdfs:comment "daily drilling report that contains the final definitive status for the well. This report is normally issued some period of time (e.g., 6 months) after the completion of drilling. (source: DDR-XSD)"^^xsd:string ;
53 rdfs:label "final daily drilling report"^^xsd:string ; 53 rdfs:label "final daily drilling report"^^xsd:string ;
54 rdfs:subClassOf ep-report:DailyDrillingReport . 54 rdfs:subClassOf ep-report:DailyDrillingReport .
55 55
56 ep-report:FinalVersionOfAReport 56 ep-report:FinalVersionOfAReport
57 - rdf:type ep-report:ReportVersionStatus , owl:Class ; 57 + rdf:type owl:Class , ep-report:ReportVersionStatus ;
58 rdfs:comment "report that is a final version"^^xsd:string ; 58 rdfs:comment "report that is a final version"^^xsd:string ;
59 rdfs:label "final version of a report"^^xsd:string ; 59 rdfs:label "final version of a report"^^xsd:string ;
60 rdfs:subClassOf ep-report:Report . 60 rdfs:subClassOf ep-report:Report .
...@@ -90,8 +90,13 @@ ep-report:NonProductivetimeReport ...@@ -90,8 +90,13 @@ ep-report:NonProductivetimeReport
90 rdfs:subClassOf ep-report:Report ; 90 rdfs:subClassOf ep-report:Report ;
91 rdfs:subClassOf 91 rdfs:subClassOf
92 [ rdf:type owl:Restriction ; 92 [ rdf:type owl:Restriction ;
93 + owl:allValuesFrom ep-report:DailyDrillingReport ;
94 + owl:onProperty ep-report:reportOn
95 + ] ;
96 + rdfs:subClassOf
97 + [ rdf:type owl:Restriction ;
93 owl:cardinality "1"^^xsd:nonNegativeInteger ; 98 owl:cardinality "1"^^xsd:nonNegativeInteger ;
94 - owl:onProperty ep-report:createdAt 99 + owl:onProperty ep-report:reportOn
95 ] ; 100 ] ;
96 rdfs:subClassOf 101 rdfs:subClassOf
97 [ rdf:type owl:Restriction ; 102 [ rdf:type owl:Restriction ;
...@@ -101,28 +106,23 @@ ep-report:NonProductivetimeReport ...@@ -101,28 +106,23 @@ ep-report:NonProductivetimeReport
101 rdfs:subClassOf 106 rdfs:subClassOf
102 [ rdf:type owl:Restriction ; 107 [ rdf:type owl:Restriction ;
103 owl:cardinality "1"^^xsd:nonNegativeInteger ; 108 owl:cardinality "1"^^xsd:nonNegativeInteger ;
104 - owl:onProperty ep-report:reportOn 109 + owl:onProperty ep-report:createdAt
105 - ] ;
106 - rdfs:subClassOf
107 - [ rdf:type owl:Restriction ;
108 - owl:allValuesFrom ep-report:DailyDrillingReport ;
109 - owl:onProperty ep-report:reportOn
110 ] . 110 ] .
111 111
112 ep-report:NormalDailyDrillingReport 112 ep-report:NormalDailyDrillingReport
113 - rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ; 113 + rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
114 rdfs:comment "daily drilling report that has been approved by the drilling operator (source: DDR-XSD)"^^xsd:string ; 114 rdfs:comment "daily drilling report that has been approved by the drilling operator (source: DDR-XSD)"^^xsd:string ;
115 rdfs:label "normal daily drilling report"^^xsd:string ; 115 rdfs:label "normal daily drilling report"^^xsd:string ;
116 - rdfs:subClassOf ep-report:DailyDrillingReport , ep-report:FinalVersionOfAReport . 116 + rdfs:subClassOf ep-report:FinalVersionOfAReport , ep-report:DailyDrillingReport .
117 117
118 ep-report:PreliminaryDailyDrillingReport 118 ep-report:PreliminaryDailyDrillingReport
119 - rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ; 119 + rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
120 rdfs:comment "daily drilling report that is a preliminary report that has not yet been approved by the drilling operator. This report is normally issued at the beginning of the work day (e.g., 6:00 am) before. (source: DDR-XSD)"^^xsd:string ; 120 rdfs:comment "daily drilling report that is a preliminary report that has not yet been approved by the drilling operator. This report is normally issued at the beginning of the work day (e.g., 6:00 am) before. (source: DDR-XSD)"^^xsd:string ;
121 rdfs:label "preliminary daily drilling report"^^xsd:string ; 121 rdfs:label "preliminary daily drilling report"^^xsd:string ;
122 - rdfs:subClassOf ep-report:DailyDrillingReport , ep-report:PreliminaryVersionOfAReport . 122 + rdfs:subClassOf ep-report:PreliminaryVersionOfAReport , ep-report:DailyDrillingReport .
123 123
124 ep-report:PreliminaryVersionOfAReport 124 ep-report:PreliminaryVersionOfAReport
125 - rdf:type ep-report:ReportVersionStatus , owl:Class ; 125 + rdf:type owl:Class , ep-report:ReportVersionStatus ;
126 rdfs:comment "report that is a preliminary version"^^xsd:string ; 126 rdfs:comment "report that is a preliminary version"^^xsd:string ;
127 rdfs:label "preliminary version of a report"^^xsd:string ; 127 rdfs:label "preliminary version of a report"^^xsd:string ;
128 rdfs:subClassOf ep-report:Report . 128 rdfs:subClassOf ep-report:Report .
...@@ -133,6 +133,12 @@ ep-report:ProductVolumeFlowReport ...@@ -133,6 +133,12 @@ ep-report:ProductVolumeFlowReport
133 rdfs:label "product volume flow report"^^xsd:string ; 133 rdfs:label "product volume flow report"^^xsd:string ;
134 rdfs:subClassOf ep-report:Report . 134 rdfs:subClassOf ep-report:Report .
135 135
136 +ep-report:ProductVolumeInventoryReport
137 + rdf:type owl:Class ;
138 + rdfs:comment "report that is part of a product volume report and that is about a single inventory"^^xsd:string ;
139 + rdfs:label "product volume inventory report"^^xsd:string ;
140 + rdfs:subClassOf ep-report:Report .
141 +
136 ep-report:ProductVolumeReport 142 ep-report:ProductVolumeReport
137 rdf:type owl:Class ; 143 rdf:type owl:Class ;
138 rdfs:comment "report that is part of a production report and that is about product volumes"^^xsd:string ; 144 rdfs:comment "report that is part of a production report and that is about product volumes"^^xsd:string ;
...@@ -170,55 +176,55 @@ ep-report:Report ...@@ -170,55 +176,55 @@ ep-report:Report
170 rdfs:subClassOf owl:Thing . 176 rdfs:subClassOf owl:Thing .
171 177
172 ep-report:ReportAt06-00 178 ep-report:ReportAt06-00
173 - rdf:type owl:Class , ep-report:ReportPeriodType ; 179 + rdf:type ep-report:ReportPeriodType , owl:Class ;
174 rdfs:comment "report for instant that is for 6 am during the report period. This can be ambiguous if the report period begins and ends at 6 am, so use report start/end instead. This cannot be used for a reporting period that is greater than 24 hours. (source: MPR-XSD)"^^xsd:string ; 180 rdfs:comment "report for instant that is for 6 am during the report period. This can be ambiguous if the report period begins and ends at 6 am, so use report start/end instead. This cannot be used for a reporting period that is greater than 24 hours. (source: MPR-XSD)"^^xsd:string ;
175 rdfs:label "report at 06:00"^^xsd:string ; 181 rdfs:label "report at 06:00"^^xsd:string ;
176 rdfs:subClassOf ep-report:ReportForInstant . 182 rdfs:subClassOf ep-report:ReportForInstant .
177 183
178 ep-report:ReportAtBeginningOfReportingPeriod 184 ep-report:ReportAtBeginningOfReportingPeriod
179 - rdf:type ep-report:ReportPeriodType , owl:Class ; 185 + rdf:type owl:Class , ep-report:ReportPeriodType ;
180 rdfs:comment "report for instant that is a part of another report, and that is for the beginning of the period of the report it is part of (source: MPR-XSD)."^^xsd:string ; 186 rdfs:comment "report for instant that is a part of another report, and that is for the beginning of the period of the report it is part of (source: MPR-XSD)."^^xsd:string ;
181 rdfs:label "report at beginning of reporting period"^^xsd:string ; 187 rdfs:label "report at beginning of reporting period"^^xsd:string ;
182 rdfs:subClassOf ep-report:ReportForInstant . 188 rdfs:subClassOf ep-report:ReportForInstant .
183 189
184 ep-report:ReportAtEndOfReportingPeriod 190 ep-report:ReportAtEndOfReportingPeriod
185 - rdf:type ep-report:ReportPeriodType , owl:Class ; 191 + rdf:type owl:Class , ep-report:ReportPeriodType ;
186 rdfs:comment "report for instant that is a part of another report, and that is for the end of the period of the report it is part of (source: MPR-XSD)."^^xsd:string ; 192 rdfs:comment "report for instant that is a part of another report, and that is for the end of the period of the report it is part of (source: MPR-XSD)."^^xsd:string ;
187 rdfs:label "report at end of reporting period"^^xsd:string ; 193 rdfs:label "report at end of reporting period"^^xsd:string ;
188 rdfs:subClassOf ep-report:ReportForInstant . 194 rdfs:subClassOf ep-report:ReportForInstant .
189 195
190 ep-report:ReportAtMidnight 196 ep-report:ReportAtMidnight
191 - rdf:type owl:Class , ep-report:ReportPeriodType ; 197 + rdf:type ep-report:ReportPeriodType , owl:Class ;
192 rdfs:comment "report for instant that is for midnight during the report period. This can be ambiguous if the report period begins and ends at midnight, so use report start/end instead. This cannot be used for a reporting period that is greater than 24 hours. (source: MPR-XSD)"^^xsd:string ; 198 rdfs:comment "report for instant that is for midnight during the report period. This can be ambiguous if the report period begins and ends at midnight, so use report start/end instead. This cannot be used for a reporting period that is greater than 24 hours. (source: MPR-XSD)"^^xsd:string ;
193 rdfs:label "report at midnight"^^xsd:string ; 199 rdfs:label "report at midnight"^^xsd:string ;
194 rdfs:subClassOf ep-report:ReportForInstant . 200 rdfs:subClassOf ep-report:ReportForInstant .
195 201
196 ep-report:ReportAtNoon 202 ep-report:ReportAtNoon
197 - rdf:type owl:Class , ep-report:ReportPeriodType ; 203 + rdf:type ep-report:ReportPeriodType , owl:Class ;
198 rdfs:comment "report for instant that is for noon during the report period. This can be ambiguous if the report period begins and ends at noon, so use report start/end instead. This cannot be used for a reporting period that is greater than 24 hours. (source: MPR-XSD)"^^xsd:string ; 204 rdfs:comment "report for instant that is for noon during the report period. This can be ambiguous if the report period begins and ends at noon, so use report start/end instead. This cannot be used for a reporting period that is greater than 24 hours. (source: MPR-XSD)"^^xsd:string ;
199 rdfs:label "report at noon"^^xsd:string ; 205 rdfs:label "report at noon"^^xsd:string ;
200 rdfs:subClassOf ep-report:ReportForInstant . 206 rdfs:subClassOf ep-report:ReportForInstant .
201 207
202 ep-report:ReportForAllToDate 208 ep-report:ReportForAllToDate
203 - rdf:type owl:Class , ep-report:ReportPeriodType ; 209 + rdf:type ep-report:ReportPeriodType , owl:Class ;
204 rdfs:comment "report that is about activities within all time up to the end of a report period (source: MPR-XSD)"^^xsd:string ; 210 rdfs:comment "report that is about activities within all time up to the end of a report period (source: MPR-XSD)"^^xsd:string ;
205 rdfs:label "report for all to date"^^xsd:string ; 211 rdfs:label "report for all to date"^^xsd:string ;
206 rdfs:subClassOf ep-report:Report . 212 rdfs:subClassOf ep-report:Report .
207 213
208 ep-report:ReportForDailyMonthToDate 214 ep-report:ReportForDailyMonthToDate
209 - rdf:type ep-report:ReportPeriodType , owl:Class ; 215 + rdf:type owl:Class , ep-report:ReportPeriodType ;
210 rdfs:comment "report that is about the average for each day within the period from the beginning of a month to the end of a report period (source: MPR-XSD)"^^xsd:string ; 216 rdfs:comment "report that is about the average for each day within the period from the beginning of a month to the end of a report period (source: MPR-XSD)"^^xsd:string ;
211 rdfs:label "report for daily month to date"^^xsd:string ; 217 rdfs:label "report for daily month to date"^^xsd:string ;
212 rdfs:subClassOf ep-report:Report . 218 rdfs:subClassOf ep-report:Report .
213 219
214 ep-report:ReportForDailyYearToDate 220 ep-report:ReportForDailyYearToDate
215 - rdf:type ep-report:ReportPeriodType , owl:Class ; 221 + rdf:type owl:Class , ep-report:ReportPeriodType ;
216 rdfs:comment "report that is about the average for each day within the period from the beginning of a year to the end of a report period (source: MPR-XSD)"^^xsd:string ; 222 rdfs:comment "report that is about the average for each day within the period from the beginning of a year to the end of a report period (source: MPR-XSD)"^^xsd:string ;
217 rdfs:label "report for daily year to date"^^xsd:string ; 223 rdfs:label "report for daily year to date"^^xsd:string ;
218 rdfs:subClassOf ep-report:Report . 224 rdfs:subClassOf ep-report:Report .
219 225
220 ep-report:ReportForGasYearToDate 226 ep-report:ReportForGasYearToDate
221 - rdf:type ep-report:ReportPeriodType , owl:Class ; 227 + rdf:type owl:Class , ep-report:ReportPeriodType ;
222 rdfs:comment "report that is about activities within a period starting at 06:00 AM October 1st ending at 06:00 AM on a given date (source: MPR-XSD)"^^xsd:string ; 228 rdfs:comment "report that is about activities within a period starting at 06:00 AM October 1st ending at 06:00 AM on a given date (source: MPR-XSD)"^^xsd:string ;
223 rdfs:label "report for gas year to date"^^xsd:string ; 229 rdfs:label "report for gas year to date"^^xsd:string ;
224 rdfs:subClassOf ep-report:Report . 230 rdfs:subClassOf ep-report:Report .
...@@ -230,67 +236,67 @@ ep-report:ReportForInstant ...@@ -230,67 +236,67 @@ ep-report:ReportForInstant
230 rdfs:subClassOf ep-report:Report . 236 rdfs:subClassOf ep-report:Report .
231 237
232 ep-report:ReportForMonthToDate 238 ep-report:ReportForMonthToDate
233 - rdf:type ep-report:ReportPeriodType , owl:Class ; 239 + rdf:type owl:Class , ep-report:ReportPeriodType ;
234 rdfs:comment "report on activities within a period from the beginning of a calendar month up to the end of a reporting period (source: MPR-XSD)"^^xsd:string ; 240 rdfs:comment "report on activities within a period from the beginning of a calendar month up to the end of a reporting period (source: MPR-XSD)"^^xsd:string ;
235 rdfs:label "report for month to date"^^xsd:string ; 241 rdfs:label "report for month to date"^^xsd:string ;
236 rdfs:subClassOf ep-report:Report . 242 rdfs:subClassOf ep-report:Report .
237 243
238 ep-report:ReportForOneDay 244 ep-report:ReportForOneDay
239 - rdf:type ep-report:ReportPeriodType , owl:Class ; 245 + rdf:type owl:Class , ep-report:ReportPeriodType ;
240 rdfs:comment "report that is about activities within one day, or within the 24 hour period ending at the end of a report period (source: MPR-XSD)"^^xsd:string ; 246 rdfs:comment "report that is about activities within one day, or within the 24 hour period ending at the end of a report period (source: MPR-XSD)"^^xsd:string ;
241 rdfs:label "report for one day"^^xsd:string ; 247 rdfs:label "report for one day"^^xsd:string ;
242 rdfs:subClassOf ep-report:Report . 248 rdfs:subClassOf ep-report:Report .
243 249
244 ep-report:ReportForOneGasDay 250 ep-report:ReportForOneGasDay
245 - rdf:type ep-report:ReportPeriodType , owl:Class ; 251 + rdf:type owl:Class , ep-report:ReportPeriodType ;
246 rdfs:comment "report that is about activities within a period starting at 06:00 AM and ending 06:00 AM next day (source: MPR-XSD)"^^xsd:string ; 252 rdfs:comment "report that is about activities within a period starting at 06:00 AM and ending 06:00 AM next day (source: MPR-XSD)"^^xsd:string ;
247 rdfs:label "report for one gas day"^^xsd:string ; 253 rdfs:label "report for one gas day"^^xsd:string ;
248 rdfs:subClassOf ep-report:Report . 254 rdfs:subClassOf ep-report:Report .
249 255
250 ep-report:ReportForOneGasMonth 256 ep-report:ReportForOneGasMonth
251 - rdf:type ep-report:ReportPeriodType , owl:Class ; 257 + rdf:type owl:Class , ep-report:ReportPeriodType ;
252 rdfs:comment "report that is about activities within a period starting at 06:00 AM on the the first day of a month and ending at 06:00 AM on the first day of next month (source: MPR-XSD)"^^xsd:string ; 258 rdfs:comment "report that is about activities within a period starting at 06:00 AM on the the first day of a month and ending at 06:00 AM on the first day of next month (source: MPR-XSD)"^^xsd:string ;
253 rdfs:label "report for one gas month"^^xsd:string ; 259 rdfs:label "report for one gas month"^^xsd:string ;
254 rdfs:subClassOf ep-report:Report . 260 rdfs:subClassOf ep-report:Report .
255 261
256 ep-report:ReportForOneGasYear 262 ep-report:ReportForOneGasYear
257 - rdf:type owl:Class , ep-report:ReportPeriodType ; 263 + rdf:type ep-report:ReportPeriodType , owl:Class ;
258 rdfs:comment "report that is about activities within a period starting at 06:00 AM October 1st and ending at same date and time the following year (source: MPR-XSD)"^^xsd:string ; 264 rdfs:comment "report that is about activities within a period starting at 06:00 AM October 1st and ending at same date and time the following year (source: MPR-XSD)"^^xsd:string ;
259 rdfs:label "report for one gas year"^^xsd:string ; 265 rdfs:label "report for one gas year"^^xsd:string ;
260 rdfs:subClassOf ep-report:Report . 266 rdfs:subClassOf ep-report:Report .
261 267
262 ep-report:ReportForOneMonth 268 ep-report:ReportForOneMonth
263 - rdf:type ep-report:ReportPeriodType , owl:Class ; 269 + rdf:type owl:Class , ep-report:ReportPeriodType ;
264 rdfs:comment "report that is about activities within one calendar month (source: MPR-XSD)"^^xsd:string ; 270 rdfs:comment "report that is about activities within one calendar month (source: MPR-XSD)"^^xsd:string ;
265 rdfs:label "report for one month"^^xsd:string ; 271 rdfs:label "report for one month"^^xsd:string ;
266 rdfs:subClassOf ep-report:Report . 272 rdfs:subClassOf ep-report:Report .
267 273
268 ep-report:ReportForOneWeek 274 ep-report:ReportForOneWeek
269 - rdf:type ep-report:ReportPeriodType , owl:Class ; 275 + rdf:type owl:Class , ep-report:ReportPeriodType ;
270 rdfs:comment "report that is about activities within one calendar week, or 7 consequtive 24 hour periods ending at the end of the report period (source: MPR-XSD)"^^xsd:string ; 276 rdfs:comment "report that is about activities within one calendar week, or 7 consequtive 24 hour periods ending at the end of the report period (source: MPR-XSD)"^^xsd:string ;
271 rdfs:label "report for one week"^^xsd:string ; 277 rdfs:label "report for one week"^^xsd:string ;
272 rdfs:subClassOf ep-report:Report . 278 rdfs:subClassOf ep-report:Report .
273 279
274 ep-report:ReportForOneYear 280 ep-report:ReportForOneYear
275 - rdf:type ep-report:ReportPeriodType , owl:Class ; 281 + rdf:type owl:Class , ep-report:ReportPeriodType ;
276 rdfs:comment "report that is about activities within one Gregorian year (source: MPR-XSD)"^^xsd:string ; 282 rdfs:comment "report that is about activities within one Gregorian year (source: MPR-XSD)"^^xsd:string ;
277 rdfs:label "report for one year"^^xsd:string ; 283 rdfs:label "report for one year"^^xsd:string ;
278 rdfs:subClassOf ep-report:Report . 284 rdfs:subClassOf ep-report:Report .
279 285
280 ep-report:ReportForPreviousPeriod 286 ep-report:ReportForPreviousPeriod
281 - rdf:type owl:Class , ep-report:ReportPeriodType ; 287 + rdf:type ep-report:ReportPeriodType , owl:Class ;
282 rdfs:comment "report that is a part of another report and that is about activities within the period immediately prior to that of the report it is a part of. For example, if the report period represents a day then the previous period represents the previous day (source: MPR-XSD)."^^xsd:string ; 288 rdfs:comment "report that is a part of another report and that is about activities within the period immediately prior to that of the report it is a part of. For example, if the report period represents a day then the previous period represents the previous day (source: MPR-XSD)."^^xsd:string ;
283 rdfs:label "report for previous period"^^xsd:string ; 289 rdfs:label "report for previous period"^^xsd:string ;
284 rdfs:subClassOf ep-report:Report . 290 rdfs:subClassOf ep-report:Report .
285 291
286 ep-report:ReportForReportingPeriod 292 ep-report:ReportForReportingPeriod
287 - rdf:type ep-report:ReportPeriodType , owl:Class ; 293 + rdf:type owl:Class , ep-report:ReportPeriodType ;
288 rdfs:comment "report that is about activities within the whole of a reporting period (source: MPR-XSD)"^^xsd:string ; 294 rdfs:comment "report that is about activities within the whole of a reporting period (source: MPR-XSD)"^^xsd:string ;
289 rdfs:label "report for reporting period"^^xsd:string ; 295 rdfs:label "report for reporting period"^^xsd:string ;
290 rdfs:subClassOf ep-report:Report . 296 rdfs:subClassOf ep-report:Report .
291 297
292 ep-report:ReportForYearToDate 298 ep-report:ReportForYearToDate
293 - rdf:type owl:Class , ep-report:ReportPeriodType ; 299 + rdf:type ep-report:ReportPeriodType , owl:Class ;
294 rdfs:comment "report that is about activities within the period from the beginning of a year up to the end of a reporting period (source: MPR-XSD)"^^xsd:string ; 300 rdfs:comment "report that is about activities within the period from the beginning of a year up to the end of a reporting period (source: MPR-XSD)"^^xsd:string ;
295 rdfs:label "report for year to date"^^xsd:string ; 301 rdfs:label "report for year to date"^^xsd:string ;
296 rdfs:subClassOf ep-report:Report . 302 rdfs:subClassOf ep-report:Report .
...@@ -314,22 +320,22 @@ ep-report:WeeklyDrillingReport ...@@ -314,22 +320,22 @@ ep-report:WeeklyDrillingReport
314 rdfs:subClassOf ep-report:DrillingReport ; 320 rdfs:subClassOf ep-report:DrillingReport ;
315 rdfs:subClassOf 321 rdfs:subClassOf
316 [ rdf:type owl:Restriction ; 322 [ rdf:type owl:Restriction ;
317 - owl:allValuesFrom ep-report:DailyDrillingReport ; 323 + owl:cardinality "7"^^xsd:nonNegativeInteger ;
318 owl:onProperty ep-report:reportOn 324 owl:onProperty ep-report:reportOn
319 ] ; 325 ] ;
320 rdfs:subClassOf 326 rdfs:subClassOf
321 [ rdf:type owl:Restriction ; 327 [ rdf:type owl:Restriction ;
322 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 328 + owl:allValuesFrom xsd:dateTime ;
323 owl:onProperty ep-report:createdAt 329 owl:onProperty ep-report:createdAt
324 ] ; 330 ] ;
325 rdfs:subClassOf 331 rdfs:subClassOf
326 [ rdf:type owl:Restriction ; 332 [ rdf:type owl:Restriction ;
327 - owl:allValuesFrom xsd:dateTime ; 333 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
328 owl:onProperty ep-report:createdAt 334 owl:onProperty ep-report:createdAt
329 ] ; 335 ] ;
330 rdfs:subClassOf 336 rdfs:subClassOf
331 [ rdf:type owl:Restriction ; 337 [ rdf:type owl:Restriction ;
332 - owl:cardinality "7"^^xsd:nonNegativeInteger ; 338 + owl:allValuesFrom ep-report:DailyDrillingReport ;
333 owl:onProperty ep-report:reportOn 339 owl:onProperty ep-report:reportOn
334 ] . 340 ] .
335 341
...@@ -347,13 +353,13 @@ ep-report:approvedReport ...@@ -347,13 +353,13 @@ ep-report:approvedReport
347 rdfs:range ep-report:Report . 353 rdfs:range ep-report:Report .
348 354
349 ep-report:createdAt 355 ep-report:createdAt
350 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 356 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
351 rdfs:comment "point in time that a report was created at"^^xsd:string ; 357 rdfs:comment "point in time that a report was created at"^^xsd:string ;
352 rdfs:domain ep-report:Report ; 358 rdfs:domain ep-report:Report ;
353 rdfs:label "created at"^^xsd:string . 359 rdfs:label "created at"^^xsd:string .
354 360
355 ep-report:dailyDrillingReportNumber 361 ep-report:dailyDrillingReportNumber
356 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 362 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
357 rdfs:comment "identifier of a daily drilling report"^^xsd:string ; 363 rdfs:comment "identifier of a daily drilling report"^^xsd:string ;
358 rdfs:domain ep-report:DailyDrillingReport ; 364 rdfs:domain ep-report:DailyDrillingReport ;
359 rdfs:label "daily drilling report number"^^xsd:string . 365 rdfs:label "daily drilling report number"^^xsd:string .
...@@ -386,13 +392,13 @@ ep-report:existsUpToTheEndOfThePeriodReportedOnBy ...@@ -386,13 +392,13 @@ ep-report:existsUpToTheEndOfThePeriodReportedOnBy
386 rdfs:range ep-report:Report . 392 rdfs:range ep-report:Report .
387 393
388 ep-report:hasContent 394 ep-report:hasContent
389 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 395 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
390 rdfs:comment "text that is the content of a report"^^xsd:string ; 396 rdfs:comment "text that is the content of a report"^^xsd:string ;
391 rdfs:domain ep-report:Report ; 397 rdfs:domain ep-report:Report ;
392 rdfs:label "has content"^^xsd:string . 398 rdfs:label "has content"^^xsd:string .
393 399
394 ep-report:issuedAt 400 ep-report:issuedAt
395 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 401 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
396 rdfs:comment "point in time that a report was issued at"^^xsd:string ; 402 rdfs:comment "point in time that a report was issued at"^^xsd:string ;
397 rdfs:domain ep-report:Report ; 403 rdfs:domain ep-report:Report ;
398 rdfs:label "issued at"^^xsd:string . 404 rdfs:label "issued at"^^xsd:string .
...@@ -405,7 +411,7 @@ ep-report:issuedReport ...@@ -405,7 +411,7 @@ ep-report:issuedReport
405 rdfs:range ep-report:Report . 411 rdfs:range ep-report:Report .
406 412
407 ep-report:nameAsDatumObject 413 ep-report:nameAsDatumObject
408 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 414 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
409 rdfs:comment "name by which a physical object is refered to as a datum object"^^xsd:string ; 415 rdfs:comment "name by which a physical object is refered to as a datum object"^^xsd:string ;
410 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 416 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
411 rdfs:label "name as datum object"^^xsd:string . 417 rdfs:label "name as datum object"^^xsd:string .
...@@ -418,7 +424,7 @@ ep-report:reportOn ...@@ -418,7 +424,7 @@ ep-report:reportOn
418 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalThing> . 424 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalThing> .
419 425
420 ep-report:reportVersion 426 ep-report:reportVersion
421 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 427 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
422 rdfs:comment "version identifier for a report"^^xsd:string ; 428 rdfs:comment "version identifier for a report"^^xsd:string ;
423 rdfs:domain ep-report:Report ; 429 rdfs:domain ep-report:Report ;
424 rdfs:label "report version"^^xsd:string . 430 rdfs:label "report version"^^xsd:string .
...@@ -431,13 +437,13 @@ ep-report:title ...@@ -431,13 +437,13 @@ ep-report:title
431 rdfs:range xsd:string . 437 rdfs:range xsd:string .
432 438
433 ep-report:validFrom 439 ep-report:validFrom
434 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 440 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
435 rdfs:comment "point in time that a report is valid from"^^xsd:string ; 441 rdfs:comment "point in time that a report is valid from"^^xsd:string ;
436 rdfs:domain ep-report:Report ; 442 rdfs:domain ep-report:Report ;
437 rdfs:label "valid from"^^xsd:string . 443 rdfs:label "valid from"^^xsd:string .
438 444
439 ep-report:validTo 445 ep-report:validTo
440 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 446 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
441 rdfs:comment "point in time that a report if valid until"^^xsd:string ; 447 rdfs:comment "point in time that a report if valid until"^^xsd:string ;
442 rdfs:domain ep-report:Report ; 448 rdfs:domain ep-report:Report ;
443 rdfs:label "valid to"^^xsd:string . 449 rdfs:label "valid to"^^xsd:string .
......