David Price

Merge branch 'master' into add-more-magic

......@@ -15,24 +15,28 @@
<http://www.reportinghub.no/ep/schema/1.0/property-maps-to-mpr-enumeration>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.epim.no/schemas/mprml/1> ;
owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/core#Density>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_density> .
<http://www.epim.no/schemas/mprml/1#FP_density> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> .
<http://www.reportinghub.no/ep/schema/core#Frequency>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_reciprocatingspeed> .
<http://www.reportinghub.no/ep/schema/core#Pressure>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_annuluspressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> .
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_annuluspressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> .
<http://www.reportinghub.no/ep/schema/core#Temperature>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> .
<http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> .
<http://www.reportinghub.no/ep/schema/equipment#Casing>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> .
<http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> .
<http://www.reportinghub.no/ep/schema/equipment#Compressor>
transhelp:domainOfPropertyMapsToMPREnumeration
......@@ -40,11 +44,11 @@
<http://www.reportinghub.no/ep/schema/equipment#Tubing>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> .
<http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> .
<http://www.reportinghub.no/ep/schema/flow#Flow>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_density> .
<http://www.epim.no/schemas/mprml/1#FP_density> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_temperature> .
<http://www.reportinghub.no/ep/schema/production-well#Annulus>
transhelp:domainOfPropertyMapsToMPREnumeration
......@@ -52,24 +56,24 @@
<http://www.reportinghub.no/ep/schema/production-well#WellHead-flowingConditions>
transhelp:flowingStateMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> .
<http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> .
<http://www.reportinghub.no/ep/schema/production-well#WellHead-nonflowingConditions>
transhelp:flowingStateMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> .
<http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> .
<http://www.reportinghub.no/ep/schema/production-well#WellHeadDownStreamChokeValve>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> .
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> .
<http://www.reportinghub.no/ep/schema/well#WellBoreBottom>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> .
<http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> .
<http://www.reportinghub.no/ep/schema/well#WellHead>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> .
<http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> .
rdf:type
transhelp:propertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_annuluspressure> , <http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_reciprocatingspeed> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_density> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> .
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_annuluspressure> , <http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_reciprocatingspeed> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_density> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> .
......
......@@ -2039,7 +2039,7 @@ mpr-tables:ProductionInventory
[ sp:varName "productionInventoryInPeriod"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryInPeriod"^^xsd:string
[ sp:varName "productInventory"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
sp:subject
......@@ -2048,6 +2048,13 @@ mpr-tables:ProductionInventory
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductInventory> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productInventory"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventory"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productInventoryInPeriod"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneMonth> ;
......@@ -2080,7 +2087,7 @@ mpr-tables:ProductionInventory
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "productInventoryInPeriod"^^xsd:string
[ sp:varName "productInventory"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
......@@ -2161,7 +2168,7 @@ mpr-tables:ProductionInventory
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productInventoryInPeriod"^^xsd:string
[ sp:varName "productInventory"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWholeType"^^xsd:string
......@@ -2237,10 +2244,10 @@ mpr-tables:ProductionInventoryOwnership
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
......@@ -2330,24 +2337,17 @@ mpr-tables:ProductionInventoryOwnership
sp:subject
[ sp:varName "partOfOrg"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "owningOrgName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "owningOrg"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "owningOrgName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "owningOrg"^^xsd:string
]
])
] [ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "owningOrgName"^^xsd:string
] ;
sp:path [ rdf:type sp:AltPath ;
sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ;
sp:path2 <http://www.reportinghub.no/np/schema/npd#name>
] ;
sp:subject
[ sp:varName "owningOrg"^^xsd:string
]
] [ sp:object
[ sp:varName "quantityofmaterial"^^xsd:string
] ;
......