David Leal

More on MPR

...@@ -10,11 +10,11 @@ ...@@ -10,11 +10,11 @@
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/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ; 13 + owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/report> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 15
16 ep-prodreport:DailyProductVolumeReport 16 ep-prodreport:DailyProductVolumeReport
17 - rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ; 17 + rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
18 rdfs:label "daily product volume report"^^xsd:string ; 18 rdfs:label "daily product volume report"^^xsd:string ;
19 rdfs:subClassOf ep-prodreport:ProductVolumeReport . 19 rdfs:subClassOf ep-prodreport:ProductVolumeReport .
20 20
...@@ -29,7 +29,7 @@ ep-prodreport:FluidSampleReport ...@@ -29,7 +29,7 @@ ep-prodreport:FluidSampleReport
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 31 ep-prodreport:MonthlyProductVolumeReport
32 - rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ; 32 + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
33 rdfs:label " monthly product volume report"^^xsd:string ; 33 rdfs:label " monthly product volume report"^^xsd:string ;
34 rdfs:subClassOf ep-prodreport:ProductVolumeReport . 34 rdfs:subClassOf ep-prodreport:ProductVolumeReport .
35 35
...@@ -38,18 +38,23 @@ ep-prodreport:MonthlyProductionReport ...@@ -38,18 +38,23 @@ ep-prodreport:MonthlyProductionReport
38 rdfs:label "Monthly Production Report"^^xsd:string ; 38 rdfs:label "Monthly Production Report"^^xsd:string ;
39 rdfs:subClassOf ep-prodreport:ProductionReport . 39 rdfs:subClassOf ep-prodreport:ProductionReport .
40 40
41 +ep-prodreport:ProductVolumeFlowReport
42 + rdf:type owl:Class ;
43 + rdfs:label "product volume flow report"^^xsd:string ;
44 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
45 +
41 ep-prodreport:ProductVolumeReport 46 ep-prodreport:ProductVolumeReport
42 rdf:type owl:Class ; 47 rdf:type owl:Class ;
43 rdfs:label "product volume report"^^xsd:string ; 48 rdfs:label "product volume report"^^xsd:string ;
44 - rdfs:subClassOf ep-prodreport:ProductionReport . 49 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
45 50
46 ep-prodreport:ProductVolumeReportForInstant 51 ep-prodreport:ProductVolumeReportForInstant
47 - rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ; 52 + rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
48 rdfs:label "product volume report for instant"^^xsd:string ; 53 rdfs:label "product volume report for instant"^^xsd:string ;
49 rdfs:subClassOf ep-prodreport:ProductVolumeReport . 54 rdfs:subClassOf ep-prodreport:ProductVolumeReport .
50 55
51 ep-prodreport:ProductVolumeReportMonthToDate 56 ep-prodreport:ProductVolumeReportMonthToDate
52 - rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ; 57 + rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
53 rdfs:label " product volume report month to date"^^xsd:string ; 58 rdfs:label " product volume report month to date"^^xsd:string ;
54 rdfs:subClassOf ep-prodreport:ProductVolumeReport . 59 rdfs:subClassOf ep-prodreport:ProductVolumeReport .
55 60
...@@ -59,7 +64,7 @@ ep-prodreport:ProductVolumeReportPeriodType ...@@ -59,7 +64,7 @@ ep-prodreport:ProductVolumeReportPeriodType
59 rdfs:subClassOf owl:Class . 64 rdfs:subClassOf owl:Class .
60 65
61 ep-prodreport:ProductVolumeReportYearToDate 66 ep-prodreport:ProductVolumeReportYearToDate
62 - rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ; 67 + rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
63 rdfs:label " product volume report year to date"^^xsd:string ; 68 rdfs:label " product volume report year to date"^^xsd:string ;
64 rdfs:subClassOf ep-prodreport:ProductVolumeReport . 69 rdfs:subClassOf ep-prodreport:ProductVolumeReport .
65 70
...@@ -78,8 +83,8 @@ ep-prodreport:ReportAliasIdentifier ...@@ -78,8 +83,8 @@ ep-prodreport:ReportAliasIdentifier
78 rdfs:subClassOf owl:Thing ; 83 rdfs:subClassOf owl:Thing ;
79 rdfs:subClassOf 84 rdfs:subClassOf
80 [ rdf:type owl:Restriction ; 85 [ rdf:type owl:Restriction ;
81 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 86 + owl:minCardinality "1"^^xsd:nonNegativeInteger ;
82 - owl:onProperty ep-prodreport:isAliasFor 87 + owl:onProperty ep-prodreport:aliasName
83 ] ; 88 ] ;
84 rdfs:subClassOf 89 rdfs:subClassOf
85 [ rdf:type owl:Restriction ; 90 [ rdf:type owl:Restriction ;
...@@ -88,12 +93,12 @@ ep-prodreport:ReportAliasIdentifier ...@@ -88,12 +93,12 @@ ep-prodreport:ReportAliasIdentifier
88 ] ; 93 ] ;
89 rdfs:subClassOf 94 rdfs:subClassOf
90 [ rdf:type owl:Restriction ; 95 [ rdf:type owl:Restriction ;
91 - owl:minCardinality "1"^^xsd:nonNegativeInteger ; 96 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
92 - owl:onProperty ep-prodreport:aliasName 97 + owl:onProperty ep-prodreport:isAliasFor
93 ] . 98 ] .
94 99
95 ep-prodreport:WeeklyProductVolumeReport 100 ep-prodreport:WeeklyProductVolumeReport
96 - rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ; 101 + rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
97 rdfs:label "weekly product volume report"^^xsd:string ; 102 rdfs:label "weekly product volume report"^^xsd:string ;
98 rdfs:subClassOf ep-prodreport:ProductVolumeReport . 103 rdfs:subClassOf ep-prodreport:ProductVolumeReport .
99 104
...@@ -103,7 +108,7 @@ ep-prodreport:WellTestReport ...@@ -103,7 +108,7 @@ ep-prodreport:WellTestReport
103 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> . 108 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
104 109
105 ep-prodreport:YearlyProductVolumeReport 110 ep-prodreport:YearlyProductVolumeReport
106 - rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ; 111 + rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
107 rdfs:label "yearly product volume report"^^xsd:string ; 112 rdfs:label "yearly product volume report"^^xsd:string ;
108 rdfs:subClassOf ep-prodreport:ProductVolumeReport . 113 rdfs:subClassOf ep-prodreport:ProductVolumeReport .
109 114
...@@ -120,6 +125,10 @@ ep-prodreport:dateCoveredByReport ...@@ -120,6 +125,10 @@ ep-prodreport:dateCoveredByReport
120 rdfs:domain ep-prodreport:DailyProductionReport ; 125 rdfs:domain ep-prodreport:DailyProductionReport ;
121 rdfs:range xsd:date . 126 rdfs:range xsd:date .
122 127
128 +ep-prodreport:descriptionOfSource
129 + rdf:type owl:DatatypeProperty ;
130 + rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> .
131 +
123 ep-prodreport:disclaimer 132 ep-prodreport:disclaimer
124 rdf:type rdf:Property ; 133 rdf:type rdf:Property ;
125 rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ; 134 rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ;
...@@ -130,6 +139,6 @@ ep-prodreport:isAliasFor ...@@ -130,6 +139,6 @@ ep-prodreport:isAliasFor
130 rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> . 139 rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> .
131 140
132 ep-prodreport:issuedAt 141 ep-prodreport:issuedAt
133 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; 142 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
134 rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ; 143 rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ;
135 rdfs:label "issued at"^^xsd:string . 144 rdfs:label "issued at"^^xsd:string .
......
...@@ -4808,6 +4808,30 @@ ep-mpr-spin-lib:selectSalesActivityType ...@@ -4808,6 +4808,30 @@ ep-mpr-spin-lib:selectSalesActivityType
4808 ]) 4808 ])
4809 ] . 4809 ] .
4810 4810
4811 +ep-mpr-spin-lib:selectSplitFactorDeterminationType
4812 + rdf:type spin:Function ;
4813 + rdfs:label "select SplitFactorDeterminationType"^^xsd:string ;
4814 + rdfs:subClassOf ep-mpr-spin-lib:Function ;
4815 + spin:body
4816 + [ rdf:type sp:Select ;
4817 + sp:resultVariables ([ sp:varName "splitFactorDeterminationType"^^xsd:string
4818 + ]) ;
4819 + sp:where ([ rdf:type sp:Bind ;
4820 + sp:expression
4821 + [ rdf:type sp:if ;
4822 + sp:arg1 [ rdf:type sp:eq ;
4823 + sp:arg1 spin:_arg1 ;
4824 + sp:arg2 "true"^^xsd:boolean
4825 + ] ;
4826 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AllocateSplitFactors> ;
4827 + sp:arg3 <http://www.reportinghub.no/ep/schema/production-activity#MeasureSplitFactors>
4828 + ] ;
4829 + sp:variable
4830 + [ sp:varName "splitFactorDeterminationType"^^xsd:string
4831 + ]
4832 + ])
4833 + ] .
4834 +
4811 ep-mpr-spin-lib:selectTemperatureScale 4835 ep-mpr-spin-lib:selectTemperatureScale
4812 rdf:type spin:Function ; 4836 rdf:type spin:Function ;
4813 rdfs:subClassOf ep-mpr-spin-lib:Function ; 4837 rdfs:subClassOf ep-mpr-spin-lib:Function ;
......
This diff could not be displayed because it is too large.