David Price

Merge branch 'master' into bitdiam

......@@ -2068,19 +2068,7 @@ ddr-tables:LogInformation
[ sp:varName "wbPartState"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "wbState"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "wbPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#SpatialPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wbPart"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "top"^^xsd:string
] ;
......@@ -2765,61 +2753,149 @@ ddr-tables:SurveyStation
rdfs:subClassOf rhspin:DDRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b112 _:b113 _:b114 _:b115) ;
sp:where ([ sp:object _:b116 ;
sp:resultVariables ([ sp:varName "depthmMD"^^xsd:string
] [ sp:varName "depthmTVD"^^xsd:string
] [ sp:varName "inclination"^^xsd:string
] [ sp:varName "azimuth"^^xsd:string
]) ;
sp:where ([ sp:object
[ sp:varName "reportOn"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object _:b117 ;
] [ sp:object
[ sp:varName "part"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b116
sp:subject
[ sp:varName "reportOn"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreDirectionalSurvey> ;
sp:predicate rdf:type ;
sp:subject _:b117
sp:subject
[ sp:varName "part"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b118 ;
sp:elements ([ sp:object
[ sp:varName "wellboreState"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b117
] [ sp:object _:b119 ;
sp:subject
[ sp:varName "part"^^xsd:string
]
] [ sp:object
[ sp:varName "wellbore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "wellboreState"^^xsd:string
]
] [ sp:object
[ sp:varName "azi"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#azimuth> ;
sp:subject _:b118
] [ sp:object _:b115 ;
sp:subject
[ sp:varName "wellbore"^^xsd:string
]
] [ sp:object
[ sp:varName "azimuth"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#degreesOfAngle> ;
sp:subject _:b119
sp:subject
[ sp:varName "azi"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b118 ;
sp:elements ([ sp:object
[ sp:varName "wellboreState"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b117
] [ sp:object _:b120 ;
sp:subject
[ sp:varName "part"^^xsd:string
]
] [ sp:object
[ sp:varName "wellbore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "wellboreState"^^xsd:string
]
] [ sp:object
[ sp:varName "md"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b118
] [ sp:object _:b112 ;
sp:subject
[ sp:varName "wellbore"^^xsd:string
]
] [ sp:object
[ sp:varName "depthmMD"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
sp:subject _:b120
sp:subject
[ sp:varName "md"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b118 ;
sp:elements ([ sp:object
[ sp:varName "wellboreState"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b117
] [ sp:object _:b121 ;
sp:subject
[ sp:varName "part"^^xsd:string
]
] [ sp:object
[ sp:varName "wellbore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "wellboreState"^^xsd:string
]
] [ sp:object
[ sp:varName "tvd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b118
] [ sp:object _:b113 ;
sp:subject
[ sp:varName "wellbore"^^xsd:string
]
] [ sp:object
[ sp:varName "depthmTVD"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
sp:subject _:b121
sp:subject
[ sp:varName "tvd"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b118 ;
sp:elements ([ sp:object
[ sp:varName "wellboreState"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b117
] [ sp:object _:b122 ;
sp:subject
[ sp:varName "part"^^xsd:string
]
] [ sp:object
[ sp:varName "wellbore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "wellboreState"^^xsd:string
]
] [ sp:object
[ sp:varName "incl"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#inclination> ;
sp:subject _:b118
] [ sp:object _:b114 ;
sp:subject
[ sp:varName "wellbore"^^xsd:string
]
] [ sp:object
[ sp:varName "inclination"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#degreesOfAngle> ;
sp:subject _:b122
sp:subject
[ sp:varName "incl"^^xsd:string
]
])
])
] ;
......@@ -2832,176 +2908,176 @@ ddr-tables:WellControlIncident
spin:body
[ rdf:type sp:Select ;
sp:distinct "true"^^xsd:boolean ;
sp:orderBy (_:b123) ;
sp:resultVariables (_:b123 _:b124 _:b125 _:b126 _:b127 _:b128 _:b129 _:b130 _:b131 _:b132 _:b133 _:b134 _:b135 _:b136 _:b137 _:b138) ;
sp:where ([ sp:object _:b139 ;
sp:orderBy (_:b112) ;
sp:resultVariables (_:b112 _:b113 _:b114 _:b115 _:b116 _:b117 _:b118 _:b119 _:b120 _:b121 _:b122 _:b123 _:b124 _:b125 _:b126 _:b127) ;
sp:where ([ sp:object _:b128 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object _:b140 ;
] [ sp:object _:b129 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b139
] [ sp:object _:b141 ;
sp:subject _:b128
] [ sp:object _:b130 ;
sp:predicate rdf:type ;
sp:subject _:b140
sp:subject _:b129
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellControlIncident> ;
sp:predicate rdfs:subClassOf ;
sp:subject _:b141
] [ sp:object _:b135 ;
sp:subject _:b130
] [ sp:object _:b124 ;
sp:predicate rdfs:label ;
sp:subject _:b141
sp:subject _:b130
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b142 ;
sp:elements ([ sp:object _:b131 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b140
] [ sp:object _:b143 ;
sp:subject _:b129
] [ sp:object _:b132 ;
sp:predicate rdf:type ;
sp:subject _:b142
sp:subject _:b131
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellKillingType> ;
sp:predicate rdf:type ;
sp:subject _:b143
] [ sp:object _:b136 ;
sp:subject _:b132
] [ sp:object _:b125 ;
sp:predicate rdfs:label ;
sp:subject _:b143
sp:subject _:b132
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b144 ;
sp:elements ([ sp:object _:b133 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b140
sp:subject _:b129
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b145 ;
sp:elements ([ sp:object _:b134 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#shutInCasingPressure> ;
sp:subject _:b144
] [ sp:object _:b133 ;
sp:subject _:b133
] [ sp:object _:b122 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#bar> ;
sp:subject _:b145
sp:subject _:b134
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b146 ;
sp:elements ([ sp:object _:b135 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
sp:subject _:b144
] [ sp:object _:b138 ;
sp:subject _:b133
] [ sp:object _:b127 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#celsius> ;
sp:subject _:b146
sp:subject _:b135
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b147 ;
sp:elements ([ sp:object _:b136 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#shutInDrillPipePressure> ;
sp:subject _:b144
] [ sp:object _:b134 ;
sp:subject _:b133
] [ sp:object _:b123 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#bar> ;
sp:subject _:b147
sp:subject _:b136
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b148 ;
sp:elements ([ sp:object _:b137 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b144
sp:subject _:b133
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#LastCasingOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b148
] [ sp:object _:b149 ;
sp:subject _:b137
] [ sp:object _:b138 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b148
] [ sp:object _:b131 ;
sp:subject _:b137
] [ sp:object _:b120 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
sp:subject _:b149
sp:subject _:b138
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b150 ;
sp:elements ([ sp:object _:b139 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasDrillingFluid> ;
sp:subject _:b144
] [ sp:object _:b151 ;
sp:subject _:b133
] [ sp:object _:b140 ;
sp:predicate rdf:type ;
sp:subject _:b150
] [ sp:object _:b129 ;
sp:subject _:b139
] [ sp:object _:b118 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#gram_cm-3> ;
sp:subject _:b151
sp:subject _:b140
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b152 ;
sp:elements ([ sp:object _:b141 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleMeasuredDepth> ;
sp:subject _:b144
] [ sp:object _:b128 ;
sp:subject _:b133
] [ sp:object _:b117 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
sp:subject _:b152
sp:subject _:b141
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b153 ;
sp:elements ([ sp:object _:b142 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#porePressureEquivalentMudDensity> ;
sp:subject _:b144
] [ sp:object _:b130 ;
sp:subject _:b133
] [ sp:object _:b119 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#gram_cm-3> ;
sp:subject _:b153
sp:subject _:b142
])
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b154 ;
sp:elements ([ sp:object _:b143 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasInflowLocation> ;
sp:subject _:b140
sp:subject _:b129
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b155 ;
sp:elements ([ sp:object _:b144 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b154
sp:subject _:b143
] [ sp:object <http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation> ;
sp:predicate rdf:type ;
sp:subject _:b155
] [ sp:object _:b137 ;
sp:subject _:b144
] [ sp:object _:b126 ;
sp:predicate rdfs:comment ;
sp:subject _:b155
sp:subject _:b144
])
] [ sp:object _:b156 ;
] [ sp:object _:b145 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b154
] [ sp:object _:b124 ;
sp:subject _:b143
] [ sp:object _:b113 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
sp:subject _:b156
] [ sp:object _:b157 ;
sp:subject _:b145
] [ sp:object _:b146 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b154
] [ sp:object _:b125 ;
sp:subject _:b143
] [ sp:object _:b114 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
sp:subject _:b157
sp:subject _:b146
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b158 ;
sp:elements ([ sp:object _:b147 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeLost> ;
sp:subject _:b140
] [ sp:object _:b126 ;
sp:subject _:b129
] [ sp:object _:b115 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#minute> ;
sp:subject _:b158
sp:subject _:b147
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b159 ;
sp:elements ([ sp:object _:b148 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b140
sp:subject _:b129
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:dateFormat ;
arg:date _:b159 ;
arg:date _:b148 ;
arg:pattern "yyyy-MM-dd"
] ;
sp:variable _:b123
sp:variable _:b112
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b160 ;
sp:elements ([ sp:object _:b149 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#volumeOfMudGained> ;
sp:subject _:b140
] [ sp:object _:b132 ;
sp:subject _:b129
] [ sp:object _:b121 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
sp:subject _:b160
sp:subject _:b149
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b161 ;
sp:elements ([ sp:object _:b150 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b140
sp:subject _:b129
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:dateFormat ;
arg:date _:b161 ;
arg:date _:b150 ;
arg:pattern "HH:mm"
] ;
sp:variable _:b127
sp:variable _:b116
])
])
] ;
......@@ -3436,155 +3512,122 @@ ddr-tables:WellTestInformation
] ;
rhspin:tableHeaders ("Time"^^xsd:string "Test no"^^xsd:string "Type"^^xsd:string "Depth Top mMD"^^xsd:string "Depth Bottom mMD"^^xsd:string "Choke oriface Size mm"^^xsd:string "Density crude oil g/cm3"^^xsd:string "Oil flow rate m3/d"^^xsd:string "Gas flow rate M(m3)/d"^^xsd:string "Water flow rate m3/d"^^xsd:string "Shut in pressure MPa"^^xsd:string "Flow pressure MPa"^^xsd:string "Bottom hole pressure MPa"^^xsd:string "Gas oil ratio m3/m3"^^xsd:string "Water oil ratio m3/m3"^^xsd:string "Chloride content ppm"^^xsd:string "CO2 content ppm"^^xsd:string "H2S content ppm"^^xsd:string) .
_:b161
sp:varName "finishedAt"^^xsd:string .
_:b160
sp:varName "vMud"^^xsd:string .
_:b159
sp:varName "startedAt"^^xsd:string .
_:b158
sp:varName "time"^^xsd:string .
_:b157
sp:varName "iflDepthTvd"^^xsd:string .
_:b156
sp:varName "iflDepth"^^xsd:string .
_:b155
sp:varName "srFormation"^^xsd:string .
_:b154
sp:varName "ifl"^^xsd:string .
_:b153
sp:varName "poreEquiv"^^xsd:string .
_:b152
sp:varName "buttHoleDepth"^^xsd:string .
_:b151
sp:varName "dfDensity"^^xsd:string .
_:b150
sp:varName "drillFluid"^^xsd:string .
sp:varName "finishedAt"^^xsd:string .
_:b149
sp:varName "lcDepth"^^xsd:string .
sp:varName "vMud"^^xsd:string .
_:b148
sp:varName "lastCasing"^^xsd:string .
sp:varName "startedAt"^^xsd:string .
_:b147
sp:varName "sidPressure"^^xsd:string .
sp:varName "time"^^xsd:string .
_:b146
sp:varName "buttHoleTemp"^^xsd:string .
sp:varName "iflDepthTvd"^^xsd:string .
_:b145
sp:varName "sicPressure"^^xsd:string .
sp:varName "iflDepth"^^xsd:string .
_:b144
sp:varName "wb"^^xsd:string .
sp:varName "srFormation"^^xsd:string .
_:b143
sp:varName "wellKillType"^^xsd:string .
sp:varName "ifl"^^xsd:string .
_:b142
sp:varName "wellKill"^^xsd:string .
sp:varName "poreEquiv"^^xsd:string .
_:b141
sp:varName "wciClass"^^xsd:string .
sp:varName "buttHoleDepth"^^xsd:string .
_:b140
sp:varName "wci"^^xsd:string .
sp:varName "dfDensity"^^xsd:string .
_:b139
sp:varName "reportOn"^^xsd:string .
sp:varName "drillFluid"^^xsd:string .
_:b138
sp:varName "bHT"^^xsd:string .
sp:varName "lcDepth"^^xsd:string .
_:b137
sp:varName "formation"^^xsd:string .
sp:varName "lastCasing"^^xsd:string .
_:b136
sp:varName "killingProcd"^^xsd:string .
sp:varName "sidPressure"^^xsd:string .
_:b135
sp:varName "incidentClass"^^xsd:string .
sp:varName "buttHoleTemp"^^xsd:string .
_:b134
sp:varName "shutInDrillPipePressure"^^xsd:string .
sp:varName "sicPressure"^^xsd:string .
_:b133
sp:varName "shutInCasingPressure"^^xsd:string .
sp:varName "wb"^^xsd:string .
_:b132
sp:varName "gainedVolOfFluid"^^xsd:string .
sp:varName "wellKillType"^^xsd:string .
_:b131
sp:varName "depthToCasing"^^xsd:string .
sp:varName "wellKill"^^xsd:string .
_:b130
sp:varName "porePressure"^^xsd:string .
sp:varName "wciClass"^^xsd:string .
_:b129
sp:varName "drillingFluidDensity"^^xsd:string .
sp:varName "wci"^^xsd:string .
_:b128
sp:varName "depthAtBit"^^xsd:string .
sp:varName "reportOn"^^xsd:string .
_:b127
sp:varName "timeForWellControlRegain"^^xsd:string .
sp:varName "bHT"^^xsd:string .
_:b126
sp:varName "lostTime"^^xsd:string .
sp:varName "formation"^^xsd:string .
_:b125
sp:varName "depthOfWelltvd"^^xsd:string .
sp:varName "killingProcd"^^xsd:string .
_:b124
sp:varName "depthOfWellmd"^^xsd:string .
sp:varName "incidentClass"^^xsd:string .
_:b123
sp:varName "date"^^xsd:string .
sp:varName "shutInDrillPipePressure"^^xsd:string .
_:b122
sp:varName "incl"^^xsd:string .
sp:varName "shutInCasingPressure"^^xsd:string .
_:b121
sp:varName "tvd"^^xsd:string .
sp:varName "gainedVolOfFluid"^^xsd:string .
_:b120
sp:varName "md"^^xsd:string .
sp:varName "depthToCasing"^^xsd:string .
_:b119
sp:varName "azi"^^xsd:string .
sp:varName "porePressure"^^xsd:string .
_:b118
sp:varName "wellbore"^^xsd:string .
sp:varName "drillingFluidDensity"^^xsd:string .
_:b117
sp:varName "part"^^xsd:string .
sp:varName "depthAtBit"^^xsd:string .
_:b116
sp:varName "reportOn"^^xsd:string .
sp:varName "timeForWellControlRegain"^^xsd:string .
_:b115
sp:varName "azimuth"^^xsd:string .
sp:varName "lostTime"^^xsd:string .
_:b114
sp:varName "inclination"^^xsd:string .
sp:varName "depthOfWelltvd"^^xsd:string .
_:b113
sp:varName "depthmTVD"^^xsd:string .
sp:varName "depthOfWellmd"^^xsd:string .
_:b112
sp:varName "depthmMD"^^xsd:string .
sp:varName "date"^^xsd:string .
_:b111
sp:varName "ed"^^xsd:string .
......