David Leal

More on MPR

......@@ -10,11 +10,11 @@
<http://www.reportinghub.no/ep/schema/1.0/production-report>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ;
owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/report> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-prodreport:DailyProductVolumeReport
rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
rdfs:label "daily product volume report"^^xsd:string ;
rdfs:subClassOf ep-prodreport:ProductVolumeReport .
......@@ -29,7 +29,7 @@ ep-prodreport:FluidSampleReport
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
ep-prodreport:MonthlyProductVolumeReport
rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
rdfs:label " monthly product volume report"^^xsd:string ;
rdfs:subClassOf ep-prodreport:ProductVolumeReport .
......@@ -38,18 +38,23 @@ ep-prodreport:MonthlyProductionReport
rdfs:label "Monthly Production Report"^^xsd:string ;
rdfs:subClassOf ep-prodreport:ProductionReport .
ep-prodreport:ProductVolumeFlowReport
rdf:type owl:Class ;
rdfs:label "product volume flow report"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
ep-prodreport:ProductVolumeReport
rdf:type owl:Class ;
rdfs:label "product volume report"^^xsd:string ;
rdfs:subClassOf ep-prodreport:ProductionReport .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
ep-prodreport:ProductVolumeReportForInstant
rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
rdfs:label "product volume report for instant"^^xsd:string ;
rdfs:subClassOf ep-prodreport:ProductVolumeReport .
ep-prodreport:ProductVolumeReportMonthToDate
rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
rdfs:label " product volume report month to date"^^xsd:string ;
rdfs:subClassOf ep-prodreport:ProductVolumeReport .
......@@ -59,7 +64,7 @@ ep-prodreport:ProductVolumeReportPeriodType
rdfs:subClassOf owl:Class .
ep-prodreport:ProductVolumeReportYearToDate
rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
rdfs:label " product volume report year to date"^^xsd:string ;
rdfs:subClassOf ep-prodreport:ProductVolumeReport .
......@@ -78,8 +83,8 @@ ep-prodreport:ReportAliasIdentifier
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-prodreport:isAliasFor
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-prodreport:aliasName
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -88,12 +93,12 @@ ep-prodreport:ReportAliasIdentifier
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-prodreport:aliasName
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-prodreport:isAliasFor
] .
ep-prodreport:WeeklyProductVolumeReport
rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
rdfs:label "weekly product volume report"^^xsd:string ;
rdfs:subClassOf ep-prodreport:ProductVolumeReport .
......@@ -103,7 +108,7 @@ ep-prodreport:WellTestReport
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
ep-prodreport:YearlyProductVolumeReport
rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
rdfs:label "yearly product volume report"^^xsd:string ;
rdfs:subClassOf ep-prodreport:ProductVolumeReport .
......@@ -120,6 +125,10 @@ ep-prodreport:dateCoveredByReport
rdfs:domain ep-prodreport:DailyProductionReport ;
rdfs:range xsd:date .
ep-prodreport:descriptionOfSource
rdf:type owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> .
ep-prodreport:disclaimer
rdf:type rdf:Property ;
rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ;
......@@ -130,6 +139,6 @@ ep-prodreport:isAliasFor
rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> .
ep-prodreport:issuedAt
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ;
rdfs:label "issued at"^^xsd:string .
......
......@@ -4808,6 +4808,30 @@ ep-mpr-spin-lib:selectSalesActivityType
])
] .
ep-mpr-spin-lib:selectSplitFactorDeterminationType
rdf:type spin:Function ;
rdfs:label "select SplitFactorDeterminationType"^^xsd:string ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "splitFactorDeterminationType"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 "true"^^xsd:boolean
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AllocateSplitFactors> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/production-activity#MeasureSplitFactors>
] ;
sp:variable
[ sp:varName "splitFactorDeterminationType"^^xsd:string
]
])
] .
ep-mpr-spin-lib:selectTemperatureScale
rdf:type spin:Function ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
......
This diff could not be displayed because it is too large.