David Leal

Debug cementStage transform

# Saved by TopBraid on Fri Sep 16 18:30:46 BST 2011
# Saved by TopBraid on Sun Sep 18 21:13:11 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model
# imports: http://www.linkedmodel.org/1.2/schema/vaem
......@@ -69,6 +69,11 @@ ep-core:Scale
rdfs:label "scale"^^xsd:string ;
rdfs:subClassOf owl:FunctionalProperty , owl:DatatypeProperty .
ep-core:SpecificVolume
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "specific volume"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Speed
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "speed"^^xsd:string ;
......@@ -293,6 +298,11 @@ ep-core:temporalPartOf
rdfs:subPropertyOf ep-core:partOf ;
owl:inverseOf ep-core:hasTemporalPart .
ep-core:undefinedScale
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain owl:Class ;
rdfs:label "undefined scale"^^xsd:string .
ep-core:usGallon_sack94-1
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:Ratio ;
......
# Saved by TopBraid on Fri Sep 16 17:30:05 BST 2011
# Saved by TopBraid on Sun Sep 18 22:00:29 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
......@@ -232,19 +232,14 @@ ep-well:cementingFluidPerCentFreeWater
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:CementingFluid ;
rdfs:label "cementing fluid per cent free water"^^xsd:string ;
rdfs:range ep-core:Ratio .
rdfs:range ep-core:SpecificVolume .
ep-well:cementingFluidThickeningTime
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:CementingFluid ;
rdfs:label "cementing fluid per cent free water"^^xsd:string ;
rdfs:label "cementing fluid thickening time"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
ep-well:diameterOfACasingOfAWellBore
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "diameter of a casing of a wellbore"^^xsd:string ;
rdfs:range ep-core:Length .
ep-well:diameterOfAWellBorePilotHole
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-well:WellBorePilotHole ;
......@@ -345,7 +340,7 @@ ep-well:ratioOfCementMixToWater
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:CementingFluid ;
rdfs:label "ratio of cement mix to water"^^xsd:string ;
rdfs:range ep-core:Ratio .
rdfs:range ep-core:SpecificVolume .
ep-well:shutInCasingPressure
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
......
# Saved by TopBraid on Fri Sep 16 21:26:15 BST 2011
# Saved by TopBraid on Sun Sep 18 22:04:14 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Wed Sep 14 23:50:25 BST 2011
# Saved by TopBraid on Sun Sep 18 22:09:29 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Sun Sep 18 20:21:41 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/check
# imports: http://www.witsml.org/schemas/1series
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/check#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/check>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/1series> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/1series#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 999a Check that all uom attributes have been processed correctly"^^xsd:string ;
sp:templates ([ sp:object "At least one uom attribute has not been processed correctly" ;
sp:predicate rdfs:comment ;
sp:subject
[ sp:varName "dailyDrillingReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#nameWellbore> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "createDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#createDate> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "y"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
sp:subject
[ sp:varName "x"^^xsd:string
]
])
] .
# Saved by TopBraid on Wed Sep 14 23:55:27 BST 2011
# Saved by TopBraid on Sun Sep 18 20:30:13 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/collector
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
......@@ -6,6 +6,7 @@
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
# imports: http://www.reportinghub.no/ep/transform/check
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
......@@ -15,6 +16,7 @@
@prefix activity: <http://www.reportinghub.no/ep/transform/1.1/ddr/activity#> .
@prefix casingLinerTubingRun: <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun#> .
@prefix cementStage: <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage#> .
@prefix check: <http://www.reportinghub.no/ep/transform/check#> .
@prefix controlIncidentInfo: <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......@@ -30,5 +32,5 @@
<http://www.reportinghub.no/ep/transform/1.1/ddr/collector>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> , <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> ;
owl:imports <http://www.reportinghub.no/ep/transform/check> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> , <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# Saved by TopBraid on Wed Sep 14 23:55:27 BST 2011
# Saved by TopBraid on Sun Sep 18 20:30:13 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Fri Sep 16 17:50:44 BST 2011
# Saved by TopBraid on Sun Sep 18 21:37:54 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
......@@ -18,7 +18,7 @@
<http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
......@@ -151,11 +151,11 @@ ddr:Obj_drillReport
] [ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/well#LastCasingOfAWellBore> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#LastCasingOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b37
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#diameterOfACasingOfAWellBore> ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#outsideDiameterOfATubular> ;
sp:subject _:b37
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
......@@ -537,138 +537,39 @@ ddr:Obj_drillReport
])
] .
_:b1 sp:varName "wellControlIncident"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b4 sp:varName "dailytemporalPartOfAWellBore"^^xsd:string .
_:b5 sp:varName "dTimStartOfIncident"^^xsd:string .
_:b6 sp:varName "dTimEndOfIncident"^^xsd:string .
_:b9 sp:varName "formation"^^xsd:string .
_:b11
sp:varName "realMdIn"^^xsd:string .
_:b12
sp:varName "lengthScaleMdIn"^^xsd:string .
_:b14
sp:varName "realTvdIn"^^xsd:string .
_:b15
sp:varName "lengthScaleTvdIn"^^xsd:string .
_:b17
sp:varName "realDuration"^^xsd:string .
_:b18
sp:varName "timeDurationScale"^^xsd:string .
_:b19
sp:varName "wellControlIncidentType"^^xsd:string .
_:b21
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b22
sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
_:b26
sp:varName "realMaxChoke"^^xsd:string .
_:b27
sp:varName "pressureScaleMaxChoke"^^xsd:string .
_:b29
sp:varName "realDia"^^xsd:string .
_:b30
sp:varName "lengthScaleDia"^^xsd:string .
_:b32
sp:varName "wellKillingType"^^xsd:string .
_:b34
sp:varName "realVol"^^xsd:string .
_:b35
sp:varName "volumeScale"^^xsd:string .
_:b36
sp:varName "description"^^xsd:string .
_:b40
sp:varName "realMdCsgLast"^^xsd:string .
_:b41
sp:varName "lengthScaleMdCsgLast"^^xsd:string .
_:b42
sp:varName "realDiaCsgLast"^^xsd:string .
_:b43
sp:varName "lengthScaleDiaCsgLast"^^xsd:string .
_:b45
sp:varName "realMdBit"^^xsd:string .
_:b46
sp:varName "lengthScaleMdBit"^^xsd:string .
_:b48
sp:varName "realTemp"^^xsd:string .
_:b49
sp:varName "temperatureScale"^^xsd:string .
_:b52
sp:varName "realWtMud"^^xsd:string .
_:b53
sp:varName "densityScaleWtMud"^^xsd:string .
_:b55
sp:varName "realPore"^^xsd:string .
_:b56
sp:varName "densityScalePore"^^xsd:string .
_:b58
sp:varName "realShutInCasing"^^xsd:string .
_:b59
sp:varName "pressureScaleShutInCasing"^^xsd:string .
_:b61
sp:varName "realShutInDrill"^^xsd:string .
_:b62
sp:varName "pressureScaleShutInDrill"^^xsd:string .
_:b63
sp:varName "nameWellBore"^^xsd:string .
_:b64
sp:varName "dTimStart"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b4 sp:varName "dailytemporalPartOfAWellBore"^^xsd:string .
_:b65
sp:varName "controlIncidentInfo"^^xsd:string .
_:b5 sp:varName "dTimStartOfIncident"^^xsd:string .
_:b66
sp:varName "mdIn"^^xsd:string .
_:b67
sp:varName "uomMdIn"^^xsd:string .
_:b11
sp:varName "realMdIn"^^xsd:string .
_:b68
sp:varName "tvdIn"^^xsd:string .
_:b69
sp:varName "uomTvdIn"^^xsd:string .
_:b14
sp:varName "realTvdIn"^^xsd:string .
_:b70
sp:varName "phase"^^xsd:string .
......@@ -681,80 +582,179 @@ _:b72
_:b73
sp:varName "uomDuration"^^xsd:string .
_:b17
sp:varName "realDuration"^^xsd:string .
_:b6 sp:varName "dTimEndOfIncident"^^xsd:string .
_:b74
sp:varName "diaBit"^^xsd:string .
_:b75
sp:varName "uomDia"^^xsd:string .
_:b29
sp:varName "realDia"^^xsd:string .
_:b76
sp:varName "mdBit"^^xsd:string .
_:b77
sp:varName "uomMdBit"^^xsd:string .
_:b45
sp:varName "realMdBit"^^xsd:string .
_:b78
sp:varName "wtMud"^^xsd:string .
_:b79
sp:varName "uomWtMud"^^xsd:string .
_:b52
sp:varName "realWtMud"^^xsd:string .
_:b80
sp:varName "porePressure"^^xsd:string .
_:b81
sp:varName "uomPore"^^xsd:string .
_:b55
sp:varName "realPore"^^xsd:string .
_:b82
sp:varName "diaCsgLast"^^xsd:string .
_:b83
sp:varName "uomDiaCsgLast"^^xsd:string .
_:b42
sp:varName "realDiaCsgLast"^^xsd:string .
_:b84
sp:varName "mdCsgLast"^^xsd:string .
_:b85
sp:varName "uomMdCsgLast"^^xsd:string .
_:b40
sp:varName "realMdCsgLast"^^xsd:string .
_:b86
sp:varName "volMudGained"^^xsd:string .
_:b87
sp:varName "uomVol"^^xsd:string .
_:b34
sp:varName "realVol"^^xsd:string .
_:b88
sp:varName "presShutInCasing"^^xsd:string .
_:b89
sp:varName "uomShutInCasing"^^xsd:string .
_:b58
sp:varName "realShutInCasing"^^xsd:string .
_:b90
sp:varName "presShutInDrill"^^xsd:string .
_:b91
sp:varName "uomShutInDrill"^^xsd:string .
_:b61
sp:varName "realShutInDrill"^^xsd:string .
_:b92
sp:varName "incidentType"^^xsd:string .
_:b93
sp:varName "killingType"^^xsd:string .
_:b9 sp:varName "formation"^^xsd:string .
_:b94
sp:varName "tempBottom"^^xsd:string .
_:b95
sp:varName "uomTemp"^^xsd:string .
_:b48
sp:varName "realTemp"^^xsd:string .
_:b96
sp:varName "presMaxChoke"^^xsd:string .
_:b97
sp:varName "uomMaxChoke"^^xsd:string .
_:b26
sp:varName "realMaxChoke"^^xsd:string .
_:b36
sp:varName "description"^^xsd:string .
_:b98
sp:varName "localname"^^xsd:string .
_:b99
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "wellControlIncident"^^xsd:string .
_:b21
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b22
sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
_:b19
sp:varName "wellControlIncidentType"^^xsd:string .
_:b32
sp:varName "wellKillingType"^^xsd:string .
_:b35
sp:varName "volumeScale"^^xsd:string .
_:b18
sp:varName "timeDurationScale"^^xsd:string .
_:b12
sp:varName "lengthScaleMdIn"^^xsd:string .
_:b15
sp:varName "lengthScaleTvdIn"^^xsd:string .
_:b30
sp:varName "lengthScaleDia"^^xsd:string .
_:b46
sp:varName "lengthScaleMdBit"^^xsd:string .
_:b43
sp:varName "lengthScaleDiaCsgLast"^^xsd:string .
_:b41
sp:varName "lengthScaleMdCsgLast"^^xsd:string .
_:b53
sp:varName "densityScaleWtMud"^^xsd:string .
_:b49
sp:varName "temperatureScale"^^xsd:string .
_:b27
sp:varName "pressureScaleMaxChoke"^^xsd:string .
_:b59
sp:varName "pressureScaleShutInCasing"^^xsd:string .
_:b62
sp:varName "pressureScaleShutInDrill"^^xsd:string .
_:b56
sp:varName "densityScalePore"^^xsd:string .
......
# Saved by TopBraid on Fri Sep 16 17:50:44 BST 2011
# Saved by TopBraid on Sun Sep 18 21:37:54 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......