David Price

Transforms updated to new DDR proxy ontology source

# Saved by TopBraid on Tue Aug 23 17:39:50 BST 2011
# Saved by TopBraid on Sun Sep 11 10:02:31 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# 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/well
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/activity#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> .
@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> .
@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> .
@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
@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#> .
......@@ -28,99 +24,116 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 130 Transfer proprietaryCode and phase"^^xsd:string ;
rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#initialBottomHoleMeasuredDepth> ;
sp:subject _:b2
] [ sp:object _:b3 ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b2
sp:subject _:b1
] [ sp:object _:b3 ;
sp:predicate _:b4 ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:where ([ sp:object _:b5 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b6 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b5
sp:predicate ddr:activityRef ;
sp:subject spin:_this
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b5
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumProprietaryCode> ;
sp:subject _:b5
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumPhase> ;
sp:subject _:b5
])
sp:predicate ddr:dTimStart ;
sp:subject _:b6
] [ sp:object _:b8 ;
sp:predicate ddr:dTimEnd ;
sp:subject _:b6
] [ sp:object _:b9 ;
sp:predicate ddr:mdHoleStartRef ;
sp:subject _:b6
] [ sp:object _:b3 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate ddr:uomRef ;
sp:subject _:b9
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "partActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b4
sp:arg1 _:b5
] ;
sp:variable _:b10
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b10 ;
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b11 ;
sp:arg2 _:b7 ;
sp:arg3 _:b6
sp:arg3 _:b8
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ;
sp:arg1 _:b8
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b10
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ;
sp:arg1 _:b9
] ;
sp:variable _:b3
sp:variable _:b4
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 134 Transfer comments"^^xsd:string ;
sp:templates ([ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
sp:subject _:b12
rdfs:comment "STEP 133 Transfer stateDetailActivity"^^xsd:string ;
sp:templates ([ sp:object _:b12 ;
sp:predicate rdf:type ;
sp:subject _:b13
]) ;
sp:where ([ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:where ([ sp:object _:b14 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b15 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b14
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b14
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
sp:subject _:b14
sp:predicate ddr:activityRef ;
sp:subject spin:_this
] [ sp:object _:b17 ;
sp:predicate ddr:stateDetailActivityRef ;
sp:subject _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b13
sp:arg1 _:b14
] ;
sp:variable _:b17
sp:variable _:b18
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b16
] ;
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b17 ;
sp:arg2 _:b16 ;
sp:arg3 _:b15
sp:arg1 _:b18 ;
sp:arg2 _:b15 ;
sp:arg3 _:b19
] ;
sp:variable _:b13
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingActivityOutcomeType ;
sp:arg1 _:b17
] ;
sp:variable _:b12
])
......@@ -130,671 +143,517 @@
rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b19
sp:subject _:b20
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b18
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b18
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b22
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b21
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b20
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b20
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b24
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b22
] [ sp:object _:b22 ;
sp:subject _:b24
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b18
sp:subject _:b20
] [ sp:object _:b26 ;
sp:predicate rdfs:comment ;
sp:subject _:b20
]) ;
sp:where ([ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b27 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b28 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
] [ sp:object _:b29 ;
sp:predicate ddr:activityRef ;
sp:subject spin:_this
] [ sp:object _:b27 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b26
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b26
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b26
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b26 ;
sp:predicate ddr:comments ;
sp:subject _:b29
])
] [ sp:object _:b22 ;
sp:predicate ddr:dTimStart ;
sp:subject _:b29
] [ sp:object _:b23 ;
sp:predicate ddr:dTimEnd ;
sp:subject _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b24
sp:arg1 _:b27
] ;
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b29
] ;
sp:variable _:b28
sp:variable _:b31
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b28 ;
sp:arg2 _:b20 ;
sp:arg3 _:b27
sp:arg1 _:b30 ;
sp:arg2 _:b28 ;
sp:arg3 _:b31
] ;
sp:variable _:b18
sp:variable _:b20
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName _:b24
arg:wellBoreName _:b27
] ;
sp:variable _:b23
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b28 ;
sp:arg2 _:b25
sp:arg1 _:b30 ;
sp:arg2 _:b28
] ;
sp:variable _:b19
sp:variable _:b21
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b28 ;
sp:arg2 _:b20 ;
sp:arg3 _:b21
sp:arg1 _:b30 ;
sp:arg2 _:b22 ;
sp:arg3 _:b23
] ;
sp:variable _:b22
sp:variable _:b24
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b30
]) ;
sp:where ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:subject spin:_this
] [ sp:object _:b33 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleTrueVerticalDepth> ;
sp:subject _:b33
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b32
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:predicate _:b35 ;
sp:subject _:b32
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b32
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b31
] ;
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b36 ;
sp:arg2 _:b34 ;
sp:arg3 _:b33
] ;
sp:variable _:b35
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b38
]) ;
sp:where ([ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b36 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
] [ sp:object _:b37 ;
sp:predicate ddr:activityRef ;
sp:subject spin:_this
] [ sp:object _:b41 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b40
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b38 ;
sp:predicate ddr:dTimStart ;
sp:subject _:b37
] [ sp:object _:b39 ;
sp:predicate ddr:dTimEnd ;
sp:subject _:b37
] [ sp:object _:b40 ;
sp:predicate ddr:tvdRef ;
sp:subject _:b37
] [ sp:object _:b34 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b40
] [ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
] [ sp:object _:b41 ;
sp:predicate ddr:uomRef ;
sp:subject _:b40
] [ sp:object _:b38 ;
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b43
sp:subject
[ sp:varName "partActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b39
sp:arg1 _:b36
] ;
sp:variable _:b44
sp:variable _:b42
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b44 ;
sp:arg2 _:b42 ;
sp:arg3 _:b41
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b42 ;
sp:arg2 _:b38 ;
sp:arg3 _:b39
] ;
sp:variable _:b43
sp:variable _:b33
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b41
] ;
sp:variable _:b35
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 133 Transfer stateDetailActivity"^^xsd:string ;
sp:templates ([ sp:object _:b45 ;
rdfs:comment "STEP 130 Transfer proprietaryCode and phase"^^xsd:string ;
sp:templates ([ sp:object _:b43 ;
sp:predicate rdf:type ;
sp:subject _:b46
sp:subject _:b44
] [ sp:object _:b45 ;
sp:predicate rdf:type ;
sp:subject _:b44
]) ;
sp:where ([ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b46 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b47 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:predicate ddr:activityRef ;
sp:subject spin:_this
] [ sp:object _:b49 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b48
] [ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b48
] [ sp:object _:b51 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumStateDetailActivity> ;
sp:subject _:b48
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b49 ;
sp:predicate ddr:proprietaryCodeRef ;
sp:subject _:b48
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b50 ;
sp:predicate ddr:phaseRef ;
sp:subject _:b48
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b47
sp:arg1 _:b46
] ;
sp:variable _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b48
] ;
sp:variable _:b52
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b52 ;
sp:arg2 _:b50 ;
sp:arg3 _:b49
sp:arg1 _:b51 ;
sp:arg2 _:b47 ;
sp:arg3 _:b52
] ;
sp:variable _:b46
sp:variable _:b44
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingActivityOutcomeType ;
sp:arg1 _:b51
[ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ;
sp:arg1 _:b49
] ;
sp:variable _:b43
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ;
sp:arg1 _:b50
] ;
sp:variable _:b45
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ;
rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
sp:templates ([ sp:object _:b53 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
sp:predicate rdf:type ;
sp:subject _:b54
]) ;
sp:where ([ sp:object _:b55 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b57 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b56
sp:predicate ddr:activityRef ;
sp:subject spin:_this
] [ sp:object _:b58 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b56
] [ sp:object _:b53 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
sp:subject _:b56
] [ sp:object _:b54 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b59
sp:predicate ddr:stateRef ;
sp:subject _:b57
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b55
] ;
sp:variable _:b60
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b60 ;
sp:arg2 _:b58 ;
sp:arg3 _:b57
] ;
sp:variable _:b59
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
sp:templates ([ sp:object _:b61 ;
sp:predicate rdf:type ;
sp:subject _:b62
]) ;
sp:where ([ sp:object _:b63 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b64 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:subject spin:_this
] [ sp:object _:b65 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b64
] [ sp:object _:b66 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b64
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumState> ;
sp:subject _:b64
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b63
[ rdf:type afn:localname ;
sp:arg1 _:b57
] ;
sp:variable _:b68
sp:variable _:b60
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b68 ;
sp:arg2 _:b66 ;
sp:arg3 _:b65
sp:arg1 _:b59 ;
sp:arg2 _:b56 ;
sp:arg3 _:b60
] ;
sp:variable _:b62
sp:variable _:b54
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectActivitySuccessType ;
sp:arg1 _:b67
sp:arg1 _:b58
] ;
sp:variable _:b61
sp:variable _:b53
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 155 Create part activity and temporal part of WellBore"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FluidActivity> ;
rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b61 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ;
sp:subject _:b62
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b69
sp:subject _:b61
] [ sp:object _:b63 ;
sp:predicate _:b64 ;
sp:subject _:b61
]) ;
sp:where ([ sp:object _:b65 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b66 ;
sp:predicate ddr:activityRef ;
sp:subject spin:_this
] [ sp:object _:b67 ;
sp:predicate ddr:dTimStart ;
sp:subject _:b66
] [ sp:object _:b68 ;
sp:predicate ddr:dTimEnd ;
sp:subject _:b66
] [ sp:object _:b69 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b70
] [ sp:object _:b71 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b69
] [ sp:object _:b72 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
sp:subject _:b69
] [ sp:object _:b73 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
sp:subject _:b69
] [ sp:object _:b74 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b69
] [ sp:object _:b75 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b69
] [ sp:object _:b76 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#MudClass> ;
sp:subject _:b69
] [ sp:object _:b77 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
sp:predicate ddr:mdRef ;
sp:subject _:b66
] [ sp:object _:b63 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b69
] [ sp:object _:b78 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ;
] [ sp:object _:b70 ;
sp:predicate ddr:uomRef ;
sp:subject _:b69
] [ sp:object _:b79 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
sp:subject _:b69
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b80
] [ sp:object _:b81 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b80
] [ sp:object _:b80 ;
] [ sp:object _:b62 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b69
]) ;
sp:where ([ sp:object _:b82 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b83 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b84 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#fluid> ;
sp:subject spin:_this
] [ sp:object _:b85 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b84
] [ sp:object _:b71 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b84
] [ sp:object _:b78 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ;
sp:subject _:b84
] [ sp:object _:b72 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
sp:subject _:b84
] [ sp:object _:b75 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b84
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b76 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#MudClass> ;
sp:subject _:b84
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b74 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b84
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b73 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
sp:subject _:b84
])
] [ sp:object _:b79 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
sp:subject _:b84
] [ sp:object _:b77 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
sp:subject _:b84
sp:subject
[ sp:varName "partActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b82
] ;
sp:variable _:b86
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b86 ;
sp:arg2 _:b71 ;
sp:arg3 _:b85
sp:arg1 _:b65
] ;
sp:variable _:b69
sp:variable _:b71
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName _:b82
] ;
sp:variable _:b81
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b86 ;
sp:arg2 _:b83
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b71 ;
sp:arg2 _:b67 ;
sp:arg3 _:b68
] ;
sp:variable _:b70
sp:variable _:b62
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b86 ;
sp:arg2 _:b71 ;
sp:arg3 _:b71
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b70
] ;
sp:variable _:b80
sp:variable _:b64
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b69
sp:varName "partActivity"^^xsd:string .
_:b11
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b70
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b10
sp:varName "uom"^^xsd:string .
_:b71
sp:varName "dTimStartPart"^^xsd:string .
_:b9 sp:varName "mdHoleStart"^^xsd:string .
_:b72
sp:varName "pv"^^xsd:string .
_:b8 sp:varName "dTimEndPart"^^xsd:string .
_:b73
sp:varName "yp"^^xsd:string .
_:b7 sp:varName "dTimStartPart"^^xsd:string .
_:b74
sp:varName "tvd"^^xsd:string .
_:b6 sp:varName "activity"^^xsd:string .
_:b75
sp:varName "md"^^xsd:string .
_:b5 sp:varName "nameWellBore"^^xsd:string .
_:b76
sp:varName "mud"^^xsd:string .
_:b4 sp:varName "lengthScale"^^xsd:string .
_:b77
sp:varName "presBopRating"^^xsd:string .
_:b3 sp:varName "real"^^xsd:string .
_:b78
sp:varName "type"^^xsd:string .
_:b2 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b79
sp:varName "density"^^xsd:string .
_:b19
sp:varName "localname"^^xsd:string .
_:b80
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b18
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b81
sp:varName "wellBore"^^xsd:string .
_:b17
sp:varName "stateDetailActivity"^^xsd:string .
_:b82
sp:varName "nameWellBore"^^xsd:string .
_:b16
sp:varName "activity"^^xsd:string .
_:b83
_:b15
sp:varName "dTimStart"^^xsd:string .
_:b84
sp:varName "fluid"^^xsd:string .
_:b85
sp:varName "index"^^xsd:string .
_:b86
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b61
sp:varName "activitySuccessType"^^xsd:string .
_:b62
sp:varName "partActivity"^^xsd:string .
_:b63
_:b14
sp:varName "nameWellBore"^^xsd:string .
_:b64
sp:varName "activity"^^xsd:string .
_:b65
sp:varName "index"^^xsd:string .
_:b13
sp:varName "partActivity"^^xsd:string .
_:b66
sp:varName "dTimStartPart"^^xsd:string .
_:b12
sp:varName "drillingActivityOutcomeType"^^xsd:string .
_:b67
sp:varName "state"^^xsd:string .
_:b31
sp:varName "localname"^^xsd:string .
_:b68
_:b30
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b53
sp:varName "mdHoleStart"^^xsd:string .
_:b54
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b55
sp:varName "nameWellBore"^^xsd:string .
_:b56
_:b29
sp:varName "activity"^^xsd:string .
_:b57
sp:varName "index"^^xsd:string .
_:b58
sp:varName "dTimStartPart"^^xsd:string .
_:b28
sp:varName "dTimStart"^^xsd:string .
_:b59
sp:varName "partActivity"^^xsd:string .
_:b27
sp:varName "nameWellBore"^^xsd:string .
_:b60
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b26
sp:varName "comments"^^xsd:string .
_:b37
sp:varName "tvd"^^xsd:string .
_:b25
sp:varName "wellBore"^^xsd:string .
_:b38
_:b24
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b39
sp:varName "nameWellBore"^^xsd:string .
_:b40
sp:varName "activity"^^xsd:string .
_:b41
sp:varName "index"^^xsd:string .
_:b23
sp:varName "dTimEndPart"^^xsd:string .
_:b42
_:b22
sp:varName "dTimStartPart"^^xsd:string .
_:b43
_:b21
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b20
sp:varName "partActivity"^^xsd:string .
_:b44
_:b42
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b29
sp:varName "md"^^xsd:string .
_:b30
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b31
sp:varName "nameWellBore"^^xsd:string .
_:b41
sp:varName "uom"^^xsd:string .
_:b32
sp:varName "activity"^^xsd:string .
_:b40
sp:varName "tvd"^^xsd:string .
_:b33
sp:varName "index"^^xsd:string .
_:b39
sp:varName "dTimEndPart"^^xsd:string .
_:b34
_:b38
sp:varName "dTimStartPart"^^xsd:string .
_:b35
sp:varName "partActivity"^^xsd:string .
_:b37
sp:varName "activity"^^xsd:string .
_:b36
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b18
sp:varName "partActivity"^^xsd:string .
_:b19
sp:varName "dailyDrillingActivity"^^xsd:string .
sp:varName "nameWellBore"^^xsd:string .
_:b20
sp:varName "dTimStartPart"^^xsd:string .
_:b35
sp:varName "lengthScale"^^xsd:string .
_:b21
sp:varName "dTimEndPart"^^xsd:string .
_:b34
sp:varName "real"^^xsd:string .
_:b22
_:b33
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b23
sp:varName "wellBore"^^xsd:string .
_:b52
sp:varName "localname"^^xsd:string .
_:b24
sp:varName "nameWellBore"^^xsd:string .
_:b51
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "dTimStart"^^xsd:string .
_:b50
sp:varName "phase"^^xsd:string .
_:b26
_:b49
sp:varName "proprietaryCode"^^xsd:string .
_:b48
sp:varName "activity"^^xsd:string .
_:b27
sp:varName "index"^^xsd:string .
_:b47
sp:varName "dTimStart"^^xsd:string .
_:b28
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b46
sp:varName "nameWellBore"^^xsd:string .
_:b11
sp:varName "comments"^^xsd:string .
_:b45
sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
_:b12
_:b44
sp:varName "partActivity"^^xsd:string .
_:b13
sp:varName "nameWellBore"^^xsd:string .
_:b14
sp:varName "activity"^^xsd:string .
_:b15
sp:varName "index"^^xsd:string .
_:b43
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b16
sp:varName "dTimStartPart"^^xsd:string .
_:b60
sp:varName "localname"^^xsd:string .
_:b17
_:b59
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b45
sp:varName "drillingActivityOutcomeType"^^xsd:string .
_:b46
sp:varName "partActivity"^^xsd:string .
_:b47
sp:varName "nameWellBore"^^xsd:string .
_:b58
sp:varName "state"^^xsd:string .
_:b48
_:b57
sp:varName "activity"^^xsd:string .
_:b49
sp:varName "index"^^xsd:string .
_:b56
sp:varName "dTimStart"^^xsd:string .
_:b50
sp:varName "dTimStartPart"^^xsd:string .
_:b55
sp:varName "nameWellBore"^^xsd:string .
_:b51
sp:varName "stateDetailActivity"^^xsd:string .
_:b54
sp:varName "partActivity"^^xsd:string .
_:b52
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b53
sp:varName "activitySuccessType"^^xsd:string .
_:b4 sp:varName "nameWellBore"^^xsd:string .
_:b71
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b5 sp:varName "activity"^^xsd:string .
_:b70
sp:varName "uom"^^xsd:string .
_:b6 sp:varName "index"^^xsd:string .
_:b69
sp:varName "md"^^xsd:string .
_:b7 sp:varName "dTimStartPart"^^xsd:string .
_:b68
sp:varName "dTimEndPart"^^xsd:string .
_:b8 sp:varName "proprietaryCode"^^xsd:string .
_:b67
sp:varName "dTimStartPart"^^xsd:string .
_:b9 sp:varName "phase"^^xsd:string .
_:b66
sp:varName "activity"^^xsd:string .
_:b10
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b65
sp:varName "nameWellBore"^^xsd:string .
_:b2 sp:varName "partActivity"^^xsd:string .
_:b64
sp:varName "lengthScale"^^xsd:string .
_:b1 sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b63
sp:varName "real"^^xsd:string .
_:b3 sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
_:b62
sp:varName "temporalPartOfAWellBore"^^xsd:string .
......
# Saved by TopBraid on Wed Aug 24 15:40:23 BST 2011
# Saved by TopBraid on Wed Sep 14 18:06:22 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.witsml.org/schemas/1series
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......@@ -14,7 +16,12 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
<http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun>
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:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 280 Well stimulation"^^xsd:string ;
......@@ -24,12 +31,12 @@
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#SpatialPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b3
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b1
......@@ -40,209 +47,410 @@
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b1
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasCasingLinerTubing> ;
sp:predicate rdfs:comment ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b8 ;
sp:predicate <http://purl.org/dc/elements/1.1/description> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b7
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate rdf:type ;
sp:subject _:b9
sp:predicate _:b10 ;
sp:subject _:b8
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b9
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#id> ;
sp:subject _:b9
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#od> ;
sp:subject _:b9
sp:predicate _:b13 ;
sp:subject _:b11
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#weight> ;
sp:subject _:b9
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#grade> ;
sp:subject _:b9
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#connection> ;
sp:subject _:b9
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#length> ;
sp:subject _:b9
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#insideDiameterOfATubular> ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object _:b18 ;
sp:predicate _:b19 ;
sp:subject _:b17
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#outsideDiameterOfATubular> ;
sp:subject _:b14
] [ 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 rdf:type ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/core#MassPerUnitLength> ;
sp:predicate rdf:type ;
sp:subject _:b23
] [ sp:object _:b24 ;
sp:predicate _:b25 ;
sp:subject _:b23
] [ sp:object _:b26 ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#API_5CT_class> ;
sp:predicate rdf:type ;
sp:subject _:b26
] [ sp:object _:b27 ;
sp:predicate rdfs:label ;
sp:subject _:b26
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#hasTubularConnectionClass> ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TubularConnectionClass> ;
sp:predicate rdf:type ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate rdfs:label ;
sp:subject _:b28
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#stringLengthOfATubular> ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b30
] [ sp:object _:b31 ;
sp:predicate _:b32 ;
sp:subject _:b30
]) ;
sp:where ([ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b33 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#casing_Liner_Tubing> ;
] [ sp:object _:b34 ;
sp:predicate ddr:casing_liner_tubingRef ;
sp:subject spin:_this
] [ sp:object _:b19 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b7
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumType> ;
sp:subject _:b7
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#id> ;
sp:subject _:b7
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#od> ;
sp:subject _:b7
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#weight> ;
sp:subject _:b7
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#grade> ;
sp:subject _:b7
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#connection> ;
sp:subject _:b7
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#length> ;
sp:subject _:b7
] [ sp:object
[ sp:varName "mdTop"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTop> ;
sp:subject _:b7
] [ sp:object
[ sp:varName "mdBottom"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBottom> ;
sp:subject _:b7
sp:elements ([ sp:object _:b35 ;
sp:predicate ddr:typeRef ;
sp:subject _:b34
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b36 ;
sp:predicate ddr:idRef ;
sp:subject _:b34
] [ sp:object _:b37 ;
sp:predicate ddr:uomRef ;
sp:subject _:b36
] [ sp:object _:b18 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b36
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b38 ;
sp:predicate ddr:odRef ;
sp:subject _:b34
] [ sp:object _:b39 ;
sp:predicate ddr:uomRef ;
sp:subject _:b38
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#casing_Liner_Tubing_Run> ;
sp:subject _:b7
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumCasingType> ;
sp:subject _:b21
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#description> ;
sp:subject _:b21
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b38
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b40 ;
sp:predicate ddr:weightRef ;
sp:subject _:b34
] [ sp:object _:b41 ;
sp:predicate ddr:uomRef ;
sp:subject _:b40
] [ sp:object _:b24 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b40
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b27 ;
sp:predicate ddr:grade ;
sp:subject _:b34
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b29 ;
sp:predicate ddr:connection ;
sp:subject _:b34
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b42 ;
sp:predicate ddr:lengthRef ;
sp:subject _:b34
] [ sp:object _:b43 ;
sp:predicate ddr:uomRef ;
sp:subject _:b42
] [ sp:object _:b31 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b42
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b44 ;
sp:predicate ddr:mdTopRef ;
sp:subject _:b34
] [ sp:object _:b45 ;
sp:predicate ddr:uomRef ;
sp:subject _:b44
] [ sp:object _:b9 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b44
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b46 ;
sp:predicate ddr:mdBottomRef ;
sp:subject _:b34
] [ sp:object _:b47 ;
sp:predicate ddr:uomRef ;
sp:subject _:b46
] [ sp:object _:b12 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b46
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b48 ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject _:b34
] [ sp:object _:b49 ;
sp:predicate ddr:casingTypeRef ;
sp:subject _:b48
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b48 ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject _:b34
] [ sp:object _:b7 ;
sp:predicate ddr:description ;
sp:subject _:b48
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b48 ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject _:b34
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b21
sp:predicate ddr:dTimStart ;
sp:subject _:b48
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b48 ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject _:b34
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b21
sp:predicate ddr:dTimEnd ;
sp:subject _:b48
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b18
sp:arg1 _:b33
] ;
sp:variable _:b23
sp:variable _:b50
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b23 ;
sp:arg1 _:b50 ;
sp:arg2 _:b5
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b34
] ;
sp:variable _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellStimulationURI ;
sp:arg1 _:b23 ;
sp:arg2 _:b19
sp:arg1 _:b50 ;
sp:arg2 _:b51
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartOfAWellBoreForWellStimulationURI ;
sp:arg1 _:b23 ;
sp:arg2 _:b19
[ rdf:type ep-spin-lib:selectCasingRoleType ;
sp:arg1 _:b49
] ;
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTubeType ;
sp:arg1 _:b35
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b37
] ;
sp:variable _:b3
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectCasingType ;
sp:arg1 _:b22
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b39
] ;
sp:variable _:b22
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b43
] ;
sp:variable _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b45
] ;
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTubeType ;
sp:arg1 _:b20
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b47
] ;
sp:variable _:b11
sp:variable _:b13
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectMassPerUnitLengthScale ;
sp:arg1 _:b41
] ;
sp:variable _:b25
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b33
sp:varName "nameWellBore"^^xsd:string .
_:b11
sp:varName "tubeType"^^xsd:string .
_:b5 sp:varName "dTimStart"^^xsd:string .
_:b10
sp:varName "casingType"^^xsd:string .
_:b34
sp:varName "casingLinerTubing"^^xsd:string .
_:b3 sp:varName "wellStimulationPartOfAWellBore"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b1 sp:varName "wellStimulation"^^xsd:string .
_:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
_:b23
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b35
sp:varName "enumTubeType"^^xsd:string .
_:b6 sp:varName "dTimEnd"^^xsd:string .
_:b36
sp:varName "id"^^xsd:string .
_:b8 sp:varName "description"^^xsd:string .
_:b37
sp:varName "uomId"^^xsd:string .
_:b22
sp:varName "enumCasingType"^^xsd:string .
_:b18
sp:varName "realId"^^xsd:string .
_:b38
sp:varName "od"^^xsd:string .
_:b39
sp:varName "uomOd"^^xsd:string .
_:b21
sp:varName "casingLinerTubingRun"^^xsd:string .
sp:varName "realOd"^^xsd:string .
_:b17
sp:varName "length"^^xsd:string .
_:b40
sp:varName "weight"^^xsd:string .
_:b16
sp:varName "connection"^^xsd:string .
_:b41
sp:varName "uomWeight"^^xsd:string .
_:b15
_:b24
sp:varName "realMassPerUnitLength"^^xsd:string .
_:b27
sp:varName "grade"^^xsd:string .
_:b14
sp:varName "weight"^^xsd:string .
_:b29
sp:varName "connection"^^xsd:string .
_:b13
sp:varName "od"^^xsd:string .
_:b42
sp:varName "length"^^xsd:string .
_:b43
sp:varName "uomLen"^^xsd:string .
_:b31
sp:varName "realLen"^^xsd:string .
_:b44
sp:varName "mdTop"^^xsd:string .
_:b45
sp:varName "uomMdTop"^^xsd:string .
_:b9 sp:varName "realMdTop"^^xsd:string .
_:b46
sp:varName "mdBottom"^^xsd:string .
_:b47
sp:varName "uomMdBottom"^^xsd:string .
_:b12
sp:varName "id"^^xsd:string .
sp:varName "realMdBottom"^^xsd:string .
_:b20
sp:varName "enumTubeType"^^xsd:string .
_:b48
sp:varName "casingLinerTubingRun"^^xsd:string .
_:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
_:b49
sp:varName "enumCasingType"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b7 sp:varName "description"^^xsd:string .
_:b6 sp:varName "dTimEnd"^^xsd:string .
_:b50
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b51
sp:varName "localname"^^xsd:string .
_:b1 sp:varName "wellStimulation"^^xsd:string .
_:b15
sp:varName "casingRoleType"^^xsd:string .
_:b16
sp:varName "tubeType"^^xsd:string .
_:b19
sp:varName "index"^^xsd:string .
sp:varName "lengthScaleId"^^xsd:string .
_:b7 sp:varName "casingLinerTubing"^^xsd:string .
_:b22
sp:varName "lengthScaleOd"^^xsd:string .
_:b5 sp:varName "dTimStart"^^xsd:string .
_:b32
sp:varName "lengthScaleLen"^^xsd:string .
_:b18
sp:varName "nameWellBore"^^xsd:string .
_:b10
sp:varName "lengthScaleMdTop"^^xsd:string .
_:b13
sp:varName "lengthScaleMdBottom"^^xsd:string .
_:b25
sp:varName "massPerUnitLengthScale"^^xsd:string .
......
# Saved by TopBraid on Wed Aug 24 15:40:23 BST 2011
# Saved by TopBraid on Wed Sep 14 18:06:22 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Wed Aug 24 20:24:31 BST 2011
# Saved by TopBraid on Wed Sep 14 23:50:25 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.witsml.org/schemas/1series
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......@@ -14,7 +16,12 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
<http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage>
rdf:type owl:Ontology ;
owl:imports <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 290 Well cement job"^^xsd:string ;
......@@ -24,12 +31,12 @@
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#SpatialPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b3
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b1
......@@ -52,373 +59,633 @@
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volReturns> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#volumeOfReturnedCementingFluid> ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volPumped> ;
sp:predicate _:b12 ;
sp:subject _:b10
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#volumeOfPumpedCementingFluid> ;
sp:subject _:b8
] [ sp:object _:b12 ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
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/activity#startedAt> ;
sp:subject _:b8
] [ sp:object _:b13 ;
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b8
] [ sp:object _:b14 ;
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#pumpedFluid> ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/well#CementingFluid> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b15 ;
sp:subject _:b18
] [ sp:object _:b19 ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b16 ;
sp:subject _:b18
] [ sp:object _:b20 ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object <http://www.reportinghub.no/ep/schema/well#CementingFluidType> ;
sp:predicate rdf:type ;
sp:subject _:b14
sp:subject _:b20
] [ sp:object
[ sp:varName "descFluid"^^xsd:string
] ;
sp:predicate <http://purl.org/dc/elements/1.1/description> ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ratioMixWater> ;
sp:subject _:b14
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
sp:subject _:b14
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
sp:subject _:b14
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimThickening> ;
sp:subject _:b14
sp:predicate rdfs:comment ;
sp:subject _:b20
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pcFreeWater> ;
sp:subject _:b14
sp:predicate <http://www.reportinghub.no/ep/schema/well#ratioOfCementMixToWater> ;
sp:subject _:b18
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
sp:predicate rdf:type ;
sp:subject _:b21
] [ sp:object _:b22 ;
sp:predicate <http://purl.org/dc/elements/1.1/description> ;
sp:subject _:b14
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasCasingString> ;
sp:subject _:b1
sp:predicate _:b23 ;
sp:subject _:b21
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b23
] [ sp:object <http://www.reportinghub.no/ep/schema/well#CasingString> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject _:b24
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#casingStrDia> ;
sp:predicate _:b26 ;
sp:subject _:b24
] [ sp:object _:b26 ;
] [ sp:object _:b27 ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object <http://www.reportinghub.no/ep/schema/core#YieldPoint> ;
sp:predicate rdf:type ;
sp:subject _:b27
] [ sp:object _:b28 ;
sp:predicate _:b29 ;
sp:subject _:b27
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#cementingFluidThickeningTime> ;
sp:subject _:b18
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b30
] [ sp:object _:b31 ;
sp:predicate _:b32 ;
sp:subject _:b30
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#cementingFluidPerCentFreeWater> ;
sp:subject _:b18
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
sp:predicate rdf:type ;
sp:subject _:b33
] [ sp:object _:b34 ;
sp:predicate _:b35 ;
sp:subject _:b33
] [ sp:object _:b36 ;
sp:predicate rdfs:comment ;
sp:subject _:b18
] [ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
sp:predicate rdf:type ;
sp:subject _:b37
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b37
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingString> ;
sp:predicate rdf:type ;
sp:subject _:b38
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#diameterOfACasing> ;
sp:subject _:b38
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b39
] [ sp:object _:b40 ;
sp:predicate _:b41 ;
sp:subject _:b39
] [ sp:object _:b42 ;
sp:predicate <http://purl.org/dc/elements/1.1/description> ;
sp:subject _:b1
] [ sp:object _:b27 ;
] [ sp:object _:b43 ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b28 ;
] [ sp:object _:b44 ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b29 ;
] [ sp:object _:b45 ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBump> ;
] [ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#pressureAtWhichPlugBumped> ;
sp:subject _:b1
] [ sp:object _:b31 ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject _:b46
] [ sp:object _:b47 ;
sp:predicate _:b48 ;
sp:subject _:b46
] [ sp:object _:b49 ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b32 ;
] [ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobPressureRelease> ;
sp:predicate rdf:type ;
sp:subject _:b32
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominalTime> ;
sp:subject _:b32
sp:subject _:b50
] [ sp:object _:b51 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject _:b50
]) ;
sp:where ([ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b52 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b53 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#cementStage> ;
] [ sp:object _:b54 ;
sp:predicate ddr:cementStageRef ;
sp:subject spin:_this
] [ sp:object _:b37 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b36
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPumpStart> ;
sp:subject _:b36
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPumpEnd> ;
sp:subject _:b36
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumJobType> ;
sp:subject _:b36
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#casingStrDia> ;
sp:subject _:b36
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
sp:subject _:b36
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volReturns> ;
sp:subject _:b36
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#cementingFluid> ;
sp:subject _:b36
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPresReleased> ;
sp:subject _:b36
sp:elements ([ sp:object _:b16 ;
sp:predicate ddr:dTimPumpStart ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b17 ;
sp:predicate ddr:dTimPumpEnd ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b55 ;
sp:predicate ddr:jobTypeRef ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b56 ;
sp:predicate ddr:casingStrDiaRef ;
sp:subject _:b54
] [ sp:object _:b57 ;
sp:predicate ddr:uomRef ;
sp:subject _:b56
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#annFlowAfter> ;
sp:subject _:b36
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#topPlug> ;
sp:subject _:b36
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#botPlug> ;
sp:subject _:b36
] [ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#plugBumped> ;
sp:subject _:b36
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBump> ;
sp:subject _:b36
] [ sp:object _:b44 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#floatHeld> ;
sp:subject _:b36
] [ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#reciprocated> ;
sp:subject _:b36
] [ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rotated> ;
sp:subject _:b36
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b56
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b42 ;
sp:predicate ddr:comments ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b58 ;
sp:predicate ddr:volReturnsRef ;
sp:subject _:b54
] [ sp:object _:b59 ;
sp:predicate ddr:uomRef ;
sp:subject _:b58
] [ sp:object _:b11 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b58
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b60 ;
sp:predicate ddr:cementingFluidRef ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b51 ;
sp:predicate ddr:dTimPresReleased ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b61 ;
sp:predicate ddr:annFlowAfter ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b62 ;
sp:predicate ddr:topPlug ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b63 ;
sp:predicate ddr:botPlug ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b64 ;
sp:predicate ddr:plugBumped ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b65 ;
sp:predicate ddr:presBumpRef ;
sp:subject _:b54
] [ sp:object _:b66 ;
sp:predicate ddr:uomRef ;
sp:subject _:b65
] [ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumTypeFluid> ;
sp:subject _:b39
] [ sp:object
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b65
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b67 ;
sp:predicate ddr:floatHeld ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b68 ;
sp:predicate ddr:reciprocated ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b69 ;
sp:predicate ddr:rotated ;
sp:subject _:b54
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b70 ;
sp:predicate ddr:typeFluidRef ;
sp:subject _:b60
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "cementingFluidDescription"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#descFluid> ;
sp:subject _:b39
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ratioMixWater> ;
sp:subject _:b39
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
sp:subject _:b39
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volPumped> ;
sp:subject _:b39
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
sp:subject _:b39
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimThickening> ;
sp:subject _:b39
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pcFreeWater> ;
sp:subject _:b39
sp:predicate ddr:descFluid ;
sp:subject _:b60
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b71 ;
sp:predicate ddr:ratioMixWaterRef ;
sp:subject _:b60
] [ sp:object _:b72 ;
sp:predicate ddr:uomRef ;
sp:subject _:b71
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
sp:subject _:b39
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b71
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b73 ;
sp:predicate ddr:densityRef ;
sp:subject _:b60
] [ sp:object _:b74 ;
sp:predicate ddr:uomRef ;
sp:subject _:b73
] [ sp:object _:b25 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b73
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b75 ;
sp:predicate ddr:volPumpedRef ;
sp:subject _:b60
] [ sp:object _:b76 ;
sp:predicate ddr:uomRef ;
sp:subject _:b75
] [ sp:object _:b14 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b75
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b77 ;
sp:predicate ddr:ypRef ;
sp:subject _:b60
] [ sp:object _:b78 ;
sp:predicate ddr:uomRef ;
sp:subject _:b77
] [ sp:object _:b28 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b77
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b79 ;
sp:predicate ddr:eTimThickeningRef ;
sp:subject _:b60
] [ sp:object _:b80 ;
sp:predicate ddr:uomRef ;
sp:subject _:b79
] [ sp:object _:b31 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b79
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b81 ;
sp:predicate ddr:pcFreeWaterRef ;
sp:subject _:b60
] [ sp:object _:b82 ;
sp:predicate ddr:uomRef ;
sp:subject _:b81
] [ sp:object _:b34 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b81
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b36 ;
sp:predicate ddr:comments ;
sp:subject _:b60
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b34
sp:arg1 _:b52
] ;
sp:variable _:b48
sp:variable _:b83
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b48 ;
sp:arg2 _:b35
sp:arg1 _:b83 ;
sp:arg2 _:b53
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellCementJobURI ;
sp:arg1 _:b48 ;
sp:arg2 _:b37
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "casingLinerTubing"^^xsd:string
]
] ;
sp:variable _:b1
sp:variable _:b84
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartOfAWellBoreInWellCementJobURI ;
sp:arg1 _:b48 ;
sp:arg2 _:b37
[ rdf:type ep-spin-lib:buildWellCementJobURI ;
sp:arg1 _:b83 ;
sp:arg2 _:b84
] ;
sp:variable _:b3
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellCementJobType ;
sp:arg1 _:b38
sp:arg1 _:b55
] ;
sp:variable _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectCementingFluidType ;
sp:arg1 _:b47
sp:arg1 _:b70
] ;
sp:variable _:b15
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectCementingFluidReturnType ;
sp:arg1 _:b40
sp:arg1 _:b61
] ;
sp:variable _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellCementJobTopPlugType ;
sp:arg1 _:b41
sp:arg1 _:b62
] ;
sp:variable _:b6
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellCementJobBottomPlugType ;
sp:arg1 _:b42
sp:arg1 _:b63
] ;
sp:variable _:b7
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellCementJobCasingRotationType ;
sp:arg1 _:b46
sp:arg1 _:b69
] ;
sp:variable _:b27
sp:variable _:b43
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellCementJobCasingReciprocationType ;
sp:arg1 _:b45
sp:arg1 _:b68
] ;
sp:variable _:b28
sp:variable _:b44
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellCementJobPlugBumpingType ;
sp:arg1 _:b43
sp:arg1 _:b64
] ;
sp:variable _:b29
sp:variable _:b45
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellCementJobFloatHoldingType ;
sp:arg1 _:b44
sp:arg1 _:b67
] ;
sp:variable _:b49
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectRatioScale ;
sp:arg1 _:b82
] ;
sp:variable _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTimeDurationScale ;
sp:arg1 _:b80
] ;
sp:variable _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectYieldPointScale ;
sp:arg1 _:b78
] ;
sp:variable _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDensityScale ;
sp:arg1 _:b74
] ;
sp:variable _:b26
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureScale ;
sp:arg1 _:b66
] ;
sp:variable _:b48
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectVolumeScale ;
sp:arg1 _:b76
] ;
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectVolumeScale ;
sp:arg1 _:b59
] ;
sp:variable _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectRatioScale ;
sp:arg1 _:b72
] ;
sp:variable _:b31
sp:variable _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b57
] ;
sp:variable _:b41
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b34
_:b52
sp:varName "nameWellBore"^^xsd:string .
_:b35
_:b53
sp:varName "dTimStart"^^xsd:string .
_:b36
_:b54
sp:varName "cementStage"^^xsd:string .
_:b37
sp:varName "index"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
_:b12
_:b16
sp:varName "dTimPumpStart"^^xsd:string .
_:b13
_:b17
sp:varName "dTimPumpEnd"^^xsd:string .
_:b38
_:b55
sp:varName "enumJobType"^^xsd:string .
_:b25
_:b56
sp:varName "casingStrDia"^^xsd:string .
_:b26
_:b57
sp:varName "uomCasingStrDia"^^xsd:string .
_:b40
sp:varName "realCasingStrDia"^^xsd:string .
_:b42
sp:varName "cementStageComments"^^xsd:string .
_:b10
_:b58
sp:varName "volReturns"^^xsd:string .
_:b39
_:b59
sp:varName "uomVolReturns"^^xsd:string .
_:b11
sp:varName "realVolReturns"^^xsd:string .
_:b60
sp:varName "cementingFluid"^^xsd:string .
_:b33
_:b51
sp:varName "dTimPresReleased"^^xsd:string .
_:b40
_:b61
sp:varName "annFlowAfter"^^xsd:string .
_:b41
_:b62
sp:varName "topPlug"^^xsd:string .
_:b42
_:b63
sp:varName "botPlug"^^xsd:string .
_:b43
_:b64
sp:varName "plugBumped"^^xsd:string .
_:b30
_:b65
sp:varName "presBump"^^xsd:string .
_:b44
_:b66
sp:varName "uomPresBump"^^xsd:string .
_:b47
sp:varName "realPresBump"^^xsd:string .
_:b67
sp:varName "floatHeld"^^xsd:string .
_:b45
_:b68
sp:varName "reciprocated"^^xsd:string .
_:b46
_:b69
sp:varName "rotated"^^xsd:string .
_:b47
_:b70
sp:varName "enumTypeFluid"^^xsd:string .
_:b17
_:b71
sp:varName "ratioMixWater"^^xsd:string .
_:b18
_:b72
sp:varName "uomRatioMixWater"^^xsd:string .
_:b22
sp:varName "realRatioMixWater"^^xsd:string .
_:b73
sp:varName "density"^^xsd:string .
_:b11
_:b74
sp:varName "uomDensity"^^xsd:string .
_:b25
sp:varName "realDensity"^^xsd:string .
_:b75
sp:varName "volPumped"^^xsd:string .
_:b19
_:b76
sp:varName "uomVolPumped"^^xsd:string .
_:b14
sp:varName "realVolPumped"^^xsd:string .
_:b77
sp:varName "yp"^^xsd:string .
_:b20
_:b78
sp:varName "uomYp"^^xsd:string .
_:b28
sp:varName "realYp"^^xsd:string .
_:b79
sp:varName "eTimThickening"^^xsd:string .
_:b21
_:b80
sp:varName "uomETim"^^xsd:string .
_:b31
sp:varName "realETim"^^xsd:string .
_:b81
sp:varName "pcFreeWater"^^xsd:string .
_:b22
_:b82
sp:varName "uomPcFreeWater"^^xsd:string .
_:b34
sp:varName "realPcFreeWater"^^xsd:string .
_:b36
sp:varName "cementingFluidComments"^^xsd:string .
_:b48
_:b83
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "wellCementJob"^^xsd:string .
_:b84
sp:varName "localname"^^xsd:string .
_:b3 sp:varName "wellCementingPartOfAWellBore"^^xsd:string .
_:b1 sp:varName "wellCementJob"^^xsd:string .
_:b5 sp:varName "wellCementJobType"^^xsd:string .
_:b15
_:b19
sp:varName "cementingFluidType"^^xsd:string .
_:b9 sp:varName "cementingFluidReturnType"^^xsd:string .
......@@ -427,14 +694,41 @@ _:b6 sp:varName "wellCementJobTopPlugType"^^xsd:string .
_:b7 sp:varName "wellCementJobBottomPlugType"^^xsd:string .
_:b27
_:b43
sp:varName "wellCementJobCasingRotationType"^^xsd:string .
_:b28
_:b44
sp:varName "wellCementJobCasingReciprocationType"^^xsd:string .
_:b29
_:b45
sp:varName "wellCementJobPlugBumpingType"^^xsd:string .
_:b31
_:b49
sp:varName "wellCementJobFloatHoldingType"^^xsd:string .
_:b35
sp:varName "ratioScalePcFreeWater"^^xsd:string .
_:b32
sp:varName "durationScaleETim"^^xsd:string .
_:b29
sp:varName "yieldPointScale"^^xsd:string .
_:b26
sp:varName "densityScale"^^xsd:string .
_:b48
sp:varName "pressureScaleBump"^^xsd:string .
_:b15
sp:varName "volumeScalePumped"^^xsd:string .
_:b12
sp:varName "volumeScaleReturns"^^xsd:string .
_:b23
sp:varName "ratioScaleMixWater"^^xsd:string .
_:b41
sp:varName "lengthScaleCasingStrDia"^^xsd:string .
......
# Saved by TopBraid on Wed Aug 24 20:24:31 BST 2011
# Saved by TopBraid on Wed Sep 14 23:50:25 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Wed Sep 14 23:55:27 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
# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
# 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/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
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/collector#> .
@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 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#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix statusInfo: <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo#> .
@prefix surveyStation: <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#> .
@prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> .
@prefix wellboreInfo: <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<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:versionInfo "Created with TopBraid Composer"^^xsd:string .
# Saved by TopBraid on Wed Sep 14 23:55:27 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@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 visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
# Saved by TopBraid on Tue Aug 23 20:39:28 BST 2011
# Saved by TopBraid on Tue Sep 13 16:35:02 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.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.witsml.org/schemas/1series
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......@@ -14,7 +16,12 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
<http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo>
rdf:type owl:Ontology ;
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
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 250 Create an WellControlIncident activity"^^xsd:string ;
......@@ -24,7 +31,7 @@
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
......@@ -42,339 +49,712 @@
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasInflowLocation> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#PositionWithinWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b7
sp:predicate rdfs:comment ;
sp:subject _:b8
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#formation> ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimLost> ;
sp:predicate _:b12 ;
sp:subject _:b10
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b7
] [ 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/activity#timeLost> ;
sp:subject _:b1
] [ sp:object _:b12 ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate _:b18 ;
sp:subject _:b16
] [ sp:object _:b19 ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#during> ;
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b1
] [ sp:object _:b14 ;
] [ sp:object _:b21 ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object _:b15 ;
sp:subject _:b20
] [ sp:object _:b22 ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object _:b16 ;
sp:subject _:b20
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasDrillBit> ;
sp:subject _:b13
] [ sp:object _:b17 ;
sp:subject _:b20
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasChokeValve> ;
sp:subject _:b13
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b17
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> ;
sp:predicate rdf:type ;
sp:subject _:b17
sp:subject _:b20
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#ChokeValve> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presMaxChoke> ;
sp:subject _:b18
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> ;
sp:subject _:b24
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#maximumPressureForChokeValve> ;
sp:subject _:b24
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject _:b16
sp:subject _:b25
] [ sp:object _:b26 ;
sp:predicate _:b27 ;
sp:subject _:b25
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#DrillBit> ;
sp:predicate rdf:type ;
sp:subject _:b20
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaBit> ;
sp:subject _:b20
] [ sp:object _:b22 ;
sp:subject _:b23
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#diameterOfDrillBit> ;
sp:subject _:b23
] [ 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/core#hasPart> ;
sp:subject _:b1
] [ sp:object _:b23 ;
] [ sp:object _:b32 ;
sp:predicate rdf:type ;
sp:subject _:b22
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volMudGained> ;
sp:subject _:b31
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#volumeOfMudGained> ;
sp:subject _:b1
] [ sp:object _:b25 ;
sp:predicate <http://purl.org/dc/elements/1.1/description> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b33
] [ sp:object _:b34 ;
sp:predicate _:b35 ;
sp:subject _:b33
] [ sp:object _:b36 ;
sp:predicate rdfs:comment ;
sp:subject _:b1
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:subject _:b3
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
] [ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b3
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBit> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#LastCasingOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b37
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#diameterOfACasingOfAWellBore> ;
sp:subject _:b37
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b37
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b39
] [ sp:object _:b40 ;
sp:predicate _:b41 ;
sp:subject _:b39
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b38
] [ sp:object _:b42 ;
sp:predicate _:b43 ;
sp:subject _:b38
] [ sp:object _:b44 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleMeasuredDepth> ;
sp:subject _:b3
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tempBottom> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b44
] [ sp:object _:b45 ;
sp:predicate _:b46 ;
sp:subject _:b44
] [ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
sp:subject _:b3
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wtMud> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject _:b47
] [ sp:object _:b48 ;
sp:predicate _:b49 ;
sp:subject _:b47
] [ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasDrillingFluid> ;
sp:subject _:b3
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b50
] [ sp:object _:b51 ;
sp:predicate rdf:type ;
sp:subject _:b50
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject _:b51
] [ sp:object _:b52 ;
sp:predicate _:b53 ;
sp:subject _:b51
] [ sp:object _:b54 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#porePressureEquivalentMudDensity> ;
sp:subject _:b3
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presShutInCasing> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject _:b54
] [ sp:object _:b55 ;
sp:predicate _:b56 ;
sp:subject _:b54
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#shutInCasingPressure> ;
sp:subject _:b3
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presShutInDrill> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject _:b57
] [ sp:object _:b58 ;
sp:predicate _:b59 ;
sp:subject _:b57
] [ sp:object _:b60 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#shutInDrillPipePressure> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject _:b60
] [ sp:object _:b61 ;
sp:predicate _:b62 ;
sp:subject _:b60
]) ;
sp:where ([ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b63 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b64 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#controlIncidentInfo> ;
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
] [ sp:object _:b65 ;
sp:predicate ddr:controlIncidentInfoRef ;
sp:subject spin:_this
] [ sp:object _:b37 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b36
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b36
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdInflow> ;
sp:subject _:b36
sp:predicate ddr:dTim ;
sp:subject _:b65
] [ sp:object _:b66 ;
sp:predicate ddr:mdInflowRef ;
sp:subject _:b65
] [ sp:object _:b67 ;
sp:predicate ddr:uomRef ;
sp:subject _:b66
] [ sp:object _:b11 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b66
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdInflow> ;
sp:subject _:b36
sp:elements ([ sp:object _:b68 ;
sp:predicate ddr:tvdInflowRef ;
sp:subject _:b65
] [ sp:object _:b69 ;
sp:predicate ddr:uomRef ;
sp:subject _:b68
] [ sp:object _:b14 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b68
])
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumPhase> ;
sp:subject _:b36
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumProprietaryCode> ;
sp:subject _:b36
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimLost> ;
sp:subject _:b36
] [ sp:object _:b70 ;
sp:predicate ddr:phaseRef ;
sp:subject _:b65
] [ sp:object _:b71 ;
sp:predicate ddr:proprietaryCodeRef ;
sp:subject _:b65
] [ sp:object _:b72 ;
sp:predicate ddr:eTimLostRef ;
sp:subject _:b65
] [ sp:object _:b73 ;
sp:predicate ddr:uomRef ;
sp:subject _:b72
] [ sp:object _:b17 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b72
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimRegained> ;
sp:subject _:b36
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaBit> ;
sp:subject _:b36
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBit> ;
sp:subject _:b36
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wtMud> ;
sp:subject _:b36
sp:predicate ddr:dTimRegained ;
sp:subject _:b65
] [ sp:object _:b74 ;
sp:predicate ddr:diaBitRef ;
sp:subject _:b65
] [ sp:object _:b75 ;
sp:predicate ddr:uomRef ;
sp:subject _:b74
] [ sp:object _:b29 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b74
] [ sp:object _:b76 ;
sp:predicate ddr:mdBitRef ;
sp:subject _:b65
] [ sp:object _:b77 ;
sp:predicate ddr:uomRef ;
sp:subject _:b76
] [ sp:object _:b45 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b76
] [ sp:object _:b78 ;
sp:predicate ddr:wtMudRef ;
sp:subject _:b65
] [ sp:object _:b79 ;
sp:predicate ddr:uomRef ;
sp:subject _:b78
] [ sp:object _:b52 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b78
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ;
sp:subject _:b36
sp:elements ([ sp:object _:b80 ;
sp:predicate ddr:porePressureRef ;
sp:subject _:b65
] [ sp:object _:b81 ;
sp:predicate ddr:uomRef ;
sp:subject _:b80
] [ sp:object _:b55 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b80
])
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:subject _:b36
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
sp:subject _:b36
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volMudGained> ;
sp:subject _:b36
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presShutInCasing> ;
sp:subject _:b36
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presShutInDrill> ;
sp:subject _:b36
] [ sp:object _:b82 ;
sp:predicate ddr:diaCsgLastRef ;
sp:subject _:b65
] [ sp:object _:b83 ;
sp:predicate ddr:uomRef ;
sp:subject _:b82
] [ sp:object _:b42 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b82
] [ sp:object _:b84 ;
sp:predicate ddr:mdCsgLastRef ;
sp:subject _:b65
] [ sp:object _:b85 ;
sp:predicate ddr:uomRef ;
sp:subject _:b84
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumIncidentType> ;
sp:subject _:b36
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumKillingType> ;
sp:subject _:b36
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#formation> ;
sp:subject _:b36
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tempBottom> ;
sp:subject _:b36
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presMaxChoke> ;
sp:subject _:b36
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#description> ;
sp:subject _:b36
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b84
] [ sp:object _:b86 ;
sp:predicate ddr:volMudGainedRef ;
sp:subject _:b65
] [ sp:object _:b87 ;
sp:predicate ddr:uomRef ;
sp:subject _:b86
] [ sp:object _:b34 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b86
] [ sp:object _:b88 ;
sp:predicate ddr:presShutInCasingRef ;
sp:subject _:b65
] [ sp:object _:b89 ;
sp:predicate ddr:uomRef ;
sp:subject _:b88
] [ sp:object _:b58 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b88
] [ sp:object _:b90 ;
sp:predicate ddr:presShutInDrillRef ;
sp:subject _:b65
] [ sp:object _:b91 ;
sp:predicate ddr:uomRef ;
sp:subject _:b90
] [ sp:object _:b61 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b90
] [ sp:object _:b92 ;
sp:predicate ddr:incidentTypeRef ;
sp:subject _:b65
] [ sp:object _:b93 ;
sp:predicate ddr:killingTypeRef ;
sp:subject _:b65
] [ sp:object _:b9 ;
sp:predicate ddr:formation ;
sp:subject _:b65
] [ sp:object _:b94 ;
sp:predicate ddr:tempBottomRef ;
sp:subject _:b65
] [ sp:object _:b95 ;
sp:predicate ddr:uomRef ;
sp:subject _:b94
] [ sp:object _:b48 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b94
] [ sp:object _:b96 ;
sp:predicate ddr:presMaxChokeRef ;
sp:subject _:b65
] [ sp:object _:b97 ;
sp:predicate ddr:uomRef ;
sp:subject _:b96
] [ sp:object _:b26 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b96
] [ sp:object _:b36 ;
sp:predicate ddr:description ;
sp:subject _:b65
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b65
] ;
sp:variable _:b98
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b34
sp:arg1 _:b63
] ;
sp:variable _:b42
sp:variable _:b99
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b42 ;
sp:arg2 _:b35
sp:arg1 _:b99 ;
sp:arg2 _:b64
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellControlIncidentURI ;
sp:arg1 _:b42 ;
sp:arg2 _:b35 ;
sp:arg3 _:b37
sp:arg1 _:b99 ;
sp:arg2 _:b64 ;
sp:arg3 _:b98
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreDuringWellControlIncidentURI ;
sp:arg1 _:b42 ;
sp:arg2 _:b35 ;
sp:arg3 _:b37
] ;
sp:variable _:b3
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ;
sp:arg1 _:b39
sp:arg1 _:b71
] ;
sp:variable _:b14
sp:variable _:b21
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ;
sp:arg1 _:b38
sp:arg1 _:b70
] ;
sp:variable _:b15
sp:variable _:b22
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellControlIncidentType ;
sp:arg1 _:b40
sp:arg1 _:b92
] ;
sp:variable _:b12
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellKillingType ;
sp:arg1 _:b41
sp:arg1 _:b93
] ;
sp:variable _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectVolumeScale ;
sp:arg1 _:b87
] ;
sp:variable _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTimeDurationScale ;
sp:arg1 _:b73
] ;
sp:variable _:b23
sp:variable _:b18
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b67
] ;
sp:variable _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b69
] ;
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b75
] ;
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b77
] ;
sp:variable _:b46
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b83
] ;
sp:variable _:b43
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b85
] ;
sp:variable _:b41
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDensityScale ;
sp:arg1 _:b79
] ;
sp:variable _:b53
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTemperatureScale ;
sp:arg1 _:b95
] ;
sp:variable _:b49
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureScale ;
sp:arg1 _:b97
] ;
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureScale ;
sp:arg1 _:b89
] ;
sp:variable _:b59
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureScale ;
sp:arg1 _:b91
] ;
sp:variable _:b62
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDensityScale ;
sp:arg1 _:b81
] ;
sp:variable _:b56
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b56
sp:varName "densityScalePore"^^xsd:string .
_:b23
sp:varName "wellKillingType"^^xsd:string .
_:b62
sp:varName "pressureScaleShutInDrill"^^xsd:string .
_:b59
sp:varName "pressureScaleShutInCasing"^^xsd:string .
_:b27
sp:varName "pressureScaleMaxChoke"^^xsd:string .
_:b49
sp:varName "temperatureScale"^^xsd:string .
_:b53
sp:varName "densityScaleWtMud"^^xsd:string .
_:b41
sp:varName "lengthScaleMdCsgLast"^^xsd:string .
_:b43
sp:varName "lengthScaleDiaCsgLast"^^xsd:string .
_:b46
sp:varName "lengthScaleMdBit"^^xsd:string .
_:b30
sp:varName "lengthScaleDia"^^xsd:string .
_:b15
sp:varName "lengthScaleTvdIn"^^xsd:string .
_:b12
sp:varName "lengthScaleMdIn"^^xsd:string .
_:b18
sp:varName "timeDurationScale"^^xsd:string .
_:b35
sp:varName "volumeScale"^^xsd:string .
_:b32
sp:varName "wellKillingType"^^xsd:string .
_:b19
sp:varName "wellControlIncidentType"^^xsd:string .
_:b15
_:b22
sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
_:b14
_:b21
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b3 sp:varName "temporalPartOfAWellBoreDuringWellControlIncident"^^xsd:string .
_:b1 sp:varName "wellControlIncident"^^xsd:string .
_:b42
_:b99
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b4 sp:varName "dailytemporalPartOfAWellBore"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b98
sp:varName "localname"^^xsd:string .
_:b25
_:b36
sp:varName "description"^^xsd:string .
_:b19
_:b26
sp:varName "realMaxChoke"^^xsd:string .
_:b97
sp:varName "uomMaxChoke"^^xsd:string .
_:b96
sp:varName "presMaxChoke"^^xsd:string .
_:b29
_:b48
sp:varName "realTemp"^^xsd:string .
_:b95
sp:varName "uomTemp"^^xsd:string .
_:b94
sp:varName "tempBottom"^^xsd:string .
_:b10
sp:varName "formation"^^xsd:string .
_:b9 sp:varName "formation"^^xsd:string .
_:b41
_:b93
sp:varName "killingType"^^xsd:string .
_:b40
_:b92
sp:varName "incidentType"^^xsd:string .
_:b33
_:b61
sp:varName "realShutInDrill"^^xsd:string .
_:b91
sp:varName "uomShutInDrill"^^xsd:string .
_:b90
sp:varName "presShutInDrill"^^xsd:string .
_:b32
_:b58
sp:varName "realShutInCasing"^^xsd:string .
_:b89
sp:varName "uomShutInCasing"^^xsd:string .
_:b88
sp:varName "presShutInCasing"^^xsd:string .
_:b24
_:b34
sp:varName "realVol"^^xsd:string .
_:b87
sp:varName "uomVol"^^xsd:string .
_:b86
sp:varName "volMudGained"^^xsd:string .
_:b27
_:b40
sp:varName "realMdCsgLast"^^xsd:string .
_:b85
sp:varName "uomMdCsgLast"^^xsd:string .
_:b84
sp:varName "mdCsgLast"^^xsd:string .
_:b26
_:b42
sp:varName "realDiaCsgLast"^^xsd:string .
_:b83
sp:varName "uomDiaCsgLast"^^xsd:string .
_:b82
sp:varName "diaCsgLast"^^xsd:string .
_:b31
_:b55
sp:varName "realPore"^^xsd:string .
_:b81
sp:varName "uomPore"^^xsd:string .
_:b80
sp:varName "porePressure"^^xsd:string .
_:b30
_:b52
sp:varName "realWtMud"^^xsd:string .
_:b79
sp:varName "uomWtMud"^^xsd:string .
_:b78
sp:varName "wtMud"^^xsd:string .
_:b28
_:b45
sp:varName "realMdBit"^^xsd:string .
_:b77
sp:varName "uomMdBit"^^xsd:string .
_:b76
sp:varName "mdBit"^^xsd:string .
_:b21
_:b29
sp:varName "realDia"^^xsd:string .
_:b75
sp:varName "uomDia"^^xsd:string .
_:b74
sp:varName "diaBit"^^xsd:string .
_:b6 sp:varName "dTimEndOfIncident"^^xsd:string .
_:b11
_:b17
sp:varName "realDuration"^^xsd:string .
_:b73
sp:varName "uomDuration"^^xsd:string .
_:b72
sp:varName "eTimLost"^^xsd:string .
_:b39
_:b71
sp:varName "proprietaryCode"^^xsd:string .
_:b38
_:b70
sp:varName "phase"^^xsd:string .
_:b9 sp:varName "tvdInflow"^^xsd:string .
_:b14
sp:varName "realTvdIn"^^xsd:string .
_:b69
sp:varName "uomTvdIn"^^xsd:string .
_:b8 sp:varName "mdInflow"^^xsd:string .
_:b68
sp:varName "tvdIn"^^xsd:string .
_:b5 sp:varName "dTimStartOfIncident"^^xsd:string .
_:b11
sp:varName "realMdIn"^^xsd:string .
_:b37
sp:varName "index"^^xsd:string .
_:b67
sp:varName "uomMdIn"^^xsd:string .
_:b36
_:b66
sp:varName "mdIn"^^xsd:string .
_:b5 sp:varName "dTimStartOfIncident"^^xsd:string .
_:b65
sp:varName "controlIncidentInfo"^^xsd:string .
_:b35
_:b4 sp:varName "dailytemporalPartOfAWellBore"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b64
sp:varName "dTimStart"^^xsd:string .
_:b34
_:b63
sp:varName "nameWellBore"^^xsd:string .
......
# Saved by TopBraid on Tue Aug 23 20:39:28 BST 2011
# Saved by TopBraid on Tue Sep 13 16:35:02 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Tue Aug 23 16:05:01 BST 2011
# Saved by TopBraid on Sun Sep 11 06:50:58 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.energistics.org/schemas/abstract
# imports: http://www.witsml.org/schemas/1series
# imports: 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
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://spinrdf.org/spin
@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> .
@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> .
@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> .
@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix p1: <http://example.org/file1#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
......@@ -29,360 +23,390 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> , <http://www.energistics.org/schemas/abstract> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/report> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 106 Create Well"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
Minimum data - createDate, dTimStart, dTimEnd, nameWellBore
Optional data - extendedReport
replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ;
sp:subject spin:_this
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b5
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b6
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:subject _:b2
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesFollowingTheDailyReportingPeriod> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
sp:predicate rdf:type ;
sp:subject _:b4
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#hasContent> ;
sp:subject _:b8
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject _:b8
]) ;
sp:where ([ sp:object _:b7 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b4 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b11 ;
sp:predicate ddr:dTimEnd ;
sp:subject spin:_this
] [ sp:object _:b3 ;
sp:predicate ddr:createDate ;
sp:subject spin:_this
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b12 ;
sp:predicate ddr:extendedReportRef ;
sp:subject spin:_this
] [ sp:object _:b9 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b12
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b10 ;
sp:predicate ddr:dTim ;
sp:subject _:b12
])
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b5
sp:arg1 _:b7
] ;
sp:variable _:b13
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b13 ;
sp:arg2 _:b3
] ;
sp:variable _:b8
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b8 ;
sp:arg2 _:b6
sp:arg1 _:b13 ;
sp:arg2 _:b4
] ;
sp:variable _:b3
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b2
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b13 ;
sp:arg2 _:b4 ;
sp:arg3 _:b11
] ;
sp:variable _:b9
sp:variable _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellByName ;
arg:wellName _:b9
[ rdf:type ep-spin-lib:buildTemporaryWellBoreURI ;
sp:arg1 _:b13
] ;
sp:variable _:b1
sp:variable _:b6
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 105
Classify a DailyDrillingReport"""^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate rdf:type ;
sp:subject _:b11
rdfs:comment """STEP 103a Set name of DailyDrillingReport as label
Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
sp:templates ([ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b15
]) ;
sp:where ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
sp:where ([ sp:object _:b16 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumVersionKind> ;
sp:predicate ddr:name ;
sp:subject spin:_this
] [ sp:object _:b17 ;
sp:predicate ddr:createDate ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
sp:arg1 _:b14
] ;
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b12
sp:arg1 _:b16
] ;
sp:variable _:b15
sp:variable _:b18
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b15 ;
sp:arg2 _:b13
sp:arg1 _:b18 ;
sp:arg2 _:b17
] ;
sp:variable _:b11
sp:variable _:b15
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 104 Transfer dTimEnd"^^xsd:string ;
sp:templates ([ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b17
rdfs:comment """STEP 105
Classify a DailyDrillingReport"""^^xsd:string ;
sp:templates ([ sp:object _:b19 ;
sp:predicate rdf:type ;
sp:subject _:b20
]) ;
sp:where ([ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b21 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b22 ;
sp:predicate ddr:createDate ;
sp:subject spin:_this
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
] [ sp:object _:b23 ;
sp:predicate ddr:versionKindRef ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
sp:arg1 _:b23
] ;
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b18
sp:arg1 _:b21
] ;
sp:variable _:b20
sp:variable _:b24
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b20 ;
sp:arg2 _:b19
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b24 ;
sp:arg2 _:b22
] ;
sp:variable _:b17
sp:variable _:b20
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 103a Set name of DailyDrillingReport as label
Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
sp:templates ([ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b22
rdfs:comment "STEP 104 Transfer dTimEnd"^^xsd:string ;
sp:templates ([ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b26
]) ;
sp:where ([ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b27 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
] [ sp:object _:b28 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
] [ sp:object _:b25 ;
sp:predicate ddr:dTimEnd ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b23
sp:arg1 _:b27
] ;
sp:variable _:b25
sp:variable _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b25 ;
sp:arg2 _:b24
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b29 ;
sp:arg2 _:b28
] ;
sp:variable _:b22
sp:variable _:b26
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
Minimum data - createDate, dTimStart, dTimEnd, nameWellBore
Optional data - extendedReport
replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
sp:predicate rdf:type ;
sp:subject _:b26
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
sp:predicate rdf:type ;
sp:subject _:b27
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
sp:subject _:b26
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ;
sp:subject _:b26
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b27
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
rdfs:comment "STEP 106 Create Well"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well-WholeLife> ;
sp:predicate rdf:type ;
sp:subject _:b30
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b31
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b30
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b31
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
sp:subject _:b33
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b27
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#extendedReport> ;
sp:subject _:b27
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b32
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
sp:predicate rdf:type ;
sp:subject _:b32
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b30
]) ;
sp:where ([ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b35 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
] [ sp:object _:b31 ;
sp:predicate ddr:nameWell ;
sp:subject spin:_this
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
] [ sp:object _:b36 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#extendedReport> ;
sp:subject spin:_this
])
] [ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b33
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b37
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
sp:predicate rdf:type ;
sp:subject _:b34
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b32
] ;
sp:variable _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b35 ;
sp:arg2 _:b28
sp:arg1 _:b35
] ;
sp:variable _:b26
sp:variable _:b38
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b35 ;
sp:arg2 _:b29
sp:arg1 _:b38 ;
sp:arg2 _:b36
] ;
sp:variable _:b27
sp:variable _:b33
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b35 ;
sp:arg2 _:b29 ;
sp:arg3 _:b34
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b31
] ;
sp:variable _:b30
sp:variable _:b39
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporaryWellBoreURI ;
sp:arg1 _:b35
[ rdf:type rhspin:wellByName ;
arg:wellName _:b39
] ;
sp:variable _:b31
sp:variable _:b30
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.0/report> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b13
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
_:b12
sp:varName "extendedReport"^^xsd:string .
_:b11
sp:varName "dTimEnd"^^xsd:string .
_:b10
sp:varName "dTimExtendedReport"^^xsd:string .
_:b9 sp:varName "extendedReportContent"^^xsd:string .
_:b7 sp:varName "nameWellBore"^^xsd:string .
_:b6 sp:varName "wellBore"^^xsd:string .
_:b5 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b3 sp:varName "createDate"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b1 sp:varName "dailyDrillingReport"^^xsd:string .
_:b18
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b24
_:b17
sp:varName "createDate"^^xsd:string .
_:b23
_:b16
sp:varName "nameWellBore"^^xsd:string .
_:b22
_:b15
sp:varName "dailyDrillingReport"^^xsd:string .
_:b21
_:b14
sp:varName "nameDailyDrillingReport"^^xsd:string .
_:b15
_:b24
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b14
_:b23
sp:varName "versionKind"^^xsd:string .
_:b13
_:b22
sp:varName "createDate"^^xsd:string .
_:b12
_:b21
sp:varName "nameWellBore"^^xsd:string .
_:b11
_:b20
sp:varName "dailyDrillingReport"^^xsd:string .
_:b10
_:b19
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b20
_:b29
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b19
_:b28
sp:varName "dTimStart"^^xsd:string .
_:b18
_:b27
sp:varName "nameWellBore"^^xsd:string .
_:b17
_:b26
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b16
_:b25
sp:varName "dTimEnd"^^xsd:string .
_:b35
_:b39
sp:varName "normalizedWellName"^^xsd:string .
_:b38
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b34
sp:varName "dTimEnd"^^xsd:string .
_:b37
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b33
sp:varName "extendedReport"^^xsd:string .
_:b36
sp:varName "dTimStart"^^xsd:string .
_:b32
_:b35
sp:varName "nameWellBore"^^xsd:string .
_:b31
_:b34
sp:varName "wellBore"^^xsd:string .
_:b30
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b29
sp:varName "dTimStart"^^xsd:string .
_:b28
sp:varName "createDate"^^xsd:string .
_:b27
_:b33
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b26
sp:varName "dailyDrillingReport"^^xsd:string .
_:b1 sp:varName "well"^^xsd:string .
_:b9 sp:varName "normalizedWellName"^^xsd:string .
_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b4 sp:varName "wellBore"^^xsd:string .
_:b7 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b3 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b6 sp:varName "dTimStart"^^xsd:string .
_:b2 sp:varName "nameWell"^^xsd:string .
_:b31
sp:varName "nameWell"^^xsd:string .
_:b5 sp:varName "nameWellBore"^^xsd:string .
_:b30
sp:varName "well"^^xsd:string .
......
# Saved by TopBraid on Tue Aug 23 16:05:01 BST 2011
# Saved by TopBraid on Sun Sep 11 06:50:58 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Tue Aug 23 10:49:30 BST 2011
# Saved by TopBraid on Sun Sep 11 06:50:42 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
......@@ -71,7 +71,7 @@
sp:subject
[ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b6 ;
......@@ -117,35 +117,35 @@
<http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b9 sp:varName "nameWellBore"^^xsd:string .
_:b13
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b10
sp:varName "dTimStart"^^xsd:string .
_:b12
sp:varName "index"^^xsd:string .
_:b11
sp:varName "stratInfo"^^xsd:string .
_:b12
sp:varName "index"^^xsd:string .
_:b10
sp:varName "dTimStart"^^xsd:string .
_:b5 sp:varName "dTimPreliminaryZonation"^^xsd:string .
_:b9 sp:varName "nameWellBore"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b8 sp:varName "description"^^xsd:string .
_:b4 sp:varName "wellBore"^^xsd:string .
_:b7 sp:varName "tvdTop"^^xsd:string .
_:b6 sp:varName "mdTop"^^xsd:string .
_:b7 sp:varName "tvdTop"^^xsd:string .
_:b5 sp:varName "dTimPreliminaryZonation"^^xsd:string .
_:b8 sp:varName "description"^^xsd:string .
_:b4 sp:varName "wellBore"^^xsd:string .
_:b13
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b3 sp:varName "stratigraphicInformationPartOfAWellBore"^^xsd:string .
_:b1 sp:varName "preliminaryZonation"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b3 sp:varName "stratigraphicInformationPartOfAWellBore"^^xsd:string .
_:b1 sp:varName "preliminaryZonation"^^xsd:string .
......
# Saved by TopBraid on Tue Aug 23 10:49:30 BST 2011
# Saved by TopBraid on Sun Sep 11 06:50:42 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Wed Aug 17 11:44:23 BST 2011
# Saved by TopBraid on Tue Sep 13 11:23:38 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# 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/well
# 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/surveyStation#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......@@ -13,7 +20,12 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <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 .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 180 Create a WellBoreDirectionalSurvey activity"^^xsd:string ;
......@@ -21,379 +33,237 @@
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:predicate ep-core:hasPart ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b3
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b1
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object <http://www.reportinghub.no/ep/schema/well#PositionWithinWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate ep-core:partOf ;
sp:subject _:b4
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b4
] [ sp:object ep-core:Length ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
] [ sp:object _:b8 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b7
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b5
] ;
sp:variable _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6 ;
sp:arg3 _:b8
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6 ;
sp:arg3 _:b8
] ;
sp:variable _:b3
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 181 Set time of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b11
]) ;
sp:where ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
sp:predicate _:b8 ;
sp:subject _:b6
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b4
] [ sp:object ep-core:Length ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate _:b11 ;
sp:subject _:b9
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#inclination> ;
sp:subject _:b4
] [ sp:object ep-core:PlaneAngle ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
sp:predicate _:b14 ;
sp:subject _:b12
] [ sp:object _:b15 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b14
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b12
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
sp:arg1 _:b16 ;
sp:arg2 _:b13 ;
sp:arg3 _:b15
] ;
sp:variable _:b11
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 182 Set md of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b18
sp:predicate <http://www.reportinghub.no/ep/schema/well#azimuth> ;
sp:subject _:b4
] [ sp:object ep-core:PlaneAngle ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:predicate _:b17 ;
sp:subject _:b15
]) ;
sp:where ([ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b18 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b19 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
] [ sp:object _:b20 ;
sp:predicate ddr:surveyStationRef ;
sp:subject spin:_this
] [ sp:object _:b22 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b21
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b21
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b3 ;
sp:predicate ddr:dTim ;
sp:subject _:b20
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b21 ;
sp:predicate ddr:mdRef ;
sp:subject _:b20
] [ sp:object _:b22 ;
sp:predicate ddr:uomRef ;
sp:subject _:b21
] [ sp:object _:b7 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b21
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b23 ;
sp:predicate ddr:tvdRef ;
sp:subject _:b20
] [ sp:object _:b24 ;
sp:predicate ddr:uomRef ;
sp:subject _:b23
] [ sp:object _:b10 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b23
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b25 ;
sp:predicate ddr:inclRef ;
sp:subject _:b20
] [ sp:object _:b26 ;
sp:predicate ddr:uomRef ;
sp:subject _:b25
] [ sp:object _:b13 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b25
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b27 ;
sp:predicate ddr:aziRef ;
sp:subject _:b20
] [ sp:object _:b28 ;
sp:predicate ddr:uomRef ;
sp:subject _:b27
] [ sp:object _:b16 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b27
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b19
sp:arg1 _:b18
] ;
sp:variable _:b23
sp:variable _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b23 ;
sp:arg2 _:b20 ;
sp:arg3 _:b22
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b29 ;
sp:arg2 _:b19
] ;
sp:variable _:b18
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 183 Set tvd of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b25
]) ;
sp:where ([ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
] [ sp:object _:b29 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b28
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b28
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b26
[ rdf:type afn:localname ;
sp:arg1 _:b20
] ;
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b30 ;
sp:arg2 _:b27 ;
sp:arg3 _:b29
[ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
sp:arg1 _:b29 ;
sp:arg2 _:b19 ;
sp:arg3 _:b30
] ;
sp:variable _:b25
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 184 Set inclination of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ;
sp:subject _:b32
]) ;
sp:where ([ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
] [ sp:object _:b36 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b35
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ;
sp:subject _:b35
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b33
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b22
] ;
sp:variable _:b37
sp:variable _:b8
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b37 ;
sp:arg2 _:b34 ;
sp:arg3 _:b36
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b24
] ;
sp:variable _:b32
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 185 Set azimuth of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ;
sp:subject _:b39
]) ;
sp:where ([ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
] [ sp:object _:b43 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b42
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ;
sp:subject _:b42
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b40
[ rdf:type ep-spin-lib:selectPlaneAngleScale ;
sp:arg1 _:b26
] ;
sp:variable _:b44
sp:variable _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b44 ;
sp:arg2 _:b41 ;
sp:arg3 _:b43
[ rdf:type ep-spin-lib:selectPlaneAngleScale ;
sp:arg1 _:b28
] ;
sp:variable _:b39
sp:variable _:b17
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b38
sp:varName "azi"^^xsd:string .
_:b39
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b40
_:b18
sp:varName "nameWellBore"^^xsd:string .
_:b41
_:b19
sp:varName "dTimStart"^^xsd:string .
_:b42
sp:varName "surveyStation"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b43
sp:varName "index"^^xsd:string .
_:b5 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
_:b44
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b31
sp:varName "incl"^^xsd:string .
_:b32
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b20
sp:varName "surveyStation"^^xsd:string .
_:b33
sp:varName "nameWellBore"^^xsd:string .
_:b3 sp:varName "dTim"^^xsd:string .
_:b34
sp:varName "dTimStart"^^xsd:string .
_:b21
sp:varName "md"^^xsd:string .
_:b35
sp:varName "surveyStation"^^xsd:string .
_:b22
sp:varName "uomMd"^^xsd:string .
_:b36
sp:varName "index"^^xsd:string .
_:b7 sp:varName "realMd"^^xsd:string .
_:b37
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b23
sp:varName "tvd"^^xsd:string .
_:b24
sp:varName "tvdOfSurvey"^^xsd:string .
sp:varName "uomTvd"^^xsd:string .
_:b10
sp:varName "realTvd"^^xsd:string .
_:b25
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
sp:varName "incl"^^xsd:string .
_:b26
sp:varName "nameWellBore"^^xsd:string .
sp:varName "uomIncl"^^xsd:string .
_:b13
sp:varName "realIncl"^^xsd:string .
_:b27
sp:varName "dTimStart"^^xsd:string .
sp:varName "azi"^^xsd:string .
_:b28
sp:varName "surveyStation"^^xsd:string .
sp:varName "uomAzi"^^xsd:string .
_:b29
sp:varName "index"^^xsd:string .
_:b16
sp:varName "realAzi"^^xsd:string .
_:b30
_:b29
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b17
sp:varName "mdOfSurvey"^^xsd:string .
_:b18
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b19
sp:varName "nameWellBore"^^xsd:string .
_:b20
sp:varName "dTimStart"^^xsd:string .
_:b21
sp:varName "surveyStation"^^xsd:string .
_:b22
sp:varName "index"^^xsd:string .
_:b30
sp:varName "localname"^^xsd:string .
_:b23
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "wellBoreDirectionalSurvey"^^xsd:string .
_:b10
sp:varName "timeOfSurvey"^^xsd:string .
_:b8 sp:varName "lengthScaleMd"^^xsd:string .
_:b11
sp:varName "wellBoreDirectionalSurvey"^^xsd:string .
_:b12
sp:varName "nameWellBore"^^xsd:string .
_:b13
sp:varName "dTimStart"^^xsd:string .
sp:varName "lengthScaleTvd"^^xsd:string .
_:b14
sp:varName "surveyStation"^^xsd:string .
_:b15
sp:varName "index"^^xsd:string .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b5 sp:varName "nameWellBore"^^xsd:string .
sp:varName "angleScaleIncl"^^xsd:string .
_:b6 sp:varName "dTimStart"^^xsd:string .
_:b7 sp:varName "surveyStation"^^xsd:string .
_:b8 sp:varName "index"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "wellBoreDirectionalSurvey"^^xsd:string .
_:b3 sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b17
sp:varName "angleScaleAzi"^^xsd:string .
......
# Saved by TopBraid on Wed Aug 17 11:44:23 BST 2011
# Saved by TopBraid on Tue Sep 13 11:23:38 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Tue Aug 23 09:12:12 BST 2011
# Saved by TopBraid on Sun Sep 11 15:12:53 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.witsml.org/schemas/1series
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -17,7 +21,12 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.witsml.org/schemas/1series> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 150 Transfer Well aliases"^^xsd:string ;
......@@ -26,36 +35,42 @@
sp:subject _:b3
]) ;
sp:where ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellAlias> ;
sp:predicate ddr:wellAliasRef ;
sp:subject spin:_this
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:predicate ddr:name ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumNamingSystem> ;
sp:predicate ddr:namingSystemRef ;
sp:subject _:b6
] [ sp:object _:b8 ;
sp:predicate ep-activity:onWell ;
sp:subject _:b9
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well-WholeLife> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b4
] ;
sp:variable _:b9
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b9 ;
sp:arg1 _:b10 ;
sp:arg2 _:b5
] ;
sp:variable _:b8
sp:variable _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLabelOfSystem ;
......@@ -67,118 +82,119 @@
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 151 Transfer WellBore aliases"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate _:b11 ;
sp:subject _:b12
sp:templates ([ sp:object _:b11 ;
sp:predicate _:b12 ;
sp:subject _:b13
]) ;
sp:where ([ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:where ([ sp:object _:b14 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreAlias> ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumNamingSystem> ;
sp:subject _:b15
sp:predicate ddr:wellboreAliasRef ;
sp:subject spin:_this
] [ sp:object _:b11 ;
sp:predicate ddr:name ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:predicate ddr:namingSystemRef ;
sp:subject _:b16
] [ sp:object _:b18 ;
sp:predicate ep-activity:onWellBore ;
sp:subject _:b19
] [ sp:object _:b13 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b18
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b17
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b13
sp:arg1 _:b14
] ;
sp:variable _:b19
sp:variable _:b20
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b19 ;
sp:arg2 _:b14
sp:arg1 _:b20 ;
sp:arg2 _:b15
] ;
sp:variable _:b18
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLabelOfSystem ;
sp:arg1 _:b16
sp:arg1 _:b17
] ;
sp:variable _:b11
sp:variable _:b12
])
] .
<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
[] rdf:type smf:regex .
[] rdf:type smf:trim .
[] rdf:type fn:starts-with .
[] rdf:type sp:Modify .
_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b8 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b7 sp:varName "namingSystem"^^xsd:string .
_:b6 sp:varName "wellAlias"^^xsd:string .
_:b5 sp:varName "dTimStart"^^xsd:string .
_:b4 sp:varName "nameWellBore"^^xsd:string .
[] rdf:type fn:starts-with .
_:b3 sp:varName "well"^^xsd:string .
[] rdf:type smf:trim .
_:b2 sp:varName "labelOfSystem"^^xsd:string .
[] rdf:type smf:regex .
_:b1 sp:varName "name"^^xsd:string .
_:b20
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b19
sp:varName "normalizedWellBoreName"^^xsd:string .
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b18
sp:varName "dailyDrillingActivity"^^xsd:string .
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b17
sp:varName "temporalPartOfAWellBore"^^xsd:string .
sp:varName "namingSystem"^^xsd:string .
_:b16
sp:varName "namingSystem"^^xsd:string .
sp:varName "wellBoreAlias"^^xsd:string .
_:b15
sp:varName "wellBoreAlias"^^xsd:string .
sp:varName "dTimStart"^^xsd:string .
_:b14
sp:varName "dTimStart"^^xsd:string .
sp:varName "nameWellBore"^^xsd:string .
_:b13
sp:varName "nameWellBore"^^xsd:string .
sp:varName "wellBore"^^xsd:string .
_:b12
sp:varName "wellBore"^^xsd:string .
sp:varName "labelOfSystem"^^xsd:string .
_:b11
sp:varName "labelOfSystem"^^xsd:string .
sp:varName "name"^^xsd:string .
_:b4 sp:varName "nameWellBore"^^xsd:string .
_:b5 sp:varName "dTimStart"^^xsd:string .
_:b6 sp:varName "wellAlias"^^xsd:string .
_:b1 sp:varName "name"^^xsd:string .
_:b7 sp:varName "namingSystem"^^xsd:string .
_:b9 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b8 sp:varName "temporalPartOfAWell"^^xsd:string .
_:b3 sp:varName "well"^^xsd:string .
_:b10
sp:varName "name"^^xsd:string .
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b2 sp:varName "labelOfSystem"^^xsd:string .
([]) .
([]) .
([] [] [ rdf:type sp:Filter
] [ rdf:type sp:Bind
]) .
([]) .
......
# Saved by TopBraid on Wed Aug 17 10:15:15 BST 2011
# Saved by TopBraid on Wed Sep 14 12:13:21 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.witsml.org/schemas/1series
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-facility: <http://www.reportinghub.no/ep/schema/facility#> .
@prefix ep-org: <http://www.reportinghub.no/ep/schema/organization#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
......@@ -20,609 +24,890 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.witsml.org/schemas/1series> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingContractor> ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreSpudAt> ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b1
] [ sp:object ep-org:Company ;
sp:predicate rdf:type ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b3 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b4 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b1 ;
sp:predicate ddr:dTimSpud ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#drillContractor> ;
sp:predicate ep-activity:onWellBore ;
sp:subject _:b7
] [ sp:object _:b2 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b4
sp:arg1 _:b3
] ;
sp:variable _:b7
sp:variable _:b8
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b7 ;
sp:arg2 _:b5
sp:arg1 _:b8 ;
sp:arg2 _:b4
] ;
sp:variable _:b2
sp:variable _:b7
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 169 Transfer elevKelly
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate ep-core:hasPart ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#KellyBushing> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#elevationOfKellyBushing> ;
sp:subject _:b9
] [ sp:object ep-core:Length ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate _:b13 ;
sp:subject _:b11
]) ;
sp:where ([ sp:object _:b14 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b15 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b16 ;
sp:predicate ddr:statusInfoRef ;
sp:subject spin:_this
] [ sp:object _:b10 ;
sp:predicate ep-activity:onRig ;
sp:subject _:b17
] [ sp:object _:b18 ;
sp:predicate ddr:elevKellyRef ;
sp:subject _:b16
] [ sp:object _:b12 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b18
] [ sp:object _:b19 ;
sp:predicate ddr:uomRef ;
sp:subject _:b18
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
sp:arg1 _:b14
] ;
sp:variable _:b8
sp:variable _:b20
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id _:b8
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b20 ;
sp:arg2 _:b15
] ;
sp:variable _:b1
sp:variable _:b17
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b19
] ;
sp:variable _:b13
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 164 Set preSPUD date"^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPreSpud> ;
sp:subject _:b10
rdfs:comment "STEP 160a Set rig for drilling activity - NPD Code supplied"^^xsd:string ;
sp:templates ([ sp:object _:b21 ;
sp:predicate ep-activity:onRig ;
sp:subject _:b22
] [ sp:object ep-facility:Rig ;
sp:predicate rdf:type ;
sp:subject _:b21
] [ sp:object _:b23 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b21
] [ sp:object ep-facility:Rig-WholeLife ;
sp:predicate rdf:type ;
sp:subject _:b23
] [ sp:object _:b24 ;
sp:predicate ep-core:npdCode ;
sp:subject _:b23
]) ;
sp:where ([ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b25 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b26 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
] [ sp:object _:b27 ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPreSpud> ;
sp:subject _:b13
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b15
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b14
] [ sp:object _:b28 ;
sp:predicate ddr:rigAliasRef ;
sp:subject _:b27
] [ sp:object _:b24 ;
sp:predicate ddr:name ;
sp:subject _:b28
] [ rdf:type sp:Union ;
sp:elements (([ sp:object "NPD Code"^^ddr:NameStringDatatype ;
sp:predicate ddr:namingSystem ;
sp:subject _:b28
]) ([ sp:object "NPD code"^^ddr:NameStringDatatype ;
sp:predicate ddr:namingSystem ;
sp:subject _:b28
]))
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b25
] ;
sp:variable _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b11
sp:arg1 _:b24
] ;
sp:variable _:b16
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b16 ;
sp:arg2 _:b12
sp:arg1 _:b29 ;
sp:arg2 _:b26
] ;
sp:variable _:b22
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildRigURI ;
sp:arg1 _:b30
] ;
sp:variable _:b15
sp:variable _:b23
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 161 Set name for Rig"^^xsd:string ;
sp:templates ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#npdName> ;
sp:subject _:b18
rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ;
sp:templates ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreCompletedAt> ;
sp:subject _:b32
]) ;
sp:where ([ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b33 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b34 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
] [ sp:object _:b35 ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
sp:subject _:b21
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:subject _:b22
] [ sp:object "NPD Name" ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
sp:subject _:b22
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b24
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b23
] [ sp:object _:b31 ;
sp:predicate ddr:dateDrillComplete ;
sp:subject _:b35
] [ sp:object _:b36 ;
sp:predicate ep-activity:onWellBore ;
sp:subject _:b37
] [ sp:object _:b32 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b36
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
sp:predicate rdf:type ;
sp:subject _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b19
sp:arg1 _:b33
] ;
sp:variable _:b25
sp:variable _:b38
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b25 ;
sp:arg2 _:b20
sp:arg1 _:b38 ;
sp:arg2 _:b34
] ;
sp:variable _:b24
sp:variable _:b37
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 160 Set rig for drilling activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfARig> ;
rdfs:comment "STEP 160b Set rig for drilling activity - NPD Code not supplied"^^xsd:string ;
sp:templates ([ sp:object _:b39 ;
sp:predicate ep-activity:onRig ;
sp:subject _:b40
] [ sp:object ep-facility:Rig ;
sp:predicate rdf:type ;
sp:subject _:b26
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b27
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Rig> ;
sp:subject _:b39
] [ sp:object _:b41 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b39
] [ sp:object ep-facility:Rig-WholeLife ;
sp:predicate rdf:type ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#npdCode> ;
sp:subject _:b28
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b26
sp:subject _:b41
]) ;
sp:where ([ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b42 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b43 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
sp:subject _:b33
] [ sp:object "NPD Code" ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
sp:subject _:b34
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:subject _:b34
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object _:b44 ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b45 ;
sp:predicate ddr:rigAliasRef ;
sp:subject _:b44
] [ sp:object
[ sp:varName "code"^^xsd:string
] ;
sp:predicate ddr:name ;
sp:subject _:b45
] [ rdf:type sp:Union ;
sp:elements (([ sp:object "NPD Code"^^ddr:NameStringDatatype ;
sp:predicate ddr:namingSystem ;
sp:subject _:b45
]) ([ sp:object "NPD code"^^ddr:NameStringDatatype ;
sp:predicate ddr:namingSystem ;
sp:subject _:b45
]))
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b30
sp:arg1 _:b42
] ;
sp:variable _:b35
sp:variable _:b46
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b46 ;
sp:arg2 _:b43
] ;
sp:variable _:b40
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 161 Set NPD name for Rig"^^xsd:string ;
sp:templates ([ sp:object _:b47 ;
sp:predicate ep-core:npdName ;
sp:subject _:b48
]) ;
sp:where ([ sp:object _:b49 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b50 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b51 ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b52 ;
sp:predicate ddr:rigAliasRef ;
sp:subject _:b51
] [ sp:object _:b47 ;
sp:predicate ddr:name ;
sp:subject _:b52
] [ rdf:type sp:Union ;
sp:elements (([ sp:object "NPD Name"^^ddr:NameStringDatatype ;
sp:predicate ddr:namingSystem ;
sp:subject _:b52
]) ([ sp:object "NPD name"^^ddr:NameStringDatatype ;
sp:predicate ddr:namingSystem ;
sp:subject _:b52
]))
] [ sp:object _:b53 ;
sp:predicate ep-activity:onRig ;
sp:subject _:b54
] [ sp:object _:b48 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b53
] [ sp:object ep-facility:Rig-WholeLife ;
sp:predicate rdf:type ;
sp:subject _:b48
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b29
sp:arg1 _:b49
] ;
sp:variable _:b36
sp:variable _:b55
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b35 ;
sp:arg2 _:b31
sp:arg1 _:b55 ;
sp:arg2 _:b50
] ;
sp:variable _:b27
sp:variable _:b54
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 168 Transfer fixedRig
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object _:b56 ;
sp:predicate rdf:type ;
sp:subject _:b57
]) ;
sp:where ([ sp:object _:b58 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b59 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b60 ;
sp:predicate ep-activity:onRig ;
sp:subject _:b61
] [ sp:object _:b57 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b60
] [ sp:object ep-facility:Rig-WholeLife ;
sp:predicate rdf:type ;
sp:subject _:b57
] [ sp:object _:b62 ;
sp:predicate ddr:statusInfoRef ;
sp:subject spin:_this
] [ sp:object _:b63 ;
sp:predicate ddr:fixedRig ;
sp:subject _:b62
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildRigURI ;
sp:arg1 _:b36
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b58
] ;
sp:variable _:b28
sp:variable _:b64
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfARigURI ;
sp:arg1 _:b36 ;
sp:arg2 _:b31 ;
sp:arg3 _:b32
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b64 ;
sp:arg2 _:b59
] ;
sp:variable _:b26
sp:variable _:b61
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
sp:arg1 _:b63
] ;
sp:variable _:b56
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ;
sp:templates ([ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
sp:subject _:b38
rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b65 ;
sp:predicate ep-activity:drillingContractor ;
sp:subject _:b66
] [ sp:object _:b67 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b65
] [ sp:object ep-org:Organization ;
sp:predicate rdf:type ;
sp:subject _:b65
] [ sp:object _:b68 ;
sp:predicate ep-core:name ;
sp:subject _:b67
] [ sp:object ep-org:Company ;
sp:predicate rdf:type ;
sp:subject _:b67
]) ;
sp:where ([ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b69 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b70 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
] [ sp:object _:b71 ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
sp:subject _:b41
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b43
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b42
] [ sp:object _:b68 ;
sp:predicate ddr:drillContractor ;
sp:subject _:b71
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b39
sp:arg1 _:b69
] ;
sp:variable _:b44
sp:variable _:b72
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b44 ;
sp:arg2 _:b40
sp:arg1 _:b72 ;
sp:arg2 _:b70
] ;
sp:variable _:b43
sp:variable _:b66
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b68
] ;
sp:variable _:b73
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id _:b73
] ;
sp:variable _:b67
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingOperator> ;
sp:subject _:b46
] [ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b45
sp:templates ([ sp:object _:b74 ;
sp:predicate ep-activity:drillingOperator ;
sp:subject _:b75
] [ sp:object _:b76 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b74
] [ sp:object ep-org:Organization ;
sp:predicate rdf:type ;
sp:subject _:b74
] [ sp:object _:b77 ;
sp:predicate ep-core:name ;
sp:subject _:b76
] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject _:b45
sp:subject _:b76
]) ;
sp:where ([ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b78 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b79 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
] [ sp:object _:b80 ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#operator> ;
sp:subject _:b50
] [ sp:object _:b77 ;
sp:predicate ddr:operator ;
sp:subject _:b80
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b48
sp:arg1 _:b78
] ;
sp:variable _:b51
sp:variable _:b81
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b51 ;
sp:arg2 _:b49
sp:arg1 _:b81 ;
sp:arg2 _:b79
] ;
sp:variable _:b46
sp:variable _:b75
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b47
sp:arg1 _:b77
] ;
sp:variable _:b52
sp:variable _:b82
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id _:b52
arg:id _:b82
] ;
sp:variable _:b45
sp:variable _:b76
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ;
sp:templates ([ sp:object _:b53 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimSpud> ;
sp:subject _:b54
rdfs:comment """STEP 169a Transfer waterDepth
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object _:b83 ;
sp:predicate ep-core:hasPart ;
sp:subject _:b84
] [ sp:object ep-facility:SurroundingWater ;
sp:predicate rdf:type ;
sp:subject _:b83
] [ sp:object _:b85 ;
sp:predicate ep-facility:depthOfSurroundingWater ;
sp:subject _:b83
] [ sp:object ep-core:Length ;
sp:predicate rdf:type ;
sp:subject _:b85
] [ sp:object _:b86 ;
sp:predicate _:b87 ;
sp:subject _:b85
]) ;
sp:where ([ sp:object _:b55 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b88 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b89 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
] [ sp:object _:b90 ;
sp:predicate ddr:statusInfoRef ;
sp:subject spin:_this
] [ sp:object _:b53 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimSpud> ;
sp:subject _:b57
] [ sp:object _:b58 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b59
] [ sp:object _:b54 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b58
] [ sp:object _:b84 ;
sp:predicate ep-activity:onRig ;
sp:subject _:b91
] [ sp:object _:b92 ;
sp:predicate ddr:waterDepthRef ;
sp:subject _:b90
] [ sp:object _:b86 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b92
] [ sp:object _:b93 ;
sp:predicate ddr:uomRef ;
sp:subject _:b92
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b55
sp:arg1 _:b88
] ;
sp:variable _:b60
sp:variable _:b94
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b60 ;
sp:arg2 _:b56
sp:arg1 _:b94 ;
sp:arg2 _:b89
] ;
sp:variable _:b91
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b93
] ;
sp:variable _:b59
sp:variable _:b87
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 168 Transfer fixedRig
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object _:b61 ;
sp:predicate rdf:type ;
sp:subject _:b62
rdfs:comment "STEP 164 Set preSPUD date"^^xsd:string ;
sp:templates ([ sp:object _:b95 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBorePreSpudAt> ;
sp:subject _:b96
]) ;
sp:where ([ sp:object _:b63 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:where ([ sp:object _:b97 ;
sp:predicate ddr:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b64 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b98 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object _:b65 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b66
] [ sp:object _:b62 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b65
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
] [ sp:object _:b99 ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b68 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#fixedRig> ;
sp:subject _:b67
] [ sp:object _:b95 ;
sp:predicate ddr:dTimPreSpud ;
sp:subject _:b99
] [ sp:object _:b100 ;
sp:predicate ep-activity:onWellBore ;
sp:subject _:b101
] [ sp:object _:b96 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b100
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
sp:predicate rdf:type ;
sp:subject _:b96
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b63
sp:arg1 _:b97
] ;
sp:variable _:b69
sp:variable _:b102
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b69 ;
sp:arg2 _:b64
sp:arg1 _:b102 ;
sp:arg2 _:b98
] ;
sp:variable _:b66
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
sp:arg1 _:b68
] ;
sp:variable _:b61
sp:variable _:b101
])
] .
<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b23
sp:varName "rig"^^xsd:string .
[] rdf:type sp:Modify .
_:b22
sp:varName "dailyDrillingActivity"^^xsd:string .
[] rdf:type fn:starts-with .
_:b30
sp:varName "normalizedCode"^^xsd:string .
[] rdf:type smf:trim .
_:b29
sp:varName "normalizedWellBoreName"^^xsd:string .
[] rdf:type smf:regex .
_:b24
sp:varName "code"^^xsd:string .
_:b44
_:b28
sp:varName "rigAlias"^^xsd:string .
_:b27
sp:varName "wellboreInfo"^^xsd:string .
_:b26
sp:varName "dTimStart"^^xsd:string .
_:b25
sp:varName "nameWellBore"^^xsd:string .
_:b55
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b43
_:b48
sp:varName "rig"^^xsd:string .
_:b53
sp:varName "temporalPartOfARig"^^xsd:string .
_:b54
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b42
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b47
sp:varName "name"^^xsd:string .
_:b52
sp:varName "rigAlias"^^xsd:string .
_:b41
_:b51
sp:varName "wellboreInfo"^^xsd:string .
_:b40
_:b50
sp:varName "dTimStart"^^xsd:string .
_:b39
_:b49
sp:varName "nameWellBore"^^xsd:string .
_:b38
sp:varName "wellBore"^^xsd:string .
[] rdf:type sp:Modify .
_:b37
sp:varName "dateDrillComplete"^^xsd:string .
[] rdf:type fn:starts-with .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
[] rdf:type smf:trim .
_:b15
sp:varName "dailyDrillingActivity"^^xsd:string .
[] rdf:type smf:regex .
_:b14
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b82
sp:varName "normalizedOperatorName"^^xsd:string .
_:b13
_:b81
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b80
sp:varName "wellboreInfo"^^xsd:string .
_:b12
_:b79
sp:varName "dTimStart"^^xsd:string .
_:b11
_:b78
sp:varName "nameWellBore"^^xsd:string .
_:b10
sp:varName "wellBore"^^xsd:string .
_:b77
sp:varName "nameOperator"^^xsd:string .
_:b9 sp:varName "preSpudDate"^^xsd:string .
_:b76
sp:varName "operator"^^xsd:string .
_:b25
_:b75
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b64
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b24
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b63
sp:varName "fixedRig"^^xsd:string .
_:b23
sp:varName "temporalPartOfARig"^^xsd:string .
_:b62
sp:varName "statusInfo"^^xsd:string .
_:b22
sp:varName "rigAlias"^^xsd:string .
_:b61
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b21
sp:varName "wellboreInfo"^^xsd:string .
_:b60
sp:varName "temporalPartOfARig"^^xsd:string .
_:b20
_:b59
sp:varName "dTimStart"^^xsd:string .
_:b19
_:b58
sp:varName "nameWellBore"^^xsd:string .
_:b18
_:b57
sp:varName "rig"^^xsd:string .
_:b17
sp:varName "name"^^xsd:string .
_:b56
sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b36
sp:varName "normalizedRigName"^^xsd:string .
_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b7 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b34
sp:varName "rigAlias"^^xsd:string .
_:b6 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b33
sp:varName "wellboreInfo"^^xsd:string .
_:b5 sp:varName "wellboreInfo"^^xsd:string .
_:b32
sp:varName "dTimEnd"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b31
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b1 sp:varName "spudDate"^^xsd:string .
_:b73
sp:varName "normalizedContractorName"^^xsd:string .
_:b72
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b71
sp:varName "wellboreInfo"^^xsd:string .
_:b70
sp:varName "dTimStart"^^xsd:string .
_:b30
_:b69
sp:varName "nameWellBore"^^xsd:string .
_:b29
sp:varName "nameRig"^^xsd:string .
_:b68
sp:varName "nameContractor"^^xsd:string .
_:b28
sp:varName "rig"^^xsd:string .
_:b67
sp:varName "contractor"^^xsd:string .
_:b27
_:b66
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b26
sp:varName "temporalPartOfARig"^^xsd:string .
_:b60
_:b38
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b59
_:b37
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b58
_:b36
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b57
_:b35
sp:varName "wellboreInfo"^^xsd:string .
_:b56
_:b34
sp:varName "dTimStart"^^xsd:string .
_:b55
_:b33
sp:varName "nameWellBore"^^xsd:string .
_:b54
_:b32
sp:varName "wellBore"^^xsd:string .
_:b53
sp:varName "spudDate"^^xsd:string .
_:b31
sp:varName "dateDrillComplete"^^xsd:string .
_:b69
_:b20
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b68
sp:varName "fixedRigFlag"^^xsd:string .
_:b19
sp:varName "uom"^^xsd:string .
_:b67
sp:varName "statusInfo"^^xsd:string .
_:b18
sp:varName "elevKelly"^^xsd:string .
_:b66
_:b17
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b65
sp:varName "temporalPartOfARig"^^xsd:string .
_:b16
sp:varName "statusInfo"^^xsd:string .
_:b64
_:b15
sp:varName "dTimStart"^^xsd:string .
_:b63
_:b14
sp:varName "nameWellBore"^^xsd:string .
_:b62
sp:varName "rig"^^xsd:string .
_:b13
sp:varName "lengthScale"^^xsd:string .
_:b61
sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b12
sp:varName "real"^^xsd:string .
_:b10
sp:varName "temporalPartOfARig"^^xsd:string .
_:b94
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "contractor"^^xsd:string .
_:b93
sp:varName "uom"^^xsd:string .
_:b8 sp:varName "normalizedContractorName"^^xsd:string .
_:b92
sp:varName "waterDepth"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b91
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b90
sp:varName "statusInfo"^^xsd:string .
_:b3 sp:varName "nameContractor"^^xsd:string .
_:b89
sp:varName "dTimStart"^^xsd:string .
_:b6 sp:varName "wellboreInfo"^^xsd:string .
_:b88
sp:varName "nameWellBore"^^xsd:string .
_:b5 sp:varName "dTimStart"^^xsd:string .
_:b87
sp:varName "lengthScale"^^xsd:string .
_:b4 sp:varName "nameWellBore"^^xsd:string .
_:b86
sp:varName "real"^^xsd:string .
_:b45
sp:varName "operator"^^xsd:string .
_:b84
sp:varName "temporalPartOfARig"^^xsd:string .
_:b52
sp:varName "normalizedOperatorName"^^xsd:string .
_:b102
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b46
_:b101
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b51
_:b100
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b99
sp:varName "wellboreInfo"^^xsd:string .
_:b98
sp:varName "dTimStart"^^xsd:string .
_:b97
sp:varName "nameWellBore"^^xsd:string .
_:b96
sp:varName "wellBore"^^xsd:string .
_:b95
sp:varName "preSpudDate"^^xsd:string .
_:b40
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b46
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b47
sp:varName "nameOperator"^^xsd:string .
_:b45
sp:varName "rigAlias"^^xsd:string .
_:b50
_:b44
sp:varName "wellboreInfo"^^xsd:string .
_:b49
_:b43
sp:varName "dTimStart"^^xsd:string .
_:b48
_:b42
sp:varName "nameWellBore"^^xsd:string .
([]) .
......