David Leal

drilling activity purpose ontology added

# Saved by TopBraid on Mon Aug 08 14:59:50 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)#> .
@prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.1/activity-purpose#> .
@prefix ep-activity-purpose: <http://www.reportinghub.no/ep/schema/1.1/SCHEMA_EP-ACTIVITY-PURPOSE-(v1.1)#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix p2: <http://example.org/file2#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#ActivityCodeNPD>
spin:rule
[ rdf:type sp:Construct ;
sp:templates ([ sp:object activity-purpose:DailyDrillingActivityPurposeType ;
sp:predicate rdf:type ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b2 ;
sp:predicate rdfs:label ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityPurposeTypeURI ;
sp:arg1 _:b2
] ;
sp:variable _:b1
])
] .
<http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.1/activity-purpose> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b1 sp:varName "dailyDrillingActivityPurposeType"^^xsd:string .
_:b2 sp:varName "label"^^xsd:string .
# Saved by TopBraid on Mon Aug 08 14:59:50 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 Mon Aug 08 15:10:22 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://purl.org/dc/elements/1.1/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://spinrdf.org/spin
# imports: http://purl.org/dc/terms/
@prefix : <http://www.reportinghub.no/ep/schema/1.1/activity-purpose#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.1/activity-purpose>
rdf:type owl:Ontology ;
owl:imports <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://www.w3.org/2004/02/skos/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
:DailyDrillingActivityPurposeType
rdf:type rdfs:Class ;
rdfs:label "daily drilling activity purpose type"^^xsd:string ;
rdfs:subClassOf owl:Class .
:Completion--bopwellheadequipment
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--completionstring
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--flow
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--hydraulicworkover
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--perforate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--sandcontrol
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--stimulate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--testscsssv
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--wireline
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--bopactivities
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--bopwellheadequipment
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--casing
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--drill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--drive
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--holeopen
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--pressuredetection
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--ream
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--survey
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--trip
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--underream
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--circulationsamples
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--core
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--drillstemtest
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--log
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--productiontest
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--rftfit
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--trip
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--fish
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--lostcirculation
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--maintain
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--repair
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--sidetrack
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--waitingonweather
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--wellcontrol
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--anchor
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--jack
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--position
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--skid
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--transit
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--cementplug
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--cut
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--equipmentrecovery
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--mechanicalplug
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--perforate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--squeeze
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--trip
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--bopwellheadequipment
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--completionstring
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--flow
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--hydraulicworkover
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--perforate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--sandcontrol
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--stimulate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--testscsssv
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--wireline
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
# Saved by TopBraid on Mon Aug 08 15:10:22 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 Mon Aug 08 17:04:22 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
# imports: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/equipment
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/well
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/activity#> .
@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 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#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 130 Transfer proprietaryCode"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate rdf:type ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:subject spin:_this
] [ sp:object _:b5 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b4
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b4
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumProprietaryCode> ;
sp:subject _:b4
] [ 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:buildPartActivityURI ;
sp:arg1 _:b8 ;
sp:arg2 _:b6 ;
sp:arg3 _:b5
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ;
sp:arg1 _:b7
] ;
sp:variable _:b1
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
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#activity> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b12
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b12
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b12
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b15
] [ 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:buildPartActivityURI ;
sp:arg1 _:b16 ;
sp:arg2 _:b14 ;
sp:arg3 _:b13
] ;
sp:variable _:b15
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
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#activity> ;
sp:subject spin:_this
] [ sp:object _:b21 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b20
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b20
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b20
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b19
] ;
sp:variable _:b24
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b24 ;
sp:arg2 _:b22 ;
sp:arg3 _:b21
] ;
sp:variable _:b23
])
] ;
spin:rule
[ rdf:type sp:Construct ;
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 _:b25
] [ sp:object _:b25 ;
sp:predicate iso15926:hasPart ;
sp:subject _:b26
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b25
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b25
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b29
] [ sp:object _:b30 ;
sp:predicate iso15926:temporalPartOf ;
sp:subject _:b29
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b25
]) ;
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#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:subject spin:_this
] [ sp:object _:b34 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b33
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b33
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b33
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b31
] ;
sp:variable _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b35 ;
sp:arg2 _:b27 ;
sp:arg3 _:b34
] ;
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreURI ;
sp:arg1 _:b35
] ;
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b35 ;
sp:arg2 _:b32
] ;
sp:variable _:b26
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b35 ;
sp:arg2 _:b27 ;
sp:arg3 _:b28
] ;
sp:variable _:b29
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.1/activity-purpose> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b4 sp:varName "activity"^^xsd:string .
_:b5 sp:varName "index"^^xsd:string .
_:b6 sp:varName "dTimStartPart"^^xsd:string .
_:b7 sp:varName "proprietaryCode"^^xsd:string .
_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b2 sp:varName "partActivity"^^xsd:string .
_:b1 sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b17
sp:varName "md"^^xsd:string .
_:b18
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b19
sp:varName "nameWellBore"^^xsd:string .
_:b20
sp:varName "activity"^^xsd:string .
_:b21
sp:varName "index"^^xsd:string .
_:b22
sp:varName "dTimStartPart"^^xsd:string .
_:b23
sp:varName "partActivity"^^xsd:string .
_:b24
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b9 sp:varName "tvd"^^xsd:string .
_:b10
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b11
sp:varName "nameWellBore"^^xsd:string .
_:b12
sp:varName "activity"^^xsd:string .
_:b13
sp:varName "index"^^xsd:string .
_:b14
sp:varName "dTimStartPart"^^xsd:string .
_:b15
sp:varName "partActivity"^^xsd:string .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "partActivity"^^xsd:string .
_:b26
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b27
sp:varName "dTimStartPart"^^xsd:string .
_:b28
sp:varName "dTimEndPart"^^xsd:string .
_:b29
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b30
sp:varName "wellBore"^^xsd:string .
_:b31
sp:varName "nameWellBore"^^xsd:string .
_:b32
sp:varName "dTimStart"^^xsd:string .
_:b33
sp:varName "activity"^^xsd:string .
_:b34
sp:varName "index"^^xsd:string .
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .