David Leal

Completed the mapping of the data necessary for the front page of the

report.
# Saved by TopBraid on Thu Aug 11 18:18:26 BST 2011
# Saved by TopBraid on Fri Aug 12 10:44:21 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# 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.linkedmodel.org/1.1/schema/ordered
......@@ -14,7 +15,7 @@
<http://www.reportinghub.no/ep/schema/1.0/activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-activity:Activity
......@@ -23,33 +24,33 @@ ep-activity:Activity
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:finishedAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:finishedAt
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
] .
ep-activity:DailyDrillingActivity
......@@ -58,13 +59,13 @@ ep-activity:DailyDrillingActivity
rdfs:subClassOf ep-activity:DrillingActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
owl:onProperty ep-activity:onWellBore
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -73,13 +74,13 @@ ep-activity:DailyDrillingActivity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
owl:onProperty ep-activity:onWellBore
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
] .
ep-activity:DailyProductionActivity
......@@ -128,13 +129,13 @@ ep-activity:DrillingActivity
rdfs:subClassOf ep-activity:Activity .
ep-activity:FormationIntegrityTest
rdf:type ep-activity:PressureTestType , owl:Class ;
rdf:type owl:Class , ep-activity:PressureTestType ;
rdfs:label "formation integrity test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:LeakOffTest .
ep-activity:LeakOffTest
rdf:type ep-activity:PressureTestType , owl:Class ;
rdf:type owl:Class , ep-activity:PressureTestType ;
rdfs:label "leak-off test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:FormationIntegrityTest .
......@@ -170,7 +171,7 @@ ep-activity:OffshoreWellActivity
rdfs:subClassOf ep-activity:OffshoreActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onWell
] ;
rdfs:subClassOf
......@@ -180,7 +181,7 @@ ep-activity:OffshoreWellActivity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:onProperty ep-activity:onWell
] .
......@@ -225,10 +226,22 @@ ep-activity:WellBorePressureTest
rdfs:subClassOf ep-activity:Activity .
ep-activity:createdAt
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "created at"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:drillingContractor
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "drilling contractor"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-activity:drillingOperator
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "drilling operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-activity:finishedAt
rdf:type owl:DatatypeProperty ;
rdfs:label "finished at"^^xsd:string ;
......@@ -247,7 +260,7 @@ ep-activity:onWell
rdfs:label "on well"^^xsd:string .
ep-activity:onWellBore
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "on WellBore"^^xsd:string .
ep-activity:reportOn
......@@ -260,7 +273,7 @@ ep-activity:startedAt
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:wellBoreDrillingType
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "has sub activity"^^xsd:string ;
rdfs:range ep-activity:WellBoreDrillingType ;
......
# Saved by TopBraid on Wed Aug 10 13:32:44 BST 2011
# Saved by TopBraid on Fri Aug 12 11:33:44 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://purl.org/dc/elements/1.1/
# imports: http://spinrdf.org/spin
# imports: http://purl.org/dc/terms/
# imports: http://spinrdf.org/spin
@prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -16,7 +16,7 @@
<http://www.reportinghub.no/ep/schema/1.0/facility>
rdf:type owl:Ontology ;
owl:imports <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://purl.org/dc/terms/> , <http://purl.org/dc/elements/1.1/> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-fac:AllOrPartOfTheLifeOfARig
......@@ -33,10 +33,25 @@ ep-fac:FixedFacility
rdf:type owl:DeprecatedClass ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:FixedOrMoveableRigType
rdf:type rdfs:Class ;
rdfs:label "fixed of moveable rig type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-fac:FixedRig
rdf:type ep-fac:FixedOrMoveableRigType , owl:Class ;
rdfs:label "fixed rig"^^xsd:string ;
rdfs:subClassOf ep-fac:FixedFacility , ep-fac:Rig .
ep-fac:MoveableFacility
rdf:type owl:Class ;
rdfs:subClassOf ep-fac:Facility .
ep-fac:MoveableRig
rdf:type ep-fac:FixedOrMoveableRigType , owl:Class ;
rdfs:label "moveable rig"^^xsd:string ;
rdfs:subClassOf ep-fac:MoveableFacility , ep-fac:Rig .
ep-fac:Rig
rdf:type owl:Class ;
rdfs:label "rig"^^xsd:string ;
......
# Saved by TopBraid on Fri Aug 12 14:16:38 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/core
......@@ -17,11 +18,35 @@ ep-well:AllOrPartOfTheLifeOfAWellBore
rdfs:label "all or part of the life of a well bore"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
ep-well:HphtWellBore
rdf:type ep-well:WellBoreHphtType , owl:Class ;
rdfs:label "high pressure high temperature well bore"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
owl:disjointWith ep-well:NotHphtWellBore .
ep-well:LeakyWellBore
rdf:type owl:Class , ep-well:WellBoreTightnessType ;
rdfs:label "leaky well bore"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
owl:disjointWith ep-well:TightWellBore .
ep-well:NotHphtWellBore
rdf:type ep-well:WellBoreHphtType , owl:Class ;
rdfs:label "not high pressure high temperature well bore"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
owl:disjointWith ep-well:HphtWellBore .
ep-well:TemporalPartOfAWellBore
rdf:type owl:Class ;
rdfs:label "temporal part of a well bore"^^xsd:string ;
rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore .
ep-well:TightWellBore
rdf:type owl:Class , ep-well:WellBoreTightnessType ;
rdfs:label "tight well bore"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
owl:disjointWith ep-well:LeakyWellBore .
ep-well:Well
rdf:type owl:Class ;
rdfs:label "Well"^^xsd:string ;
......@@ -46,3 +71,13 @@ ep-well:WellBore
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
] .
ep-well:WellBoreHphtType
rdf:type rdfs:Class ;
rdfs:label "well bore high pressure high temperature type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-well:WellBoreTightnessType
rdf:type rdfs:Class ;
rdfs:label "well bore tightness type"^^xsd:string ;
rdfs:subClassOf owl:Class .
......
# Saved by TopBraid on Wed Aug 10 13:36:32 BST 2011
# Saved by TopBraid on Fri Aug 12 14:18:47 BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/core
......@@ -912,13 +912,34 @@ ep-spin-lib:selectDrillingActivityPurposeType
])
] .
ep-spin-lib:selectFixedOrMoveableRigType
rdf:type spin:Function ;
rdfs:label "select FixedOrMoveableRigType"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b20) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 "true"^^xsd:boolean
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig>
] ;
sp:variable _:b20
])
] .
ep-spin-lib:selectLabelOfSystem
rdf:type spin:Function ;
rdfs:label "select DailyDrillingReportType"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b20) ;
sp:resultVariables (_:b21) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -964,7 +985,7 @@ ep-spin-lib:selectLabelOfSystem
]
]
] ;
sp:variable _:b20
sp:variable _:b21
])
] .
......@@ -974,7 +995,7 @@ ep-spin-lib:selectPressureTestType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b21) ;
sp:resultVariables (_:b22) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:if ;
......@@ -991,7 +1012,7 @@ ep-spin-lib:selectPressureTestType
sp:arg2 <http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest>
]
] ;
sp:variable _:b21
sp:variable _:b22
])
] .
......@@ -1001,13 +1022,55 @@ ep-spin-lib:selectWellBoreDrillingType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b22) ;
sp:where ([ sp:object _:b22 ;
sp:resultVariables (_:b23) ;
sp:where ([ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mapsTo> ;
sp:subject spin:_arg1
])
] .
ep-spin-lib:selectWellBoreHphtType
rdf:type spin:Function ;
rdfs:label "select WellBoreHphtType"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b24) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 "true"^^xsd:boolean
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore>
] ;
sp:variable _:b24
])
] .
ep-spin-lib:selectWellBoreTightnessType
rdf:type spin:Function ;
rdfs:label "select WellBoreTightnessType"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b25) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 "true"^^xsd:boolean
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore>
] ;
sp:variable _:b25
])
] .
_:b1 sp:varName "uri"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
......@@ -1016,6 +1079,10 @@ _:b3 sp:varName "uri"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
......@@ -1053,14 +1120,19 @@ _:b19
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b20
sp:varName "dailyDrillingReportType"^^xsd:string .
sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b21
sp:varName "pressureTestType"^^xsd:string .
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b22
sp:varName "pressureTestType"^^xsd:string .
_:b23
sp:varName "wellBoreDrillingType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b25
sp:varName "wellBoreTightnessType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b24
sp:varName "wellBoreHphtType"^^xsd:string .
......
# Saved by TopBraid on Wed Aug 10 13:36:32 BST 2011
# Saved by TopBraid on Fri Aug 12 14:18:47 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Fri Aug 12 14:19:34 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# 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/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# 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/statusInfo#> .
@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> .
......@@ -30,9 +31,9 @@
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 122 Transfer mdDiaPilotPlan"^^xsd:string ;
rdfs:comment "STEP 109 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaPilotPlan> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b3 ;
......@@ -48,7 +49,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b6
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaPilotPlan> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b5
] [ rdf:type sp:Bind ;
sp:expression
......@@ -67,9 +68,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 120 Transfer tvdStrengthForm"^^xsd:string ;
rdfs:comment "STEP 115 Transfer diaCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdStrengthForm> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:subject _:b9
]) ;
sp:where ([ sp:object _:b10 ;
......@@ -85,7 +86,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b13
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdStrengthForm> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:subject _:b12
] [ rdf:type sp:Bind ;
sp:expression
......@@ -104,9 +105,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 105 Transfer ropCurrent"^^xsd:string ;
rdfs:comment "STEP 107 Transfer sum24Hr"^^xsd:string ;
sp:templates ([ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ropCurrent> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ;
sp:subject _:b16
]) ;
sp:where ([ sp:object _:b17 ;
......@@ -119,7 +120,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ropCurrent> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ;
sp:subject _:b19
] [ rdf:type sp:Bind ;
sp:expression
......@@ -138,9 +139,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 115 Transfer diaCsgLast"^^xsd:string ;
rdfs:comment "STEP 116 Transfer mdCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
sp:subject _:b22
]) ;
sp:where ([ sp:object _:b23 ;
......@@ -156,7 +157,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b26
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
sp:subject _:b25
] [ rdf:type sp:Bind ;
sp:expression
......@@ -175,164 +176,179 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 118 Transfer strengthForm"^^xsd:string ;
rdfs:comment "STEP 152 Transfer fixedRig"^^xsd:string ;
sp:templates ([ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#strengthForm> ;
sp:subject _:b29
sp:predicate rdf:type ;
sp:subject
[ sp:varName "rig"^^xsd:string
]
]) ;
sp:where ([ sp:object _:b30 ;
sp:where ([ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b31 ;
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b32 ;
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b29 ;
] [ sp:object
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b33
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#strengthForm> ;
sp:subject _:b32
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#fixedRig> ;
sp:subject _:b31
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b32
] [ sp:object
[ sp:varName "Rig"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b34
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b30
sp:arg1 _:b29
] ;
sp:variable _:b34
sp:variable _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b34 ;
sp:arg2 _:b31
sp:arg1 _:b35 ;
sp:arg2 _:b30
] ;
sp:variable _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
sp:arg1 _:b33
] ;
sp:variable _:b33
sp:variable _:b28
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 123 Transfer tvdDiaPilotPlan"^^xsd:string ;
sp:templates ([ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdDiaPilotPlan> ;
sp:subject _:b36
rdfs:comment "STEP 126 Transfer WellboreType"^^xsd:string ;
sp:templates ([ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreDrillingType> ;
sp:subject _:b37
]) ;
sp:where ([ sp:object _:b37 ;
sp:where ([ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b38 ;
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
] ;
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b39
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdDiaPilotPlan> ;
sp:subject
[ sp:varName "statusInfoddr"^^xsd:string
]
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumTypeWellbore> ;
sp:subject _:b40
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellBoreDrillingType ;
sp:arg1 _:b41
] ;
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b37
sp:arg1 _:b38
] ;
sp:variable _:b40
sp:variable _:b42
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b40 ;
sp:arg2 _:b38
sp:arg1 _:b42 ;
sp:arg2 _:b39
] ;
sp:variable _:b39
sp:variable _:b37
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 126 Transfer WellboreType"^^xsd:string ;
sp:templates ([ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreDrillingType> ;
sp:subject _:b42
rdfs:comment "STEP 123 Transfer tvdDiaPilotPlan"^^xsd:string ;
sp:templates ([ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdDiaPilotPlan> ;
sp:subject _:b44
]) ;
sp:where ([ sp:object _:b43 ;
sp:where ([ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b44 ;
] [ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b45 ;
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumTypeWellbore> ;
sp:subject _:b45
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellBoreDrillingType ;
sp:arg1 _:b46
] ;
sp:variable _:b41
] [ sp:object _:b44 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b47
] [ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdDiaPilotPlan> ;
sp:subject
[ sp:varName "statusInfoddr"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b43
sp:arg1 _:b45
] ;
sp:variable _:b47
sp:variable _:b48
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b47 ;
sp:arg2 _:b44
sp:arg1 _:b48 ;
sp:arg2 _:b46
] ;
sp:variable _:b42
sp:variable _:b47
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 119 Transfer mdStrengthForm"^^xsd:string ;
sp:templates ([ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdStrengthForm> ;
sp:subject _:b49
rdfs:comment "STEP 105 Transfer ropCurrent"^^xsd:string ;
sp:templates ([ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ropCurrent> ;
sp:subject _:b50
]) ;
sp:where ([ sp:object _:b50 ;
sp:where ([ sp:object _:b51 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b51 ;
] [ sp:object _:b52 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b52 ;
] [ sp:object _:b53 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ropCurrent> ;
sp:subject _:b53
] [ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdStrengthForm> ;
sp:subject _:b52
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b50
sp:arg1 _:b51
] ;
sp:variable _:b54
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b54 ;
sp:arg2 _:b51
sp:arg2 _:b52
] ;
sp:variable _:b53
sp:variable _:b50
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 107 Transfer sum24Hr"^^xsd:string ;
rdfs:comment "STEP 114 Transfer mdKickoff"^^xsd:string ;
sp:templates ([ sp:object _:b55 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdKickoff> ;
sp:subject _:b56
]) ;
sp:where ([ sp:object _:b57 ;
......@@ -344,507 +360,740 @@
] [ sp:object _:b59 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b60
] [ sp:object _:b55 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdKickoff> ;
sp:subject _:b59
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b57
] ;
sp:variable _:b60
sp:variable _:b61
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b60 ;
sp:arg1 _:b61 ;
sp:arg2 _:b58
] ;
sp:variable _:b56
sp:variable _:b60
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 106 Transfer distDrill"^^xsd:string ;
sp:templates ([ sp:object _:b61 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#distDrill> ;
sp:subject _:b62
rdfs:comment "STEP 152 Transfer tightWell"^^xsd:string ;
sp:templates ([ sp:object _:b62 ;
sp:predicate rdf:type ;
sp:subject _:b63
]) ;
sp:where ([ sp:object _:b63 ;
sp:where ([ sp:object _:b64 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b64 ;
] [ sp:object _:b65 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b65 ;
] [ sp:object _:b66 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b61 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#distDrill> ;
sp:subject _:b65
] [ sp:object _:b63 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b67
] [ sp:object _:b68 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tightWell> ;
sp:subject _:b66
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b63
sp:arg1 _:b64
] ;
sp:variable _:b66
sp:variable _:b69
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b66 ;
sp:arg2 _:b64
sp:arg1 _:b69 ;
sp:arg2 _:b65
] ;
sp:variable _:b67
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellBoreTightnessType ;
sp:arg1 _:b68
] ;
sp:variable _:b62
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 114 Transfer mdKickoff"^^xsd:string ;
sp:templates ([ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdKickoff> ;
sp:subject _:b68
rdfs:comment "STEP 108 Transfer forecast24Hr"^^xsd:string ;
sp:templates ([ sp:object _:b70 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ;
sp:subject _:b71
]) ;
sp:where ([ sp:object _:b69 ;
sp:where ([ sp:object _:b72 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b70 ;
] [ sp:object _:b73 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b71 ;
] [ sp:object _:b74 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b68 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b72
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdKickoff> ;
sp:subject _:b71
] [ sp:object _:b70 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ;
sp:subject _:b74
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b69
sp:arg1 _:b72
] ;
sp:variable _:b73
sp:variable _:b75
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b73 ;
sp:arg2 _:b70
sp:arg1 _:b75 ;
sp:arg2 _:b73
] ;
sp:variable _:b72
sp:variable _:b71
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 112 Transfer diaHole"^^xsd:string ;
sp:templates ([ sp:object _:b74 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaHole> ;
sp:subject _:b75
rdfs:comment "STEP 153 Transfer waterDepth"^^xsd:string ;
sp:templates ([ sp:object _:b76 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#waterDepth> ;
sp:subject _:b77
]) ;
sp:where ([ sp:object _:b76 ;
sp:where ([ sp:object _:b78 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b77 ;
] [ sp:object _:b79 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b78 ;
] [ sp:object _:b80 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b75 ;
] [ sp:object _:b77 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b79
] [ sp:object _:b74 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaHole> ;
sp:subject _:b78
sp:subject _:b81
] [ sp:object _:b76 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#waterDepth> ;
sp:subject _:b80
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b76
sp:arg1 _:b78
] ;
sp:variable _:b80
sp:variable _:b82
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b80 ;
sp:arg2 _:b77
sp:arg1 _:b82 ;
sp:arg2 _:b79
] ;
sp:variable _:b79
sp:variable _:b81
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 117 Transfer tvdCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b81 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdCsgLast> ;
sp:subject _:b82
rdfs:comment "STEP 106 Transfer distDrill"^^xsd:string ;
sp:templates ([ sp:object _:b83 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#distDrill> ;
sp:subject _:b84
]) ;
sp:where ([ sp:object _:b83 ;
sp:where ([ sp:object _:b85 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b84 ;
] [ sp:object _:b86 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b85 ;
] [ sp:object _:b87 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b82 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b86
] [ sp:object _:b81 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdCsgLast> ;
sp:subject _:b85
] [ sp:object _:b83 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#distDrill> ;
sp:subject _:b87
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b83
sp:arg1 _:b85
] ;
sp:variable _:b87
sp:variable _:b88
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b87 ;
sp:arg2 _:b84
sp:arg1 _:b88 ;
sp:arg2 _:b86
] ;
sp:variable _:b86
sp:variable _:b84
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 124 Transfer mdPlanned"^^xsd:string ;
sp:templates ([ sp:object _:b88 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlanned> ;
sp:subject _:b89
rdfs:comment "STEP 155 Transfer average bottom hole temperature"^^xsd:string ;
sp:templates ([ sp:object _:b89 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#avgTempBH> ;
sp:subject _:b90
]) ;
sp:where ([ sp:object _:b90 ;
sp:where ([ sp:object _:b91 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b91 ;
] [ sp:object _:b92 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
] ;
] [ sp:object _:b93 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b89 ;
] [ sp:object _:b90 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b92
] [ sp:object _:b88 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlanned> ;
sp:subject
[ sp:varName "statusInfoddr"^^xsd:string
]
sp:subject _:b94
] [ sp:object _:b89 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#avgTempBH> ;
sp:subject _:b93
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b90
sp:arg1 _:b91
] ;
sp:variable _:b93
sp:variable _:b95
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b93 ;
sp:arg2 _:b91
sp:arg1 _:b95 ;
sp:arg2 _:b92
] ;
sp:variable _:b92
sp:variable _:b94
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 109 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b94 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b95
rdfs:comment "STEP 124 Transfer mdPlanned"^^xsd:string ;
sp:templates ([ sp:object _:b96 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlanned> ;
sp:subject _:b97
]) ;
sp:where ([ sp:object _:b96 ;
sp:where ([ sp:object _:b98 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b97 ;
] [ sp:object _:b99 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b98 ;
] [ sp:object _:b100 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b95 ;
] [ sp:object _:b97 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b99
] [ sp:object _:b94 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b98
sp:subject _:b101
] [ sp:object _:b96 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlanned> ;
sp:subject _:b100
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b96
sp:arg1 _:b98
] ;
sp:variable _:b100
sp:variable _:b102
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b100 ;
sp:arg2 _:b97
sp:arg1 _:b102 ;
sp:arg2 _:b99
] ;
sp:variable _:b99
sp:variable _:b101
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 121 Transfer elevKelly"^^xsd:string ;
sp:templates ([ sp:object _:b101 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#elevKelly> ;
sp:subject _:b102
rdfs:comment "STEP 110 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b103 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b104
]) ;
sp:where ([ sp:object _:b103 ;
sp:where ([ sp:object _:b105 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b104 ;
] [ sp:object _:b106 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b105 ;
] [ sp:object _:b107 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b102 ;
] [ sp:object _:b104 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b106
] [ sp:object _:b101 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#elevKelly> ;
sp:subject _:b105
sp:subject _:b108
] [ sp:object _:b103 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b107
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b103
sp:arg1 _:b105
] ;
sp:variable _:b107
sp:variable _:b109
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b107 ;
sp:arg2 _:b104
sp:arg1 _:b109 ;
sp:arg2 _:b106
] ;
sp:variable _:b106
sp:variable _:b108
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 111 Transfer mdPlugTop"^^xsd:string ;
sp:templates ([ sp:object _:b108 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlugTop> ;
sp:subject _:b109
rdfs:comment "STEP 125 Transfer presTestType"^^xsd:string ;
sp:templates ([ sp:object _:b110 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b111
] [ sp:object _:b112 ;
sp:predicate rdf:type ;
sp:subject _:b110
]) ;
sp:where ([ sp:object _:b110 ;
sp:where ([ sp:object _:b113 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b111 ;
] [ sp:object _:b114 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b112 ;
] [ sp:object _:b115 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b109 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b113
] [ sp:object _:b108 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlugTop> ;
sp:subject _:b112
] [ sp:object _:b116 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumPresTestType> ;
sp:subject _:b115
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureTestType ;
sp:arg1 _:b116
] ;
sp:variable _:b112
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b110
sp:arg1 _:b113
] ;
sp:variable _:b114
sp:variable _:b117
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b114 ;
sp:arg2 _:b111
sp:arg1 _:b117 ;
sp:arg2 _:b114
] ;
sp:variable _:b113
sp:variable _:b111
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 108 Transfer forecast24Hr"^^xsd:string ;
sp:templates ([ sp:object _:b115 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ;
sp:subject _:b116
rdfs:comment "STEP 118 Transfer strengthForm"^^xsd:string ;
sp:templates ([ sp:object _:b118 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#strengthForm> ;
sp:subject _:b119
]) ;
sp:where ([ sp:object _:b117 ;
sp:where ([ sp:object _:b120 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b118 ;
] [ sp:object _:b121 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b119 ;
] [ sp:object _:b122 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b115 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ;
sp:subject _:b119
] [ sp:object _:b119 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b123
] [ sp:object _:b118 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#strengthForm> ;
sp:subject _:b122
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b117
sp:arg1 _:b120
] ;
sp:variable _:b120
sp:variable _:b124
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b120 ;
sp:arg2 _:b118
sp:arg1 _:b124 ;
sp:arg2 _:b121
] ;
sp:variable _:b116
sp:variable _:b123
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 113 Transfer mdDiaHoleStart"^^xsd:string ;
sp:templates ([ sp:object _:b121 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaHoleStart> ;
sp:subject _:b122
rdfs:comment "STEP 119 Transfer mdStrengthForm"^^xsd:string ;
sp:templates ([ sp:object _:b125 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdStrengthForm> ;
sp:subject _:b126
]) ;
sp:where ([ sp:object _:b123 ;
sp:where ([ sp:object _:b127 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b124 ;
] [ sp:object _:b128 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b125 ;
] [ sp:object _:b129 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b122 ;
] [ sp:object _:b126 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b126
] [ sp:object _:b121 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaHoleStart> ;
sp:subject _:b125
sp:subject _:b130
] [ sp:object _:b125 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdStrengthForm> ;
sp:subject _:b129
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b123
sp:arg1 _:b127
] ;
sp:variable _:b127
sp:variable _:b131
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b127 ;
sp:arg2 _:b124
sp:arg1 _:b131 ;
sp:arg2 _:b128
] ;
sp:variable _:b126
sp:variable _:b130
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 116 Transfer mdCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b128 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
sp:subject _:b129
rdfs:comment "STEP 112 Transfer diaHole"^^xsd:string ;
sp:templates ([ sp:object _:b132 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaHole> ;
sp:subject _:b133
]) ;
sp:where ([ sp:object _:b130 ;
sp:where ([ sp:object _:b134 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b131 ;
] [ sp:object _:b135 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b132 ;
] [ sp:object _:b136 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b129 ;
] [ sp:object _:b133 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b133
] [ sp:object _:b128 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
sp:subject _:b132
sp:subject _:b137
] [ sp:object _:b132 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaHole> ;
sp:subject _:b136
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b130
sp:arg1 _:b134
] ;
sp:variable _:b134
sp:variable _:b138
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b134 ;
sp:arg2 _:b131
sp:arg1 _:b138 ;
sp:arg2 _:b135
] ;
sp:variable _:b133
sp:variable _:b137
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 110 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b135 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b136
rdfs:comment "STEP 156 Transfer hpht Well"^^xsd:string ;
sp:templates ([ sp:object _:b139 ;
sp:predicate rdf:type ;
sp:subject _:b140
]) ;
sp:where ([ sp:object _:b137 ;
sp:where ([ sp:object _:b141 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b138 ;
] [ sp:object _:b142 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b139 ;
] [ sp:object _:b143 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b136 ;
] [ sp:object _:b140 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b140
] [ sp:object _:b135 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b139
sp:subject _:b144
] [ sp:object _:b145 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hpht> ;
sp:subject _:b143
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b137
sp:arg1 _:b141
] ;
sp:variable _:b141
sp:variable _:b146
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b141 ;
sp:arg2 _:b138
sp:arg1 _:b146 ;
sp:arg2 _:b142
] ;
sp:variable _:b140
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 125 Transfer presTestType"^^xsd:string ;
sp:templates ([ sp:object _:b142 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b143
] [ sp:object _:b144 ;
sp:predicate rdf:type ;
sp:subject _:b142
sp:variable _:b144
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellBoreHphtType ;
sp:arg1 _:b145
] ;
sp:variable _:b139
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 154 Transfer average bottom hole pressure"^^xsd:string ;
sp:templates ([ sp:object _:b147 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#avgPresBH> ;
sp:subject _:b148
]) ;
sp:where ([ sp:object _:b145 ;
sp:where ([ sp:object _:b149 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b146 ;
] [ sp:object _:b150 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b147 ;
] [ sp:object _:b151 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b148 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumPresTestType> ;
sp:subject _:b147
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b152
] [ sp:object _:b147 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#avgPresBH> ;
sp:subject _:b151
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureTestType ;
sp:arg1 _:b148
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b149
] ;
sp:variable _:b144
sp:variable _:b153
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b153 ;
sp:arg2 _:b150
] ;
sp:variable _:b152
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 117 Transfer tvdCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b154 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdCsgLast> ;
sp:subject _:b155
]) ;
sp:where ([ sp:object _:b156 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b157 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b158 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b155 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b159
] [ sp:object _:b154 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdCsgLast> ;
sp:subject _:b158
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b145
sp:arg1 _:b156
] ;
sp:variable _:b160
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b160 ;
sp:arg2 _:b157
] ;
sp:variable _:b159
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 113 Transfer mdDiaHoleStart"^^xsd:string ;
sp:templates ([ sp:object _:b161 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaHoleStart> ;
sp:subject _:b162
]) ;
sp:where ([ sp:object _:b163 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b164 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b165 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b162 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b166
] [ sp:object _:b161 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaHoleStart> ;
sp:subject _:b165
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b163
] ;
sp:variable _:b167
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b167 ;
sp:arg2 _:b164
] ;
sp:variable _:b166
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 121 Transfer elevKelly"^^xsd:string ;
sp:templates ([ sp:object _:b168 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#elevKelly> ;
sp:subject _:b169
]) ;
sp:where ([ sp:object _:b170 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b171 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b172 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b169 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b173
] [ sp:object _:b168 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#elevKelly> ;
sp:subject _:b172
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b170
] ;
sp:variable _:b174
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b174 ;
sp:arg2 _:b171
] ;
sp:variable _:b173
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 120 Transfer tvdStrengthForm"^^xsd:string ;
sp:templates ([ sp:object _:b175 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdStrengthForm> ;
sp:subject _:b176
]) ;
sp:where ([ sp:object _:b177 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b178 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b179 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b176 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b180
] [ sp:object _:b175 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdStrengthForm> ;
sp:subject _:b179
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b177
] ;
sp:variable _:b181
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b181 ;
sp:arg2 _:b178
] ;
sp:variable _:b180
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 111 Transfer mdPlugTop"^^xsd:string ;
sp:templates ([ sp:object _:b182 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlugTop> ;
sp:subject _:b183
]) ;
sp:where ([ sp:object _:b184 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b185 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b186 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b183 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b187
] [ sp:object _:b182 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlugTop> ;
sp:subject _:b186
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b184
] ;
sp:variable _:b188
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b188 ;
sp:arg2 _:b185
] ;
sp:variable _:b187
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 122 Transfer mdDiaPilotPlan"^^xsd:string ;
sp:templates ([ sp:object _:b189 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaPilotPlan> ;
sp:subject _:b190
]) ;
sp:where ([ sp:object _:b191 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b192 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b193 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b190 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b194
] [ sp:object _:b189 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaPilotPlan> ;
sp:subject _:b193
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b191
] ;
sp:variable _:b149
sp:variable _:b195
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b149 ;
sp:arg2 _:b146
sp:arg1 _:b195 ;
sp:arg2 _:b192
] ;
sp:variable _:b143
sp:variable _:b194
])
] .
......@@ -853,437 +1102,575 @@
owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b41
sp:varName "wellBoreDrillingType"^^xsd:string .
_:b70
sp:varName "forecast24Hr"^^xsd:string .
_:b42
_:b71
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b43
_:b72
sp:varName "nameWellBore"^^xsd:string .
_:b44
_:b73
sp:varName "dTimStart"^^xsd:string .
_:b45
_:b74
sp:varName "statusInfo"^^xsd:string .
_:b46
sp:varName "typeWellBore"^^xsd:string .
_:b47
_:b75
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b143
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b154
sp:varName "tvdCsgLast"^^xsd:string .
_:b144
sp:varName "pressureTestType"^^xsd:string .
_:b155
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b145
_:b156
sp:varName "nameWellBore"^^xsd:string .
_:b146
_:b157
sp:varName "dTimStart"^^xsd:string .
_:b147
_:b158
sp:varName "statusInfo"^^xsd:string .
_:b148
sp:varName "presTestType"^^xsd:string .
_:b159
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b149
_:b160
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b88
sp:varName "mdPlanned"^^xsd:string .
_:b8 sp:varName "diaCsgLast"^^xsd:string .
_:b89
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b9 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b90
_:b10
sp:varName "nameWellBore"^^xsd:string .
_:b91
_:b11
sp:varName "dTimStart"^^xsd:string .
_:b92
_:b12
sp:varName "statusInfo"^^xsd:string .
_:b13
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b93
_:b14
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b61
sp:varName "distDrill"^^xsd:string .
_:b49
sp:varName "ropCurrentValue"^^xsd:string .
_:b62
_:b50
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b63
_:b51
sp:varName "nameWellBore"^^xsd:string .
_:b64
_:b52
sp:varName "dTimStart"^^xsd:string .
_:b65
_:b53
sp:varName "statusInfo"^^xsd:string .
_:b66
_:b54
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b94
sp:varName "md"^^xsd:string .
_:b43
sp:varName "tvdDiaPilotPlan"^^xsd:string .
_:b95
_:b44
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b96
_:b45
sp:varName "nameWellBore"^^xsd:string .
_:b97
_:b46
sp:varName "dTimStart"^^xsd:string .
_:b98
sp:varName "statusInfo"^^xsd:string .
_:b99
_:b47
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b100
_:b48
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b121
sp:varName "mdDiaHoleStart"^^xsd:string .
_:b21
sp:varName "mdCsgLast"^^xsd:string .
_:b122
_:b22
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b123
_:b23
sp:varName "nameWellBore"^^xsd:string .
_:b124
_:b24
sp:varName "dTimStart"^^xsd:string .
_:b125
_:b25
sp:varName "statusInfo"^^xsd:string .
_:b126
_:b26
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b127
_:b27
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b81
sp:varName "tvdCsgLast"^^xsd:string .
_:b161
sp:varName "mdDiaHoleStart"^^xsd:string .
_:b82
_:b162
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b83
_:b163
sp:varName "nameWellBore"^^xsd:string .
_:b84
_:b164
sp:varName "dTimStart"^^xsd:string .
_:b85
_:b165
sp:varName "statusInfo"^^xsd:string .
_:b86
_:b166
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b87
_:b167
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b135
sp:varName "tvd"^^xsd:string .
_:b175
sp:varName "tvdStrengthForm"^^xsd:string .
_:b136
_:b176
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b137
_:b177
sp:varName "nameWellBore"^^xsd:string .
_:b138
_:b178
sp:varName "dTimStart"^^xsd:string .
_:b139
_:b179
sp:varName "statusInfo"^^xsd:string .
_:b140
_:b180
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b141
_:b181
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "mdDiaPilotPlan"^^xsd:string .
_:b83
sp:varName "distDrill"^^xsd:string .
_:b2 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b84
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b85
sp:varName "nameWellBore"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b139
sp:varName "hphtType"^^xsd:string .
_:b5 sp:varName "statusInfo"^^xsd:string .
_:b146
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b6 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b145
sp:varName "hphtFlag"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b140
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b67
sp:varName "mdKickoff"^^xsd:string .
_:b144
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b68
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b143
sp:varName "statusInfo"^^xsd:string .
_:b69
_:b142
sp:varName "dTimStart"^^xsd:string .
_:b141
sp:varName "nameWellBore"^^xsd:string .
_:b70
sp:varName "dTimStart"^^xsd:string .
_:b95
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b71
sp:varName "statusInfo"^^xsd:string .
_:b89
sp:varName "avgTempBH"^^xsd:string .
_:b72
_:b90
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b94
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b73
_:b93
sp:varName "statusInfo"^^xsd:string .
_:b92
sp:varName "dTimStart"^^xsd:string .
_:b91
sp:varName "nameWellBore"^^xsd:string .
_:b153
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b101
sp:varName "elevKelly"^^xsd:string .
_:b147
sp:varName "avgPresBH"^^xsd:string .
_:b102
_:b148
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b103
sp:varName "nameWellBore"^^xsd:string .
_:b104
sp:varName "dTimStart"^^xsd:string .
_:b152
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b105
_:b151
sp:varName "statusInfo"^^xsd:string .
_:b106
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b150
sp:varName "dTimStart"^^xsd:string .
_:b107
_:b149
sp:varName "nameWellBore"^^xsd:string .
_:b102
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b55
sp:varName "sum24Hr"^^xsd:string .
_:b96
sp:varName "mdPlanned"^^xsd:string .
_:b56
_:b97
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b101
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b57
sp:varName "nameWellBore"^^xsd:string .
_:b100
sp:varName "statusInfo"^^xsd:string .
_:b58
_:b99
sp:varName "dTimStart"^^xsd:string .
_:b59
sp:varName "statusInfo"^^xsd:string .
_:b98
sp:varName "nameWellBore"^^xsd:string .
_:b60
_:b82
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b28
sp:varName "strengthForm"^^xsd:string .
_:b76
sp:varName "waterDepth"^^xsd:string .
_:b29
_:b77
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b30
sp:varName "nameWellBore"^^xsd:string .
_:b81
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b31
_:b80
sp:varName "statusInfo"^^xsd:string .
_:b79
sp:varName "dTimStart"^^xsd:string .
_:b32
_:b78
sp:varName "nameWellBore"^^xsd:string .
_:b42
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b41
sp:varName "typeWellBore"^^xsd:string .
_:b40
sp:varName "statusInfo"^^xsd:string .
_:b33
_:b39
sp:varName "dTimStart"^^xsd:string .
_:b38
sp:varName "nameWellBore"^^xsd:string .
_:b37
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b34
_:b36
sp:varName "wellBoreDrillingType"^^xsd:string .
_:b69
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b48
sp:varName "mdStrengthForm"^^xsd:string .
_:b68
sp:varName "tightWellFlag"^^xsd:string .
_:b49
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b67
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b50
sp:varName "nameWellBore"^^xsd:string .
_:b66
sp:varName "statusInfo"^^xsd:string .
_:b51
_:b65
sp:varName "dTimStart"^^xsd:string .
_:b52
sp:varName "statusInfo"^^xsd:string .
_:b64
sp:varName "nameWellBore"^^xsd:string .
_:b53
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b63
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b54
_:b62
sp:varName "wellBoreTightnessType"^^xsd:string .
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b128
sp:varName "mdCsgLast"^^xsd:string .
_:b34
sp:varName "temporalPartOfARig"^^xsd:string .
_:b129
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b33
sp:varName "fixedRigFlag"^^xsd:string .
_:b130
sp:varName "nameWellBore"^^xsd:string .
_:b32
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b131
_:b31
sp:varName "statusInfo"^^xsd:string .
_:b30
sp:varName "dTimStart"^^xsd:string .
_:b132
sp:varName "statusInfo"^^xsd:string .
_:b29
sp:varName "nameWellBore"^^xsd:string .
_:b133
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b28
sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b134
_:b131
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b15
sp:varName "ropCurrentValue"^^xsd:string .
_:b16
_:b130
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b17
sp:varName "nameWellBore"^^xsd:string .
_:b129
sp:varName "statusInfo"^^xsd:string .
_:b18
_:b128
sp:varName "dTimStart"^^xsd:string .
_:b19
sp:varName "statusInfo"^^xsd:string .
_:b127
sp:varName "nameWellBore"^^xsd:string .
_:b20
_:b126
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b125
sp:varName "mdStrengthForm"^^xsd:string .
_:b109
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b8 sp:varName "tvdStrengthForm"^^xsd:string .
_:b108
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b9 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b107
sp:varName "statusInfo"^^xsd:string .
_:b10
_:b106
sp:varName "dTimStart"^^xsd:string .
_:b105
sp:varName "nameWellBore"^^xsd:string .
_:b11
sp:varName "dTimStart"^^xsd:string .
_:b104
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b12
sp:varName "statusInfo"^^xsd:string .
_:b103
sp:varName "tvd"^^xsd:string .
_:b13
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b14
_:b6 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b5 sp:varName "statusInfo"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b2 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b1 sp:varName "md"^^xsd:string .
_:b117
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b35
sp:varName "tvdDiaPilotPlan"^^xsd:string .
_:b116
sp:varName "presTestType"^^xsd:string .
_:b36
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b115
sp:varName "statusInfo"^^xsd:string .
_:b37
_:b114
sp:varName "dTimStart"^^xsd:string .
_:b113
sp:varName "nameWellBore"^^xsd:string .
_:b38
sp:varName "dTimStart"^^xsd:string .
_:b112
sp:varName "pressureTestType"^^xsd:string .
_:b39
_:b111
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b40
_:b20
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b21
sp:varName "diaCsgLast"^^xsd:string .
_:b19
sp:varName "statusInfo"^^xsd:string .
_:b22
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b18
sp:varName "dTimStart"^^xsd:string .
_:b23
_:b17
sp:varName "nameWellBore"^^xsd:string .
_:b24
sp:varName "dTimStart"^^xsd:string .
_:b16
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b25
sp:varName "statusInfo"^^xsd:string .
_:b15
sp:varName "sum24Hr"^^xsd:string .
_:b26
_:b138
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b137
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b27
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b136
sp:varName "statusInfo"^^xsd:string .
_:b74
sp:varName "diaHole"^^xsd:string .
_:b135
sp:varName "dTimStart"^^xsd:string .
_:b75
_:b134
sp:varName "nameWellBore"^^xsd:string .
_:b133
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b76
sp:varName "nameWellBore"^^xsd:string .
_:b132
sp:varName "diaHole"^^xsd:string .
_:b77
sp:varName "dTimStart"^^xsd:string .
_:b188
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b78
_:b187
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b186
sp:varName "statusInfo"^^xsd:string .
_:b79
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b185
sp:varName "dTimStart"^^xsd:string .
_:b80
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b184
sp:varName "nameWellBore"^^xsd:string .
_:b115
sp:varName "forecast24Hr"^^xsd:string .
_:b183
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b116
_:b182
sp:varName "mdPlugTop"^^xsd:string .
_:b61
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b60
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b117
sp:varName "nameWellBore"^^xsd:string .
_:b59
sp:varName "statusInfo"^^xsd:string .
_:b118
_:b58
sp:varName "dTimStart"^^xsd:string .
_:b119
sp:varName "statusInfo"^^xsd:string .
_:b57
sp:varName "nameWellBore"^^xsd:string .
_:b120
_:b56
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b55
sp:varName "mdKickoff"^^xsd:string .
_:b195
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b108
sp:varName "mdPlugTop"^^xsd:string .
_:b194
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b109
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b193
sp:varName "statusInfo"^^xsd:string .
_:b192
sp:varName "dTimStart"^^xsd:string .
_:b110
_:b191
sp:varName "nameWellBore"^^xsd:string .
_:b111
sp:varName "dTimStart"^^xsd:string .
_:b190
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b112
_:b189
sp:varName "mdDiaPilotPlan"^^xsd:string .
_:b174
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b173
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b172
sp:varName "statusInfo"^^xsd:string .
_:b113
_:b171
sp:varName "dTimStart"^^xsd:string .
_:b170
sp:varName "nameWellBore"^^xsd:string .
_:b169
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b168
sp:varName "elevKelly"^^xsd:string .
_:b124
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b123
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b114
_:b122
sp:varName "statusInfo"^^xsd:string .
_:b121
sp:varName "dTimStart"^^xsd:string .
_:b120
sp:varName "nameWellBore"^^xsd:string .
_:b119
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b118
sp:varName "strengthForm"^^xsd:string .
_:b88
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b87
sp:varName "statusInfo"^^xsd:string .
_:b86
sp:varName "dTimStart"^^xsd:string .
......
# Saved by TopBraid on Wed Aug 10 14:05:00 BST 2011
# Saved by TopBraid on Fri Aug 12 13:54:21 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> .
@prefix arg: <http://spinrdf.org/arg#> .
@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#> .
@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#> .
@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
......@@ -19,9 +21,9 @@
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 161 Set name for Rig"^^xsd:string ;
rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#npdName> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b3 ;
......@@ -33,34 +35,114 @@
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b7
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b6
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
] ;
sp:variable _:b8
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b8 ;
sp:arg2 _:b4
] ;
sp:variable _:b7
])
] ;
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
]) ;
sp:where ([ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
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
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b11
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b16 ;
sp:arg2 _:b12
] ;
sp:variable _:b15
])
] ;
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
]) ;
sp:where ([ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
sp:subject _:b5
] [ sp:object _:b1 ;
sp:subject _:b21
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:subject _:b6
sp:subject _:b22
] [ sp:object "NPD Name" ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:subject _:b22
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b8
] [ sp:object _:b2 ;
sp:subject _:b24
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b7
sp:subject _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
sp:arg1 _:b19
] ;
sp:variable _:b9
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b4
sp:arg1 _:b25 ;
sp:arg2 _:b20
] ;
sp:variable _:b8
sp:variable _:b24
])
] ;
spin:rule
......@@ -68,74 +150,212 @@
rdfs:comment "STEP 160 Set rig for drilling activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfARig> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b10 ;
sp:subject _:b26
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b11
sp:subject _:b27
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Rig> ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object _:b13 ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#npdCode> ;
sp:subject _:b12
] [ sp:object _:b12 ;
sp:subject _:b28
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b10
sp:subject _:b26
]) ;
sp:where ([ sp:object _:b14 ;
sp:where ([ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b15 ;
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b16 ;
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b17 ;
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b18 ;
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
sp:subject _:b17
sp:subject _:b33
] [ sp:object "NPD Code" ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
sp:subject _:b18
] [ sp:object _:b13 ;
sp:subject _:b34
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:subject _:b18
sp:subject _:b34
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b14
sp:arg1 _:b30
] ;
sp:variable _:b19
sp:variable _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b13
sp:arg1 _:b29
] ;
sp:variable _:b20
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b19 ;
sp:arg2 _:b15
sp:arg1 _:b35 ;
sp:arg2 _:b31
] ;
sp:variable _:b11
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildRigURI ;
sp:arg1 _:b20
sp:arg1 _:b36
] ;
sp:variable _:b12
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfARigURI ;
sp:arg1 _:b20 ;
sp:arg2 _:b15 ;
sp:arg3 _:b16
sp:arg1 _:b36 ;
sp:arg2 _:b31 ;
sp:arg3 _:b32
] ;
sp:variable _:b26
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingOperator> ;
sp:subject _:b38
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b37
]) ;
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#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#operator> ;
sp:subject _:b42
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b40
] ;
sp:variable _:b43
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b43 ;
sp:arg2 _:b41
] ;
sp:variable _:b38
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b39
] ;
sp:variable _:b44
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id _:b44
] ;
sp:variable _:b37
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingContractor> ;
sp:subject _:b46
] [ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b45
]) ;
sp:where ([ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#drillContractor> ;
sp:subject _:b50
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b48
] ;
sp:variable _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b51 ;
sp:arg2 _:b49
] ;
sp:variable _:b46
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b47
] ;
sp:variable _:b10
sp:variable _:b52
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id _:b52
] ;
sp:variable _:b45
])
] ;
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
]) ;
sp:where ([ sp:object _:b55 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
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
] [ 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:buildDailyDrillingActivityURI ;
sp:arg1 _:b60 ;
sp:arg2 _:b56
] ;
sp:variable _:b59
])
] .
......@@ -144,46 +364,168 @@
owl:imports <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 .
[] rdf:type smf:regex .
_:b45
sp:varName "contractor"^^xsd:string .
[] rdf:type smf:trim .
_:b46
sp:varName "dailyDrillingActivity"^^xsd:string .
[] rdf:type fn:starts-with .
_:b47
sp:varName "nameContractor"^^xsd:string .
[] rdf:type sp:Modify .
_:b48
sp:varName "nameWellBore"^^xsd:string .
_:b14
_:b49
sp:varName "dTimStart"^^xsd:string .
_:b50
sp:varName "wellboreInfo"^^xsd:string .
_:b51
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b52
sp:varName "normalizedContractorName"^^xsd:string .
_:b37
sp:varName "operator"^^xsd:string .
_:b38
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b39
sp:varName "nameOperator"^^xsd:string .
_:b40
sp:varName "nameWellBore"^^xsd:string .
_:b15
_:b41
sp:varName "dTimStart"^^xsd:string .
_:b16
_:b42
sp:varName "wellboreInfo"^^xsd:string .
_:b43
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b44
sp:varName "normalizedOperatorName"^^xsd:string .
_:b26
sp:varName "temporalPartOfARig"^^xsd:string .
_:b27
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b28
sp:varName "rig"^^xsd:string .
_:b29
sp:varName "nameRig"^^xsd:string .
_:b30
sp:varName "nameWellBore"^^xsd:string .
_:b31
sp:varName "dTimStart"^^xsd:string .
_:b32
sp:varName "dTimEnd"^^xsd:string .
_:b17
_:b33
sp:varName "wellboreInfo"^^xsd:string .
_:b18
_:b34
sp:varName "rigAlias"^^xsd:string .
_:b13
sp:varName "nameRig"^^xsd:string .
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b36
sp:varName "normalizedRigName"^^xsd:string .
_:b17
sp:varName "name"^^xsd:string .
_:b18
sp:varName "rig"^^xsd:string .
_:b19
sp:varName "normalizedWellBoreName"^^xsd:string .
sp:varName "nameWellBore"^^xsd:string .
_:b20
sp:varName "normalizedRigName"^^xsd:string .
sp:varName "dTimStart"^^xsd:string .
_:b11
_:b21
sp:varName "wellboreInfo"^^xsd:string .
_:b22
sp:varName "rigAlias"^^xsd:string .
_:b23
sp:varName "temporalPartOfARig"^^xsd:string .
_:b24
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b25
sp:varName "normalizedWellBoreName"^^xsd:string .
[] rdf:type sp:Modify .
[] rdf:type fn:starts-with .
[] rdf:type smf:trim .
[] rdf:type smf:regex .
_:b55
sp:varName "nameWellBore"^^xsd:string .
_:b56
sp:varName "dTimStart"^^xsd:string .
_:b57
sp:varName "wellboreInfo"^^xsd:string .
_:b53
sp:varName "spudDate"^^xsd:string .
_:b59
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b58
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b54
sp:varName "wellBore"^^xsd:string .
_:b60
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b11
sp:varName "nameWellBore"^^xsd:string .
_:b12
sp:varName "rig"^^xsd:string .
sp:varName "dTimStart"^^xsd:string .
_:b13
sp:varName "wellboreInfo"^^xsd:string .
_:b9 sp:varName "preSpudDate"^^xsd:string .
_:b15
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b14
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b10
sp:varName "temporalPartOfARig"^^xsd:string .
sp:varName "wellBore"^^xsd:string .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
......@@ -191,22 +533,20 @@ _:b4 sp:varName "dTimStart"^^xsd:string .
_:b5 sp:varName "wellboreInfo"^^xsd:string .
_:b6 sp:varName "rigAlias"^^xsd:string .
_:b1 sp:varName "dateDrillComplete"^^xsd:string .
_:b1 sp:varName "name"^^xsd:string .
_:b7 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b8 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b6 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b7 sp:varName "temporalPartOfARig"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b2 sp:varName "rig"^^xsd:string .
_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
([]) .
([] [] [ rdf:type sp:Filter
] [ rdf:type sp:Bind
]) .
([]) .
([]) .
......