David Leal

Extended the transforms for equipment failure, lithography, LogInfo and pore pressure.

Showing 23 changed files with 3998 additions and 964 deletions
File mode changed
# Saved by TopBraid on Tue Aug 16 11:17:28 BST 2011
# Saved by TopBraid on Wed Aug 17 16:00:46 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/organization
......@@ -183,6 +183,11 @@ ep-activity:DrillingActivityOutcomeType
rdfs:label "drilling activity outcome type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-activity:EquipmentFailureAndRepair
rdf:type owl:Class ;
rdfs:label "equipment failure and repair"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:FailedActivity
rdf:type ep-activity:ActivitySuccessType , owl:Class ;
rdfs:label "failed activity"^^xsd:string ;
......@@ -206,6 +211,11 @@ ep-activity:LeakOffTest
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:FormationIntegrityTest .
ep-activity:LithologyAndShowsObservation
rdf:type owl:Class ;
rdfs:label "lithology and shows observation"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:MonthlyDrillingActivity
rdf:type owl:Class ;
rdfs:label "Weekly drilling activity"^^xsd:string ;
......@@ -251,6 +261,28 @@ ep-activity:OffshoreWellActivity
owl:onProperty ep-activity:onWell
] .
ep-activity:PorePressureDetermination
rdf:type owl:Class ;
rdfs:label "pore pressure determination"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:PorePressureDeterminationType
rdf:type rdfs:Class ;
rdfs:label "pore pressure determination type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-activity:PorePressureEstimation
rdf:type owl:Class , ep-activity:PorePressureDeterminationType ;
rdfs:label "pore pressure estimation"^^xsd:string ;
rdfs:subClassOf ep-activity:PorePressureDetermination ;
owl:disjointWith ep-activity:PorePressureMeasurement .
ep-activity:PorePressureMeasurement
rdf:type owl:Class , ep-activity:PorePressureDeterminationType ;
rdfs:label "pore pressure measurement"^^xsd:string ;
rdfs:subClassOf ep-activity:PorePressureDetermination ;
owl:disjointWith ep-activity:PorePressureEstimation .
ep-activity:PressureTestType
rdf:type rdfs:Class ;
rdfs:label "pressure test type"^^xsd:string ;
......@@ -297,6 +329,11 @@ ep-activity:WellBoreDrillingType
rdfs:label "well bore drilling type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-activity:WellBoreLog
rdf:type owl:Class ;
rdfs:label "well bore log"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:WellBorePressureTest
rdf:type owl:Class ;
rdfs:label "well bore pressure test"^^xsd:string ;
......@@ -319,6 +356,12 @@ ep-activity:drillingOperator
rdfs:label "drilling operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-activity:failedEquipment
rdf:type owl:ObjectProperty ;
rdfs:domain ep-activity:EquipmentFailureAndRepair ;
rdfs:label "failed equipment"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> .
ep-activity:finishedAt
rdf:type owl:DatatypeProperty ;
rdfs:label "finished at"^^xsd:string ;
......@@ -344,6 +387,12 @@ ep-activity:reportOn
rdf:type owl:ObjectProperty ;
rdfs:label "report on"^^xsd:string .
ep-activity:serviceCompany
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:Activity ;
rdfs:label "service company"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-activity:startedAt
rdf:type owl:DatatypeProperty ;
rdfs:label "started at"^^xsd:string ;
......@@ -355,3 +404,9 @@ ep-activity:wellBoreDrillingType
rdfs:label "has sub activity"^^xsd:string ;
rdfs:range ep-activity:WellBoreDrillingType ;
rdfs:subPropertyOf rdf:type .
ep-activity:wellBoreLoggingTool
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellBoreLog ;
rdfs:label "well bore logging tool"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> .
......
# Saved by TopBraid on Sun Aug 14 20:47:54 BST 2011
# Saved by TopBraid on Tue Aug 16 14:43:21 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/drilling-equipment-type
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://purl.org/dc/elements/1.1/
......@@ -17,394 +17,399 @@
<http://www.reportinghub.no/ep/schema/drilling-equipment-type>
rdf:type owl:Ontology ;
owl:imports dc: , <http://purl.org/dc/terms/> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.w3.org/2004/02/skos/core> ;
owl:imports <http://www.w3.org/2004/02/skos/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://purl.org/dc/terms/> , dc: ;
owl:versionInfo "0.1.0"^^xsd:string .
:DrillingEquipment
rdf:type owl:Class ;
rdfs:label "drilling equipment"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
:DrillingEquipmentType
rdf:type rdfs:Class ;
rdfs:label "drilling equipment type"^^xsd:string ;
rdfs:subClassOf owl:Class .
:drillfloor--drawworks
:Drillfloor--drawworks
rdf:type :DrillingEquipmentType ;
rdfs:label "drillfloor--drawworks"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined as drilling drawworks equipment on a drilling rig."^^xsd:string .
:drillfloor--drillingcontrol
:Drillfloor--drillingcontrol
rdf:type :DrillingEquipmentType ;
rdfs:label "drillfloor--drillingcontrol"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined as drilling control equipment on a drilling rig."^^xsd:string .
:drillfloor--hpairsyst
:Drillfloor--hpairsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "drillfloor--hpairsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined as high pressure air system equipment on a drilling rig."^^xsd:string .
:drillfloor--other
:Drillfloor--other
rdf:type :DrillingEquipmentType ;
rdfs:label "drillfloor--other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be other drillfloor equipment on a drilling rig."^^xsd:string .
:drillfloor--rotarytable
:Drillfloor--rotarytable
rdf:type :DrillingEquipmentType ;
rdfs:label "drillfloor--rotarytable"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined as rotary table equipment on a drilling rig."^^xsd:string .
:drillfloor--tensioningsyst
:Drillfloor--tensioningsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "drillfloor--tensioningsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined as tensioning system equipment on a drilling rig."^^xsd:string .
:drillfloor--wirelines
:Drillfloor--wirelines
rdf:type :DrillingEquipmentType ;
rdfs:label "drillfloor--wirelines"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined as wireline equipment on a drilling rig."^^xsd:string .
:drillstringdownhole--downholedrillingtools
:Drillstringdownhole--downholedrillingtools
rdf:type :DrillingEquipmentType ;
rdfs:label "drillstringdownhole--downholedrillingtools"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be downhole drilling tool equipment on a drilling rig."^^xsd:string .
:drillstringdownhole--drillcollars
:Drillstringdownhole--drillcollars
rdf:type :DrillingEquipmentType ;
rdfs:label "drillstringdownhole--drillcollars"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be drill colar equipment on a drilling rig."^^xsd:string .
:drillstringdownhole--drillpipes
:Drillstringdownhole--drillpipes
rdf:type :DrillingEquipmentType ;
rdfs:label "drillstringdownhole--drillpipes"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be drillpipe equipment on a drilling rig."^^xsd:string .
:drillstringdownhole--fishingtools
:Drillstringdownhole--fishingtools
rdf:type :DrillingEquipmentType ;
rdfs:label "drillstringdownhole--fishingtools"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be fishing tool equipment on a drilling rig."^^xsd:string .
:drillstringdownhole--miscdrillstringequ
:Drillstringdownhole--miscdrillstringequ
rdf:type :DrillingEquipmentType ;
rdfs:label "drillstringdownhole--miscdrillstringequ"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be miscellaneous drillstring equipment on a drilling rig."^^xsd:string .
:drillstringdownhole--other
:Drillstringdownhole--other
rdf:type :DrillingEquipmentType ;
rdfs:label "drillstringdownhole--other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be other drillstring and downhole equipment on a drilling rig."^^xsd:string .
:drillstringdownhole--stabilizer
:Drillstringdownhole--stabilizer
rdf:type :DrillingEquipmentType ;
rdfs:label "drillstringdownhole--stabilizer"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be stabilizer equipment on a drilling rig."^^xsd:string .
:drillstringdownhole--subsandliftplugs
:Drillstringdownhole--subsandliftplugs
rdf:type :DrillingEquipmentType ;
rdfs:label "drillstringdownhole--subsandliftplugs"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be sub and lift plug equipment on a drilling rig."^^xsd:string .
:hoistingequ--crownblock
:Hoistingequ--crownblock
rdf:type :DrillingEquipmentType ;
rdfs:label "hoistingequ--crownblock"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined as crown block equipment on a drilling rig."^^xsd:string .
:hoistingequ--derrickstructure
:Hoistingequ--derrickstructure
rdf:type :DrillingEquipmentType ;
rdfs:label "hoistingequ--derrickstructure"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be derrick structure equipment on a drilling rig."^^xsd:string .
:hoistingequ--heavecompensator
:Hoistingequ--heavecompensator
rdf:type :DrillingEquipmentType ;
rdfs:label "hoistingequ--heavecompensator"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be heave compensator equipment on a drilling rig."^^xsd:string .
:hoistingequ--other
:Hoistingequ--other
rdf:type :DrillingEquipmentType ;
rdfs:label "hoistingequ--other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be other hoisting equipment on a drilling rig."^^xsd:string .
:hoistingequ--topdrive
:Hoistingequ--topdrive
rdf:type :DrillingEquipmentType ;
rdfs:label "hoistingequ--topdrive"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a classdefined to be top drive equipment on a drilling rig."^^xsd:string .
:hoistingequ--travellingblock
:Hoistingequ--travellingblock
rdf:type :DrillingEquipmentType ;
rdfs:label "hoistingequ--travellingblock"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be travelling block equipment on a drilling rig."^^xsd:string .
:materialhandlingsyst--anchorsyst
:Materialhandlingsyst--anchorsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "materialhandlingsyst--anchorsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be anchor system on a drilling rig."^^xsd:string .
:materialhandlingsyst--boptransportsyst
:Materialhandlingsyst--boptransportsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "materialhandlingsyst--boptransportsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be Blow Out Preventer transport equipment on a drilling rig."^^xsd:string .
:materialhandlingsyst--deckcranes
:Materialhandlingsyst--deckcranes
rdf:type :DrillingEquipmentType ;
rdfs:label "materialhandlingsyst--deckcranes"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be deck crane equipment on a drilling rig."^^xsd:string .
:materialhandlingsyst--monorailsyst
:Materialhandlingsyst--monorailsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "materialhandlingsyst--monorailsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be monorail equipment on a drilling rig."^^xsd:string .
:materialhandlingsyst--other
:Materialhandlingsyst--other
rdf:type :DrillingEquipmentType ;
rdfs:label "materialhandlingsyst--other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be other material handling equipment on a drilling rig."^^xsd:string .
:materialhandlingsyst--overheadcranes
:Materialhandlingsyst--overheadcranes
rdf:type :DrillingEquipmentType ;
rdfs:label "materialhandlingsyst--overheadcranes"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be overhead crane equipment on a drilling rig."^^xsd:string .
:materialhandlingsyst--utilitywinchs
:Materialhandlingsyst--utilitywinchs
rdf:type :DrillingEquipmentType ;
rdfs:label "materialhandlingsyst--utilitywinchs"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be utility winch equipment on a drilling rig."^^xsd:string .
:miscellaneousequsyst--acousticpositionref
:Miscellaneousequsyst--acousticpositionref
rdf:type :DrillingEquipmentType ;
rdfs:label "miscellaneousequsyst--acousticpositionref"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be acoustic position reference equipment on a drilling rig."^^xsd:string .
:miscellaneousequsyst--hydrpneumpowerpacks
:Miscellaneousequsyst--hydrpneumpowerpacks
rdf:type :DrillingEquipmentType ;
rdfs:label "miscellaneousequsyst--hydrpneumpowerpacks"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be hydraulic or pneumatic power pack system on a drilling rig."^^xsd:string .
:miscellaneousequsyst--miscinstrandauxilequ
:Miscellaneousequsyst--miscinstrandauxilequ
rdf:type :DrillingEquipmentType ;
rdfs:label "miscellaneousequsyst--miscinstrandauxilequ"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be miscellaneous instrument and auxiliary equipment on a drilling rig."^^xsd:string .
:miscellaneousequsyst--other
:Miscellaneousequsyst--other
rdf:type :DrillingEquipmentType ;
rdfs:label "miscellaneousequsyst--other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be other miscellaneous system on a drilling rig."^^xsd:string .
:miscellaneousequsyst--subseainspectionsyst
:Miscellaneousequsyst--subseainspectionsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "miscellaneousequsyst--subseainspectionsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be subsea inspection system equipment on a drilling rig."^^xsd:string .
:miscellaneousequsyst--wellheadsubsearuntest
:Miscellaneousequsyst--wellheadsubsearuntest
rdf:type :DrillingEquipmentType ;
rdfs:label "miscellaneousequsyst--wellheadsubsearuntest"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be wellhead and subsea run and test equipment on a drilling rig."^^xsd:string .
:mudandbulksyst--bulkairsystem
:Mudandbulksyst--bulkairsystem
rdf:type :DrillingEquipmentType ;
rdfs:label "mudandbulksyst--bulkairsystem"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be bulk air equipment on a drilling rig."^^xsd:string .
:mudandbulksyst--bulkstoragetransfer
:Mudandbulksyst--bulkstoragetransfer
rdf:type :DrillingEquipmentType ;
rdfs:label "mudandbulksyst--bulkstoragetransfer"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be mud bulk storage and transfer equipment on a drilling rig."^^xsd:string .
:mudandbulksyst--drillwatersyst
:Mudandbulksyst--drillwatersyst
rdf:type :DrillingEquipmentType ;
rdfs:label "mudandbulksyst--drillwatersyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be drilling water equipment on a drilling rig."^^xsd:string .
:mudandbulksyst--hpequipment
:Mudandbulksyst--hpequipment
rdf:type :DrillingEquipmentType ;
rdfs:label "mudandbulksyst--hpequipment"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be high pressure mud equipment on a drilling rig."^^xsd:string .
:mudandbulksyst--mudadditivesyst
:Mudandbulksyst--mudadditivesyst
rdf:type :DrillingEquipmentType ;
rdfs:label "mudandbulksyst--mudadditivesyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be mud additive equipment on a drilling rig."^^xsd:string .
:mudandbulksyst--mudmixingstorage
:Mudandbulksyst--mudmixingstorage
rdf:type :DrillingEquipmentType ;
rdfs:label "mudandbulksyst--mudmixingstorage"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be mud mixing and storage equipment on a drilling rig."^^xsd:string .
:mudandbulksyst--mudsolidscontrol
:Mudandbulksyst--mudsolidscontrol
rdf:type :DrillingEquipmentType ;
rdfs:label "mudandbulksyst--mudsolidscontrol"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be mud solids control equipment on a drilling rig."^^xsd:string .
:mudandbulksyst--mudsupply
:Mudandbulksyst--mudsupply
rdf:type :DrillingEquipmentType ;
rdfs:label "mudandbulksyst--mudsupply"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be mud supply equipment on a drilling rig."^^xsd:string .
:mudandbulksyst--other
:Mudandbulksyst--other
rdf:type :DrillingEquipmentType ;
rdfs:label "mudandbulksyst--other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be other mud and bulk equipment on a drilling rig."^^xsd:string .
:pipehandlingequsyst--drillfloortubehandlsyst
:Pipehandlingequsyst--drillfloortubehandlsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "pipehandlingequsyst--drillfloortubehandlsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be drillfloor tube handling equipment on a drilling rig."^^xsd:string .
:pipehandlingequsyst--elevator
:Pipehandlingequsyst--elevator
rdf:type :DrillingEquipmentType ;
rdfs:label "pipehandlingequsyst--elevator"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be pipe elevator system on a drilling rig."^^xsd:string .
:pipehandlingequsyst--manualtong
:Pipehandlingequsyst--manualtong
rdf:type :DrillingEquipmentType ;
rdfs:label "pipehandlingequsyst--manualtong"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be manual tong equipment on a drilling rig."^^xsd:string .
:pipehandlingequsyst--other
:Pipehandlingequsyst--other
rdf:type :DrillingEquipmentType ;
rdfs:label "pipehandlingequsyst--other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be other pipe handling equipment on a drilling rig."^^xsd:string .
:pipehandlingequsyst--powerpacks
:Pipehandlingequsyst--powerpacks
rdf:type :DrillingEquipmentType ;
rdfs:label "pipehandlingequsyst--powerpacks"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be drilling power pack equipment on a drilling rig."^^xsd:string .
:pipehandlingequsyst--slipsandspiders
:Pipehandlingequsyst--slipsandspiders
rdf:type :DrillingEquipmentType ;
rdfs:label "pipehandlingequsyst--slipsandspiders"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class that is defined to be slips and speider equipment on a drilling rig."^^xsd:string .
:pipehandlingequsyst--verticalpipehandlingequsyst
:Pipehandlingequsyst--verticalpipehandlingequsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "pipehandlingequsyst--verticalpipehandlingequsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be vertical pipe handling equipment/system on a drilling rig."^^xsd:string .
:serviceequ--cementingunit
:Serviceequ--cementingunit
rdf:type :DrillingEquipmentType ;
rdfs:label "serviceequ--cementingunit"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be cementing unit equipment on a drilling rig."^^xsd:string .
:serviceequ--electrloggingequ
:Serviceequ--electrloggingequ
rdf:type :DrillingEquipmentType ;
rdfs:label "serviceequ--electrloggingequ"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be electrical logging equipment on a drilling rig."^^xsd:string .
:serviceequ--mudloggingequ
:Serviceequ--mudloggingequ
rdf:type :DrillingEquipmentType ;
rdfs:label "serviceequ--mudloggingequ"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be mud logging equipment on a drilling rig."^^xsd:string .
:serviceequ--other
:Serviceequ--other
rdf:type :DrillingEquipmentType ;
rdfs:label "serviceequ--other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be other service equipment on a drilling rig."^^xsd:string .
:serviceequ--specialserviceequ
:Serviceequ--specialserviceequ
rdf:type :DrillingEquipmentType ;
rdfs:label "serviceequ--specialserviceequ"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be special service equipment on a drilling rig."^^xsd:string .
:serviceequ--wellheadtubularequ
:Serviceequ--wellheadtubularequ
rdf:type :DrillingEquipmentType ;
rdfs:label "serviceequ--wellheadtubularequ"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be wellhead and tubular equipment on a drilling rig."^^xsd:string .
:serviceequ--welltestingequ
:Serviceequ--welltestingequ
rdf:type :DrillingEquipmentType ;
rdfs:label "serviceequ--welltestingequ"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be well testing equipment on a drilling rig."^^xsd:string .
:wellcontrolequsyst--bopcontrolsyst
:Wellcontrolequsyst--bopcontrolsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "wellcontrolequsyst--bopcontrolsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be blow out preventer control system on a drilling rig."^^xsd:string .
:wellcontrolequsyst--bopstack
:Wellcontrolequsyst--bopstack
rdf:type :DrillingEquipmentType ;
rdfs:label "wellcontrolequsyst--bopstack"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be bop stack equipment on a drilling rig."^^xsd:string .
:wellcontrolequsyst--chokekillsyst
:Wellcontrolequsyst--chokekillsyst
rdf:type :DrillingEquipmentType ;
rdfs:label "wellcontrolequsyst--chokekillsyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be choke and kill system on a drilling rig."^^xsd:string .
:wellcontrolequsyst--diverter
:Wellcontrolequsyst--diverter
rdf:type :DrillingEquipmentType ;
rdfs:label "wellcontrolequsyst--diverter"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be diverter equipment on a drilling rig."^^xsd:string .
:wellcontrolequsyst--other
:Wellcontrolequsyst--other
rdf:type :DrillingEquipmentType ;
rdfs:label "wellcontrolequsyst--other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be other well control equipment on a drilling rig."^^xsd:string .
:wellcontrolequsyst--risersyst
:Wellcontrolequsyst--risersyst
rdf:type :DrillingEquipmentType ;
rdfs:label "wellcontrolequsyst--risersyst"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be riser system on a drilling rig."^^xsd:string .
:wellcontrolequsyst--shallowgasstack
:Wellcontrolequsyst--shallowgasstack
rdf:type :DrillingEquipmentType ;
rdfs:label "wellcontrolequsyst--shallowgasstack"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
rdfs:subClassOf :DrillingEquipment ;
dc:description "A CDRS equipment class that is a class defined to be shallow gas stack equipment on a drilling rig."^^xsd:string .
......
# Saved by TopBraid on Wed Aug 17 12:15:49 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/core
......@@ -12,10 +13,25 @@
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "0.1.0"^^xsd:string .
<http://www.reportinghub.no/ep/schema/core#AllOrPartOfTheLifeOfAnEquipmentItem>
rdf:type owl:Class ;
rdfs:label "all or part of an equipment item"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
rdfs:comment "Equivalent to ISO 15926-2 Possible Individual - DL"^^xsd:string .
ep-eqt:Equipment
rdf:type owl:Class ;
rdfs:label "Equipment"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#AllOrPartOfTheLifeOfAnEquipmentItem> .
ep-eqt:TemporalPartOfEquipment
rdf:type owl:Class ;
rdfs:label "temporal part of equipment"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#AllOrPartOfTheLifeOfAnEquipmentItem> .
ep-eqt:WellBoreLoggingTool
rdf:type owl:Class ;
rdfs:label "well bore logging tool"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
......
# Saved by TopBraid on Fri Aug 12 14:16:38 BST 2011
# Saved by TopBraid on Wed Aug 17 12:39:33 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/core
......@@ -13,36 +13,51 @@
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-well:AllOrPartOfTheLifeOfASpatialPartOfAWellBore
rdf:type owl:Class ;
rdfs:label "all or part of the life of a spatial part of a well bore"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
ep-well:AllOrPartOfTheLifeOfAWellBore
rdf:type owl:Class ;
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 ;
rdf:type owl:Class , ep-well:WellBoreHphtType ;
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 ;
rdf:type ep-well:WellBoreTightnessType , owl:Class ;
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 ;
rdf:type owl:Class , ep-well:WellBoreHphtType ;
rdfs:label "not high pressure high temperature well bore"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
owl:disjointWith ep-well:HphtWellBore .
ep-well:SpatialPartOfAWellBore
rdf:type owl:Class ;
rdfs:label "spatial part of a well bore"^^xsd:string ;
rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfASpatialPartOfAWellBore .
ep-well:TemporalPartOfASpatialPartOfAWellBore
rdf:type owl:Class ;
rdfs:label "temporal part of a spatial part of a well bore"^^xsd:string ;
rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfASpatialPartOfAWellBore .
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 ;
rdf:type ep-well:WellBoreTightnessType , owl:Class ;
rdfs:label "tight well bore"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
owl:disjointWith ep-well:LeakyWellBore .
......@@ -53,13 +68,13 @@ ep-well:Well
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-well:WellBore ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
owl:allValuesFrom ep-well:WellBore ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
] .
ep-well:WellBore
......@@ -72,6 +87,18 @@ ep-well:WellBore
owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
] .
ep-well:WellBoreBottomWithCirculation
rdf:type owl:Class ;
rdfs:label "well bore bottom with circulation"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfASpatialPartOfAWellBore ;
owl:disjointWith ep-well:WellBoreBottomWithoutCirculation .
ep-well:WellBoreBottomWithoutCirculation
rdf:type owl:Class ;
rdfs:label "well bore bottom without circulation"^^xsd:string ;
rdfs:subClassOf ep-well:TemporalPartOfASpatialPartOfAWellBore ;
owl:disjointWith ep-well:WellBoreBottomWithCirculation .
ep-well:WellBoreHphtType
rdf:type rdfs:Class ;
rdfs:label "well bore high pressure high temperature type"^^xsd:string ;
......
# Saved by TopBraid on Tue Aug 16 11:34:45 BST 2011
# Saved by TopBraid on Wed Aug 17 16:38:03 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
......@@ -7,10 +7,12 @@
# 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/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/drilling-equipment-type
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/spin/rh
@prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.0/activity-purpose#> .
@prefix ep-drill-eqt-typ: <http://www.reportinghub.no/ep/schema/drilling-equipment-type#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix ep-spin-lib-1.1: <http://www.reportinghub.no/ep/spin/1.1/lib#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
......@@ -25,7 +27,7 @@
<http://www.reportinghub.no/ep/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ;
owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-spin-lib:Function
......@@ -92,20 +94,112 @@ ep-spin-lib:buildDailyDrillingReportURI
])
] .
ep-spin-lib:buildEquipmentFailureAndRepairURI
rdf:type spin:Function ;
rdfs:label "build EquipmentFailureAndRepair URI"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b4) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/EquipmentFailureAndRepair/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b4
])
] .
ep-spin-lib:buildEquipmentTypeURI
rdf:type spin:Function ;
rdfs:label "build equpment type URI"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b4) ;
sp:resultVariables (_:b5) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://www.reportinghub.no/ep/schema/drilling-equipment-type#" ;
sp:arg2 spin:_arg1
] ;
sp:variable _:b4
sp:variable _:b5
])
] .
ep-spin-lib:buildLithShowObservationURI
rdf:type spin:Function ;
rdfs:label "build LithShowObservation URI"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b6) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/LithographyAndShowsObservation/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b6
])
] .
ep-spin-lib:buildLithShowObservedPartOfAWellBoreURI
rdf:type spin:Function ;
rdfs:label "build LithShowObservedPartOfAWellBore URI"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b7) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-atLithographyAndShowsObservation/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b7
])
] .
ep-spin-lib:buildLoggedPartOfAWellBoreURI
rdf:type spin:Function ;
rdfs:label "build LoggedPartOfWellBore URI"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b8) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-atWellBoreLog/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b8
])
] .
......@@ -115,7 +209,7 @@ ep-spin-lib:buildPartActivityURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b5) ;
sp:resultVariables (_:b9) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -128,7 +222,53 @@ ep-spin-lib:buildPartActivityURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b5
sp:variable _:b9
])
] .
ep-spin-lib:buildPorePressureDeterminationURI
rdf:type spin:Function ;
rdfs:label "build PorePressureDetermination URI"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b10) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/PorePressureDetermination/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b10
])
] .
ep-spin-lib:buildPorePressureDeterminedPartOfAWellBoreURI
rdf:type spin:Function ;
rdfs:label "build PorePressureDeterminedPartOfWellBore URI"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b11) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-atPorePressureDetermination/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b11
])
] .
......@@ -138,14 +278,14 @@ ep-spin-lib:buildRigURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b6) ;
sp:resultVariables (_:b12) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/Rig/" ;
sp:arg2 spin:_arg1
] ;
sp:variable _:b6
sp:variable _:b12
])
] .
......@@ -155,7 +295,7 @@ ep-spin-lib:buildSurveyedPartOfAWellBoreURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b7) ;
sp:resultVariables (_:b13) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -168,7 +308,7 @@ ep-spin-lib:buildSurveyedPartOfAWellBoreURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b7
sp:variable _:b13
])
] .
......@@ -178,7 +318,7 @@ ep-spin-lib:buildTemporalPartOfARigURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b8) ;
sp:resultVariables (_:b14) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -191,7 +331,30 @@ ep-spin-lib:buildTemporalPartOfARigURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b8
sp:variable _:b14
])
] .
ep-spin-lib:buildTemporalPartOfAWellBoreDuringEquipmentFailureAndRepairURI
rdf:type spin:Function ;
rdfs:label "build TemporalPartOfAWellBoreDuringEquipmentFailureAndRepair URI"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b15) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-duringEquipmentFailureAndRepair/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b15
])
] .
......@@ -201,7 +364,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b9) ;
sp:resultVariables (_:b16) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -214,7 +377,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b9
sp:variable _:b16
])
] .
......@@ -224,7 +387,7 @@ ep-spin-lib:buildURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b10) ;
sp:resultVariables (_:b17) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:iri ;
......@@ -233,7 +396,7 @@ ep-spin-lib:buildURI
sp:arg2 spin:_arg2
]
] ;
sp:variable _:b10
sp:variable _:b17
])
] ;
spin:constraint
......@@ -253,7 +416,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b11) ;
sp:resultVariables (_:b18) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -266,7 +429,30 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b11
sp:variable _:b18
])
] .
ep-spin-lib:buildWellBoreLogURI
rdf:type spin:Function ;
rdfs:label "build WellBoreLog URI"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b19) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/WellBoreLog/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b19
])
] .
......@@ -276,7 +462,7 @@ ep-spin-lib:normalizeString
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b12) ;
sp:resultVariables (_:b20) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
......@@ -284,67 +470,67 @@ ep-spin-lib:normalizeString
sp:arg2 "\\((.*)\\)" ;
sp:arg3 ""
] ;
sp:variable _:b13
sp:variable _:b21
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:trim ;
sp:arg1 _:b13
sp:arg1 _:b21
] ;
sp:variable _:b14
sp:variable _:b22
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:encodeURL ;
sp:arg1 _:b14
sp:arg1 _:b22
] ;
sp:variable _:b15
sp:variable _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b15 ;
sp:arg1 _:b23 ;
sp:arg2 "%2F" ;
sp:arg3 "_"
] ;
sp:variable _:b16
sp:variable _:b24
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b16 ;
sp:arg1 _:b24 ;
sp:arg2 "%[0-9A-F][0-9A-F]" ;
sp:arg3 ""
] ;
sp:variable _:b17
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b17 ;
sp:arg1 _:b25 ;
sp:arg2 "\\+" ;
sp:arg3 "_"
] ;
sp:variable _:b18
sp:variable _:b26
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b18 ;
sp:arg1 _:b26 ;
sp:arg2 "_+" ;
sp:arg3 "_"
] ;
sp:variable _:b19
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b19 ;
sp:arg1 _:b27 ;
sp:arg2 "\\*" ;
sp:arg3 ""
] ;
sp:variable _:b20
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:string ;
sp:arg1 [ rdf:type smf:upperCase ;
sp:arg1 _:b20
sp:arg1 _:b28
]
] ;
sp:variable _:b12
sp:variable _:b20
])
] ;
spin:constraint
......@@ -359,7 +545,7 @@ ep-spin-lib:selectActivitySuccessType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b21) ;
sp:resultVariables (_:b29) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -370,7 +556,7 @@ ep-spin-lib:selectActivitySuccessType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#FailedActivity>
] ;
sp:variable _:b21
sp:variable _:b29
])
] .
......@@ -380,7 +566,7 @@ ep-spin-lib:selectDailyDrillingReportType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b22) ;
sp:resultVariables (_:b30) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -398,7 +584,7 @@ ep-spin-lib:selectDailyDrillingReportType
sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
]
] ;
sp:variable _:b22
sp:variable _:b30
])
] .
......@@ -408,7 +594,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b23) ;
sp:resultVariables (_:b31) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -475,7 +661,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
]
]
] ;
sp:variable _:b23
sp:variable _:b31
])
] .
......@@ -485,7 +671,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b24) ;
sp:resultVariables (_:b32) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:if ;
......@@ -1069,85 +1255,344 @@ ep-spin-lib:selectDrillingActivityPurposeType
]
]
] ;
sp:variable _:b24
sp:variable _:b32
])
] .
ep-spin-lib:selectFixedOrMoveableRigType
ep-spin-lib:selectDrillingEquipmentType
rdf:type spin:Function ;
rdfs:label "select FixedOrMoveableRigType"^^xsd:string ;
rdfs:label "select DrillingEquipmentType"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b25) ;
sp:resultVariables (_:b33) ;
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/ddr#ECNPD_miscellaneousequsyst--wellheadsubsearuntest>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig>
sp:arg2 ep-drill-eqt-typ:Miscellaneousequsyst--wellheadsubsearuntest ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_mudandbulksyst--bulkairsystem>
] ;
sp:variable _:b25
])
] .
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 (_:b26) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg2 ep-drill-eqt-typ:Mudandbulksyst--bulkairsystem ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_API>
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_mudandbulksyst--bulkstoragetransfer>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#apiName> ;
sp:arg2 ep-drill-eqt-typ:Mudandbulksyst--bulkstoragetransfer ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_DTI>
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_mudandbulksyst--drillwatersyst>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#dtiName> ;
sp:arg2 ep-drill-eqt-typ:Mudandbulksyst--drillwatersyst ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_NPDcode>
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_mudandbulksyst--hpequipment>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#npdCode> ;
sp:arg2 ep-drill-eqt-typ:Mudandbulksyst--hpequipment ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_NPDnumber>
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_mudandbulksyst--mudadditivesyst>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#npdNumber> ;
sp:arg2 ep-drill-eqt-typ:Mudandbulksyst--mudadditivesyst ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_localfield>
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_mudandbulksyst--mudmixingstorage>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#localFieldName> ;
sp:arg2 ep-drill-eqt-typ:Mudandbulksyst--mudmixingstorage ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_prospect>
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_mudandbulksyst--mudsolidscontrol>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#prospectName> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#name>
]
]
]
]
]
sp:arg2 ep-drill-eqt-typ:Mudandbulksyst--mudsolidscontrol ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_mudandbulksyst--mudsupply>
] ;
sp:variable _:b26
])
sp:arg2 ep-drill-eqt-typ:Mudandbulksyst--mudsupply ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_mudandbulksyst--other>
] ;
sp:arg2 ep-drill-eqt-typ:Mudandbulksyst--other ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_pipehandlingequsyst--drillfloortubehandlsyst>
] ;
sp:arg2 ep-drill-eqt-typ:Pipehandlingequsyst--drillfloortubehandlsyst ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_pipehandlingequsyst--elevator>
] ;
sp:arg2 ep-drill-eqt-typ:Pipehandlingequsyst--elevator ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_pipehandlingequsyst--manualtong>
] ;
sp:arg2 ep-drill-eqt-typ:Pipehandlingequsyst--manualtong ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_pipehandlingequsyst--other>
] ;
sp:arg2 ep-drill-eqt-typ:Pipehandlingequsyst--other ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_pipehandlingequsyst--powerpacks>
] ;
sp:arg2 ep-drill-eqt-typ:Pipehandlingequsyst--powerpacks ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_pipehandlingequsyst--slipsandspiders>
] ;
sp:arg2 ep-drill-eqt-typ:Pipehandlingequsyst--slipsandspiders ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_pipehandlingequsyst--verticalpipehandlingequsyst>
] ;
sp:arg2 ep-drill-eqt-typ:Pipehandlingequsyst--verticalpipehandlingequsyst ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_serviceequ--cementingunit>
] ;
sp:arg2 ep-drill-eqt-typ:Serviceequ--cementingunit ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_serviceequ--electrloggingequ>
] ;
sp:arg2 ep-drill-eqt-typ:Serviceequ--electrloggingequ ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_serviceequ--mudloggingequ>
] ;
sp:arg2 ep-drill-eqt-typ:Serviceequ--mudloggingequ ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_serviceequ--other>
] ;
sp:arg2 ep-drill-eqt-typ:Serviceequ--other ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_serviceequ--specialserviceequ>
] ;
sp:arg2 ep-drill-eqt-typ:Serviceequ--specialserviceequ ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_serviceequ--wellheadtubularequ>
] ;
sp:arg2 ep-drill-eqt-typ:Serviceequ--wellheadtubularequ ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_serviceequ--welltestingequ>
] ;
sp:arg2 ep-drill-eqt-typ:Serviceequ--welltestingequ ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_wellcontrolequsyst--bopcontrolsyst>
] ;
sp:arg2 ep-drill-eqt-typ:Wellcontrolequsyst--bopcontrolsyst ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_wellcontrolequsyst--bopstack>
] ;
sp:arg2 ep-drill-eqt-typ:Wellcontrolequsyst--bopstack ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_wellcontrolequsyst--chokekillsyst>
] ;
sp:arg2 ep-drill-eqt-typ:Wellcontrolequsyst--chokekillsyst ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_wellcontrolequsyst--diverter>
] ;
sp:arg2 ep-drill-eqt-typ:Wellcontrolequsyst--diverter ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_wellcontrolequsyst--other>
] ;
sp:arg2 ep-drill-eqt-typ:Wellcontrolequsyst--other ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_wellcontrolequsyst--risersyst>
] ;
sp:arg2 ep-drill-eqt-typ:Wellcontrolequsyst--risersyst ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ECNPD_wellcontrolequsyst--shallowgasstack>
] ;
sp:arg2 ep-drill-eqt-typ:Wellcontrolequsyst--shallowgasstack ;
sp:arg3 <http://www.reportinghub.no/ep/schema/equipment#Equipment>
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
] ;
sp:variable _:b33
])
] .
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 (_:b34) ;
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 _:b34
])
] .
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 (_:b35) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_API>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#apiName> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_DTI>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#dtiName> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_NPDcode>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#npdCode> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_NPDnumber>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#npdNumber> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_localfield>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#localFieldName> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#WNS_prospect>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#prospectName> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#name>
]
]
]
]
]
] ;
sp:variable _:b35
])
] .
ep-spin-lib:selectPorePressureDeterminationType
rdf:type spin:Function ;
rdfs:label "select PorePressureDeterminationType"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b36) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#RK_measured>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#PorePressureMeasurement> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#RK_estimated>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#PorePressureEstimation> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#PorePressureDetermination>
]
] ;
sp:variable _:b36
])
] .
ep-spin-lib:selectPressureTestType
......@@ -1156,7 +1601,7 @@ ep-spin-lib:selectPressureTestType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b27) ;
sp:resultVariables (_:b37) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:if ;
......@@ -1173,7 +1618,7 @@ ep-spin-lib:selectPressureTestType
sp:arg2 <http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest>
]
] ;
sp:variable _:b27
sp:variable _:b37
])
] .
......@@ -1183,8 +1628,8 @@ ep-spin-lib:selectWellBoreDrillingType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b28) ;
sp:where ([ sp:object _:b28 ;
sp:resultVariables (_:b38) ;
sp:where ([ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mapsTo> ;
sp:subject spin:_arg1
])
......@@ -1196,7 +1641,7 @@ ep-spin-lib:selectWellBoreHphtType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
sp:resultVariables (_:b39) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1207,7 +1652,7 @@ ep-spin-lib:selectWellBoreHphtType
sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore>
] ;
sp:variable _:b29
sp:variable _:b39
])
] .
......@@ -1217,7 +1662,7 @@ ep-spin-lib:selectWellBoreTightnessType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b30) ;
sp:resultVariables (_:b40) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1228,87 +1673,117 @@ ep-spin-lib:selectWellBoreTightnessType
sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore>
] ;
sp:variable _:b30
sp:variable _:b40
])
] .
_:b1 sp:varName "uri"^^xsd:string .
_:b40
sp:varName "wellBoreTightnessType"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b39
sp:varName "wellBoreHphtType"^^xsd:string .
_:b3 sp:varName "uri"^^xsd:string .
_:b38
sp:varName "wellBoreDrillingType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b37
sp:varName "pressureTestType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b36
sp:varName "porePressureDeterminationType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b35
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b34
sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b33
sp:varName "drillingEquipmentType"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b32
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b31
sp:varName "drillingActivityOutcomeType"^^xsd:string .
_:b12
sp:varName "normalizedStr"^^xsd:string .
_:b30
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b13
sp:varName "s1"^^xsd:string .
_:b29
sp:varName "activitySuccessType"^^xsd:string .
_:b14
sp:varName "s2"^^xsd:string .
_:b28
sp:varName "t4"^^xsd:string .
_:b15
sp:varName "t0a"^^xsd:string .
_:b27
sp:varName "t3"^^xsd:string .
_:b16
sp:varName "t0b"^^xsd:string .
_:b26
sp:varName "t2"^^xsd:string .
_:b17
_:b25
sp:varName "t1"^^xsd:string .
_:b18
sp:varName "t2"^^xsd:string .
_:b24
sp:varName "t0b"^^xsd:string .
_:b19
sp:varName "t3"^^xsd:string .
_:b23
sp:varName "t0a"^^xsd:string .
_:b20
sp:varName "t4"^^xsd:string .
_:b22
sp:varName "s2"^^xsd:string .
_:b21
sp:varName "activitySuccessType"^^xsd:string .
sp:varName "s1"^^xsd:string .
_:b22
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b20
sp:varName "normalizedStr"^^xsd:string .
_:b23
sp:varName "drillingActivityOutcomeType"^^xsd:string .
_:b19
sp:varName "uri"^^xsd:string .
_:b24
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b18
sp:varName "uri"^^xsd:string .
_:b25
sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b17
sp:varName "uri"^^xsd:string .
_:b26
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b16
sp:varName "uri"^^xsd:string .
_:b27
sp:varName "pressureTestType"^^xsd:string .
_:b15
sp:varName "uri"^^xsd:string .
_:b28
sp:varName "wellBoreDrillingType"^^xsd:string .
_:b14
sp:varName "uri"^^xsd:string .
_:b29
sp:varName "wellBoreHphtType"^^xsd:string .
_:b13
sp:varName "uri"^^xsd:string .
_:b30
sp:varName "wellBoreTightnessType"^^xsd:string .
_:b12
sp:varName "uri"^^xsd:string .
_:b11
sp:varName "uri"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b3 sp:varName "uri"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
......
# Saved by TopBraid on Tue Aug 16 11:34:45 BST 2011
# Saved by TopBraid on Wed Aug 17 16:38:03 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011
# Saved by TopBraid on Tue Aug 16 15:54:55 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
......@@ -32,60 +32,85 @@
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 104 Create Well"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
Minimum data - createDate, dTimStart, dTimEnd, nameWellBore"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ;
sp:subject _:b1
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b5
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b6
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b5 ;
sp:where ([ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ;
sp:subject spin:_this
] [ sp:object _:b6 ;
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject spin:_this
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b5
sp:arg1 _:b7
] ;
sp:variable _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b3
] ;
sp:variable _:b8
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b8 ;
sp:arg2 _:b6
sp:arg1 _:b9 ;
sp:arg2 _:b4
] ;
sp:variable _:b3
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b2
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b4 ;
sp:arg3 _:b8
] ;
sp:variable _:b9
sp:variable _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellByName ;
arg:wellName _:b9
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName _:b7
] ;
sp:variable _:b1
sp:variable _:b6
])
] ;
spin:rule
......@@ -121,155 +146,130 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
rdfs:comment """STEP 101a Set name of DailyDrillingReport as label
Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
sp:subject _:b15
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ;
sp:subject _:b15
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b19
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b20
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b19
] [ sp:object _:b21 ;
sp:templates ([ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b20
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b16
]) ;
sp:where ([ sp:object _:b21 ;
sp:where ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:subject spin:_this
] [ sp:object _:b17 ;
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b21
sp:arg1 _:b17
] ;
sp:variable _:b23
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b23 ;
sp:arg2 _:b17
] ;
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b23 ;
sp:arg1 _:b19 ;
sp:arg2 _:b18
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b23 ;
sp:arg2 _:b18 ;
sp:arg3 _:b22
] ;
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName _:b21
] ;
sp:variable _:b20
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 103
Classify a DailyDrillingReport"""^^xsd:string ;
sp:templates ([ sp:object _:b24 ;
sp:templates ([ sp:object _:b20 ;
sp:predicate rdf:type ;
sp:subject _:b25
sp:subject _:b21
]) ;
sp:where ([ sp:object _:b26 ;
sp:where ([ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b27 ;
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
sp:subject spin:_this
] [ sp:object _:b28 ;
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumVersionKind> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
sp:arg1 _:b28
sp:arg1 _:b24
] ;
sp:variable _:b24
sp:variable _:b20
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b26
sp:arg1 _:b22
] ;
sp:variable _:b29
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b29 ;
sp:arg2 _:b27
sp:arg1 _:b25 ;
sp:arg2 _:b23
] ;
sp:variable _:b25
sp:variable _:b21
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 101a Set name of DailyDrillingReport as label
Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
sp:templates ([ sp:object _:b30 ;
rdfs:comment "STEP 104 Create Well"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
sp:predicate rdf:type ;
sp:subject _:b26
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b31
sp:subject _:b26
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b26
]) ;
sp:where ([ sp:object _:b32 ;
sp:where ([ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ;
sp:subject spin:_this
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b32
sp:arg1 _:b30
] ;
sp:variable _:b33
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b33 ;
sp:arg2 _:b31
] ;
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b27
] ;
sp:variable _:b34
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b34 ;
sp:arg2 _:b33
[ rdf:type rhspin:wellByName ;
arg:wellName _:b34
] ;
sp:variable _:b31
sp:variable _:b26
])
] .
......@@ -278,95 +278,95 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.0/report> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b32
sp:varName "nameWellBore"^^xsd:string .
_:b6 sp:varName "wellBore"^^xsd:string .
_:b30
sp:varName "nameDailyDrillingReport"^^xsd:string .
_:b5 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b33
sp:varName "createDate"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b34
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "dailyDrillingReport"^^xsd:string .
_:b31
sp:varName "dailyDrillingReport"^^xsd:string .
_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b21
sp:varName "nameWellBore"^^xsd:string .
_:b3 sp:varName "createDate"^^xsd:string .
_:b18
sp:varName "dTimStart"^^xsd:string .
_:b8 sp:varName "dTimEnd"^^xsd:string .
_:b22
sp:varName "dTimEnd"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b17
sp:varName "createDate"^^xsd:string .
_:b7 sp:varName "nameWellBore"^^xsd:string .
_:b23
_:b34
sp:varName "normalizedWellName"^^xsd:string .
_:b33
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b15
sp:varName "dailyDrillingReport"^^xsd:string .
_:b32
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b16
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b31
sp:varName "dTimStart"^^xsd:string .
_:b19
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b30
sp:varName "nameWellBore"^^xsd:string .
_:b20
_:b29
sp:varName "wellBore"^^xsd:string .
_:b5 sp:varName "nameWellBore"^^xsd:string .
_:b2 sp:varName "nameWell"^^xsd:string .
_:b28
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b6 sp:varName "dTimStart"^^xsd:string .
_:b27
sp:varName "nameWell"^^xsd:string .
_:b3 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b26
sp:varName "well"^^xsd:string .
_:b7 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b14
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b4 sp:varName "wellBore"^^xsd:string .
_:b13
sp:varName "dTimStart"^^xsd:string .
_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b12
sp:varName "nameWellBore"^^xsd:string .
_:b9 sp:varName "normalizedWellName"^^xsd:string .
_:b11
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b1 sp:varName "well"^^xsd:string .
_:b10
sp:varName "dTimEnd"^^xsd:string .
_:b24
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b19
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "dailyDrillingReport"^^xsd:string .
_:b18
sp:varName "createDate"^^xsd:string .
_:b26
_:b17
sp:varName "nameWellBore"^^xsd:string .
_:b27
sp:varName "createDate"^^xsd:string .
_:b16
sp:varName "dailyDrillingReport"^^xsd:string .
_:b28
sp:varName "versionKind"^^xsd:string .
_:b15
sp:varName "nameDailyDrillingReport"^^xsd:string .
_:b29
_:b25
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b10
sp:varName "dTimEnd"^^xsd:string .
_:b24
sp:varName "versionKind"^^xsd:string .
_:b11
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b23
sp:varName "createDate"^^xsd:string .
_:b12
_:b22
sp:varName "nameWellBore"^^xsd:string .
_:b13
sp:varName "dTimStart"^^xsd:string .
_:b21
sp:varName "dailyDrillingReport"^^xsd:string .
_:b14
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b20
sp:varName "dailyDrillingReportType"^^xsd:string .
......
# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011
# Saved by TopBraid on Tue Aug 16 15:54:55 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Wed Aug 17 11:15:26 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 170 Create an EquipmentFailureAndRepair activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#EquipmentFailureAndRepair> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#equipFailureInfo> ;
sp:subject spin:_this
] [ sp:object _:b8 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b7
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b5
] ;
sp:variable _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildEquipmentFailureAndRepairURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6 ;
sp:arg3 _:b8
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreDuringEquipmentFailureAndRepairURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6 ;
sp:arg3 _:b8
] ;
sp:variable _:b3
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 171 Transfer time of failure"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b11
]) ;
sp:where ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#equipFailureInfo> ;
sp:subject spin:_this
] [ sp:object _:b15 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b14
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b12
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildEquipmentFailureAndRepairURI ;
sp:arg1 _:b16 ;
sp:arg2 _:b13 ;
sp:arg3 _:b15
] ;
sp:variable _:b11
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 172 Transfer time of repair"^^xsd:string ;
sp:templates ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimRepair> ;
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#equipFailureInfo> ;
sp:subject spin:_this
] [ sp:object _:b22 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b21
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimRepair> ;
sp:subject _:b21
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b19
] ;
sp:variable _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildEquipmentFailureAndRepairURI ;
sp:arg1 _:b23 ;
sp:arg2 _:b20 ;
sp:arg3 _:b22
] ;
sp:variable _:b18
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 173 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b25
]) ;
sp:where ([ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#equipFailureInfo> ;
sp:subject spin:_this
] [ sp:object _:b29 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b28
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b26
] ;
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreDuringEquipmentFailureAndRepairURI ;
sp:arg1 _:b30 ;
sp:arg2 _:b27 ;
sp:arg3 _:b29
] ;
sp:variable _:b25
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 174 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b32
]) ;
sp:where ([ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#equipFailureInfo> ;
sp:subject spin:_this
] [ sp:object _:b36 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b35
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b33
] ;
sp:variable _:b37
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreDuringEquipmentFailureAndRepairURI ;
sp:arg1 _:b37 ;
sp:arg2 _:b34 ;
sp:arg3 _:b36
] ;
sp:variable _:b32
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 175 Transfer missed production time"^^xsd:string ;
sp:templates ([ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimMissProduction> ;
sp:subject _:b39
]) ;
sp:where ([ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#equipFailureInfo> ;
sp:subject spin:_this
] [ sp:object _:b43 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b42
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimMissProduction> ;
sp:subject _:b42
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b40
] ;
sp:variable _:b44
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildEquipmentFailureAndRepairURI ;
sp:arg1 _:b44 ;
sp:arg2 _:b41 ;
sp:arg3 _:b43
] ;
sp:variable _:b39
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 176 Transfer descsription"^^xsd:string ;
sp:templates ([ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#description> ;
sp:subject _:b46
]) ;
sp:where ([ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#equipFailureInfo> ;
sp:subject spin:_this
] [ sp:object _:b50 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b49
] [ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#description> ;
sp:subject _:b49
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b47
] ;
sp:variable _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildEquipmentFailureAndRepairURI ;
sp:arg1 _:b51 ;
sp:arg2 _:b48 ;
sp:arg3 _:b50
] ;
sp:variable _:b46
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 177 Failed equipment type"^^xsd:string ;
sp:templates ([ sp:object _:b52 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#failedEquipment> ;
sp:subject _:b53
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> ;
sp:predicate rdf:type ;
sp:subject _:b52
] [ sp:object _:b54 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b52
] [ sp:object _:b55 ;
sp:predicate rdf:type ;
sp:subject _:b54
]) ;
sp:where ([ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b58 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#equipFailureInfo> ;
sp:subject spin:_this
] [ sp:object _:b59 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b58
] [ sp:object _:b60 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumEquipClass> ;
sp:subject _:b58
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b56
] ;
sp:variable _:b61
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildEquipmentFailureAndRepairURI ;
sp:arg1 _:b61 ;
sp:arg2 _:b57 ;
sp:arg3 _:b59
] ;
sp:variable _:b53
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingEquipmentType ;
sp:arg1 _:b60
] ;
sp:variable _:b55
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b3 sp:varName "temporalPartOfAWellBoreDuringEquipmentFailureAndRepair"^^xsd:string .
_:b1 sp:varName "equipmentFailureAndRepair"^^xsd:string .
_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b4 sp:varName "dailytemporalPartOfAWellBore"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b8 sp:varName "index"^^xsd:string .
_:b7 sp:varName "equipFailureInfo"^^xsd:string .
_:b6 sp:varName "dTimStart"^^xsd:string .
_:b5 sp:varName "nameWellBore"^^xsd:string .
_:b37
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b36
sp:varName "index"^^xsd:string .
_:b35
sp:varName "equipFailureInfo"^^xsd:string .
_:b34
sp:varName "dTimStart"^^xsd:string .
_:b33
sp:varName "nameWellBore"^^xsd:string .
_:b32
sp:varName "temporalPartOfAWellBoreDuringEquipmentFailureAndRepair"^^xsd:string .
_:b31
sp:varName "tvd"^^xsd:string .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b15
sp:varName "index"^^xsd:string .
_:b14
sp:varName "equipFailureInfo"^^xsd:string .
_:b13
sp:varName "dTimStart"^^xsd:string .
_:b12
sp:varName "nameWellBore"^^xsd:string .
_:b11
sp:varName "equipmentFailureAndRepair"^^xsd:string .
_:b10
sp:varName "timeOfFailure"^^xsd:string .
_:b23
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b22
sp:varName "index"^^xsd:string .
_:b21
sp:varName "equipFailureInfo"^^xsd:string .
_:b20
sp:varName "dTimStart"^^xsd:string .
_:b19
sp:varName "nameWellBore"^^xsd:string .
_:b18
sp:varName "equipmentFailureAndRepair"^^xsd:string .
_:b17
sp:varName "timeOfRepair"^^xsd:string .
_:b30
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b29
sp:varName "index"^^xsd:string .
_:b28
sp:varName "equipFailureInfo"^^xsd:string .
_:b27
sp:varName "dTimStart"^^xsd:string .
_:b26
sp:varName "nameWellBore"^^xsd:string .
_:b25
sp:varName "temporalPartOfAWellBoreDuringEquipmentFailureAndRepair"^^xsd:string .
_:b24
sp:varName "md"^^xsd:string .
_:b44
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b43
sp:varName "index"^^xsd:string .
_:b42
sp:varName "equipFailureInfo"^^xsd:string .
_:b41
sp:varName "dTimStart"^^xsd:string .
_:b40
sp:varName "nameWellBore"^^xsd:string .
_:b39
sp:varName "equipmentFailureAndRepair"^^xsd:string .
_:b38
sp:varName "missedProductionTime"^^xsd:string .
_:b51
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b50
sp:varName "index"^^xsd:string .
_:b49
sp:varName "equipFailureInfo"^^xsd:string .
_:b48
sp:varName "dTimStart"^^xsd:string .
_:b47
sp:varName "nameWellBore"^^xsd:string .
_:b46
sp:varName "equipmentFailureAndRepair"^^xsd:string .
_:b45
sp:varName "description"^^xsd:string .
_:b61
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b60
sp:varName "enumEquipClass"^^xsd:string .
_:b59
sp:varName "index"^^xsd:string .
_:b58
sp:varName "equipFailureInfo"^^xsd:string .
_:b57
sp:varName "dTimStart"^^xsd:string .
_:b56
sp:varName "nameWellBore"^^xsd:string .
_:b55
sp:varName "drillingEquipmentType"^^xsd:string .
_:b53
sp:varName "equipmentFailureAndRepair"^^xsd:string .
# Saved by TopBraid on Wed Aug 17 11:15:26 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 Wed Aug 17 16:55:07 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/lithShowInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/lithShowInfo#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 200 Create a Lithology and shows observation activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#LithologyAndShowsObservation> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b3
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#lithShowInfo> ;
sp:subject spin:_this
] [ sp:object _:b8 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b7
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b5
] ;
sp:variable _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLithShowObservationURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6 ;
sp:arg3 _:b8
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLithShowObservedPartOfAWellBoreURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6 ;
sp:arg3 _:b8
] ;
sp:variable _:b3
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 201 Set end time of Lithology and shows observation"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b11
]) ;
sp:where ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#lithShowInfo> ;
sp:subject spin:_this
] [ sp:object _:b15 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b14
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b12
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLithShowObservationURI ;
sp:arg1 _:b16 ;
sp:arg2 _:b13 ;
sp:arg3 _:b15
] ;
sp:variable _:b11
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 202 Transfer mdTop and mdBottom"^^xsd:string ;
sp:templates ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTop> ;
sp:subject _:b18
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBottom> ;
sp:subject _:b18
]) ;
sp:where ([ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#lithShowInfo> ;
sp:subject spin:_this
] [ sp:object _:b23 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b22
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTop> ;
sp:subject _:b22
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBottom> ;
sp:subject _:b22
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b20
] ;
sp:variable _:b24
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLithShowObservedPartOfAWellBoreURI ;
sp:arg1 _:b24 ;
sp:arg2 _:b21 ;
sp:arg3 _:b23
] ;
sp:variable _:b18
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 203b Transfer tvdBottom"^^xsd:string ;
sp:templates ([ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdBottom> ;
sp:subject _:b26
]) ;
sp:where ([ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#lithShowInfo> ;
sp:subject spin:_this
] [ sp:object _:b30 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b29
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdBottom> ;
sp:subject _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b27
] ;
sp:variable _:b31
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLithShowObservedPartOfAWellBoreURI ;
sp:arg1 _:b31 ;
sp:arg2 _:b28 ;
sp:arg3 _:b30
] ;
sp:variable _:b26
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 203a Transfer tvdTop"^^xsd:string ;
sp:templates ([ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdTop> ;
sp:subject _:b33
]) ;
sp:where ([ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#lithShowInfo> ;
sp:subject spin:_this
] [ sp:object _:b37 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b36
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdTop> ;
sp:subject _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b34
] ;
sp:variable _:b38
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLithShowObservedPartOfAWellBoreURI ;
sp:arg1 _:b38 ;
sp:arg2 _:b35 ;
sp:arg3 _:b37
] ;
sp:variable _:b33
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 204 Transfer show"^^xsd:string ;
sp:templates ([ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#show> ;
sp:subject _:b40
]) ;
sp:where ([ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#lithShowInfo> ;
sp:subject spin:_this
] [ sp:object _:b44 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b43
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#show> ;
sp:subject _:b43
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b41
] ;
sp:variable _:b45
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLithShowObservedPartOfAWellBoreURI ;
sp:arg1 _:b45 ;
sp:arg2 _:b42 ;
sp:arg3 _:b44
] ;
sp:variable _:b40
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 205 Transfer lithology"^^xsd:string ;
sp:templates ([ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#lithology> ;
sp:subject _:b47
]) ;
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#lithShowInfo> ;
sp:subject spin:_this
] [ sp:object _:b51 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b50
] [ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#lithology> ;
sp:subject _:b50
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b48
] ;
sp:variable _:b52
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLithShowObservedPartOfAWellBoreURI ;
sp:arg1 _:b52 ;
sp:arg2 _:b49 ;
sp:arg3 _:b51
] ;
sp:variable _:b47
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/lithShowInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b46
sp:varName "lithology"^^xsd:string .
_:b47
sp:varName "lithShowObservedPartOfAWellBore"^^xsd:string .
_:b48
sp:varName "nameWellBore"^^xsd:string .
_:b49
sp:varName "dTimStart"^^xsd:string .
_:b50
sp:varName "lithShowInfo"^^xsd:string .
_:b51
sp:varName "index"^^xsd:string .
_:b52
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b39
sp:varName "show"^^xsd:string .
_:b40
sp:varName "lithShowObservedPartOfAWellBore"^^xsd:string .
_:b41
sp:varName "nameWellBore"^^xsd:string .
_:b42
sp:varName "dTimStart"^^xsd:string .
_:b43
sp:varName "lithShowInfo"^^xsd:string .
_:b44
sp:varName "index"^^xsd:string .
_:b45
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b32
sp:varName "tvdTop"^^xsd:string .
_:b33
sp:varName "lithShowObservedPartOfAWellBore"^^xsd:string .
_:b34
sp:varName "nameWellBore"^^xsd:string .
_:b35
sp:varName "dTimStart"^^xsd:string .
_:b36
sp:varName "lithShowInfo"^^xsd:string .
_:b37
sp:varName "index"^^xsd:string .
_:b38
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "tvdBottom"^^xsd:string .
_:b26
sp:varName "lithShowObservedPartOfAWellBore"^^xsd:string .
_:b27
sp:varName "nameWellBore"^^xsd:string .
_:b28
sp:varName "dTimStart"^^xsd:string .
_:b29
sp:varName "lithShowInfo"^^xsd:string .
_:b30
sp:varName "index"^^xsd:string .
_:b31
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b17
sp:varName "mdTop"^^xsd:string .
_:b18
sp:varName "lithShowObservedPartOfAWellBore"^^xsd:string .
_:b19
sp:varName "mdBottom"^^xsd:string .
_:b20
sp:varName "nameWellBore"^^xsd:string .
_:b21
sp:varName "dTimStart"^^xsd:string .
_:b22
sp:varName "lithShowInfo"^^xsd:string .
_:b23
sp:varName "index"^^xsd:string .
_:b24
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b10
sp:varName "dTimEnd"^^xsd:string .
_:b11
sp:varName "lithShowObservation"^^xsd:string .
_:b12
sp:varName "nameWellBore"^^xsd:string .
_:b13
sp:varName "dTimStart"^^xsd:string .
_:b14
sp:varName "lithShowInfo"^^xsd:string .
_:b15
sp:varName "index"^^xsd:string .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b5 sp:varName "nameWellBore"^^xsd:string .
_:b6 sp:varName "dTimStart"^^xsd:string .
_:b7 sp:varName "lithShowInfo"^^xsd:string .
_:b8 sp:varName "index"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "lithShowObservation"^^xsd:string .
_:b3 sp:varName "lithShowObservedPartOfAWellBore"^^xsd:string .
# Saved by TopBraid on Wed Aug 17 16:55:07 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 Wed Aug 17 13:42:27 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@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 194 Transfer tvdTop"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdTop> ;
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#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b5
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdTop> ;
sp:subject _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
] ;
sp:variable _:b7
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b6
] ;
sp:variable _:b8
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLoggedPartOfAWellBoreURI ;
sp:arg1 _:b7 ;
sp:arg2 _:b4 ;
sp:arg3 _:b8
] ;
sp:variable _:b2
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 197 Transfer circulating temperature"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreBottomWithCirculation> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b9
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tempBHCT> ;
sp:subject _:b9
]) ;
sp:where ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b14
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tempBHCT> ;
sp:subject _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b12
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b15
] ;
sp:variable _:b17
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLoggedPartOfAWellBoreURI ;
sp:arg1 _:b16 ;
sp:arg2 _:b13 ;
sp:arg3 _:b17
] ;
sp:variable _:b10
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 190 Create a well bore log activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreLog> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b19
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b20
] [ sp:object
[ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b20
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b18
]) ;
sp:where ([ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b21
] ;
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b25 ;
sp:arg2 _:b22
] ;
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b24
] ;
sp:variable _:b26
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogURI ;
sp:arg1 _:b25 ;
sp:arg2 _:b22 ;
sp:arg3 _:b26
] ;
sp:variable _:b18
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLoggedPartOfAWellBoreURI ;
sp:arg1 _:b25 ;
sp:arg2 _:b22 ;
sp:arg3 _:b26
] ;
sp:variable _:b20
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 196 Transfer logging tool"^^xsd:string ;
sp:templates ([ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreLoggingTool> ;
sp:subject _:b28
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> ;
sp:predicate rdf:type ;
sp:subject _:b27
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b27
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#WellBoreLoggingTool> ;
sp:predicate rdf:type ;
sp:subject _:b29
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#description> ;
sp:subject _:b29
]) ;
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#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b33
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tool> ;
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:normalizeString ;
sp:arg1 _:b34
] ;
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogURI ;
sp:arg1 _:b35 ;
sp:arg2 _:b32 ;
sp:arg3 _:b36
] ;
sp:variable _:b28
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 199b Transfer tvd to temperature tool"^^xsd:string ;
sp:templates ([ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdTempTool> ;
sp:subject _:b38
]) ;
sp:where ([ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b41
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreLoggingTool> ;
sp:subject _:b43
] [ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdTempTool> ;
sp:subject _:b41
] [ 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 ep-spin-lib:normalizeString ;
sp:arg1 _:b42
] ;
sp:variable _:b45
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogURI ;
sp:arg1 _:b44 ;
sp:arg2 _:b40 ;
sp:arg3 _:b45
] ;
sp:variable _:b43
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 193 Transfer mdTop and mdBottom"^^xsd:string ;
sp:templates ([ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTop> ;
sp:subject _:b47
] [ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBottom> ;
sp:subject _:b47
]) ;
sp:where ([ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b51 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b52 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b51
] [ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTop> ;
sp:subject _:b51
] [ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBottom> ;
sp:subject _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b49
] ;
sp:variable _:b53
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b52
] ;
sp:variable _:b54
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLoggedPartOfAWellBoreURI ;
sp:arg1 _:b53 ;
sp:arg2 _:b50 ;
sp:arg3 _:b54
] ;
sp:variable _:b47
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 198 Transfer static temperature"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreBottomWithoutCirculation> ;
sp:predicate rdf:type ;
sp:subject _:b55
] [ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b55
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tempBHST> ;
sp:subject _:b55
]) ;
sp:where ([ sp:object _:b58 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b59 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b60 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b61 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b60
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tempBHST> ;
sp:subject _:b60
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b58
] ;
sp:variable _:b62
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b61
] ;
sp:variable _:b63
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLoggedPartOfAWellBoreURI ;
sp:arg1 _:b62 ;
sp:arg2 _:b59 ;
sp:arg3 _:b63
] ;
sp:variable _:b56
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 199a Transfer measured depth to temperature tool"^^xsd:string ;
sp:templates ([ sp:object _:b64 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTempTool> ;
sp:subject _:b65
]) ;
sp:where ([ sp:object _:b66 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b68 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b69 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b68
] [ sp:object _:b65 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreLoggingTool> ;
sp:subject _:b70
] [ sp:object _:b64 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTempTool> ;
sp:subject _:b68
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b66
] ;
sp:variable _:b71
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b69
] ;
sp:variable _:b72
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogURI ;
sp:arg1 _:b71 ;
sp:arg2 _:b67 ;
sp:arg3 _:b72
] ;
sp:variable _:b70
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 192 Service company for WellBoreLog"^^xsd:string ;
sp:templates ([ sp:object _:b73 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#serviceCompany> ;
sp:subject _:b74
] [ sp:object _:b75 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b73
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b73
]) ;
sp:where ([ sp:object _:b76 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b77 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b78 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b79 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b78
] [ sp:object _:b75 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#serviceCompany> ;
sp:subject _:b78
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b76
] ;
sp:variable _:b80
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b79
] ;
sp:variable _:b81
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogURI ;
sp:arg1 _:b80 ;
sp:arg2 _:b77 ;
sp:arg3 _:b81
] ;
sp:variable _:b74
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b75
] ;
sp:variable _:b82
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id _:b82
] ;
sp:variable _:b73
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 199 Transfer elapsed time since circulation stopped"^^xsd:string ;
sp:templates ([ sp:object _:b83 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimStatic> ;
sp:subject _:b84
]) ;
sp:where ([ sp:object _:b85 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b86 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b87 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b88 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b87
] [ sp:object _:b89 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b84
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreBottomWithoutCirculation> ;
sp:predicate rdf:type ;
sp:subject _:b84
] [ sp:object _:b83 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimStatic> ;
sp:subject _:b87
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b85
] ;
sp:variable _:b90
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b88
] ;
sp:variable _:b91
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLoggedPartOfAWellBoreURI ;
sp:arg1 _:b90 ;
sp:arg2 _:b86 ;
sp:arg3 _:b91
] ;
sp:variable _:b89
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 195 Transfer tvdBottom"^^xsd:string ;
sp:templates ([ sp:object _:b92 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdBottom> ;
sp:subject _:b93
]) ;
sp:where ([ sp:object _:b94 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b95 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b96 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b97 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b96
] [ sp:object _:b92 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdBottom> ;
sp:subject _:b96
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b94
] ;
sp:variable _:b98
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b97
] ;
sp:variable _:b99
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildLoggedPartOfAWellBoreURI ;
sp:arg1 _:b98 ;
sp:arg2 _:b95 ;
sp:arg3 _:b99
] ;
sp:variable _:b93
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 191 Transfer time of WellBoreLog"^^xsd:string ;
sp:templates ([ sp:object _:b100 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b101
]) ;
sp:where ([ sp:object _:b102 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b103 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b104 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#logInfo> ;
sp:subject spin:_this
] [ sp:object _:b105 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#runNumber> ;
sp:subject _:b104
] [ sp:object _:b100 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b104
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b102
] ;
sp:variable _:b106
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b105
] ;
sp:variable _:b107
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogURI ;
sp:arg1 _:b106 ;
sp:arg2 _:b103 ;
sp:arg3 _:b107
] ;
sp:variable _:b101
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b28
sp:varName "wellBoreLog"^^xsd:string .
_:b30
sp:varName "toolDescription"^^xsd:string .
_:b31
sp:varName "nameWellBore"^^xsd:string .
_:b32
sp:varName "dTimStart"^^xsd:string .
_:b33
sp:varName "logInfo"^^xsd:string .
_:b34
sp:varName "runNumber"^^xsd:string .
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b36
sp:varName "normalizedRunNumber"^^xsd:string .
_:b100
sp:varName "dTimEnd"^^xsd:string .
_:b101
sp:varName "wellBoreLog"^^xsd:string .
_:b102
sp:varName "nameWellBore"^^xsd:string .
_:b103
sp:varName "dTimStart"^^xsd:string .
_:b104
sp:varName "logInfo"^^xsd:string .
_:b105
sp:varName "runNumber"^^xsd:string .
_:b106
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b107
sp:varName "normalizedRunNumber"^^xsd:string .
_:b46
sp:varName "mdTop"^^xsd:string .
_:b47
sp:varName "loggedPartOfAWellBore"^^xsd:string .
_:b48
sp:varName "mdBottom"^^xsd:string .
_:b49
sp:varName "nameWellBore"^^xsd:string .
_:b50
sp:varName "dTimStart"^^xsd:string .
_:b51
sp:varName "logInfo"^^xsd:string .
_:b52
sp:varName "runNumber"^^xsd:string .
_:b53
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b54
sp:varName "normalizedRunNumber"^^xsd:string .
_:b37
sp:varName "tvdTempTool"^^xsd:string .
_:b38
sp:varName "temporalPartOfTemperatureTool"^^xsd:string .
_:b39
sp:varName "nameWellBore"^^xsd:string .
_:b40
sp:varName "dTimStart"^^xsd:string .
_:b41
sp:varName "logInfo"^^xsd:string .
_:b42
sp:varName "runNumber"^^xsd:string .
_:b43
sp:varName "wellBoreLog"^^xsd:string .
_:b44
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b45
sp:varName "normalizedRunNumber"^^xsd:string .
_:b64
sp:varName "mdTempTool"^^xsd:string .
_:b65
sp:varName "temporalPartOfTemperatureTool"^^xsd:string .
_:b66
sp:varName "nameWellBore"^^xsd:string .
_:b67
sp:varName "dTimStart"^^xsd:string .
_:b68
sp:varName "logInfo"^^xsd:string .
_:b69
sp:varName "runNumber"^^xsd:string .
_:b70
sp:varName "wellBoreLog"^^xsd:string .
_:b71
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b72
sp:varName "normalizedRunNumber"^^xsd:string .
_:b18
sp:varName "wellBoreLog"^^xsd:string .
_:b19
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b20
sp:varName "loggedPartOfAWellBore"^^xsd:string .
_:b21
sp:varName "nameWellBore"^^xsd:string .
_:b22
sp:varName "dTimStart"^^xsd:string .
_:b23
sp:varName "logInfo"^^xsd:string .
_:b24
sp:varName "runNumber"^^xsd:string .
_:b25
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b26
sp:varName "normalizedRunNumber"^^xsd:string .
_:b1 sp:varName "tvdTop"^^xsd:string .
_:b2 sp:varName "loggedPartOfAWellBore"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b5 sp:varName "logInfo"^^xsd:string .
_:b6 sp:varName "runNumber"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b8 sp:varName "normalizedRunNumber"^^xsd:string .
_:b92
sp:varName "tvdBottom"^^xsd:string .
_:b93
sp:varName "loggedPartOfAWellBore"^^xsd:string .
_:b94
sp:varName "nameWellBore"^^xsd:string .
_:b95
sp:varName "dTimStart"^^xsd:string .
_:b96
sp:varName "logInfo"^^xsd:string .
_:b97
sp:varName "runNumber"^^xsd:string .
_:b98
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b99
sp:varName "normalizedRunNumber"^^xsd:string .
_:b76
sp:varName "nameWellBore"^^xsd:string .
_:b77
sp:varName "dTimStart"^^xsd:string .
_:b78
sp:varName "logInfo"^^xsd:string .
_:b79
sp:varName "runNumber"^^xsd:string .
_:b75
sp:varName "nameServiceCompany"^^xsd:string .
_:b80
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b81
sp:varName "normalizedRunNumber"^^xsd:string .
_:b74
sp:varName "wellBoreLog"^^xsd:string .
_:b82
sp:varName "normalizedNameServiceCompany"^^xsd:string .
_:b73
sp:varName "serviceCompany"^^xsd:string .
_:b85
sp:varName "nameWellBore"^^xsd:string .
_:b86
sp:varName "dTimStart"^^xsd:string .
_:b87
sp:varName "logInfo"^^xsd:string .
_:b88
sp:varName "runNumber"^^xsd:string .
_:b84
sp:varName "wellBoreBottomWithoutCirculation"^^xsd:string .
_:b89
sp:varName "loggedPartOfAWellBore"^^xsd:string .
_:b83
sp:varName "eTimStatic"^^xsd:string .
_:b90
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b91
sp:varName "normalizedRunNumber"^^xsd:string .
_:b58
sp:varName "nameWellBore"^^xsd:string .
_:b59
sp:varName "dTimStart"^^xsd:string .
_:b60
sp:varName "logInfo"^^xsd:string .
_:b61
sp:varName "runNumber"^^xsd:string .
_:b57
sp:varName "tempBHST"^^xsd:string .
_:b62
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b63
sp:varName "normalizedRunNumber"^^xsd:string .
_:b56
sp:varName "loggedPartOfAWellBore"^^xsd:string .
_:b12
sp:varName "nameWellBore"^^xsd:string .
_:b13
sp:varName "dTimStart"^^xsd:string .
_:b14
sp:varName "logInfo"^^xsd:string .
_:b15
sp:varName "runNumber"^^xsd:string .
_:b11
sp:varName "tempBHCT"^^xsd:string .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b17
sp:varName "normalizedRunNumber"^^xsd:string .
_:b10
sp:varName "loggedPartOfAWellBore"^^xsd:string .
# Saved by TopBraid on Wed Aug 17 13:42:27 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
# Saved by TopBraid on Tue Aug 16 11:26:15 BST 2011
# Saved by TopBraid on Wed Aug 17 16:43:17 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo
# imports: http://www.reportinghub.no/swp/ddr
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/lithShowInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: file:///www.reportinghub.no/examples/xml/TemplateTest.xml
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/porePressure
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo
@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> .
@prefix ddr1: <http://www.reportinghub.no/swp/ddr#> .
@prefix equipFailureInfo: <http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix lithShowInfo: <http://www.reportinghub.no/ep/transform/1.1/ddr/lithShowInfo#> .
@prefix logInfo: <http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix porePressure: <http://www.reportinghub.no/ep/transform/1.1/ddr/porePressure#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
......@@ -25,7 +34,7 @@
<http://www.reportinghub.no/ep/transform/1.1/normalization>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> , <http://www.reportinghub.no/swp/ddr> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> , <http://www.reportinghub.no/ep/transform/1.1/ddr/lithShowInfo> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/swp/ddr> , <file:///www.reportinghub.no/examples/xml/TemplateTest.xml> , <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/porePressure> , <http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
owl:Thing
......
# Saved by TopBraid on Tue Aug 16 11:26:15 BST 2011
# Saved by TopBraid on Wed Aug 17 16:43:17 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Tue Aug 16 12:29:21 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/porePressure
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/porePressure#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 183 Set tvd of PorePressureDetermination"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
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#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ;
sp:subject spin:_this
] [ sp:object _:b6 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b5
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
] ;
sp:variable _:b7
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPorePressureDeterminedPartOfAWellBoreURI ;
sp:arg1 _:b7 ;
sp:arg2 _:b4 ;
sp:arg3 _:b6
] ;
sp:variable _:b2
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 184 Transfer equivalentMudWeight"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#equivalentMudWeight> ;
sp:subject _:b9
]) ;
sp:where ([ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b12
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#equivalentMudWeight> ;
sp:subject _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b10
] ;
sp:variable _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPorePressureDeterminedPartOfAWellBoreURI ;
sp:arg1 _:b14 ;
sp:arg2 _:b11 ;
sp:arg3 _:b13
] ;
sp:variable _:b9
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 181 Set time of PorePressureDetermination"^^xsd:string ;
sp:templates ([ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b16
]) ;
sp:where ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ;
sp:subject spin:_this
] [ sp:object _:b20 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b19
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b17
] ;
sp:variable _:b21
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPorePressureDeterminationURI ;
sp:arg1 _:b21 ;
sp:arg2 _:b18 ;
sp:arg3 _:b20
] ;
sp:variable _:b16
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 180 Create a PorePressureDetermination activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#PorePressureDetermination> ;
sp:predicate rdf:type ;
sp:subject _:b22
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b23
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b24
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b24
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b22
]) ;
sp:where ([ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ;
sp:subject spin:_this
] [ sp:object _:b29 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b28
] [ sp:object _:b25 ;
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 _:b26
] ;
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b30 ;
sp:arg2 _:b27
] ;
sp:variable _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPorePressureDeterminationURI ;
sp:arg1 _:b30 ;
sp:arg2 _:b27 ;
sp:arg3 _:b29
] ;
sp:variable _:b22
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPorePressureDeterminedPartOfAWellBoreURI ;
sp:arg1 _:b30 ;
sp:arg2 _:b27 ;
sp:arg3 _:b29
] ;
sp:variable _:b24
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 182 Set md of PorePressureDetermination"^^xsd:string ;
sp:templates ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b32
]) ;
sp:where ([ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ;
sp:subject spin:_this
] [ sp:object _:b36 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b35
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b33
] ;
sp:variable _:b37
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPorePressureDeterminedPartOfAWellBoreURI ;
sp:arg1 _:b37 ;
sp:arg2 _:b34 ;
sp:arg3 _:b36
] ;
sp:variable _:b32
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 185 Set type of PorePressureDetermination"^^xsd:string ;
sp:templates ([ sp:object _:b38 ;
sp:predicate rdf:type ;
sp:subject _:b39
]) ;
sp:where ([ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ;
sp:subject spin:_this
] [ sp:object _:b43 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b42
] [ sp:object _:b44 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumReadingKind> ;
sp:subject _:b42
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b40
] ;
sp:variable _:b45
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPorePressureDeterminationURI ;
sp:arg1 _:b45 ;
sp:arg2 _:b41 ;
sp:arg3 _:b43
] ;
sp:variable _:b39
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPorePressureDeterminationType ;
sp:arg1 _:b44
] ;
sp:variable _:b38
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/porePressure>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b2 sp:varName "porePressurePartOfAWellBore"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "tvdOfPorePressure"^^xsd:string .
_:b6 sp:varName "index"^^xsd:string .
_:b5 sp:varName "porePressure"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b9 sp:varName "porePressurePartOfAWellBore"^^xsd:string .
_:b14
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b8 sp:varName "equivalentMudWeight"^^xsd:string .
_:b13
sp:varName "index"^^xsd:string .
_:b12
sp:varName "porePressure"^^xsd:string .
_:b11
sp:varName "dTimStart"^^xsd:string .
_:b10
sp:varName "nameWellBore"^^xsd:string .
_:b32
sp:varName "porePressurePartOfAWellBore"^^xsd:string .
_:b37
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b31
sp:varName "mdOfPorePressure"^^xsd:string .
_:b36
sp:varName "index"^^xsd:string .
_:b35
sp:varName "porePressure"^^xsd:string .
_:b34
sp:varName "dTimStart"^^xsd:string .
_:b33
sp:varName "nameWellBore"^^xsd:string .
_:b24
sp:varName "porePressurePartOfAWellBore"^^xsd:string .
_:b22
sp:varName "porePressureDetermination"^^xsd:string .
_:b30
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
_:b23
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b29
sp:varName "index"^^xsd:string .
_:b28
sp:varName "porePressure"^^xsd:string .
_:b27
sp:varName "dTimStart"^^xsd:string .
_:b26
sp:varName "nameWellBore"^^xsd:string .
_:b21
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b20
sp:varName "index"^^xsd:string .
_:b19
sp:varName "porePressure"^^xsd:string .
_:b18
sp:varName "dTimStart"^^xsd:string .
_:b17
sp:varName "nameWellBore"^^xsd:string .
_:b16
sp:varName "porePressureDetermination"^^xsd:string .
_:b15
sp:varName "timeOfDetermination"^^xsd:string .
_:b45
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b44
sp:varName "enumReadingKind"^^xsd:string .
_:b43
sp:varName "index"^^xsd:string .
_:b42
sp:varName "porePressure"^^xsd:string .
_:b41
sp:varName "dTimStart"^^xsd:string .
_:b40
sp:varName "nameWellBore"^^xsd:string .
_:b39
sp:varName "porePressureDetermination"^^xsd:string .
_:b38
sp:varName "porePressureDeterminationType"^^xsd:string .
# Saved by TopBraid on Tue Aug 16 12:29:21 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
# Saved by TopBraid on Tue Aug 16 11:03:54 BST 2011
# Saved by TopBraid on Wed Aug 17 11:44:23 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://spinrdf.org/spin
......@@ -16,212 +16,227 @@
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 185 Set azimuth of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ;
rdfs:comment "STEP 180 Create a WellBoreDirectionalSurvey activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreDirectionalSurvey> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b3
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b3 ;
sp:where ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b4 ;
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b5 ;
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
] [ sp:object _:b6 ;
] [ sp:object _:b8 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b5
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ;
sp:subject _:b5
sp:subject _:b7
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
sp:arg1 _:b5
] ;
sp:variable _:b7
sp:variable _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b7 ;
sp:arg2 _:b4 ;
sp:arg3 _:b6
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6 ;
sp:arg3 _:b8
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b6 ;
sp:arg3 _:b8
] ;
sp:variable _:b3
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 184 Set inclination of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ;
sp:subject _:b9
rdfs:comment "STEP 181 Set time of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b11
]) ;
sp:where ([ sp:object _:b10 ;
sp:where ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b11 ;
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b12 ;
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
] [ sp:object _:b15 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b12
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ;
sp:subject _:b12
sp:subject _:b14
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b10
sp:arg1 _:b12
] ;
sp:variable _:b14
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b14 ;
sp:arg2 _:b11 ;
sp:arg3 _:b13
[ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
sp:arg1 _:b16 ;
sp:arg2 _:b13 ;
sp:arg3 _:b15
] ;
sp:variable _:b9
sp:variable _:b11
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 183 Set tvd of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b16
rdfs:comment "STEP 182 Set md of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b18
]) ;
sp:where ([ sp:object _:b17 ;
sp:where ([ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b18 ;
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b19 ;
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
] [ sp:object _:b20 ;
] [ sp:object _:b22 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b19
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b19
sp:subject _:b21
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b21
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b17
sp:arg1 _:b19
] ;
sp:variable _:b21
sp:variable _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b21 ;
sp:arg2 _:b18 ;
sp:arg3 _:b20
sp:arg1 _:b23 ;
sp:arg2 _:b20 ;
sp:arg3 _:b22
] ;
sp:variable _:b16
sp:variable _:b18
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 182 Set md of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b23
rdfs:comment "STEP 183 Set tvd of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b25
]) ;
sp:where ([ sp:object _:b24 ;
sp:where ([ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b25 ;
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b26 ;
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
] [ sp:object _:b27 ;
] [ sp:object _:b29 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b26
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b26
sp:subject _:b28
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b24
sp:arg1 _:b26
] ;
sp:variable _:b28
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b28 ;
sp:arg2 _:b25 ;
sp:arg3 _:b27
sp:arg1 _:b30 ;
sp:arg2 _:b27 ;
sp:arg3 _:b29
] ;
sp:variable _:b23
sp:variable _:b25
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 181 Set time of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b30
rdfs:comment "STEP 184 Set inclination of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ;
sp:subject _:b32
]) ;
sp:where ([ sp:object _:b31 ;
sp:where ([ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b32 ;
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b33 ;
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
sp:subject spin:_this
] [ sp:object _:b34 ;
] [ sp:object _:b36 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b33
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b33
sp:subject _:b35
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ;
sp:subject _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b31
sp:arg1 _:b33
] ;
sp:variable _:b35
sp:variable _:b37
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
sp:arg1 _:b35 ;
sp:arg2 _:b32 ;
sp:arg3 _:b34
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b37 ;
sp:arg2 _:b34 ;
sp:arg3 _:b36
] ;
sp:variable _:b30
sp:variable _:b32
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 180 Create a WellBoreDirectionalSurvey activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreDirectionalSurvey> ;
sp:predicate rdf:type ;
sp:subject _:b36
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b37
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b38
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b38
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b36
rdfs:comment "STEP 185 Set azimuth of WellBoreDirectionalSurvey"^^xsd:string ;
sp:templates ([ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ;
sp:subject _:b39
]) ;
sp:where ([ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
......@@ -235,9 +250,9 @@
] [ sp:object _:b43 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b42
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b37
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ;
sp:subject _:b42
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
......@@ -246,154 +261,139 @@
sp:variable _:b44
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b44 ;
sp:arg2 _:b41
] ;
sp:variable _:b37
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
sp:arg1 _:b44 ;
sp:arg2 _:b41 ;
sp:arg3 _:b43
] ;
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
sp:arg1 _:b44 ;
sp:arg2 _:b41 ;
sp:arg3 _:b43
] ;
sp:variable _:b38
sp:variable _:b39
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b6 sp:varName "index"^^xsd:string .
_:b38
sp:varName "azi"^^xsd:string .
_:b5 sp:varName "surveyStation"^^xsd:string .
_:b39
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b40
sp:varName "nameWellBore"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b41
sp:varName "dTimStart"^^xsd:string .
_:b2 sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b42
sp:varName "surveyStation"^^xsd:string .
_:b1 sp:varName "azi"^^xsd:string .
_:b43
sp:varName "index"^^xsd:string .
_:b14
_:b44
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b13
sp:varName "index"^^xsd:string .
_:b12
sp:varName "surveyStation"^^xsd:string .
_:b31
sp:varName "incl"^^xsd:string .
_:b11
sp:varName "dTimStart"^^xsd:string .
_:b32
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b10
_:b33
sp:varName "nameWellBore"^^xsd:string .
_:b9 sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b8 sp:varName "incl"^^xsd:string .
_:b34
sp:varName "dTimStart"^^xsd:string .
_:b21
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b35
sp:varName "surveyStation"^^xsd:string .
_:b20
_:b36
sp:varName "index"^^xsd:string .
_:b19
sp:varName "surveyStation"^^xsd:string .
_:b18
sp:varName "dTimStart"^^xsd:string .
_:b37
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b17
sp:varName "nameWellBore"^^xsd:string .
_:b24
sp:varName "tvdOfSurvey"^^xsd:string .
_:b16
_:b25
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b15
sp:varName "tvdOfSurvey"^^xsd:string .
_:b26
sp:varName "nameWellBore"^^xsd:string .
_:b27
sp:varName "dTimStart"^^xsd:string .
_:b28
sp:varName "normalizedWellBoreName"^^xsd:string .
sp:varName "surveyStation"^^xsd:string .
_:b27
_:b29
sp:varName "index"^^xsd:string .
_:b26
sp:varName "surveyStation"^^xsd:string .
_:b30
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "dTimStart"^^xsd:string .
_:b17
sp:varName "mdOfSurvey"^^xsd:string .
_:b24
_:b18
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b19
sp:varName "nameWellBore"^^xsd:string .
_:b23
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b20
sp:varName "dTimStart"^^xsd:string .
_:b21
sp:varName "surveyStation"^^xsd:string .
_:b22
sp:varName "mdOfSurvey"^^xsd:string .
sp:varName "index"^^xsd:string .
_:b35
_:b23
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b34
sp:varName "index"^^xsd:string .
_:b33
sp:varName "surveyStation"^^xsd:string .
_:b10
sp:varName "timeOfSurvey"^^xsd:string .
_:b32
sp:varName "dTimStart"^^xsd:string .
_:b11
sp:varName "wellBoreDirectionalSurvey"^^xsd:string .
_:b31
_:b12
sp:varName "nameWellBore"^^xsd:string .
_:b30
sp:varName "wellBoreDirectionalSurvey"^^xsd:string .
_:b13
sp:varName "dTimStart"^^xsd:string .
_:b29
sp:varName "timeOfSurvey"^^xsd:string .
_:b14
sp:varName "surveyStation"^^xsd:string .
_:b44
_:b15
sp:varName "index"^^xsd:string .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b43
sp:varName "index"^^xsd:string .
_:b5 sp:varName "nameWellBore"^^xsd:string .
_:b42
sp:varName "surveyStation"^^xsd:string .
_:b6 sp:varName "dTimStart"^^xsd:string .
_:b41
sp:varName "dTimStart"^^xsd:string .
_:b7 sp:varName "surveyStation"^^xsd:string .
_:b40
sp:varName "nameWellBore"^^xsd:string .
_:b8 sp:varName "index"^^xsd:string .
_:b39
sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b38
sp:varName "surveyedPartOfAWellBore"^^xsd:string .
_:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
_:b37
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b36
sp:varName "wellBoreDirectionalSurvey"^^xsd:string .
_:b1 sp:varName "wellBoreDirectionalSurvey"^^xsd:string .
_:b3 sp:varName "surveyedPartOfAWellBore"^^xsd:string .
......
# Saved by TopBraid on Tue Aug 16 11:03:54 BST 2011
# Saved by TopBraid on Wed Aug 17 11:44:23 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Sat Aug 13 14:27:00 BST 2011
# Saved by TopBraid on Wed Aug 17 10:15:15 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-org: <http://www.reportinghub.no/ep/schema/organization#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -21,602 +23,608 @@
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 168 Transfer fixedRig
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingContractor> ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b1
] [ sp:object ep-org:Company ;
sp:predicate rdf:type ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b3 ;
sp:where ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b4 ;
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b6
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b5
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#fixedRig> ;
sp:subject _:b7
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#drillContractor> ;
sp:subject _:b6
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
sp:arg1 _:b4
] ;
sp:variable _:b9
sp:variable _:b7
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b4
sp:arg1 _:b7 ;
sp:arg2 _:b5
] ;
sp:variable _:b6
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
sp:arg1 _:b8
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
] ;
sp:variable _:b8
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id _:b8
] ;
sp:variable _:b1
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimSpud> ;
sp:subject _:b11
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 _:b12 ;
sp:where ([ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b14 ;
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimSpud> ;
sp:subject _:b14
] [ sp:object _:b15 ;
] [ 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 _:b16
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
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 _:b12
sp:arg1 _:b11
] ;
sp:variable _:b17
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b17 ;
sp:arg2 _:b13
sp:arg1 _:b16 ;
sp:arg2 _:b12
] ;
sp:variable _:b16
sp:variable _:b15
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingContractor> ;
sp:subject _:b19
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
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 _:b21 ;
sp:where ([ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b22 ;
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b23 ;
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#drillContractor> ;
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
sp:subject _:b21
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:subject _:b22
] [ sp:object "NPD Name" ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
sp:subject _:b22
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b24
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b21
] ;
sp:variable _:b24
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b24 ;
sp:arg2 _:b22
] ;
sp:variable _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b20
sp:arg1 _:b19
] ;
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id _:b25
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b25 ;
sp:arg2 _:b20
] ;
sp:variable _:b18
sp:variable _:b24
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingOperator> ;
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 _:b26
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b27
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Rig> ;
sp:predicate rdf:type ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#npdCode> ;
sp:subject _:b28
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b26
]) ;
sp:where ([ sp:object _:b29 ;
sp:where ([ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b30 ;
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b31 ;
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#operator> ;
sp:subject _:b31
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
sp:subject _:b33
] [ sp:object "NPD Code" ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
sp:subject _:b34
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:subject _:b34
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b30
] ;
sp:variable _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b29
] ;
sp:variable _:b32
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b32 ;
sp:arg2 _:b30
sp:arg1 _:b35 ;
sp:arg2 _:b31
] ;
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b28
[ rdf:type ep-spin-lib:buildRigURI ;
sp:arg1 _:b36
] ;
sp:variable _:b33
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id _:b33
[ rdf:type ep-spin-lib:buildTemporalPartOfARigURI ;
sp:arg1 _:b36 ;
sp:arg2 _:b31 ;
sp:arg3 _:b32
] ;
sp:variable _:b26
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 160 Set rig for drilling activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfARig> ;
sp:predicate rdf:type ;
sp:subject _:b34
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b35
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Rig> ;
sp:predicate rdf:type ;
sp:subject _:b36
] [ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#npdCode> ;
sp:subject _:b36
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b34
rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ;
sp:templates ([ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
sp:subject _:b38
]) ;
sp:where ([ sp:object _:b38 ;
sp:where ([ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
sp:subject _:b41
] [ sp:object "NPD Code" ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
sp:subject _:b42
] [ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
sp:subject _:b41
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b43
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b42
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b38
] ;
sp:variable _:b43
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b37
sp:arg1 _:b39
] ;
sp:variable _:b44
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b43 ;
sp:arg2 _:b39
] ;
sp:variable _:b35
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildRigURI ;
sp:arg1 _:b44
] ;
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfARigURI ;
sp:arg1 _:b44 ;
sp:arg2 _:b39 ;
sp:arg3 _:b40
sp:arg2 _:b40
] ;
sp:variable _:b34
sp:variable _:b43
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 161 Set name for Rig"^^xsd:string ;
rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#npdName> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingOperator> ;
sp:subject _:b46
] [ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b45
] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject _:b45
]) ;
sp:where ([ sp:object _:b47 ;
sp:where ([ sp:object _:b48 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b48 ;
] [ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b49 ;
] [ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
sp:subject _:b49
] [ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
sp:subject _:b50
] [ sp:object "NPD Name" ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
] [ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#operator> ;
sp:subject _:b50
] [ sp:object _:b51 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b52
] [ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b47
sp:arg1 _:b48
] ;
sp:variable _:b53
sp:variable _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b53 ;
sp:arg2 _:b48
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 _: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 164 Set preSPUD date"^^xsd:string ;
sp:templates ([ sp:object _:b54 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPreSpud> ;
sp:subject _:b55
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 _:b56 ;
sp:where ([ sp:object _:b55 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b57 ;
] [ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b58 ;
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b54 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPreSpud> ;
sp:subject _:b58
] [ sp:object _:b59 ;
] [ 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 _:b60
] [ sp:object _:b55 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
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 _:b56
sp:arg1 _:b55
] ;
sp:variable _:b61
sp:variable _:b60
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b61 ;
sp:arg2 _:b57
sp:arg1 _:b60 ;
sp:arg2 _:b56
] ;
sp:variable _:b60
sp:variable _:b59
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ;
sp:templates ([ sp:object _:b62 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
sp:subject _:b63
rdfs:comment """STEP 168 Transfer fixedRig
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object _:b61 ;
sp:predicate rdf:type ;
sp:subject _:b62
]) ;
sp:where ([ sp:object _:b64 ;
sp:where ([ sp:object _:b63 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b65 ;
] [ sp:object _:b64 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b66 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
sp:subject spin:_this
] [ sp:object _:b62 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
] [ sp:object _:b65 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
sp:subject _:b66
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b68
] [ sp:object _:b63 ;
] [ sp:object _:b62 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b65
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b68 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#fixedRig> ;
sp:subject _:b67
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b64
sp:arg1 _:b63
] ;
sp:variable _:b69
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b69 ;
sp:arg2 _:b65
sp:arg2 _:b64
] ;
sp:variable _:b66
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
sp:arg1 _:b68
] ;
sp:variable _:b68
sp:variable _:b61
])
] .
<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b1 sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
[] rdf:type sp:Modify .
_:b8 sp:varName "fixedRigFlag"^^xsd:string .
[] rdf:type fn:starts-with .
_:b7 sp:varName "statusInfo"^^xsd:string .
[] rdf:type smf:trim .
_:b2 sp:varName "rig"^^xsd:string .
[] rdf:type smf:regex .
_:b5 sp:varName "temporalPartOfARig"^^xsd:string .
_:b44
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b6 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b43
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b42
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b41
sp:varName "wellboreInfo"^^xsd:string .
[] rdf:type smf:regex .
_:b40
sp:varName "dTimStart"^^xsd:string .
[] rdf:type smf:trim .
_:b39
sp:varName "nameWellBore"^^xsd:string .
[] rdf:type fn:starts-with .
_:b38
sp:varName "wellBore"^^xsd:string .
[] rdf:type sp:Modify .
_:b37
sp:varName "dateDrillComplete"^^xsd:string .
_:b17
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b16
_:b15
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b15
_:b14
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b14
_:b13
sp:varName "wellboreInfo"^^xsd:string .
_:b13
_:b12
sp:varName "dTimStart"^^xsd:string .
_:b12
_:b11
sp:varName "nameWellBore"^^xsd:string .
_:b11
_:b10
sp:varName "wellBore"^^xsd:string .
_:b10
sp:varName "spudDate"^^xsd:string .
_:b9 sp:varName "preSpudDate"^^xsd:string .
_:b25
sp:varName "normalizedContractorName"^^xsd:string .
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b24
sp:varName "normalizedWellBoreName"^^xsd:string .
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b23
sp:varName "wellboreInfo"^^xsd:string .
sp:varName "temporalPartOfARig"^^xsd:string .
_:b22
sp:varName "dTimStart"^^xsd:string .
sp:varName "rigAlias"^^xsd:string .
_:b21
sp:varName "nameWellBore"^^xsd:string .
sp:varName "wellboreInfo"^^xsd:string .
_:b20
sp:varName "nameContractor"^^xsd:string .
sp:varName "dTimStart"^^xsd:string .
_:b19
sp:varName "dailyDrillingActivity"^^xsd:string .
sp:varName "nameWellBore"^^xsd:string .
_:b18
sp:varName "contractor"^^xsd:string .
sp:varName "rig"^^xsd:string .
_:b17
sp:varName "name"^^xsd:string .
_:b36
sp:varName "normalizedRigName"^^xsd:string .
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b34
sp:varName "rigAlias"^^xsd:string .
_:b33
sp:varName "normalizedOperatorName"^^xsd:string .
sp:varName "wellboreInfo"^^xsd:string .
_:b32
sp:varName "normalizedWellBoreName"^^xsd:string .
sp:varName "dTimEnd"^^xsd:string .
_:b31
sp:varName "wellboreInfo"^^xsd:string .
sp:varName "dTimStart"^^xsd:string .
_:b30
sp:varName "dTimStart"^^xsd:string .
sp:varName "nameWellBore"^^xsd:string .
_:b29
sp:varName "nameWellBore"^^xsd:string .
sp:varName "nameRig"^^xsd:string .
_:b28
sp:varName "nameOperator"^^xsd:string .
sp:varName "rig"^^xsd:string .
_:b27
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b26
sp:varName "operator"^^xsd:string .
_:b44
sp:varName "normalizedRigName"^^xsd:string .
sp:varName "temporalPartOfARig"^^xsd:string .
_:b43
_:b60
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b42
sp:varName "rigAlias"^^xsd:string .
_:b59
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b41
sp:varName "wellboreInfo"^^xsd:string .
_:b58
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b40
sp:varName "dTimEnd"^^xsd:string .
_:b57
sp:varName "wellboreInfo"^^xsd:string .
_:b39
_:b56
sp:varName "dTimStart"^^xsd:string .
_:b38
_:b55
sp:varName "nameWellBore"^^xsd:string .
_:b37
sp:varName "nameRig"^^xsd:string .
_:b54
sp:varName "wellBore"^^xsd:string .
_:b36
sp:varName "rig"^^xsd:string .
_:b53
sp:varName "spudDate"^^xsd:string .
_:b35
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b69
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b34
sp:varName "temporalPartOfARig"^^xsd:string .
_:b68
sp:varName "fixedRigFlag"^^xsd:string .
_:b53
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b67
sp:varName "statusInfo"^^xsd:string .
_:b52
_:b66
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b51
_:b65
sp:varName "temporalPartOfARig"^^xsd:string .
_:b50
sp:varName "rigAlias"^^xsd:string .
_:b49
sp:varName "wellboreInfo"^^xsd:string .
_:b48
_:b64
sp:varName "dTimStart"^^xsd:string .
_:b47
_:b63
sp:varName "nameWellBore"^^xsd:string .
_:b46
_:b62
sp:varName "rig"^^xsd:string .
_:b45
sp:varName "name"^^xsd:string .
_:b61
sp:varName "normalizedWellBoreName"^^xsd:string .
sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b60
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b1 sp:varName "contractor"^^xsd:string .
_:b59
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b8 sp:varName "normalizedContractorName"^^xsd:string .
_:b58
sp:varName "wellboreInfo"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b57
sp:varName "dTimStart"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b56
sp:varName "nameWellBore"^^xsd:string .
_:b3 sp:varName "nameContractor"^^xsd:string .
_:b55
sp:varName "wellBore"^^xsd:string .
_:b6 sp:varName "wellboreInfo"^^xsd:string .
_:b54
sp:varName "preSpudDate"^^xsd:string .
_:b5 sp:varName "dTimStart"^^xsd:string .
_:b69
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b4 sp:varName "nameWellBore"^^xsd:string .
_:b68
_:b45
sp:varName "operator"^^xsd:string .
_:b52
sp:varName "normalizedOperatorName"^^xsd:string .
_:b46
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b67
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b51
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b66
_:b47
sp:varName "nameOperator"^^xsd:string .
_:b50
sp:varName "wellboreInfo"^^xsd:string .
_:b65
_:b49
sp:varName "dTimStart"^^xsd:string .
_:b64
_:b48
sp:varName "nameWellBore"^^xsd:string .
_:b63
sp:varName "wellBore"^^xsd:string .
_:b62
sp:varName "dateDrillComplete"^^xsd:string .
([]) .
([]) .
......
......@@ -55,7 +55,13 @@
<witsml:avgTempBH uom="degC">20</witsml:avgTempBH>
<witsml:fixedRig>true</witsml:fixedRig>
</witsml:statusInfo>
<witsml:surveyStation>
<witsml:porePressure>
<witsml:readingKind>estimated</witsml:readingKind>
<witsml:equivalentMudWeight uom="g/cm3">.93</witsml:equivalentMudWeight>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">3741</witsml:md>
</witsml:porePressure>
<witsml:surveyStation>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">3569</witsml:md>
<witsml:tvd uom="m">1822.47</witsml:tvd>
......@@ -244,6 +250,24 @@ Sand Zones:
0,08m above, 1,29m to the right of plan.</witsml:comments>
</witsml:activity>
<witsml:logInfo>
<witsml:runNumber>101</witsml:runNumber>
<witsml:serviceCompany>Baker Hughes Inteq</witsml:serviceCompany>
<witsml:mdTop uom="m">3567</witsml:mdTop>
<witsml:mdBottom uom="m">3883</witsml:mdBottom>
<witsml:tool>AutoTrak - DeepTrak - SOUNDTRAK - AZITRA</witsml:tool>
<witsml:tempBHST uom="degC">-9999</witsml:tempBHST>
<witsml:eTimStatic uom="h">-9999</witsml:eTimStatic>
<witsml:mdTempTool uom="m">-9999</witsml:mdTempTool>
</witsml:logInfo>
<witsml:lithShowInfo>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:mdTop uom="m">3570</witsml:mdTop>
<witsml:mdBottom uom="m">3750</witsml:mdBottom>
<witsml:tvdTop uom="m">1822.67</witsml:tvdTop>
<witsml:tvdBottom uom="m">1827.57</witsml:tvdBottom>
<witsml:lithology>Sandstone with minor claystone (Heimdal Fm)</witsml:lithology>
</witsml:lithShowInfo>
<witsml:equipFailureInfo>
<witsml:dTim>2009-12-31T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">2823</witsml:md>
......@@ -252,6 +276,5 @@ Sand Zones:
<witsml:dTimRepair>2009-12-30T11:30:00.000Z</witsml:dTimRepair>
<witsml:description>Feilfunksjon på URA. Det er avvik mellom posisjon kloa på URA har og det DrillView viser.</witsml:description>
</witsml:equipFailureInfo>
</witsml:drillReport>
</witsml:drillReports>
\ No newline at end of file
......