David Price

Merge branch 'master' into mprg-31pm

......@@ -13,7 +13,7 @@
<http://www.reportinghub.no/ep/schema/1.0/report>
rdf:type owl:Ontology ;
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> ;
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> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-report:DailyDrillingReport
......@@ -31,12 +31,12 @@ ep-report:DailyProductionReport
rdfs:subClassOf ep-report:ProductionReport .
ep-report:DailyReport
rdf:type owl:Class , ep-report:ReportPeriodType ;
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "daily report"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:FinalDailyDrillingReport
rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ;
rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
rdfs:label "final daily drilling report"^^xsd:string ;
rdfs:subClassOf ep-report:DailyDrillingReport .
......@@ -51,7 +51,7 @@ ep-report:MonthlyProductionReport
rdfs:subClassOf ep-report:ProductionReport .
ep-report:MonthlyReport
rdf:type owl:Class , ep-report:ReportPeriodType ;
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "monthly report"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
......@@ -60,13 +60,8 @@ ep-report:NonProductivetimeReport
rdfs:subClassOf ep-report:Report ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:dateTime ;
owl:onProperty ep-report:createdAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:createdAt
owl:onProperty ep-report:reportOn
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -76,16 +71,21 @@ ep-report:NonProductivetimeReport
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:reportOn
owl:onProperty ep-report:createdAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:dateTime ;
owl:onProperty ep-report:createdAt
] .
ep-report:NormalDailyDrillingReport
rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ;
rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
rdfs:label "normal daily drilling report"^^xsd:string ;
rdfs:subClassOf ep-report:DailyDrillingReport .
ep-report:PreliminaryDailyDrillingReport
rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ;
rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
rdfs:label "preliminary daily drilling report"^^xsd:string ;
rdfs:subClassOf ep-report:DailyDrillingReport .
......@@ -129,8 +129,8 @@ ep-report:ReportAliasIdentifier
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:aliasName
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:isAliasFor
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -139,17 +139,17 @@ ep-report:ReportAliasIdentifier
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:isAliasFor
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:aliasName
] .
ep-report:ReportForInstant
rdf:type owl:Class , ep-report:ReportPeriodType ;
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report for instant"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
ep-report:ReportMonthToDate
rdf:type owl:Class , ep-report:ReportPeriodType ;
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report month to date"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
......@@ -159,7 +159,7 @@ ep-report:ReportPeriodType
rdfs:subClassOf owl:Class .
ep-report:ReportYearToDate
rdf:type owl:Class , ep-report:ReportPeriodType ;
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "report year to date"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
......@@ -168,27 +168,27 @@ ep-report:WeeklyDrillingReport
rdfs:subClassOf ep-report:Report ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-report:DailyDrillingReport ;
owl:onProperty ep-report:reportOn
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:createdAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "7"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:reportOn
owl:allValuesFrom xsd:dateTime ;
owl:onProperty ep-report:createdAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:dateTime ;
owl:onProperty ep-report:createdAt
owl:cardinality "7"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:reportOn
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-report:createdAt
owl:allValuesFrom ep-report:DailyDrillingReport ;
owl:onProperty ep-report:reportOn
] .
ep-report:WeeklyReport
rdf:type owl:Class , ep-report:ReportPeriodType ;
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "weekly report"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
......@@ -198,7 +198,7 @@ ep-report:WellTestReport
rdfs:subClassOf ep-report:Report .
ep-report:YearlyReport
rdf:type owl:Class , ep-report:ReportPeriodType ;
rdf:type ep-report:ReportPeriodType , owl:Class ;
rdfs:label "yearly report"^^xsd:string ;
rdfs:subClassOf ep-report:Report .
......@@ -211,12 +211,12 @@ ep-report:aliasOwner
rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> .
ep-report:createdAt
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-report:Report ;
rdfs:label "created at"^^xsd:string .
ep-report:dailyDrillingReportNumber
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-report:DailyDrillingReport ;
rdfs:label "daily drilling report number"^^xsd:string .
......@@ -241,7 +241,7 @@ ep-report:disclaimer
rdfs:range xsd:string .
ep-report:hasContent
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-report:Report ;
rdfs:label "has content"^^xsd:string .
......@@ -250,12 +250,12 @@ ep-report:isAliasFor
rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> .
ep-report:issuedAt
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-report:Report ;
rdfs:label "issued at"^^xsd:string .
ep-report:nameAsDatumObject
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
rdfs:label "name as datum object"^^xsd:string .
......@@ -263,3 +263,9 @@ ep-report:reportOn
rdf:type owl:ObjectProperty ;
rdfs:domain ep-report:Report ;
rdfs:label "report on"^^xsd:string .
ep-report:reportSubmittedBy
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-report:Report ;
rdfs:label "report submitted by"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
......