David Leal

First tranche of MPR productionOperation stuff

1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-organization 1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-organization
2 +# imports: http://www.reportinghub.no/ep/schema/1.0/facility
2 # imports: http://www.reportinghub.no/ep/schema/1.0/organization 3 # imports: http://www.reportinghub.no/ep/schema/1.0/organization
3 4
4 @prefix ep-prodorg: <http://www.reportinghub.no/ep/schema/production-organization#> . 5 @prefix ep-prodorg: <http://www.reportinghub.no/ep/schema/production-organization#> .
...@@ -9,17 +10,62 @@ ...@@ -9,17 +10,62 @@
9 10
10 <http://www.reportinghub.no/ep/schema/1.0/production-organization> 11 <http://www.reportinghub.no/ep/schema/1.0/production-organization>
11 rdf:type owl:Ontology ; 12 rdf:type owl:Ontology ;
12 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> ; 13 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
13 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
14 15
15 <http://www.reportinghub.no/ep/schema/organization#Organization> 16 <http://www.reportinghub.no/ep/schema/organization#Organization>
16 rdfs:subClassOf ep-prodorg:PersonOrOrganization . 17 rdfs:subClassOf ep-prodorg:PersonOrOrganization .
17 18
19 +ep-prodorg:CateringCrew
20 + rdf:type ep-prodorg:CrewType , owl:Class ;
21 + rdfs:label "catering crew"^^xsd:string ;
22 + rdfs:subClassOf ep-prodorg:Crew .
23 +
18 ep-prodorg:CommercialEntity 24 ep-prodorg:CommercialEntity
19 rdf:type owl:Class ; 25 rdf:type owl:Class ;
20 rdfs:label "commercial entity"^^xsd:string ; 26 rdfs:label "commercial entity"^^xsd:string ;
21 rdfs:subClassOf ep-prodorg:PersonOrOrganization . 27 rdfs:subClassOf ep-prodorg:PersonOrOrganization .
22 28
29 +ep-prodorg:ContractorCrew
30 + rdf:type ep-prodorg:CrewType , owl:Class ;
31 + rdfs:label "contractor crew"^^xsd:string ;
32 + rdfs:subClassOf ep-prodorg:Crew .
33 +
34 +ep-prodorg:Crew
35 + rdf:type owl:Class ;
36 + rdfs:label "crew"^^xsd:string ;
37 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Organization> .
38 +
39 +ep-prodorg:CrewType
40 + rdf:type rdfs:Class ;
41 + rdfs:label "crew type"^^xsd:string ;
42 + rdfs:subClassOf owl:Class .
43 +
44 +ep-prodorg:DayVisitorCrew
45 + rdf:type ep-prodorg:CrewType , owl:Class ;
46 + rdfs:label "day visitor crew"^^xsd:string ;
47 + rdfs:subClassOf ep-prodorg:Crew .
48 +
49 +ep-prodorg:DrillingContractCrew
50 + rdf:type ep-prodorg:CrewType , owl:Class ;
51 + rdfs:label "drilling contract crew"^^xsd:string ;
52 + rdfs:subClassOf ep-prodorg:Crew .
53 +
54 +ep-prodorg:NonOperatorOvernightVisitorCrew
55 + rdf:type owl:Class , ep-prodorg:CrewType ;
56 + rdfs:label "non-operator overnight visitor crew"^^xsd:string ;
57 + rdfs:subClassOf ep-prodorg:Crew .
58 +
59 +ep-prodorg:OperatorNormalCrew
60 + rdf:type ep-prodorg:CrewType , owl:Class ;
61 + rdfs:label "operator normal crew"^^xsd:string ;
62 + rdfs:subClassOf ep-prodorg:Crew .
63 +
64 +ep-prodorg:OperatorOvernightVisitorCrew
65 + rdf:type ep-prodorg:CrewType , owl:Class ;
66 + rdfs:label "operator overnight visitor crew"^^xsd:string ;
67 + rdfs:subClassOf ep-prodorg:Crew .
68 +
23 ep-prodorg:Person 69 ep-prodorg:Person
24 rdf:type owl:Class ; 70 rdf:type owl:Class ;
25 rdfs:subClassOf ep-prodorg:PersonOrOrganization . 71 rdfs:subClassOf ep-prodorg:PersonOrOrganization .
...@@ -33,11 +79,27 @@ ep-prodorg:PersonRole ...@@ -33,11 +79,27 @@ ep-prodorg:PersonRole
33 rdfs:label "person role"^^xsd:string ; 79 rdfs:label "person role"^^xsd:string ;
34 rdfs:subClassOf ep-prodorg:Person . 80 rdfs:subClassOf ep-prodorg:Person .
35 81
82 +ep-prodorg:TotalCrew
83 + rdf:type ep-prodorg:CrewType , owl:Class ;
84 + rdfs:label "total crew"^^xsd:string ;
85 + rdfs:subClassOf ep-prodorg:Crew .
86 +
36 ep-prodorg:WholeLifePerson 87 ep-prodorg:WholeLifePerson
37 rdf:type owl:Class ; 88 rdf:type owl:Class ;
38 rdfs:label "whole life person"^^xsd:string ; 89 rdfs:label "whole life person"^^xsd:string ;
39 rdfs:subClassOf ep-prodorg:Person . 90 rdfs:subClassOf ep-prodorg:Person .
40 91
92 +ep-prodorg:hasCrew
93 + rdf:type owl:ObjectProperty ;
94 + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
95 + rdfs:label "has crew"^^xsd:string ;
96 + rdfs:range ep-prodorg:Crew .
97 +
98 +ep-prodorg:numberInCrew
99 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
100 + rdfs:domain ep-prodorg:Crew ;
101 + rdfs:label "number in crew"^^xsd:string .
102 +
41 ep-prodorg:owner 103 ep-prodorg:owner
42 rdf:type owl:ObjectProperty ; 104 rdf:type owl:ObjectProperty ;
43 rdfs:domain owl:Thing ; 105 rdfs:domain owl:Thing ;
......
...@@ -10,34 +10,34 @@ ...@@ -10,34 +10,34 @@
10 10
11 <http://www.reportinghub.no/ep/schema/1.0/production-report> 11 <http://www.reportinghub.no/ep/schema/1.0/production-report>
12 rdf:type owl:Ontology ; 12 rdf:type owl:Ontology ;
13 - owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/report> ; 13 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 15
16 -ep-prodreport:DailyProductVolumeReport
17 - rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
18 - rdfs:label "daily product volume report"^^xsd:string ;
19 - rdfs:subClassOf ep-prodreport:ProductVolumeReport .
20 -
21 ep-prodreport:DailyProductionReport 16 ep-prodreport:DailyProductionReport
22 rdf:type owl:Class ; 17 rdf:type owl:Class ;
23 rdfs:label "Daily Production Report"^^xsd:string ; 18 rdfs:label "Daily Production Report"^^xsd:string ;
24 rdfs:subClassOf ep-prodreport:ProductionReport . 19 rdfs:subClassOf ep-prodreport:ProductionReport .
25 20
21 +ep-prodreport:DailyReport
22 + rdf:type ep-prodreport:ReportPeriodType , owl:Class ;
23 + rdfs:label "daily report"^^xsd:string ;
24 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
25 +
26 ep-prodreport:FluidSampleReport 26 ep-prodreport:FluidSampleReport
27 rdf:type owl:Class ; 27 rdf:type owl:Class ;
28 rdfs:label "fluid sample report"^^xsd:string ; 28 rdfs:label "fluid sample report"^^xsd:string ;
29 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> . 29 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
30 30
31 -ep-prodreport:MonthlyProductVolumeReport
32 - rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
33 - rdfs:label " monthly product volume report"^^xsd:string ;
34 - rdfs:subClassOf ep-prodreport:ProductVolumeReport .
35 -
36 ep-prodreport:MonthlyProductionReport 31 ep-prodreport:MonthlyProductionReport
37 rdf:type owl:Class ; 32 rdf:type owl:Class ;
38 rdfs:label "Monthly Production Report"^^xsd:string ; 33 rdfs:label "Monthly Production Report"^^xsd:string ;
39 rdfs:subClassOf ep-prodreport:ProductionReport . 34 rdfs:subClassOf ep-prodreport:ProductionReport .
40 35
36 +ep-prodreport:MonthlyReport
37 + rdf:type ep-prodreport:ReportPeriodType , owl:Class ;
38 + rdfs:label "monthly report"^^xsd:string ;
39 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
40 +
41 ep-prodreport:ProductVolumeFlowReport 41 ep-prodreport:ProductVolumeFlowReport
42 rdf:type owl:Class ; 42 rdf:type owl:Class ;
43 rdfs:label "product volume flow report"^^xsd:string ; 43 rdfs:label "product volume flow report"^^xsd:string ;
...@@ -48,25 +48,15 @@ ep-prodreport:ProductVolumeReport ...@@ -48,25 +48,15 @@ ep-prodreport:ProductVolumeReport
48 rdfs:label "product volume report"^^xsd:string ; 48 rdfs:label "product volume report"^^xsd:string ;
49 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> . 49 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
50 50
51 -ep-prodreport:ProductVolumeReportForInstant 51 +ep-prodreport:ProductionOperationInstallationReport
52 - rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ; 52 + rdf:type owl:Class ;
53 - rdfs:label "product volume report for instant"^^xsd:string ; 53 + rdfs:label "production operation installation report"^^xsd:string ;
54 - rdfs:subClassOf ep-prodreport:ProductVolumeReport . 54 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
55 -
56 -ep-prodreport:ProductVolumeReportMonthToDate
57 - rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
58 - rdfs:label " product volume report month to date"^^xsd:string ;
59 - rdfs:subClassOf ep-prodreport:ProductVolumeReport .
60 -
61 -ep-prodreport:ProductVolumeReportPeriodType
62 - rdf:type rdfs:Class ;
63 - rdfs:label "product volume report period type"^^xsd:string ;
64 - rdfs:subClassOf owl:Class .
65 55
66 -ep-prodreport:ProductVolumeReportYearToDate 56 +ep-prodreport:ProductionOperationReport
67 - rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ; 57 + rdf:type owl:Class ;
68 - rdfs:label " product volume report year to date"^^xsd:string ; 58 + rdfs:label "production operation report"^^xsd:string ;
69 - rdfs:subClassOf ep-prodreport:ProductVolumeReport . 59 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
70 60
71 ep-prodreport:ProductionReport 61 ep-prodreport:ProductionReport
72 rdf:type owl:Class ; 62 rdf:type owl:Class ;
...@@ -83,8 +73,8 @@ ep-prodreport:ReportAliasIdentifier ...@@ -83,8 +73,8 @@ ep-prodreport:ReportAliasIdentifier
83 rdfs:subClassOf owl:Thing ; 73 rdfs:subClassOf owl:Thing ;
84 rdfs:subClassOf 74 rdfs:subClassOf
85 [ rdf:type owl:Restriction ; 75 [ rdf:type owl:Restriction ;
86 - owl:minCardinality "1"^^xsd:nonNegativeInteger ; 76 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
87 - owl:onProperty ep-prodreport:aliasName 77 + owl:onProperty ep-prodreport:isAliasFor
88 ] ; 78 ] ;
89 rdfs:subClassOf 79 rdfs:subClassOf
90 [ rdf:type owl:Restriction ; 80 [ rdf:type owl:Restriction ;
...@@ -93,24 +83,44 @@ ep-prodreport:ReportAliasIdentifier ...@@ -93,24 +83,44 @@ ep-prodreport:ReportAliasIdentifier
93 ] ; 83 ] ;
94 rdfs:subClassOf 84 rdfs:subClassOf
95 [ rdf:type owl:Restriction ; 85 [ rdf:type owl:Restriction ;
96 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 86 + owl:minCardinality "1"^^xsd:nonNegativeInteger ;
97 - owl:onProperty ep-prodreport:isAliasFor 87 + owl:onProperty ep-prodreport:aliasName
98 ] . 88 ] .
99 89
100 -ep-prodreport:WeeklyProductVolumeReport 90 +ep-prodreport:ReportForInstant
101 - rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ; 91 + rdf:type owl:Class , ep-prodreport:ReportPeriodType ;
102 - rdfs:label "weekly product volume report"^^xsd:string ; 92 + rdfs:label "report for instant"^^xsd:string ;
103 - rdfs:subClassOf ep-prodreport:ProductVolumeReport . 93 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
94 +
95 +ep-prodreport:ReportMonthToDate
96 + rdf:type owl:Class , ep-prodreport:ReportPeriodType ;
97 + rdfs:label "report month to date"^^xsd:string ;
98 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
99 +
100 +ep-prodreport:ReportPeriodType
101 + rdf:type rdfs:Class ;
102 + rdfs:label "report period type"^^xsd:string ;
103 + rdfs:subClassOf owl:Class .
104 +
105 +ep-prodreport:ReportYearToDate
106 + rdf:type owl:Class , ep-prodreport:ReportPeriodType ;
107 + rdfs:label "report year to date"^^xsd:string ;
108 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
109 +
110 +ep-prodreport:WeeklyReport
111 + rdf:type owl:Class , ep-prodreport:ReportPeriodType ;
112 + rdfs:label "weekly report"^^xsd:string ;
113 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
104 114
105 ep-prodreport:WellTestReport 115 ep-prodreport:WellTestReport
106 rdf:type owl:Class ; 116 rdf:type owl:Class ;
107 rdfs:label "well test report"^^xsd:string ; 117 rdfs:label "well test report"^^xsd:string ;
108 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> . 118 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
109 119
110 -ep-prodreport:YearlyProductVolumeReport 120 +ep-prodreport:YearlyReport
111 - rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ; 121 + rdf:type owl:Class , ep-prodreport:ReportPeriodType ;
112 - rdfs:label "yearly product volume report"^^xsd:string ; 122 + rdfs:label "yearly report"^^xsd:string ;
113 - rdfs:subClassOf ep-prodreport:ProductVolumeReport . 123 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
114 124
115 ep-prodreport:aliasName 125 ep-prodreport:aliasName
116 rdf:type owl:DatatypeProperty ; 126 rdf:type owl:DatatypeProperty ;
...@@ -139,6 +149,6 @@ ep-prodreport:isAliasFor ...@@ -139,6 +149,6 @@ ep-prodreport:isAliasFor
139 rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> . 149 rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> .
140 150
141 ep-prodreport:issuedAt 151 ep-prodreport:issuedAt
142 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 152 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
143 rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ; 153 rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ;
144 rdfs:label "issued at"^^xsd:string . 154 rdfs:label "issued at"^^xsd:string .
......
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +
3 +<objects version="1.0(MPRML)"
4 + xmlns:witsml="http://www.epim.no/schemas/mprml/1"
5 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 + xsi:schemaLocation="http://www.epim.no/schemas/mprml/1 file:///C:/Users/owner/TBCMEWorkspace/EPIM-ontologies/www.reportinghub.no/input/mpr/xsd/1.0/obj_object_profiled_data_schema.xsd" xmlns="http://www.epim.no/schemas/mprml/1">
7 +
8 +<context xsi:type="obj_report">
9 + <kind>Daily production report Trym</kind>
10 + <title>Daily production report Trym September 2011</title>
11 + <date>2011-08-27</date>
12 +</context>
13 +<object xsi:type="obj_productionOperation">
14 + <name>TRYM production operation</name>
15 + <installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation>
16 + <contextFacility kind="field" namingSystem="NPD" uidRef="18081500">TRYM</contextFacility>
17 + <kind>ReportKind</kind>
18 + <periodKind>day</periodKind>
19 + <dateStart>2012-04-12</dateStart>
20 + <dateEnd>2012-04-13</dateEnd>
21 + <operator>
22 + <name>DONG E&amp;P Norge AS</name>
23 + <role>Operating company</role>
24 + </operator>
25 + <title>Report title</title>
26 + <geographicContext>
27 + <comment>somewhere</comment>
28 + </geographicContext>
29 +</object>
30 +</objects>
...\ No newline at end of file ...\ No newline at end of file