David Price

Improved Operations table

# Saved by TopBraid on Mon Aug 15 02:53:37 BST 2011
# Saved by TopBraid on Tue Sep 20 22:22:36 BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/ddr-tables
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
......@@ -15,6 +15,12 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/spin/ddr-tables>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/spin/rh> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ;
owl:versionInfo "0.1.0"^^xsd:string .
ddr-tables:BitRecord
rdf:type rhspin:TableTemplate ;
rdfs:label "Bit Record"^^xsd:string ;
......@@ -87,7 +93,7 @@ ddr-tables:EquipmentFailure
] [ sp:varName "repairedTime"^^xsd:string
] _:b11) ;
sp:where ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
......@@ -216,11 +222,11 @@ ddr-tables:Operations
[ rdf:type sp:Select ;
sp:orderBy (_:b32) ;
sp:resultVariables (_:b32 _:b33 [ sp:varName "startDepth"^^xsd:string
] [ sp:varName "endDepth"^^xsd:string
] _:b34 _:b35 [ sp:varName "state"^^xsd:string
] _:b34 [ sp:varName "depth"^^xsd:string
] _:b35 [ sp:varName "state"^^xsd:string
] _:b36) ;
sp:where ([ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
......@@ -228,10 +234,10 @@ ddr-tables:Operations
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b37
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b38
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b38
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b35 ;
......@@ -246,30 +252,49 @@ ddr-tables:Operations
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b38
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ;
sp:subject _:b39
] [ sp:object _:b34 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
sp:subject _:b40
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
sp:predicate rdfs:comment ;
sp:subject _:b38
])
])
] ;
rhspin:tableHeaders ("Start Time"^^xsd:string "End Time"^^xsd:string "Start Depth mMD"^^xsd:string "End Depth mMD"^^xsd:string "Depth mMD"^^xsd:string "Main - Sub Activity"^^xsd:string "State"^^xsd:string "Remark"^^xsd:string) .
<http://www.reportinghub.no/ep/spin/ddr-tables>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
owl:versionInfo "0.1.0"^^xsd:string .
_:b11
sp:varName "failureDescription"^^xsd:string .
_:b40
_:b10
sp:varName "depthTVD"^^xsd:string .
_:b16
sp:varName "tvd"^^xsd:string .
_:b9 sp:varName "depthMD"^^xsd:string .
_:b15
sp:varName "md"^^xsd:string .
_:b14
sp:varName "wellbore"^^xsd:string .
_:b8 sp:varName "startTime"^^xsd:string .
_:b13
sp:varName "part"^^xsd:string .
_:b12
sp:varName "reportOn"^^xsd:string .
_:b40
sp:varName "ed"^^xsd:string .
_:b39
sp:varName "wellbore"^^xsd:string .
......@@ -286,7 +311,7 @@ _:b35
sp:varName "activity"^^xsd:string .
_:b34
sp:varName "depth"^^xsd:string .
sp:varName "endDepth"^^xsd:string .
_:b33
sp:varName "endTime"^^xsd:string .
......@@ -294,86 +319,61 @@ _:b33
_:b32
sp:varName "startTime"^^xsd:string .
_:b16
sp:varName "tvd"^^xsd:string .
_:b15
sp:varName "md"^^xsd:string .
_:b14
sp:varName "wellbore"^^xsd:string .
_:b13
sp:varName "part"^^xsd:string .
_:b12
sp:varName "reportOn"^^xsd:string .
_:b11
sp:varName "failureDescription"^^xsd:string .
_:b10
sp:varName "depthTVD"^^xsd:string .
_:b9 sp:varName "depthMD"^^xsd:string .
_:b8 sp:varName "startTime"^^xsd:string .
_:b7 sp:varName "md"^^xsd:string .
_:b6 sp:varName "wellbore"^^xsd:string .
_:b5 sp:varName "part"^^xsd:string .
_:b31
sp:varName "yp"^^xsd:string .
_:b4 sp:varName "reportOn"^^xsd:string .
_:b30
sp:varName "pv"^^xsd:string .
_:b3 sp:varName "remark"^^xsd:string .
_:b29
sp:varName "density"^^xsd:string .
_:b2 sp:varName "activity"^^xsd:string .
_:b28
sp:varName "pressure"^^xsd:string .
_:b1 sp:varName "depth"^^xsd:string .
_:b27
sp:varName "md"^^xsd:string .
_:b22
sp:varName "ypVal"^^xsd:string .
_:b26
sp:varName "activity"^^xsd:string .
_:b31
sp:varName "yp"^^xsd:string .
_:b25
sp:varName "part"^^xsd:string .
_:b18
sp:varName "type"^^xsd:string .
_:b24
sp:varName "reportOn"^^xsd:string .
_:b23
sp:varName "pvVal"^^xsd:string .
_:b30
sp:varName "pv"^^xsd:string .
_:b22
sp:varName "ypVal"^^xsd:string .
_:b21
sp:varName "densityVal"^^xsd:string .
_:b29
sp:varName "density"^^xsd:string .
_:b20
sp:varName "pressureVal"^^xsd:string .
_:b28
sp:varName "pressure"^^xsd:string .
_:b19
sp:varName "depth"^^xsd:string .
_:b27
sp:varName "md"^^xsd:string .
_:b26
sp:varName "activity"^^xsd:string .
_:b18
sp:varName "type"^^xsd:string .
_:b17
sp:varName "time"^^xsd:string .
_:b25
sp:varName "part"^^xsd:string .
_:b7 sp:varName "md"^^xsd:string .
_:b24
sp:varName "reportOn"^^xsd:string .
_:b6 sp:varName "wellbore"^^xsd:string .
_:b5 sp:varName "part"^^xsd:string .
_:b4 sp:varName "reportOn"^^xsd:string .
_:b3 sp:varName "remark"^^xsd:string .
_:b2 sp:varName "activity"^^xsd:string .
_:b1 sp:varName "depth"^^xsd:string .
......
# Saved by TopBraid on Mon Aug 15 02:53:38 BST 2011
# Saved by TopBraid on Tue Sep 20 22:22:36 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......