David Leal

Made the generation of the MPR report URI more robust.

# Saved by TopBraid on Mon Dec 19 18:49:44 GMT 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/np/schema/1.0/npd
......@@ -11,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 .
......@@ -30,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 .
......@@ -45,12 +44,12 @@ ep-prodreport:ProductVolumeReport
rdfs:subClassOf ep-prodreport:ProductionReport .
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 .
......@@ -60,7 +59,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 .
......@@ -79,8 +78,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 ;
......@@ -89,17 +88,17 @@ 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 .
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 .
......@@ -124,3 +123,8 @@ ep-prodreport:disclaimer
ep-prodreport:isAliasFor
rdf:type owl:ObjectProperty ;
rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> .
ep-prodreport:issuedAt
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ;
rdfs:label "issued at"^^xsd:string .
......
......@@ -55,15 +55,37 @@ ep-mpr-spin-lib:Function
rdf:type spin:Function ;
rdfs:subClassOf spin:Functions .
ep-mpr-spin-lib:buildIntervalIdentifier
rdf:type spin:Function ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
rdfs:comment """arg1 is the report start date
arg2 is the report end date"""^^xsd:string ;
sp:resultVariables ([ sp:varName "intervalIdentifier"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2
] ;
sp:variable
[ sp:varName "intervalIdentifier"^^xsd:string
]
])
] .
ep-mpr-spin-lib:buildProductionReportURI
rdf:type spin:Function ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
rdfs:comment """arg1 is the name of the report
arg2 is the report start date
arg3 is the report end date"""^^xsd:string ;
sp:resultVariables (_:b1) ;
rdfs:comment """arg1 is the name of the installation
arg2 is the interval identifier"""^^xsd:string ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -71,12 +93,12 @@ arg3 is the report end date"""^^xsd:string ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b1
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
......@@ -916,7 +938,7 @@ ep-mpr-spin-lib:selectFluidSamplingType
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b2) ;
sp:resultVariables (_:b1) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -997,7 +1019,7 @@ ep-mpr-spin-lib:selectFluidSamplingType
]
]
] ;
sp:variable _:b2
sp:variable _:b1
])
] .
......@@ -3047,7 +3069,7 @@ ep-mpr-spin-lib:selectProductVolumeReportPeriodType
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b3) ;
sp:resultVariables (_:b2) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3191,7 +3213,7 @@ ep-mpr-spin-lib:selectProductVolumeReportPeriodType
]
]
] ;
sp:variable _:b3
sp:variable _:b2
])
] .
......@@ -5598,8 +5620,6 @@ ep-mpr-spin-lib:selectWorkScale
])
] .
_:b3 sp:varName "productVolumeReportPeriodType"^^xsd:string .
_:b2 sp:varName "fluidSamplingType"^^xsd:string .
_:b1 sp:varName "fluidSamplingType"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b2 sp:varName "productVolumeReportPeriodType"^^xsd:string .
......
# Saved by TopBraid on Tue Dec 20 19:26:54 GMT 2011
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> .
......@@ -20,334 +19,738 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10001b Create the ProductionReport - dateStart and dateEnd supplied
Extract the name from the productionOperation child"""^^xsd:string ;
rdfs:comment "STEP 10001m Create the ProductionReport - extract the name from context/installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate rdfs:label ;
sp:subject _:b1
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject _:b1
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b1
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object _:b4 ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b5 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject _:b4
] [ sp:object _:b2 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b5
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "name"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 [ sp:varName "normalizedName"^^xsd:string
] ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001e Create the interval identifier - no date"^^xsd:string ;
sp:templates ([ sp:object "noDate" ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ sp:object _:b3 ;
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001c Create the interval identifier - date from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject _:b4
] [ sp:object _:b6 ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001n Create the ProductionReport - extract the name from productionOperation/installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b6
] [ sp:object _:b8 ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b7
] [ sp:object _:b9 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject _:b6
] [ sp:object _:b10 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject _:b6
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b8
sp:arg1 [ sp:varName "name"^^xsd:string
]
] ;
sp:variable _:b11
sp:variable
[ sp:varName "normalizedName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 _:b11 ;
sp:arg2 _:b9 ;
sp:arg3 _:b10
sp:arg1 [ sp:varName "normalizedName"^^xsd:string
] ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
] ;
sp:variable _:b1
sp:variable
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10001a Create the ProductionReport - dTimStart and dTimEnd supplied
Extract the name from the productionOperation child"""^^xsd:string ;
rdfs:comment "STEP 10001o Create the ProductionReport - extract the name from productVolume/installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object _:b13 ;
sp:predicate rdfs:label ;
sp:subject _:b12
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject _:b12
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b12
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object _:b15 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b16 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject _:b15
] [ sp:object _:b13 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b16
])
] [ sp:object _:b14 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject _:b15
] [ sp:object _:b17 ;
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object _:b18 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b17
] [ sp:object _:b19 ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b18
] [ sp:object _:b20 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject _:b17
] [ sp:object _:b21 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:subject _:b17
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b19
sp:arg1 [ sp:varName "name"^^xsd:string
]
] ;
sp:variable _:b22
sp:variable
[ sp:varName "normalizedName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 _:b22 ;
sp:arg2 _:b20 ;
sp:arg3 _:b21
sp:arg1 [ sp:varName "normalizedName"^^xsd:string
] ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
] ;
sp:variable _:b12
sp:variable
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001e Add the report kind"^^xsd:string ;
sp:templates ([ sp:object _:b23 ;
rdfs:comment "STEP 10001z Add the report kind, issue date and title"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reportKind"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b24
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReportKind> ;
sp:predicate rdf:type ;
sp:subject _:b23
] [ sp:object _:b25 ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "issueDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-report#issuedAt> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b23
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object _:b26 ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject _:b26
] [ sp:object _:b25 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:subject _:b26
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject _:b26
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "issueDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#issueDate> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "titleRef"^^xsd:string
]
])
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b24
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b25
sp:arg1 [ sp:varName "kind"^^xsd:string
]
] ;
sp:variable _:b27
sp:variable
[ sp:varName "normalizedKind"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 _:b27
sp:arg1 [ sp:varName "normalizedKind"^^xsd:string
]
] ;
sp:variable _:b23
sp:variable
[ sp:varName "reportKind"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10001c Create the ProductionReport - date and dateEnd from context
Extract the name from the contextFacility"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
rdfs:comment "STEP 10001a Create the inteval identifier - dateStart and dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate rdfs:label ;
sp:subject _:b28
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject _:b28
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b28
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
sp:arg1 [ sp:varName "dateStart"^^xsd:string
] ;
sp:arg2 [ sp:varName "dateEnd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "intervalIdentifier"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001b Create the interval identifier - date and dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object _:b31 ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject _:b31
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b32 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject _:b31
] [ sp:object _:b29 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b32
])
] [ sp:object _:b30 ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject _:b31
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object _:b33 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b33
] [ sp:object _:b34 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b33
] [ sp:object _:b35 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b34
sp:elements ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ sp:object _:b36 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject _:b31
] [ sp:object _:b37 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject _:b31
] [ sp:object _:b38 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject _:b31
] [ sp:object _:b35 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b38
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b35
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:variable _:b39
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 _:b39 ;
sp:arg2 _:b36 ;
sp:arg3 _:b37
[ rdf:type ep-mpr-spin-lib:buildIntervalIdentifier ;
sp:arg1 [ sp:varName "date"^^xsd:string
] ;
sp:arg2 [ sp:varName "dateEnd"^^xsd:string
]
] ;
sp:variable _:b28
sp:variable
[ sp:varName "intervalIdentifier"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10001d Create the ProductionReport - dateStart and dateEnd from context
Extract the name from the contextFacility"""^^xsd:string ;
rdfs:comment "STEP 10001p Create the ProductionReport - no installation"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject _:b40
] [ sp:object _:b41 ;
sp:predicate rdfs:label ;
sp:subject _:b40
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject _:b40
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b40
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object _:b43 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:where ([ sp:object
[ sp:varName "intervalIdentifier"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject _:b43
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b44 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject _:b43
] [ sp:object _:b41 ;
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productVolumeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b44
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
] [ sp:object _:b42 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject _:b43
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object _:b45 ;
sp:elements ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b45
] [ sp:object _:b46 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b45
] [ sp:object _:b47 ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b46
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
] [ sp:object _:b48 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject _:b43
] [ sp:object _:b49 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject _:b43
] [ sp:object _:b50 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject _:b43
] [ sp:object _:b47 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b50
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b47
sp:arg1 "noInstallation"
] ;
sp:variable _:b51
sp:variable
[ sp:varName "normalizedName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 _:b51 ;
sp:arg2 _:b48 ;
sp:arg3 _:b49
sp:arg1 [ sp:varName "normalizedName"^^xsd:string
] ;
sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001d Create the interval identifier - dateEnd from context"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:variable _:b40
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#intervalIdentifier> ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
])
])
] .
......@@ -355,147 +758,3 @@ Extract the name from the contextFacility"""^^xsd:string ;
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:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b40
sp:varName "productionReport"^^xsd:string .
_:b41
sp:varName "title"^^xsd:string .
_:b42
sp:varName "date"^^xsd:string .
_:b43
sp:varName "contextRef"^^xsd:string .
_:b44
sp:varName "titleRef"^^xsd:string .
_:b45
sp:varName "productionOperationRef"^^xsd:string .
_:b46
sp:varName "nameRef"^^xsd:string .
_:b47
sp:varName "name"^^xsd:string .
_:b48
sp:varName "dateStart"^^xsd:string .
_:b49
sp:varName "dateEnd"^^xsd:string .
_:b50
sp:varName "contextFacilityRef"^^xsd:string .
_:b51
sp:varName "normalizedName"^^xsd:string .
_:b28
sp:varName "productionReport"^^xsd:string .
_:b29
sp:varName "title"^^xsd:string .
_:b30
sp:varName "date"^^xsd:string .
_:b31
sp:varName "contextRef"^^xsd:string .
_:b32
sp:varName "titleRef"^^xsd:string .
_:b33
sp:varName "productionOperationRef"^^xsd:string .
_:b34
sp:varName "nameRef"^^xsd:string .
_:b35
sp:varName "name"^^xsd:string .
_:b36
sp:varName "dateStart"^^xsd:string .
_:b37
sp:varName "dateEnd"^^xsd:string .
_:b38
sp:varName "contextFacilityRef"^^xsd:string .
_:b39
sp:varName "normalizedName"^^xsd:string .
_:b23
sp:varName "reportKind"^^xsd:string .
_:b24
sp:varName "productionReport"^^xsd:string .
_:b25
sp:varName "kind"^^xsd:string .
_:b26
sp:varName "contextRef"^^xsd:string .
_:b27
sp:varName "normalizedKind"^^xsd:string .
_:b15
sp:varName "contextRef"^^xsd:string .
_:b16
sp:varName "titleRef"^^xsd:string .
_:b13
sp:varName "title"^^xsd:string .
_:b14
sp:varName "date"^^xsd:string .
_:b17
sp:varName "productionOperationRef"^^xsd:string .
_:b18
sp:varName "nameRef"^^xsd:string .
_:b19
sp:varName "name"^^xsd:string .
_:b20
sp:varName "dTimStart"^^xsd:string .
_:b21
sp:varName "dTimEnd"^^xsd:string .
_:b22
sp:varName "normalizedName"^^xsd:string .
_:b12
sp:varName "productionReport"^^xsd:string .
_:b4 sp:varName "contextRef"^^xsd:string .
_:b5 sp:varName "titleRef"^^xsd:string .
_:b2 sp:varName "title"^^xsd:string .
_:b3 sp:varName "date"^^xsd:string .
_:b6 sp:varName "productionOperationRef"^^xsd:string .
_:b7 sp:varName "nameRef"^^xsd:string .
_:b8 sp:varName "name"^^xsd:string .
_:b9 sp:varName "dateStart"^^xsd:string .
_:b10
sp:varName "dateEnd"^^xsd:string .
_:b11
sp:varName "normalizedName"^^xsd:string .
_:b1 sp:varName "productionReport"^^xsd:string .
......
# Saved by TopBraid on Tue Dec 20 19:26:54 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Thu Dec 15 19:14:36 GMT 2011
# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://www.reportinghub.no/np/data/npd
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> .
@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
......
# Saved by TopBraid on Thu Dec 15 19:14:36 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
<?xml version="1.0" encoding="UTF-8"?>
<mprml:objects xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mprml="http://www.witsml.org/schemas/131" xmlns="http://www.witsml.org/schemas/131" version="1.0.0.0(PRODML)">
<mprml:documentInfo>
<mprml:DocumentName namingSystem="EC">TRYM July 2011</mprml:DocumentName>
<mprml:DocumentAlias namingSystem="EC">TRYM Copex Report</mprml:DocumentAlias>
<mprml:DocumentDate>2011-08-05T00:00:00.0Z</mprml:DocumentDate>
<mprml:FileCreationInformation>
<?xml version="1.0" encoding="UTF-8"?><objects version="1.0.0.0(PRODML)" xmlns="http://www.epim.no/schemas/mprml/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<documentInfo>
<DocumentName namingSystem="EC">TRYM July 2011</DocumentName>
<DocumentAlias namingSystem="EC">TRYM Copex Report</DocumentAlias>
<DocumentDate>2011-08-05T00:00:00.0Z</DocumentDate>
<FileCreationInformation>
<mprml:FileCreationDate>2011-08-15T00:00:00.0Z</mprml:FileCreationDate>
<FileCreationDate>2011-08-15T00:00:00.0Z</FileCreationDate>
<mprml:SoftwareName>Energy Components</mprml:SoftwareName>
<mprml:FileCreator>Energy Components</mprml:FileCreator>
</mprml:FileCreationInformation>
<mprml:Owner>DONG E&amp;P Norge AS</mprml:Owner>
</mprml:documentInfo>
<mprml:context xsi:type="obj_report">
<mprml:kind>month</mprml:kind>
<mprml:title>TRYM July 2011</mprml:title>
<mprml:date>2011-07-01</mprml:date>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:month>2011-07</mprml:month>
<mprml:year>2011</mprml:year>
<mprml:reportVersion>1</mprml:reportVersion>
<mprml:reportStatus>final</mprml:reportStatus>
<mprml:installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</mprml:installation>
<mprml:operator>
<mprml:name>DONG E&amp;P Norge AS</mprml:name>
<mprml:role>Operating company</mprml:role>
</mprml:operator>
</mprml:context>
<mprml:object xsi:type="obj_productVolume">
<mprml:name>TRYM</mprml:name>
<mprml:facility>
<mprml:name kind="field" namingSystem="NPD" uidRef="18081500">TRYM</mprml:name>
<SoftwareName>Energy Components</SoftwareName>
<FileCreator>Energy Components</FileCreator>
</FileCreationInformation>
<Owner>DONG E&amp;P Norge AS</Owner>
</documentInfo>
<context xsi:type="obj_report">
<kind>month</kind>
<title>TRYM July 2011</title>
<date>2011-07-01</date>
<dateEnd>2011-07-31</dateEnd>
<month>2011-07</month>
<year>2011</year>
<reportVersion>1</reportVersion>
<reportStatus>final</reportStatus>
<installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation>
<operator>
<name>DONG E&amp;P Norge AS</name>
<role>Operating company</role>
</operator>
</context>
<object xsi:type="obj_productVolume">
<name>TRYM</name>
<facility>
<name kind="field" namingSystem="NPD" uidRef="18081500">TRYM</name>
<mprml:flow>
<mprml:kind>production</mprml:kind>
<mprml:qualifier>saleable</mprml:qualifier>
<mprml:product>
<mprml:kind>oil - net</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">524.83</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">61.1</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">799.04</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product>
</mprml:flow>
<flow>
<kind>production</kind>
<qualifier>saleable</qualifier>
<product>
<kind>oil - net</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">524.83</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">61.1</mass>
<densityValue>
<density uom="kg/m3">799.04</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product>
</flow>
<mprml:flow>
<mprml:kind>production</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>oil - net</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">687.74</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">435.92</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">743.22</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind>gas</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">164.19</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">420.36</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">795.76</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind>water</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">340.83</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">815.72</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">788.88</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind>condensate - net</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">225.53</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">848.52</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">728.14</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product>
</mprml:flow>
<flow>
<kind>production</kind>
<qualifier>allocated</qualifier>
<product>
<kind>oil - net</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">687.74</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">435.92</mass>
<densityValue>
<density uom="kg/m3">743.22</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product><product>
<kind>gas</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">164.19</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">420.36</mass>
<densityValue>
<density uom="kg/m3">795.76</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product><product>
<kind>water</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">340.83</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">815.72</mass>
<densityValue>
<density uom="kg/m3">788.88</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product><product>
<kind>condensate - net</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">225.53</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">848.52</mass>
<densityValue>
<density uom="kg/m3">728.14</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product>
</flow>
<mprml:flow>
<mprml:kind>injection</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>gas</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">911.66</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">538.48</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">0.41</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product>
</mprml:flow>
<flow>
<kind>injection</kind>
<qualifier>allocated</qualifier>
<product>
<kind>gas</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">911.66</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">538.48</mass>
<densityValue>
<density uom="kg/m3">0.41</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product>
</flow>
</mprml:facility><mprml:facility>
<mprml:name kind="terminal" namingSystem="NPD" uidRef="NaN">FREDERICIA</mprml:name>
</facility><facility>
<name kind="terminal" namingSystem="NPD" uidRef="NaN">FREDERICIA</name>
<mprml:flow>
<mprml:name>FREDERICIA allocated inventory</mprml:name>
<mprml:kind>inventory</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>oil - net</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1399.72</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">335.46</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">709.06</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
<mprml:balanceSet>
<mprml:kind>closing balance</mprml:kind>
<mprml:balanceDetail>
<mprml:owner>DONG E&amp;P Norge AS</mprml:owner>
<mprml:volumeValue>
<mprml:volume uom="m3">145.150964</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">34.787202</mprml:mass>
</mprml:balanceDetail><mprml:balanceDetail>
<mprml:owner>Bayerngas Norge AS</mprml:owner>
<mprml:volumeValue>
<mprml:volume uom="m3">1254.569036</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">300.672798</mprml:mass>
</mprml:balanceDetail>
</mprml:balanceSet>
</mprml:period>
<flow>
<name>FREDERICIA allocated inventory</name>
<kind>inventory</kind>
<qualifier>allocated</qualifier>
<product>
<kind>oil - net</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1399.72</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">335.46</mass>
<densityValue>
<density uom="kg/m3">709.06</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
<balanceSet>
<kind>closing balance</kind>
<balanceDetail>
<owner>DONG E&amp;P Norge AS</owner>
<volumeValue>
<volume uom="m3">145.150964</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">34.787202</mass>
</balanceDetail><balanceDetail>
<owner>Bayerngas Norge AS</owner>
<volumeValue>
<volume uom="m3">1254.569036</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">300.672798</mass>
</balanceDetail>
</balanceSet>
</period>
</mprml:product>
</mprml:flow>
</product>
</flow>
<mprml:flow>
<mprml:name>FREDERICIA field production lifted by tanker</mprml:name>
<mprml:kind>hydrocarbon accounting</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>oil - net</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:balanceSet>
<mprml:kind>tanker lifting</mprml:kind>
<mprml:cargoNumber>304/1</mprml:cargoNumber>
<mprml:cargoBatchNumber>1</mprml:cargoBatchNumber>
<mprml:shipper>Bayerngas Norge AS</mprml:shipper>
<mprml:destination>
<mprml:name>Fawley</mprml:name>
<mprml:type>harbour</mprml:type>
<mprml:country>UNITED KINGDOM</mprml:country>
</mprml:destination>
<mprml:event>
<mprml:date>2009-01-04</mprml:date>
<mprml:kind>bill of lading</mprml:kind>
</mprml:event>
<mprml:volumeValue>
<mprml:volume uom="m3">741.46</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">822.37</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">724.87</mprml:density>
<mprml:temp uom="degC">15.0</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
<mprml:balanceDetail>
<mprml:owner>Bayerngas Norge AS</mprml:owner>
<mprml:share uom="%">100.0</mprml:share>
</mprml:balanceDetail>
</mprml:balanceSet><mprml:balanceSet>
<mprml:kind>tanker lifting</mprml:kind>
<mprml:cargoNumber>305/1</mprml:cargoNumber>
<mprml:cargoBatchNumber>1</mprml:cargoBatchNumber>
<mprml:shipper>DONG E&amp;P Norge AS</mprml:shipper>
<mprml:destination>
<mprml:name>Fawley</mprml:name>
<mprml:type>harbour</mprml:type>
<mprml:country>UNITED KINGDOM</mprml:country>
</mprml:destination>
<mprml:event>
<mprml:date>2009-01-07</mprml:date>
<mprml:kind>bill of lading</mprml:kind>
</mprml:event>
<mprml:volumeValue>
<mprml:volume uom="m3">486.73</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">985.3</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">779.4</mprml:density>
<mprml:temp uom="degC">15.0</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
<mprml:balanceDetail>
<mprml:owner>DONG E&amp;P Norge AS</mprml:owner>
<mprml:share uom="%">100.0</mprml:share>
</mprml:balanceDetail>
</mprml:balanceSet><mprml:balanceSet>
<mprml:kind>tanker lifting</mprml:kind>
<mprml:cargoNumber>306/1</mprml:cargoNumber>
<mprml:cargoBatchNumber>1</mprml:cargoBatchNumber>
<mprml:shipper>DONG E&amp;P Norge AS</mprml:shipper>
<mprml:destination>
<mprml:name>Fawley</mprml:name>
<mprml:type>harbour</mprml:type>
<mprml:country>UNITED KINGDOM</mprml:country>
</mprml:destination>
<mprml:event>
<mprml:date>2009-01-11</mprml:date>
<mprml:kind>bill of lading</mprml:kind>
</mprml:event>
<mprml:volumeValue>
<mprml:volume uom="m3">769.89</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">331.89</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">708.73</mprml:density>
<mprml:temp uom="degC">15.0</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
<mprml:balanceDetail>
<mprml:owner>DONG E&amp;P Norge AS</mprml:owner>
<mprml:share uom="%">100.0</mprml:share>
</mprml:balanceDetail>
</mprml:balanceSet><mprml:balanceSet>
<mprml:kind>tanker lifting</mprml:kind>
<mprml:cargoNumber>307/1</mprml:cargoNumber>
<mprml:cargoBatchNumber>1</mprml:cargoBatchNumber>
<mprml:shipper>Bayerngas Norge AS</mprml:shipper>
<mprml:destination>
<mprml:name>Rotterdam</mprml:name>
<mprml:type>harbour</mprml:type>
<mprml:country>NETHERLANDS</mprml:country>
</mprml:destination>
<mprml:event>
<mprml:date>2009-01-15</mprml:date>
<mprml:kind>bill of lading</mprml:kind>
</mprml:event>
<mprml:volumeValue>
<mprml:volume uom="m3">286.53</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">532.72</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">777.79</mprml:density>
<mprml:temp uom="degC">15.0</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
<mprml:balanceDetail>
<mprml:owner>DONG E&amp;P Norge AS</mprml:owner>
<mprml:share uom="%">100.0</mprml:share>
</mprml:balanceDetail>
</mprml:balanceSet>
</mprml:period>
</mprml:product>
</mprml:flow>
</mprml:facility><mprml:facility>
<mprml:name kind="platform" namingSystem="NPD" uidRef="412931">HARALD A</mprml:name>
<flow>
<name>FREDERICIA field production lifted by tanker</name>
<kind>hydrocarbon accounting</kind>
<qualifier>allocated</qualifier>
<product>
<kind>oil - net</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<balanceSet>
<kind>tanker lifting</kind>
<cargoNumber>304/1</cargoNumber>
<cargoBatchNumber>1</cargoBatchNumber>
<shipper>Bayerngas Norge AS</shipper>
<destination>
<name>Fawley</name>
<type>harbour</type>
<country>UNITED KINGDOM</country>
</destination>
<event>
<date>2009-01-04</date>
<kind>bill of lading</kind>
</event>
<volumeValue>
<volume uom="m3">741.46</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">822.37</mass>
<densityValue>
<density uom="kg/m3">724.87</density>
<temp uom="degC">15.0</temp>
<pres uom="atm">1</pres>
</densityValue>
<balanceDetail>
<owner>Bayerngas Norge AS</owner>
<share uom="%">100.0</share>
</balanceDetail>
</balanceSet><balanceSet>
<kind>tanker lifting</kind>
<cargoNumber>305/1</cargoNumber>
<cargoBatchNumber>1</cargoBatchNumber>
<shipper>DONG E&amp;P Norge AS</shipper>
<destination>
<name>Fawley</name>
<type>harbour</type>
<country>UNITED KINGDOM</country>
</destination>
<event>
<date>2009-01-07</date>
<kind>bill of lading</kind>
</event>
<volumeValue>
<volume uom="m3">486.73</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">985.3</mass>
<densityValue>
<density uom="kg/m3">779.4</density>
<temp uom="degC">15.0</temp>
<pres uom="atm">1</pres>
</densityValue>
<balanceDetail>
<owner>DONG E&amp;P Norge AS</owner>
<share uom="%">100.0</share>
</balanceDetail>
</balanceSet><balanceSet>
<kind>tanker lifting</kind>
<cargoNumber>306/1</cargoNumber>
<cargoBatchNumber>1</cargoBatchNumber>
<shipper>DONG E&amp;P Norge AS</shipper>
<destination>
<name>Fawley</name>
<type>harbour</type>
<country>UNITED KINGDOM</country>
</destination>
<event>
<date>2009-01-11</date>
<kind>bill of lading</kind>
</event>
<volumeValue>
<volume uom="m3">769.89</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">331.89</mass>
<densityValue>
<density uom="kg/m3">708.73</density>
<temp uom="degC">15.0</temp>
<pres uom="atm">1</pres>
</densityValue>
<balanceDetail>
<owner>DONG E&amp;P Norge AS</owner>
<share uom="%">100.0</share>
</balanceDetail>
</balanceSet><balanceSet>
<kind>tanker lifting</kind>
<cargoNumber>307/1</cargoNumber>
<cargoBatchNumber>1</cargoBatchNumber>
<shipper>Bayerngas Norge AS</shipper>
<destination>
<name>Rotterdam</name>
<type>harbour</type>
<country>NETHERLANDS</country>
</destination>
<event>
<date>2009-01-15</date>
<kind>bill of lading</kind>
</event>
<volumeValue>
<volume uom="m3">286.53</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">532.72</mass>
<densityValue>
<density uom="kg/m3">777.79</density>
<temp uom="degC">15.0</temp>
<pres uom="atm">1</pres>
</densityValue>
<balanceDetail>
<owner>DONG E&amp;P Norge AS</owner>
<share uom="%">100.0</share>
</balanceDetail>
</balanceSet>
</period>
</product>
</flow>
</facility><facility>
<name kind="platform" namingSystem="NPD" uidRef="412931">HARALD A</name>
<mprml:flow>
<mprml:kind>production</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>oil - net</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1508.14</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">922.95</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">741.75</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind>gas</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">822.82</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">832.01</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">777.97</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind>water</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">10.73</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">641.66</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">786.15</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product>
</mprml:flow>
<flow>
<kind>production</kind>
<qualifier>allocated</qualifier>
<product>
<kind>oil - net</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1508.14</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">922.95</mass>
<densityValue>
<density uom="kg/m3">741.75</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product><product>
<kind>gas</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">822.82</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">832.01</mass>
<densityValue>
<density uom="kg/m3">777.97</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product><product>
<kind>water</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">10.73</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">641.66</mass>
<densityValue>
<density uom="kg/m3">786.15</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product>
</flow>
<mprml:flow>
<mprml:kind>injection</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>gas</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1854.23</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">81.86</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">774.75</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product>
</mprml:flow>
<flow>
<kind>injection</kind>
<qualifier>allocated</qualifier>
<product>
<kind>gas</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1854.23</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">81.86</mass>
<densityValue>
<density uom="kg/m3">774.75</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product>
</flow>
<mprml:flow>
<mprml:kind>consume - flare</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>gas</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1640.17</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">385.68</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">784.85</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product>
</mprml:flow>
<flow>
<kind>consume - flare</kind>
<qualifier>allocated</qualifier>
<product>
<kind>gas</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1640.17</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">385.68</mass>
<densityValue>
<density uom="kg/m3">784.85</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product>
</flow>
<mprml:flow>
<mprml:kind>consume - fuel</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>gas</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">445.98</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">555.37</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">0.01</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind> diesel</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">781.08</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">825.34</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">0.18</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product>
</mprml:flow>
<flow>
<kind>consume - fuel</kind>
<qualifier>allocated</qualifier>
<product>
<kind>gas</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">445.98</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">555.37</mass>
<densityValue>
<density uom="kg/m3">0.01</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product><product>
<kind> diesel</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">781.08</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">825.34</mass>
<densityValue>
<density uom="kg/m3">0.18</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product>
</flow>
<mprml:flow>
<mprml:kind>production</mprml:kind>
<mprml:qualifier>metered - fiscal</mprml:qualifier>
<mprml:product>
<mprml:kind>oil - gross</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1824.37</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:mass uom="kg">365.82</mprml:mass>
<mprml:densityValue>
<mprml:density uom="kg/m3">710.97</mprml:density>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:densityValue>
</mprml:period>
</mprml:product>
</mprml:flow>
<flow>
<kind>production</kind>
<qualifier>metered - fiscal</qualifier>
<product>
<kind>oil - gross</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1824.37</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<mass uom="kg">365.82</mass>
<densityValue>
<density uom="kg/m3">710.97</density>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</densityValue>
</period>
</product>
</flow>
</mprml:facility><mprml:facility>
<mprml:name kind="wellbore" namingSystem="NPD" uidRef="6469">3/7-A-1 AH</mprml:name>
<mprml:wellStatus>producing</mprml:wellStatus>
<mprml:operationTime uom="d">4.0</mprml:operationTime>
<mprml:parameterSet>
<mprml:name>wellhead pressure</mprml:name>
<mprml:parameter>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:measureValue uom="bar">2323</mprml:measureValue>
</mprml:parameter>
</mprml:parameterSet>
<mprml:flow>
<mprml:kind>production</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>oil - net</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1834.35</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:portDiff>
<mprml:chokeRelative uom="%">90.0</mprml:chokeRelative>
</mprml:portDiff>
</facility><facility>
<name kind="wellbore" namingSystem="NPD" uidRef="6469">3/7-A-1 AH</name>
<wellStatus>producing</wellStatus>
<operationTime uom="d">4.0</operationTime>
<parameterSet>
<name>wellhead pressure</name>
<parameter>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<measureValue uom="bar">2323</measureValue>
</parameter>
</parameterSet>
<flow>
<kind>production</kind>
<qualifier>allocated</qualifier>
<product>
<kind>oil - net</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1834.35</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<portDiff>
<chokeRelative uom="%">90.0</chokeRelative>
</portDiff>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind>gas</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1104.82</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:portDiff>
<mprml:chokeRelative uom="%">85.0</mprml:chokeRelative>
</mprml:portDiff>
</period>
</product><product>
<kind>gas</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1104.82</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<portDiff>
<chokeRelative uom="%">85.0</chokeRelative>
</portDiff>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind>water</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">175.0</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:portDiff>
<mprml:chokeRelative uom="%">84.0</mprml:chokeRelative>
</mprml:portDiff>
</period>
</product><product>
<kind>water</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">175.0</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<portDiff>
<chokeRelative uom="%">84.0</chokeRelative>
</portDiff>
</mprml:period>
</mprml:product>
</mprml:flow>
</period>
</product>
</flow>
</mprml:facility><mprml:facility>
<mprml:name kind="wellbore" namingSystem="NPD" uidRef="6439">3/7-A-2 H</mprml:name>
<mprml:wellStatus>producing</mprml:wellStatus>
<mprml:operationTime uom="d">18.0</mprml:operationTime>
<mprml:parameterSet>
<mprml:name>wellhead pressure</mprml:name>
<mprml:parameter>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:measureValue uom="bar">2323</mprml:measureValue>
</mprml:parameter>
</mprml:parameterSet>
<mprml:flow>
<mprml:kind>production</mprml:kind>
<mprml:qualifier>allocated</mprml:qualifier>
<mprml:product>
<mprml:kind>oil - net</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1169.73</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:portDiff>
<mprml:chokeRelative uom="%">76.0</mprml:chokeRelative>
</mprml:portDiff>
</facility><facility>
<name kind="wellbore" namingSystem="NPD" uidRef="6439">3/7-A-2 H</name>
<wellStatus>producing</wellStatus>
<operationTime uom="d">18.0</operationTime>
<parameterSet>
<name>wellhead pressure</name>
<parameter>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<measureValue uom="bar">2323</measureValue>
</parameter>
</parameterSet>
<flow>
<kind>production</kind>
<qualifier>allocated</qualifier>
<product>
<kind>oil - net</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1169.73</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<portDiff>
<chokeRelative uom="%">76.0</chokeRelative>
</portDiff>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind>gas</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1320.38</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:portDiff>
<mprml:chokeRelative uom="%">83.0</mprml:chokeRelative>
</mprml:portDiff>
</period>
</product><product>
<kind>gas</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1320.38</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<portDiff>
<chokeRelative uom="%">83.0</chokeRelative>
</portDiff>
</mprml:period>
</mprml:product><mprml:product>
<mprml:kind>water</mprml:kind>
<mprml:period>
<mprml:kind>month</mprml:kind>
<mprml:dateStart>2011-07-01</mprml:dateStart>
<mprml:dateEnd>2011-07-31</mprml:dateEnd>
<mprml:volumeValue>
<mprml:volume uom="m3">1090.88</mprml:volume>
<mprml:temp uom="degC">15</mprml:temp>
<mprml:pres uom="atm">1</mprml:pres>
</mprml:volumeValue>
<mprml:portDiff>
<mprml:chokeRelative uom="%">82.0</mprml:chokeRelative>
</mprml:portDiff>
</period>
</product><product>
<kind>water</kind>
<period>
<kind>month</kind>
<dateStart>2011-07-01</dateStart>
<dateEnd>2011-07-31</dateEnd>
<volumeValue>
<volume uom="m3">1090.88</volume>
<temp uom="degC">15</temp>
<pres uom="atm">1</pres>
</volumeValue>
<portDiff>
<chokeRelative uom="%">82.0</chokeRelative>
</portDiff>
</mprml:period>
</mprml:product>
</mprml:flow>
</period>
</product>
</flow>
</mprml:facility>
</mprml:object>
</mprml:objects>
\ No newline at end of file
</facility>
</object>
</objects>
\ No newline at end of file
......