David Leal

First tranch of MPR productionOperation stuff debugged

......@@ -7,9 +7,12 @@
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
......@@ -17,9 +20,12 @@
@prefix TRANSFORM_mpr-facilityIdentifierStructure-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> .
@prefix TRANSFORM_mpr-fluidSample-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> .
@prefix TRANSFORM_mpr-geographicContext-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> .
@prefix TRANSFORM_mpr-installationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> .
@prefix TRANSFORM_mpr-organization-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> .
@prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> .
@prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> .
@prefix TRANSFORM_mpr-productionActivity-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1#> .
@prefix TRANSFORM_mpr-productionOperationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> .
@prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> .
@prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> .
@prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> .
......@@ -38,5 +44,5 @@
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> ;
owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
......@@ -21,20 +21,20 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40103 Set the hours worked year to date"^^xsd:string ;
rdfs:comment "STEP 40101 Set the hours worked in reporting period"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "realWorkYearToDate"^^xsd:string
[ sp:varName "realWork"^^xsd:string
] ;
sp:predicate
[ sp:varName "workYearToDateScale"^^xsd:string
[ sp:varName "workScale"^^xsd:string
] ;
sp:subject _:b1
]) ;
......@@ -79,6 +79,11 @@
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
......@@ -92,104 +97,55 @@
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "workYearToDateRef"^^xsd:string
[ sp:varName "workRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workYearToDateRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWorkYearToDate"^^xsd:string
[ sp:varName "realWork"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workYearToDateRef"^^xsd:string
[ sp:varName "workRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWorkYearToDate"^^xsd:string
[ sp:varName "uomWork"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workYearToDateRef"^^xsd:string
[ sp:varName "workRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWorkYearToDate"^^xsd:string
sp:arg1 [ sp:varName "uomWork"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workYearToDateScale"^^xsd:string
[ sp:varName "workScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40100 Create the ProductionOperationInstallationReport; the ProductionOperationActivity; and set the facility and number of beds"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationInstallationReport> ;
rdfs:comment "STEP 40102 Set the hours worked month to date"^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "realWorkMonthToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
sp:predicate
[ sp:varName "workMonthToDateScale"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "bedsAvailable"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> ;
sp:subject _:b3
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
......@@ -225,77 +181,92 @@
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "productionOperation"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "bedsAvailable"^^xsd:string
] [ sp:object
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#bedsAvailable> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
[ sp:varName "productionOperation"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "workRef"^^xsd:string
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "workMonthToDateRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workMonthToDateRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWork"^^xsd:string
[ sp:varName "realWorkMonthToDate"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
[ sp:varName "workMonthToDateRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWork"^^xsd:string
[ sp:varName "uomWorkMonthToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
[ sp:varName "workMonthToDateRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWorkMonthToDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workMonthToDateScale"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40104 Set the crew numbers"^^xsd:string ;
sp:templates ([ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-organization#hasCrew> ;
rdfs:comment "STEP 40103 Set the hours worked year to date"^^xsd:string ;
sp:templates ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#Crew> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b7
sp:subject _:b3
] [ sp:object
[ sp:varName "crewType"^^xsd:string
[ sp:varName "realWorkYearToDate"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "crewCount"^^xsd:string
sp:predicate
[ sp:varName "workYearToDateScale"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-organization#numberInCrew> ;
sp:subject _:b7
sp:subject _:b3
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
......@@ -338,56 +309,122 @@
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "crewCountRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#crewCountRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "workYearToDateRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workYearToDateRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "crewCount"^^xsd:string
[ sp:varName "realWorkYearToDate"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "crewCountRef"^^xsd:string
[ sp:varName "workYearToDateRef"^^xsd:string
]
] [ sp:object
[ sp:varName "typeRef"^^xsd:string
[ sp:varName "uomWorkYearToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "crewCountRef"^^xsd:string
[ sp:varName "workYearToDateRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectCrewType ;
sp:arg1 [ sp:varName "typeRef"^^xsd:string
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWorkYearToDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "crewType"^^xsd:string
[ sp:varName "workYearToDateScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40101 Set the hours worked in reporting period"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
rdfs:comment "STEP 40100 Create the ProductionOperationInstallationReport; the ProductionOperationActivity; and set the facility and number of beds"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationInstallationReport> ;
sp:predicate rdf:type ;
sp:subject _:b8
sp:subject _:b4
] [ sp:object
[ sp:varName "realWork"^^xsd:string
[ sp:varName "productionOperationReport"^^xsd:string
] ;
sp:predicate
[ sp:varName "workScale"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b4
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b5
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "bedsAvailable"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> ;
sp:subject _:b5
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
......@@ -423,26 +460,33 @@
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "bedsAvailable"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#bedsAvailable> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "workRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ;
......@@ -463,34 +507,29 @@
sp:subject
[ sp:varName "workRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWork"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workScale"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40102 Set the hours worked month to date"^^xsd:string ;
rdfs:comment "STEP 40104 Set the crew numbers"^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-organization#hasCrew> ;
sp:subject
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#Crew> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "realWorkMonthToDate"^^xsd:string
[ sp:varName "crewType"^^xsd:string
] ;
sp:predicate
[ sp:varName "workMonthToDateScale"^^xsd:string
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "crewCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-organization#numberInCrew> ;
sp:subject _:b9
]) ;
sp:where ([ sp:object spin:_this ;
......@@ -534,64 +573,45 @@
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "workMonthToDateRef"^^xsd:string
[ sp:varName "crewCountRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workMonthToDateRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#crewCountRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWorkMonthToDate"^^xsd:string
[ sp:varName "crewCount"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workMonthToDateRef"^^xsd:string
[ sp:varName "crewCountRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWorkMonthToDate"^^xsd:string
[ sp:varName "typeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
sp:subject
[ sp:varName "workMonthToDateRef"^^xsd:string
[ sp:varName "crewCountRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWorkMonthToDate"^^xsd:string
[ rdf:type ep-mpr-spin-lib:selectCrewType ;
sp:arg1 [ sp:varName "typeRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workMonthToDateScale"^^xsd:string
[ sp:varName "crewType"^^xsd:string
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
......@@ -21,8 +21,8 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40201 Create the ProductionOperationProduction activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProduction> ;
rdfs:comment "STEP 40202 Create the ProductionOperationInjection activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationInjection> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
......@@ -31,7 +31,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "lostProductionRef"^^xsd:string
[ sp:varName "lostInjectionRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b1
......@@ -99,9 +99,9 @@
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "lostProductionRef"^^xsd:string
[ sp:varName "lostInjectionRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#lostProductionRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#lostInjectionRef> ;
sp:subject
[ sp:varName "productionActivityRef"^^xsd:string
]
......@@ -190,8 +190,8 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40202 Create the ProductionOperationInjection activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationInjection> ;
rdfs:comment "STEP 40201 Create the ProductionOperationProduction activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProduction> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
......@@ -268,9 +268,9 @@
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "lostInjectionRef"^^xsd:string
[ sp:varName "lostProductionRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#lostInjectionRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#lostProductionRef> ;
sp:subject
[ sp:varName "productionActivityRef"^^xsd:string
]
......@@ -280,66 +280,76 @@
<http://www.epim.no/schemas/mprml/1#Cs_productionOperationLostProduction>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40295 Create the ProductionOperationProcessing - loss contributing third party processing - add gas volume"^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ;
rdfs:comment "STEP 40291 Create the ProductionOperationProcessing - loss contributing activities"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reasonForLossOfProcessingType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "productionOperationProcessing"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:subject _:b5
sp:subject _:b6
]) ;
sp:where ([ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
[ sp:varName "productionOperationProcessing"^^xsd:string
]
] [ sp:object
[ sp:varName "gasStdTempPresRef"^^xsd:string
[ sp:varName "volumeAndReasonRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#gasStdTempPresRef> ;
sp:subject
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
]
sp:predicate <http://www.epim.no/schemas/mprml/1#volumeAndReasonRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "gasStdTempPresRef"^^xsd:string
[ sp:varName "volumeAndReasonRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "gasStdTempPresRef"^^xsd:string
[ sp:varName "volumeAndReasonRef"^^xsd:string
]
] [ sp:object
[ sp:varName "reasonLostRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#reasonLostRef> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectReasonForLossOfProcessingType ;
sp:arg1 [ sp:varName "reasonLostRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reasonForLossOfProcessingType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -354,76 +364,31 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40294 Create the ProductionOperationProcessing - loss contributing third party processing - add oil volume"^^xsd:string ;
sp:templates ([ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
rdfs:comment "STEP 40292 Create the ProductionOperationProcessing - loss contributing third party processing"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
[ sp:varName "productionOperationProcessing"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b7
]) ;
sp:where ([ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b7
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
[ sp:varName "productionOperationProcessing"^^xsd:string
]
] [ sp:object
[ sp:varName "oilStdTempPresRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#oilStdTempPresRef> ;
sp:subject
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "oilStdTempPresRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "oilStdTempPresRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectVolumeScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
]
] ;
sp:variable
[ sp:varName "volumeScale"^^xsd:string
]
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
])
] ;
spin:rule
......@@ -478,50 +443,87 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40292 Create the ProductionOperationProcessing - loss contributing third party processing"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
rdfs:comment "STEP 40294 Create the ProductionOperationProcessing - loss contributing third party processing - add oil volume"^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object
[ sp:varName "productionOperationProcessing"^^xsd:string
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b9
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:subject _:b10
]) ;
sp:where ([ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b9
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationProcessing"^^xsd:string
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object
[ sp:varName "oilStdTempPresRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#oilStdTempPresRef> ;
sp:subject
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "oilStdTempPresRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "oilStdTempPresRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectVolumeScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
]
] ;
sp:variable
[ sp:varName "volumeScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40291 Create the ProductionOperationProcessing - loss contributing activities"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reasonForLossOfProcessingType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object
[ sp:varName "productionOperationProcessing"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b10
] [ sp:object _:b11 ;
rdfs:comment "STEP 40295 Create the ProductionOperationProcessing - loss contributing third party processing - add gas volume"^^xsd:string ;
sp:templates ([ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b12 ;
......@@ -538,45 +540,43 @@
] ;
sp:subject _:b12
]) ;
sp:where ([ sp:object spin:_this ;
sp:where ([ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationProcessing"^^xsd:string
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object
[ sp:varName "volumeAndReasonRef"^^xsd:string
[ sp:varName "gasStdTempPresRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#volumeAndReasonRef> ;
sp:subject spin:_this
sp:predicate <http://www.epim.no/schemas/mprml/1#gasStdTempPresRef> ;
sp:subject
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
[ sp:varName "gasStdTempPresRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
]
] [ sp:object
[ sp:varName "reasonLostRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#reasonLostRef> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectReasonForLossOfProcessingType ;
sp:arg1 [ sp:varName "reasonLostRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reasonForLossOfProcessingType"^^xsd:string
[ sp:varName "gasStdTempPresRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -592,5 +592,5 @@
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
......@@ -12,7 +12,7 @@
</context>
<object xsi:type="obj_productionOperation">
<name>TRYM production operation</name>
<installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation>
<installation kind="well" namingSystem="NPD" uidRef="18081500">10/1-A-9</installation>
<contextFacility kind="field" namingSystem="NPD" uidRef="18081500">TRYM</contextFacility>
<kind>ReportKind</kind>
<periodKind>day</periodKind>
......@@ -26,5 +26,44 @@
<geographicContext>
<comment>somewhere</comment>
</geographicContext>
<installationReport>
<installation kind="processing facility" namingSystem="NPD" uidRef="18081500">STATFJORD A</installation>
<bedsAvailable>100</bedsAvailable>
<crewCount type="catering crew">10</crewCount>
<crewCount type="contractor crew">20</crewCount>
<work uom="h">100</work>
<workMonthToDate uom="h">200</workMonthToDate>
<workYearToDate uom="h">300</workYearToDate>
<productionActivity>
<lostProduction>
<volumeAndReason uom="m3" reasonLost="preventive maint topside">1000</volumeAndReason>
<volumeAndReason uom="m3" reasonLost="well planned operations">1100</volumeAndReason>
<thirdPartyProcessing>
<installation kind="processing facility" namingSystem="NPD" uidRef="18081500">SLEIPNER KONDENSATRØR</installation>
<oilStdTempPres uom="m3">1200</oilStdTempPres>
<gasStdTempPres uom="m3">1300</gasStdTempPres>
</thirdPartyProcessing>
<thirdPartyProcessing>
<installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation>
<oilStdTempPres uom="m3">1400</oilStdTempPres>
<gasStdTempPres uom="m3">1500</gasStdTempPres>
</thirdPartyProcessing>
</lostProduction>
<lostInjection>
<volumeAndReason uom="m3" reasonLost="preventive maint topside">2000</volumeAndReason>
<volumeAndReason uom="m3" reasonLost="well planned operations">2100</volumeAndReason>
<thirdPartyProcessing>
<installation kind="processing facility" namingSystem="NPD" uidRef="18081500">SLEIPNER KONDENSATRØR</installation>
<oilStdTempPres uom="m3">2200</oilStdTempPres>
<gasStdTempPres uom="m3">2300</gasStdTempPres>
</thirdPartyProcessing>
<thirdPartyProcessing>
<installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation>
<oilStdTempPres uom="m3">2400</oilStdTempPres>
<gasStdTempPres uom="m3">2500</gasStdTempPres>
</thirdPartyProcessing>
</lostInjection>
</productionActivity>
</installationReport>
</object>
</objects>
\ No newline at end of file
......