David Price

Fixed log info transform

# Saved by TopBraid on Fri Oct 28 15:23:33 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
......@@ -21,288 +20,174 @@
<http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ;
owl:imports <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <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 190 Create a well bore log activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreLogRun> ;
rdfs:comment "STEP 192 Create a well bore log activity - static temperature"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreWithoutCirculation> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "realStatic"^^xsd:string
] ;
sp:predicate
[ sp:varName "temperatureScaleStatic"^^xsd:string
] ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate
[ sp:varName "durationScale"^^xsd:string
] ;
sp:subject _:b3
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#loggedWellBoreInterval> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#logRunNumber> ;
sp:subject _:b1
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b1
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#serviceCompany> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b9
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreLoggingTool> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b11
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object _:b14 ;
sp:predicate _:b15 ;
sp:subject _:b13
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate _:b18 ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#WellBoreLoggingTool> ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object _:b19 ;
sp:predicate rdfs:comment ;
sp:subject _:b12
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b20
] [ sp:object _:b21 ;
sp:predicate _:b22 ;
sp:subject _:b20
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b23
] [ sp:object _:b24 ;
sp:predicate _:b25 ;
sp:subject _:b23
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b26
] [ sp:object _:b27 ;
sp:predicate _:b28 ;
sp:subject _:b26
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b29
] [ sp:object _:b30 ;
sp:predicate _:b31 ;
sp:subject _:b29
]) ;
sp:where ([ sp:object _:b32 ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b33 ;
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
] [ sp:object _:b34 ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "logInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#logInfoRef> ;
sp:subject spin:_this
] [ sp:object _:b7 ;
sp:predicate <http://www.witsml.org/schemas/1series#runNumber> ;
sp:subject _:b34
] [ sp:object _:b19 ;
sp:predicate <http://www.witsml.org/schemas/1series#tool> ;
sp:subject _:b34
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b8 ;
sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
sp:subject _:b34
])
] [ sp:object _:b35 ;
sp:predicate <http://www.witsml.org/schemas/1series#mdTopRef> ;
sp:subject _:b34
] [ sp:object _:b36 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b35
] [ sp:object _:b21 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b35
] [ sp:object _:b37 ;
sp:predicate <http://www.witsml.org/schemas/1series#mdBottomRef> ;
sp:subject _:b34
] [ sp:object _:b38 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b37
] [ sp:object _:b24 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b37
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b39 ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdTopRef> ;
sp:subject _:b34
] [ sp:object _:b40 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b39
] [ sp:object _:b27 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b39
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b41 ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdBottomRef> ;
sp:subject _:b34
] [ sp:object _:b42 ;
sp:elements ([ sp:object
[ sp:varName "eTimStatic"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#eTimStaticRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomDuration"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b41
] [ sp:object _:b30 ;
sp:subject
[ sp:varName "eTimStatic"^^xsd:string
]
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b41
sp:subject
[ sp:varName "eTimStatic"^^xsd:string
]
])
] [ sp:object _:b10 ;
sp:predicate <http://www.witsml.org/schemas/1series#serviceCompany> ;
sp:subject _:b34
] [ sp:object _:b43 ;
sp:predicate <http://www.witsml.org/schemas/1series#mdTempToolRef> ;
sp:subject _:b34
] [ sp:object _:b44 ;
] [ sp:object
[ sp:varName "tempBHST"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tempBHSTRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomStatic"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b43
] [ sp:object _:b14 ;
sp:subject
[ sp:varName "tempBHST"^^xsd:string
]
] [ sp:object
[ sp:varName "realStatic"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b43
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b45 ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdTempToolRef> ;
sp:subject _:b34
] [ sp:object _:b46 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b45
] [ sp:object _:b17 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b45
])
sp:subject
[ sp:varName "tempBHST"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b32
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable _:b47
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b47 ;
sp:arg2 _:b33
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable _:b2
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b34
sp:arg1 [ sp:varName "logInfo"^^xsd:string
]
] ;
sp:variable _:b48
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogRunURI ;
sp:arg1 _:b47 ;
sp:arg2 _:b33 ;
sp:arg3 _:b48
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b36
] ;
sp:variable _:b22
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b40
] ;
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b38
] ;
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b42
] ;
sp:variable _:b31
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b44
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable _:b15
sp:variable
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b46
[ rdf:type ep-spin-lib:selectTimeDurationScale ;
sp:arg1 [ sp:varName "uomDuration"^^xsd:string
]
] ;
sp:variable _:b18
sp:variable
[ sp:varName "durationScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 _:b32
[ rdf:type ep-spin-lib:selectTemperatureScale ;
sp:arg1 [ sp:varName "uomStatic"^^xsd:string
]
] ;
sp:variable _:b4
sp:variable
[ sp:varName "temperatureScaleStatic"^^xsd:string
]
])
] ;
spin:rule
......@@ -310,25 +195,25 @@
rdfs:comment "STEP 191 Create a well bore log activity - circulating temperature"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreWithCirculation> ;
sp:predicate rdf:type ;
sp:subject _:b49
] [ sp:object _:b50 ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
sp:subject _:b49
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject _:b50
sp:subject _:b5
] [ sp:object
[ sp:varName "realCirculating"^^xsd:string
] ;
sp:predicate
[ sp:varName "temperatureScaleCirculating"^^xsd:string
] ;
sp:subject _:b50
sp:subject _:b5
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b49
sp:subject _:b4
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -340,18 +225,6 @@
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreLogRun> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreLogRun"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
......@@ -360,6 +233,11 @@
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "logInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#logInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "tempBHCT"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tempBHCTRef> ;
......@@ -402,6 +280,28 @@
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "logInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogRunURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTemperatureScale ;
sp:arg1 [ sp:varName "uomCirculating"^^xsd:string
]
......@@ -413,255 +313,386 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 192 Create a well bore log activity - static temperature"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreWithoutCirculation> ;
rdfs:comment "STEP 190 Create a well bore log activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreLogRun> ;
sp:predicate rdf:type ;
sp:subject _:b51
] [ sp:object _:b52 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
sp:subject _:b51
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:subject _:b6
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b52
] [ sp:object
[ sp:varName "realStatic"^^xsd:string
] ;
sp:predicate
[ sp:varName "temperatureScaleStatic"^^xsd:string
] ;
sp:subject _:b52
] [ sp:object _:b53 ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b8
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#loggedWellBoreInterval> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b51
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
sp:predicate rdf:type ;
sp:subject _:b53
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate
[ sp:varName "durationScale"^^xsd:string
] ;
sp:subject _:b53
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:subject _:b11
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#logRunNumber> ;
sp:subject _:b6
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b6
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#serviceCompany> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b14
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreLoggingTool> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b51
sp:subject _:b16
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object _:b19 ;
sp:predicate _:b20 ;
sp:subject _:b18
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b21
] [ sp:object _:b22 ;
sp:predicate _:b23 ;
sp:subject _:b21
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#WellBoreLoggingTool> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object _:b24 ;
sp:predicate rdfs:comment ;
sp:subject _:b17
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b25
] [ sp:object _:b26 ;
sp:predicate _:b27 ;
sp:subject _:b25
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate _:b30 ;
sp:subject _:b28
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b31
] [ sp:object _:b32 ;
sp:predicate _:b33 ;
sp:subject _:b31
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b34
] [ sp:object _:b35 ;
sp:predicate _:b36 ;
sp:subject _:b34
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:where ([ sp:object _:b37 ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
] [ sp:object _:b38 ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreLogRun> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreLogRun"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
[ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
sp:subject _:b7
] [ sp:object _:b39 ;
sp:predicate <http://www.witsml.org/schemas/1series#logInfoRef> ;
sp:subject spin:_this
] [ sp:object _:b12 ;
sp:predicate <http://www.witsml.org/schemas/1series#runNumber> ;
sp:subject _:b39
] [ sp:object _:b24 ;
sp:predicate <http://www.witsml.org/schemas/1series#tool> ;
sp:subject _:b39
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "eTimStatic"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#eTimStaticRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomDuration"^^xsd:string
] ;
sp:elements ([ sp:object _:b13 ;
sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
sp:subject _:b39
])
] [ sp:object _:b40 ;
sp:predicate <http://www.witsml.org/schemas/1series#mdTopRef> ;
sp:subject _:b39
] [ sp:object _:b41 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b40
] [ sp:object _:b26 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b40
] [ sp:object _:b42 ;
sp:predicate <http://www.witsml.org/schemas/1series#mdBottomRef> ;
sp:subject _:b39
] [ sp:object _:b43 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b42
] [ sp:object _:b29 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b42
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b44 ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdTopRef> ;
sp:subject _:b39
] [ sp:object _:b45 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "eTimStatic"^^xsd:string
]
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:subject _:b44
] [ sp:object _:b32 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "eTimStatic"^^xsd:string
]
sp:subject _:b44
])
] [ sp:object
[ sp:varName "tempBHST"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tempBHSTRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomStatic"^^xsd:string
] ;
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b46 ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdBottomRef> ;
sp:subject _:b39
] [ sp:object _:b47 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b46
] [ sp:object _:b35 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b46
])
] [ sp:object _:b15 ;
sp:predicate <http://www.witsml.org/schemas/1series#serviceCompany> ;
sp:subject _:b39
] [ sp:object _:b48 ;
sp:predicate <http://www.witsml.org/schemas/1series#mdTempToolRef> ;
sp:subject _:b39
] [ sp:object _:b49 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tempBHST"^^xsd:string
]
] [ sp:object
[ sp:varName "realStatic"^^xsd:string
] ;
sp:subject _:b48
] [ sp:object _:b19 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tempBHST"^^xsd:string
]
sp:subject _:b48
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b50 ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdTempToolRef> ;
sp:subject _:b39
] [ sp:object _:b51 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b50
] [ sp:object _:b22 ;
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 [ sp:varName "nameWellBore"^^xsd:string
]
sp:arg1 _:b37
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
sp:variable _:b52
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
sp:arg1 _:b52 ;
sp:arg2 _:b38
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
sp:variable _:b7
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTimeDurationScale ;
sp:arg1 [ sp:varName "uomDuration"^^xsd:string
]
[ rdf:type afn:localname ;
sp:arg1 _:b39
] ;
sp:variable
[ sp:varName "durationScale"^^xsd:string
]
sp:variable _:b53
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTemperatureScale ;
sp:arg1 [ sp:varName "uomStatic"^^xsd:string
[ rdf:type ep-spin-lib:buildWellBoreLogRunURI ;
sp:arg1 _:b52 ;
sp:arg2 _:b38 ;
sp:arg3 _:b53
] ;
sp:variable _:b6
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b41
] ;
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b45
] ;
sp:variable _:b33
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b43
] ;
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b47
] ;
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b49
] ;
sp:variable _:b20
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b51
] ;
sp:variable _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 _:b37
]
] ;
sp:variable
[ sp:varName "temperatureScaleStatic"^^xsd:string
]
sp:variable _:b9
])
] .
_:b32
sp:varName "nameWellBore"^^xsd:string .
_:b6 sp:varName "wellBoreLogRun"^^xsd:string .
_:b33
sp:varName "dTimStart"^^xsd:string .
_:b7 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b9 sp:varName "wellBore"^^xsd:string .
_:b34
sp:varName "logInfo"^^xsd:string .
_:b12
sp:varName "runNumber"^^xsd:string .
_:b13
sp:varName "dTimEnd"^^xsd:string .
_:b7 sp:varName "runNumber"^^xsd:string .
_:b15
sp:varName "nameServiceCompany"^^xsd:string .
_:b19
sp:varName "realMdTool"^^xsd:string .
_:b20
sp:varName "lengthScaleMdTool"^^xsd:string .
_:b22
sp:varName "realTvdTool"^^xsd:string .
_:b23
sp:varName "lengthScaleTvdTool"^^xsd:string .
_:b24
sp:varName "toolDescription"^^xsd:string .
_:b8 sp:varName "dTimEnd"^^xsd:string .
_:b26
sp:varName "realMdTop"^^xsd:string .
_:b27
sp:varName "lengthScaleMdTop"^^xsd:string .
_:b29
sp:varName "realMdBottom"^^xsd:string .
_:b30
sp:varName "lengthScaleMdBottom"^^xsd:string .
_:b32
sp:varName "realTvdTop"^^xsd:string .
_:b33
sp:varName "lengthScaleTvdTop"^^xsd:string .
_:b35
sp:varName "mdTop"^^xsd:string .
sp:varName "realTvdBottom"^^xsd:string .
_:b36
sp:varName "uomMdTop"^^xsd:string .
_:b21
sp:varName "realMdTop"^^xsd:string .
sp:varName "lengthScaleTvdBottom"^^xsd:string .
_:b37
sp:varName "mdBottom"^^xsd:string .
sp:varName "nameWellBore"^^xsd:string .
_:b38
sp:varName "uomMdBottom"^^xsd:string .
_:b24
sp:varName "realMdBottom"^^xsd:string .
sp:varName "dTimStart"^^xsd:string .
_:b39
sp:varName "tvdTop"^^xsd:string .
sp:varName "logInfo"^^xsd:string .
_:b40
sp:varName "uomTvdTop"^^xsd:string .
_:b27
sp:varName "realTvdTop"^^xsd:string .
sp:varName "mdTop"^^xsd:string .
_:b41
sp:varName "tvdBottom"^^xsd:string .
sp:varName "uomMdTop"^^xsd:string .
_:b42
sp:varName "uomTvdBottom"^^xsd:string .
_:b30
sp:varName "realTvdBottom"^^xsd:string .
_:b10
sp:varName "nameServiceCompany"^^xsd:string .
sp:varName "mdBottom"^^xsd:string .
_:b43
sp:varName "mdTempTool"^^xsd:string .
sp:varName "uomMdBottom"^^xsd:string .
_:b44
sp:varName "uomMdTool"^^xsd:string .
_:b14
sp:varName "realMdTool"^^xsd:string .
sp:varName "tvdTop"^^xsd:string .
_:b45
sp:varName "tvdTempTool"^^xsd:string .
sp:varName "uomTvdTop"^^xsd:string .
_:b46
sp:varName "uomTvdTool"^^xsd:string .
_:b17
sp:varName "realTvdTool"^^xsd:string .
sp:varName "tvdBottom"^^xsd:string .
_:b47
sp:varName "normalizedWellBoreName"^^xsd:string .
sp:varName "uomTvdBottom"^^xsd:string .
_:b48
sp:varName "localname"^^xsd:string .
_:b1 sp:varName "wellBoreLogRun"^^xsd:string .
_:b22
sp:varName "lengthScaleMdTop"^^xsd:string .
_:b28
sp:varName "lengthScaleTvdTop"^^xsd:string .
sp:varName "mdTempTool"^^xsd:string .
_:b25
sp:varName "lengthScaleMdBottom"^^xsd:string .
_:b49
sp:varName "uomMdTool"^^xsd:string .
_:b31
sp:varName "lengthScaleTvdBottom"^^xsd:string .
_:b50
sp:varName "tvdTempTool"^^xsd:string .
_:b15
sp:varName "lengthScaleMdTool"^^xsd:string .
_:b51
sp:varName "uomTvdTool"^^xsd:string .
_:b18
sp:varName "lengthScaleTvdTool"^^xsd:string .
_:b52
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b4 sp:varName "wellBore"^^xsd:string .
_:b53
sp:varName "localname"^^xsd:string .
......
# Saved by TopBraid on Fri Oct 28 15:23:33 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......