David Leal

Merging of DDR and NPD ontologies

# Saved by TopBraid on Mon Aug 08 14:39:42 BST 2011
# Saved by TopBraid on Tue Aug 09 15:23:56 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.linkedmodel.org/1.1/schema/ordered
......@@ -21,7 +21,7 @@
ep-activity:Activity
rdf:type owl:Class ;
rdfs:label "Activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/iso15926/nativeOWL#Activity> ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
......@@ -29,6 +29,11 @@ ep-activity:Activity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
] ;
......@@ -46,11 +51,6 @@ ep-activity:Activity
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
] .
ep-activity:DailyDrillingActivity
......@@ -59,8 +59,8 @@ ep-activity:DailyDrillingActivity
rdfs:subClassOf ep-activity:DrillingActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -69,8 +69,8 @@ ep-activity:DailyDrillingActivity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty ep-activity:hasSubActivity
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -176,8 +176,8 @@ ep-activity:OffshoreWellActivity
rdfs:subClassOf ep-activity:OffshoreActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/equipment#Rig> ;
owl:onProperty ep-activity:onRig
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onWell
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -188,11 +188,6 @@ ep-activity:OffshoreWellActivity
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:onProperty ep-activity:onWell
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onWell
] .
ep-activity:PressureTestType
......
# Saved by TopBraid on Sun Aug 07 12:55:41 PDT 2011
# Saved by TopBraid on Tue Aug 09 15:02:54 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/core
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> .
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
......@@ -14,22 +12,58 @@
<http://www.reportinghub.no/ep/schema/1.1/core>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> ;
owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-core:PhysicalObject
rdf:type owl:Class ;
rdfs:label "physical object"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThing
rdf:type owl:Class ;
rdfs:label "physical thing"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-core:basisFor
rdf:type owl:ObjectProperty ;
rdfs:label "basis for"^^xsd:string .
ep-core:derivedFrom
rdf:type owl:TransitiveProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
rdfs:label "derived from"^^xsd:string .
ep-core:hasPart
rdf:type owl:ObjectProperty ;
rdfs:label "has part"^^xsd:string .
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
owl:inverseOf ep-core:partOf .
ep-core:hasTemporalPart
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has temporal part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:hasPart ;
owl:inverseOf ep-core:partOf .
ep-core:name
rdf:type owl:DatatypeProperty ;
rdfs:label "name"^^xsd:string ;
rdfs:range xsd:string .
ep-core:partOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
owl:inverseOf ep-core:hasPart .
ep-core:temporalPartOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "temporal part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:hasPart ;
owl:inverseOf ep-core:hasTemporalPart .
......
# Saved by TopBraid on Sun Aug 07 12:55:41 PDT 2011
# Saved by TopBraid on Tue Aug 09 15:41:34 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/equipment
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/schema/1.1/core
@prefix : <http://www.reportinghub.no/ep/schema/equipment#> .
......@@ -10,17 +9,15 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
rdfs:comment "Equivalent to ISO 15926-2 Possible Individual - DL"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-eqt:Equipment
rdf:type owl:Class ;
rdfs:label "Equipment"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-eqt:Rig
rdf:type owl:Class ;
rdfs:label "Rig"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
......
# Saved by TopBraid on Sun Aug 07 12:55:41 PDT 2011
# Saved by TopBraid on Tue Aug 09 15:08:18 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/well
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/schema/1.1/core
@prefix : <http://www.reportinghub.no/ep/schema/well#> .
......@@ -12,12 +11,13 @@
<http://www.reportinghub.no/ep/schema/well>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-well:AllOrPartOfTheLifeOfAWellBore
rdf:type owl:Class ;
rdfs:label "all or part of the life of a well bore"^^xsd:string .
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:TemporalPartOfAWellBore
rdf:type owl:Class ;
......@@ -27,16 +27,16 @@ ep-well:TemporalPartOfAWellBore
ep-well:Well
rdf:type owl:Class ;
rdfs:label "Well"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
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>
] ;
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>
] .
ep-well:WellBore
......
# Saved by TopBraid on Sun Aug 07 12:55:42 PDT 2011
# Saved by TopBraid on Tue Aug 09 14:47:57 BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/ddr-constraints
# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/1.1/schema/npd
@prefix : <http://www.reportinghub.no/ep/spin/ddr-constraints#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -26,7 +26,7 @@
sp:elements ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#name> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/schema/npd#WellBore> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b2
])
......@@ -37,7 +37,7 @@
<http://www.reportinghub.no/ep/spin/ddr-constraints>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.reportinghub.no/1.1/schema/npd> ;
owl:imports <http://www.reportinghub.no/1.1/schema/npd> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
......
# Saved by TopBraid on Sun Aug 07 12:55:42 PDT 2011
# Saved by TopBraid on Tue Aug 09 14:47:57 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Mon Aug 08 17:04:22 BST 2011
# Saved by TopBraid on Tue Aug 09 15:05:12 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
# imports: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/equipment
# imports: http://spinrdf.org/spin
......@@ -158,7 +157,7 @@
sp:predicate rdf:type ;
sp:subject _:b25
] [ sp:object _:b25 ;
sp:predicate iso15926:hasPart ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b26
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
......@@ -170,7 +169,7 @@
sp:predicate rdf:type ;
sp:subject _:b29
] [ sp:object _:b30 ;
sp:predicate iso15926:temporalPartOf ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b29
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
......@@ -234,101 +233,101 @@
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.1/activity-purpose> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> ;
owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.1/activity-purpose> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b4 sp:varName "activity"^^xsd:string .
_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b5 sp:varName "index"^^xsd:string .
_:b7 sp:varName "proprietaryCode"^^xsd:string .
_:b6 sp:varName "dTimStartPart"^^xsd:string .
_:b7 sp:varName "proprietaryCode"^^xsd:string .
_:b5 sp:varName "index"^^xsd:string .
_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b4 sp:varName "activity"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b2 sp:varName "partActivity"^^xsd:string .
_:b1 sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b17
sp:varName "md"^^xsd:string .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b18
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b15
sp:varName "partActivity"^^xsd:string .
_:b19
sp:varName "nameWellBore"^^xsd:string .
_:b14
sp:varName "dTimStartPart"^^xsd:string .
_:b20
_:b13
sp:varName "index"^^xsd:string .
_:b12
sp:varName "activity"^^xsd:string .
_:b21
sp:varName "index"^^xsd:string .
_:b11
sp:varName "nameWellBore"^^xsd:string .
_:b22
sp:varName "dTimStartPart"^^xsd:string .
_:b10
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b23
sp:varName "partActivity"^^xsd:string .
_:b9 sp:varName "tvd"^^xsd:string .
_:b24
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b9 sp:varName "tvd"^^xsd:string .
_:b23
sp:varName "partActivity"^^xsd:string .
_:b10
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b22
sp:varName "dTimStartPart"^^xsd:string .
_:b11
sp:varName "nameWellBore"^^xsd:string .
_:b21
sp:varName "index"^^xsd:string .
_:b12
_:b20
sp:varName "activity"^^xsd:string .
_:b13
sp:varName "index"^^xsd:string .
_:b19
sp:varName "nameWellBore"^^xsd:string .
_:b14
sp:varName "dTimStartPart"^^xsd:string .
_:b18
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b15
sp:varName "partActivity"^^xsd:string .
_:b17
sp:varName "md"^^xsd:string .
_:b16
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "partActivity"^^xsd:string .
_:b26
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b34
sp:varName "index"^^xsd:string .
_:b27
sp:varName "dTimStartPart"^^xsd:string .
_:b33
sp:varName "activity"^^xsd:string .
_:b28
sp:varName "dTimEndPart"^^xsd:string .
_:b32
sp:varName "dTimStart"^^xsd:string .
_:b29
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b31
sp:varName "nameWellBore"^^xsd:string .
_:b30
sp:varName "wellBore"^^xsd:string .
_:b31
sp:varName "nameWellBore"^^xsd:string .
_:b29
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b32
sp:varName "dTimStart"^^xsd:string .
_:b28
sp:varName "dTimEndPart"^^xsd:string .
_:b33
sp:varName "activity"^^xsd:string .
_:b27
sp:varName "dTimStartPart"^^xsd:string .
_:b34
sp:varName "index"^^xsd:string .
_:b26
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "partActivity"^^xsd:string .
......
# Saved by TopBraid on Mon Aug 08 14:39:37 BST 2011
# Saved by TopBraid on Tue Aug 09 15:44:24 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/report
# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
# imports: http://www.reportinghub.no/ep/schema/equipment
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/well
......@@ -28,95 +27,116 @@
<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, 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 rdfs:label ;
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 rdfs:label ;
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:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b6 ;
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b3
] [ 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 _:b7
sp:variable _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b9 ;
sp:arg2 _:b3
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b7 ;
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 _:b8
sp:variable _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellURI ;
sp:arg1 _:b8
[ rdf:type ep-spin-lib:buildWellBoreURI ;
sp:arg1 _:b9
] ;
sp:variable _:b1
sp:variable _:b6
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 103
Classify a DailyDrillingReport"""^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate rdf:type ;
sp:subject _:b10
rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b11
]) ;
sp:where ([ sp:object _:b11 ;
sp:where ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumVersionKind> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
sp:arg1 _:b13
] ;
sp:variable _:b9
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b11
sp:arg1 _:b12
] ;
sp:variable _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b14 ;
sp:arg2 _:b12
sp:arg2 _:b13
] ;
sp:variable _:b10
sp:variable _:b11
])
] ;
spin:rule
......@@ -153,30 +173,37 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ;
rdfs:comment """STEP 103
Classify a DailyDrillingReport"""^^xsd:string ;
sp:templates ([ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:predicate rdf:type ;
sp:subject _:b21
]) ;
sp:where ([ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
sp:subject spin:_this
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
] [ 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 _:b24
] ;
sp:variable _:b20
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b22
] ;
sp:variable _:b24
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b24 ;
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b25 ;
sp:arg2 _:b23
] ;
sp:variable _:b21
......@@ -184,128 +211,105 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
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 _:b25
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
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 _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
sp:subject _:b25
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ;
sp:subject _:b25
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b26
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b29
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b30
] [ sp:object _:b30 ;
sp:predicate iso15926:temporalPartOf ;
sp:subject _:b29
] [ sp:object _:b31 ;
sp:predicate rdfs:label ;
sp:subject _:b30
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/activity#onWellBore> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b26
]) ;
sp:where ([ sp:object _:b31 ;
sp:where ([ sp:object _:b30 ;
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 _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ;
sp:subject spin:_this
] [ sp:object _:b31 ;
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/activity#onWellBore> ;
sp:subject _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b31
sp:arg1 _:b30
] ;
sp:variable _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
sp:arg1 _:b32 ;
sp:arg2 _:b27
] ;
sp:variable _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b32 ;
sp:arg2 _:b28
sp:arg2 _:b31
] ;
sp:variable _:b26
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b32 ;
sp:arg2 _:b28 ;
sp:arg3 [ sp:varName "dTimEnd"^^xsd:string
]
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b27
] ;
sp:variable _:b29
sp:variable _:b33
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreURI ;
sp:arg1 _:b32
[ rdf:type ep-spin-lib:buildWellURI ;
sp:arg1 _:b33
] ;
sp:variable _:b30
sp:variable _:b26
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/ep/schema/well> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b25
sp:varName "dailyDrillingReport"^^xsd:string .
_:b26
sp:varName "dailyDrillingActivity"^^xsd:string .
sp:varName "well"^^xsd:string .
_:b27
sp:varName "createDate"^^xsd:string .
sp:varName "nameWell"^^xsd:string .
_:b28
sp:varName "dTimStart"^^xsd:string .
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b29
sp:varName "temporalPartOfAWellBore"^^xsd:string .
sp:varName "wellBore"^^xsd:string .
_:b30
sp:varName "wellBore"^^xsd:string .
sp:varName "nameWellBore"^^xsd:string .
_:b31
sp:varName "nameWellBore"^^xsd:string .
sp:varName "dTimStart"^^xsd:string .
_:b32
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b33
sp:varName "normalizedWellName"^^xsd:string .
_:b20
sp:varName "dTimEnd"^^xsd:string .
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b21
sp:varName "dailyDrillingActivity"^^xsd:string .
sp:varName "dailyDrillingReport"^^xsd:string .
_:b22
sp:varName "nameWellBore"^^xsd:string .
_:b23
sp:varName "dTimStart"^^xsd:string .
sp:varName "createDate"^^xsd:string .
_:b24
sp:varName "versionKind"^^xsd:string .
_:b25
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b15
......@@ -323,35 +327,35 @@ _:b18
_:b19
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b9 sp:varName "dailyDrillingReportType"^^xsd:string .
_:b10
sp:varName "dailyDrillingReport"^^xsd:string .
sp:varName "dTimEnd"^^xsd:string .
_:b11
sp:varName "nameWellBore"^^xsd:string .
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b12
sp:varName "createDate"^^xsd:string .
sp:varName "nameWellBore"^^xsd:string .
_:b13
sp:varName "versionKind"^^xsd:string .
sp:varName "dTimStart"^^xsd:string .
_:b14
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "well"^^xsd:string .
_:b7 sp:varName "nameWellBore"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b2 sp:varName "nameWell"^^xsd:string .
_:b8 sp:varName "dTimEnd"^^xsd:string .
_:b3 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b3 sp:varName "createDate"^^xsd:string .
_:b4 sp:varName "wellBore"^^xsd:string .
_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b5 sp:varName "nameWellBore"^^xsd:string .
_:b1 sp:varName "dailyDrillingReport"^^xsd:string .
_:b6 sp:varName "dTimStart"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b5 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b8 sp:varName "normalizedWellName"^^xsd:string .
_:b6 sp:varName "wellBore"^^xsd:string .
......
# Saved by TopBraid on Mon Aug 08 14:39:37 BST 2011
# Saved by TopBraid on Tue Aug 09 15:44:24 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Mon Aug 08 17:06:00 BST 2011
# Saved by TopBraid on Tue Aug 09 15:10:29 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/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
# imports: http://spinrdf.org/spin
......@@ -20,7 +19,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/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
owl:Thing
......
# Saved by TopBraid on Mon Aug 08 17:06:00 BST 2011
# Saved by TopBraid on Tue Aug 09 15:10:29 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Mon Aug 08 14:37:32 BST 2011
# Saved by TopBraid on Tue Aug 09 15:06:28 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
# imports: http://www.reportinghub.no/ep/schema/report
# imports: http://www.reportinghub.no/ep/schema/equipment
# imports: http://spinrdf.org/spin
......@@ -29,9 +28,9 @@
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 119 Transfer mdStrengthForm"^^xsd:string ;
rdfs:comment "STEP 126 Transfer WellboreType"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdStrengthForm> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreDrillingType> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b3 ;
......@@ -43,14 +42,17 @@
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b6
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdStrengthForm> ;
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumTypeWellbore> ;
sp:subject _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellBoreDrillingType ;
sp:arg1 _:b6
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
] ;
......@@ -61,14 +63,14 @@
sp:arg1 _:b7 ;
sp:arg2 _:b4
] ;
sp:variable _:b6
sp:variable _:b2
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 106 Transfer distDrill"^^xsd:string ;
rdfs:comment "STEP 110 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#distDrill> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b9
]) ;
sp:where ([ sp:object _:b10 ;
......@@ -80,33 +82,33 @@
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b13
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#distDrill> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b10
] ;
sp:variable _:b13
sp:variable _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b13 ;
sp:arg1 _:b14 ;
sp:arg2 _:b11
] ;
sp:variable _:b9
sp:variable _:b13
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 125 Transfer presTestType"^^xsd:string ;
sp:templates ([ sp:object _:b14 ;
sp:predicate iso15926:hasPart ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:predicate rdf:type ;
sp:subject _:b14
rdfs:comment "STEP 118 Transfer strengthForm"^^xsd:string ;
sp:templates ([ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#strengthForm> ;
sp:subject _:b16
]) ;
sp:where ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
......@@ -117,17 +119,14 @@
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumPresTestType> ;
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b20
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#strengthForm> ;
sp:subject _:b19
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureTestType ;
sp:arg1 _:b20
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b17
] ;
......@@ -138,14 +137,14 @@
sp:arg1 _:b21 ;
sp:arg2 _:b18
] ;
sp:variable _:b15
sp:variable _:b20
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 124 Transfer mdPlanned"^^xsd:string ;
rdfs:comment "STEP 120 Transfer tvdStrengthForm"^^xsd:string ;
sp:templates ([ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlanned> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdStrengthForm> ;
sp:subject _:b23
]) ;
sp:where ([ sp:object _:b24 ;
......@@ -154,592 +153,592 @@
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
] ;
] [ sp:object _:b26 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b26
sp:subject _:b27
] [ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlanned> ;
sp:subject
[ sp:varName "statusInfoddr"^^xsd:string
]
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdStrengthForm> ;
sp:subject _:b26
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b24
] ;
sp:variable _:b27
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b27 ;
sp:arg1 _:b28 ;
sp:arg2 _:b25
] ;
sp:variable _:b26
sp:variable _:b27
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 111 Transfer mdPlugTop"^^xsd:string ;
sp:templates ([ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlugTop> ;
sp:subject _:b29
rdfs:comment "STEP 124 Transfer mdPlanned"^^xsd:string ;
sp:templates ([ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlanned> ;
sp:subject _:b30
]) ;
sp:where ([ sp:object _:b30 ;
sp:where ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b31 ;
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b32 ;
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b29 ;
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b33
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlugTop> ;
sp:subject _:b32
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlanned> ;
sp:subject
[ sp:varName "statusInfoddr"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b30
sp:arg1 _:b31
] ;
sp:variable _:b34
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b34 ;
sp:arg2 _:b31
sp:arg2 _:b32
] ;
sp:variable _:b33
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 118 Transfer strengthForm"^^xsd:string ;
rdfs:comment "STEP 125 Transfer presTestType"^^xsd:string ;
sp:templates ([ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#strengthForm> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b36
] [ sp:object _:b37 ;
sp:predicate rdf:type ;
sp:subject _:b35
]) ;
sp:where ([ sp:object _:b37 ;
sp:where ([ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b38 ;
] [ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b39 ;
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumPresTestType> ;
sp:subject _:b40
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#strengthForm> ;
sp:subject _:b39
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureTestType ;
sp:arg1 _:b41
] ;
sp:variable _:b37
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b37
sp:arg1 _:b38
] ;
sp:variable _:b41
sp:variable _:b42
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b41 ;
sp:arg2 _:b38
sp:arg1 _:b42 ;
sp:arg2 _:b39
] ;
sp:variable _:b40
sp:variable _:b36
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 109 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b43
rdfs:comment "STEP 121 Transfer elevKelly"^^xsd:string ;
sp:templates ([ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#elevKelly> ;
sp:subject _:b44
]) ;
sp:where ([ sp:object _:b44 ;
sp:where ([ sp:object _:b45 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b45 ;
] [ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b46 ;
] [ sp:object _:b47 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b43 ;
] [ sp:object _:b44 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b48
] [ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#elevKelly> ;
sp:subject _:b47
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b46
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b44
sp:arg1 _:b45
] ;
sp:variable _:b48
sp:variable _:b49
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b48 ;
sp:arg2 _:b45
sp:arg1 _:b49 ;
sp:arg2 _:b46
] ;
sp:variable _:b47
sp:variable _:b48
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 110 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b50
rdfs:comment "STEP 114 Transfer mdKickoff"^^xsd:string ;
sp:templates ([ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdKickoff> ;
sp:subject _:b51
]) ;
sp:where ([ sp:object _:b51 ;
sp:where ([ sp:object _:b52 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b52 ;
] [ sp:object _:b53 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b53 ;
] [ sp:object _:b54 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b50 ;
] [ sp:object _:b51 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b55
] [ sp:object _:b50 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdKickoff> ;
sp:subject _:b54
] [ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b53
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b51
sp:arg1 _:b52
] ;
sp:variable _:b55
sp:variable _:b56
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b55 ;
sp:arg2 _:b52
sp:arg1 _:b56 ;
sp:arg2 _:b53
] ;
sp:variable _:b54
sp:variable _:b55
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 122 Transfer mdDiaPilotPlan"^^xsd:string ;
sp:templates ([ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaPilotPlan> ;
sp:subject _:b57
rdfs:comment "STEP 115 Transfer diaCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:subject _:b58
]) ;
sp:where ([ sp:object _:b58 ;
sp:where ([ sp:object _:b59 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b59 ;
] [ sp:object _:b60 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b60 ;
] [ sp:object _:b61 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b57 ;
] [ sp:object _:b58 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b62
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:subject _:b61
] [ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaPilotPlan> ;
sp:subject _:b60
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b58
sp:arg1 _:b59
] ;
sp:variable _:b62
sp:variable _:b63
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b62 ;
sp:arg2 _:b59
sp:arg1 _:b63 ;
sp:arg2 _:b60
] ;
sp:variable _:b61
sp:variable _:b62
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 108 Transfer forecast24Hr"^^xsd:string ;
sp:templates ([ sp:object _:b63 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ;
sp:subject _:b64
rdfs:comment "STEP 113 Transfer mdDiaHoleStart"^^xsd:string ;
sp:templates ([ sp:object _:b64 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaHoleStart> ;
sp:subject _:b65
]) ;
sp:where ([ sp:object _:b65 ;
sp:where ([ sp:object _:b66 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b66 ;
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b67 ;
] [ sp:object _:b68 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b63 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ;
sp:subject _:b67
] [ sp:object _:b65 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b69
] [ sp:object _:b64 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaHoleStart> ;
sp:subject _:b68
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b65
sp:arg1 _:b66
] ;
sp:variable _:b68
sp:variable _:b70
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b68 ;
sp:arg2 _:b66
sp:arg1 _:b70 ;
sp:arg2 _:b67
] ;
sp:variable _:b64
sp:variable _:b69
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 114 Transfer mdKickoff"^^xsd:string ;
sp:templates ([ sp:object _:b69 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdKickoff> ;
sp:subject _:b70
rdfs:comment "STEP 108 Transfer forecast24Hr"^^xsd:string ;
sp:templates ([ sp:object _:b71 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ;
sp:subject _:b72
]) ;
sp:where ([ sp:object _:b71 ;
sp:where ([ sp:object _:b73 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b72 ;
] [ sp:object _:b74 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b73 ;
] [ sp:object _:b75 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b70 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b74
] [ sp:object _:b69 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdKickoff> ;
sp:subject _:b73
] [ sp:object _:b71 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ;
sp:subject _:b75
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b71
sp:arg1 _:b73
] ;
sp:variable _:b75
sp:variable _:b76
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b75 ;
sp:arg2 _:b72
sp:arg1 _:b76 ;
sp:arg2 _:b74
] ;
sp:variable _:b74
sp:variable _:b72
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 123 Transfer tvdDiaPilotPlan"^^xsd:string ;
sp:templates ([ sp:object _:b76 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdDiaPilotPlan> ;
sp:subject _:b77
rdfs:comment "STEP 116 Transfer mdCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b77 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
sp:subject _:b78
]) ;
sp:where ([ sp:object _:b78 ;
sp:where ([ sp:object _:b79 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b79 ;
] [ sp:object _:b80 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
] ;
] [ sp:object _:b81 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b77 ;
] [ sp:object _:b78 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b80
] [ sp:object _:b76 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdDiaPilotPlan> ;
sp:subject
[ sp:varName "statusInfoddr"^^xsd:string
]
sp:subject _:b82
] [ sp:object _:b77 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
sp:subject _:b81
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b78
sp:arg1 _:b79
] ;
sp:variable _:b81
sp:variable _:b83
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b81 ;
sp:arg2 _:b79
sp:arg1 _:b83 ;
sp:arg2 _:b80
] ;
sp:variable _:b80
sp:variable _:b82
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 126 Transfer WellboreType"^^xsd:string ;
sp:templates ([ sp:object _:b82 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreDrillingType> ;
sp:subject _:b83
rdfs:comment "STEP 122 Transfer mdDiaPilotPlan"^^xsd:string ;
sp:templates ([ sp:object _:b84 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaPilotPlan> ;
sp:subject _:b85
]) ;
sp:where ([ sp:object _:b84 ;
sp:where ([ sp:object _:b86 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b85 ;
] [ sp:object _:b87 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b86 ;
] [ sp:object _:b88 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b87 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumTypeWellbore> ;
sp:subject _:b86
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWellBoreDrillingType ;
sp:arg1 _:b87
] ;
sp:variable _:b82
] [ sp:object _:b85 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b89
] [ sp:object _:b84 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaPilotPlan> ;
sp:subject _:b88
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b84
sp:arg1 _:b86
] ;
sp:variable _:b88
sp:variable _:b90
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b88 ;
sp:arg2 _:b85
sp:arg1 _:b90 ;
sp:arg2 _:b87
] ;
sp:variable _:b83
sp:variable _:b89
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 107 Transfer sum24Hr"^^xsd:string ;
sp:templates ([ sp:object _:b89 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ;
sp:subject _:b90
rdfs:comment "STEP 105 Transfer ropCurrent"^^xsd:string ;
sp:templates ([ sp:object _:b91 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ropCurrent> ;
sp:subject _:b92
]) ;
sp:where ([ sp:object _:b91 ;
sp:where ([ sp:object _:b93 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b92 ;
] [ sp:object _:b94 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b93 ;
] [ sp:object _:b95 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b89 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ;
sp:subject _:b93
] [ sp:object _:b91 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ropCurrent> ;
sp:subject _:b95
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b91
sp:arg1 _:b93
] ;
sp:variable _:b94
sp:variable _:b96
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b94 ;
sp:arg2 _:b92
sp:arg1 _:b96 ;
sp:arg2 _:b94
] ;
sp:variable _:b90
sp:variable _:b92
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 105 Transfer ropCurrent"^^xsd:string ;
sp:templates ([ sp:object _:b95 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ropCurrent> ;
sp:subject _:b96
rdfs:comment "STEP 109 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b97 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b98
]) ;
sp:where ([ sp:object _:b97 ;
sp:where ([ sp:object _:b99 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b98 ;
] [ sp:object _:b100 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b99 ;
] [ sp:object _:b101 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b95 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ropCurrent> ;
sp:subject _:b99
] [ sp:object _:b98 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b102
] [ sp:object _:b97 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b101
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b97
sp:arg1 _:b99
] ;
sp:variable _:b100
sp:variable _:b103
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b100 ;
sp:arg2 _:b98
sp:arg1 _:b103 ;
sp:arg2 _:b100
] ;
sp:variable _:b96
sp:variable _:b102
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 115 Transfer diaCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b101 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:subject _:b102
rdfs:comment "STEP 106 Transfer distDrill"^^xsd:string ;
sp:templates ([ sp:object _:b104 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#distDrill> ;
sp:subject _:b105
]) ;
sp:where ([ sp:object _:b103 ;
sp:where ([ sp:object _:b106 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b104 ;
] [ sp:object _:b107 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b105 ;
] [ sp:object _:b108 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b102 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b106
] [ sp:object _:b101 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ;
sp:subject _:b105
] [ sp:object _:b104 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#distDrill> ;
sp:subject _:b108
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b103
sp:arg1 _:b106
] ;
sp:variable _:b107
sp:variable _:b109
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b107 ;
sp:arg2 _:b104
sp:arg1 _:b109 ;
sp:arg2 _:b107
] ;
sp:variable _:b106
sp:variable _:b105
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 112 Transfer diaHole"^^xsd:string ;
sp:templates ([ sp:object _:b108 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaHole> ;
sp:subject _:b109
rdfs:comment "STEP 107 Transfer sum24Hr"^^xsd:string ;
sp:templates ([ sp:object _:b110 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ;
sp:subject _:b111
]) ;
sp:where ([ sp:object _:b110 ;
sp:where ([ sp:object _:b112 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b111 ;
] [ sp:object _:b113 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b112 ;
] [ sp:object _:b114 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b109 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b113
] [ sp:object _:b108 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaHole> ;
sp:subject _:b112
] [ sp:object _:b110 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ;
sp:subject _:b114
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b110
sp:arg1 _:b112
] ;
sp:variable _:b114
sp:variable _:b115
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b114 ;
sp:arg2 _:b111
sp:arg1 _:b115 ;
sp:arg2 _:b113
] ;
sp:variable _:b113
sp:variable _:b111
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 117 Transfer tvdCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b115 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdCsgLast> ;
sp:subject _:b116
rdfs:comment "STEP 119 Transfer mdStrengthForm"^^xsd:string ;
sp:templates ([ sp:object _:b116 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdStrengthForm> ;
sp:subject _:b117
]) ;
sp:where ([ sp:object _:b117 ;
sp:where ([ sp:object _:b118 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b118 ;
] [ sp:object _:b119 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b119 ;
] [ sp:object _:b120 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b116 ;
] [ sp:object _:b117 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b121
] [ sp:object _:b116 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdStrengthForm> ;
sp:subject _:b120
] [ sp:object _:b115 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdCsgLast> ;
sp:subject _:b119
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b117
sp:arg1 _:b118
] ;
sp:variable _:b121
sp:variable _:b122
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b121 ;
sp:arg2 _:b118
sp:arg1 _:b122 ;
sp:arg2 _:b119
] ;
sp:variable _:b120
sp:variable _:b121
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 113 Transfer mdDiaHoleStart"^^xsd:string ;
sp:templates ([ sp:object _:b122 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaHoleStart> ;
sp:subject _:b123
rdfs:comment "STEP 123 Transfer tvdDiaPilotPlan"^^xsd:string ;
sp:templates ([ sp:object _:b123 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdDiaPilotPlan> ;
sp:subject _:b124
]) ;
sp:where ([ sp:object _:b124 ;
sp:where ([ sp:object _:b125 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b125 ;
] [ sp:object _:b126 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b126 ;
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
sp:subject spin:_this
] [ sp:object _:b123 ;
] [ sp:object _:b124 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b127
] [ sp:object _:b122 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdDiaHoleStart> ;
sp:subject _:b126
] [ sp:object _:b123 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdDiaPilotPlan> ;
sp:subject
[ sp:varName "statusInfoddr"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b124
sp:arg1 _:b125
] ;
sp:variable _:b128
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b128 ;
sp:arg2 _:b125
sp:arg2 _:b126
] ;
sp:variable _:b127
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 116 Transfer mdCsgLast"^^xsd:string ;
rdfs:comment "STEP 117 Transfer tvdCsgLast"^^xsd:string ;
sp:templates ([ sp:object _:b129 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdCsgLast> ;
sp:subject _:b130
]) ;
sp:where ([ sp:object _:b131 ;
......@@ -755,7 +754,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b134
] [ sp:object _:b129 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdCsgLast> ;
sp:subject _:b133
] [ rdf:type sp:Bind ;
sp:expression
......@@ -774,9 +773,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 120 Transfer tvdStrengthForm"^^xsd:string ;
rdfs:comment "STEP 111 Transfer mdPlugTop"^^xsd:string ;
sp:templates ([ sp:object _:b136 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdStrengthForm> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlugTop> ;
sp:subject _:b137
]) ;
sp:where ([ sp:object _:b138 ;
......@@ -792,7 +791,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b141
] [ sp:object _:b136 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdStrengthForm> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdPlugTop> ;
sp:subject _:b140
] [ rdf:type sp:Bind ;
sp:expression
......@@ -811,9 +810,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 121 Transfer elevKelly"^^xsd:string ;
rdfs:comment "STEP 112 Transfer diaHole"^^xsd:string ;
sp:templates ([ sp:object _:b143 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#elevKelly> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaHole> ;
sp:subject _:b144
]) ;
sp:where ([ sp:object _:b145 ;
......@@ -829,7 +828,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b148
] [ sp:object _:b143 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#elevKelly> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaHole> ;
sp:subject _:b147
] [ rdf:type sp:Bind ;
sp:expression
......@@ -849,440 +848,440 @@
<http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/equipment> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/equipment> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b6 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b84
sp:varName "mdDiaPilotPlan"^^xsd:string .
_:b5 sp:varName "statusInfo"^^xsd:string .
_:b85
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b86
sp:varName "nameWellBore"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b87
sp:varName "dTimStart"^^xsd:string .
_:b2 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b88
sp:varName "statusInfo"^^xsd:string .
_:b1 sp:varName "mdStrengthForm"^^xsd:string .
_:b89
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b81
_:b90
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b80
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b116
sp:varName "mdStrengthForm"^^xsd:string .
_:b79
sp:varName "dTimStart"^^xsd:string .
_:b117
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b78
_:b118
sp:varName "nameWellBore"^^xsd:string .
_:b77
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b119
sp:varName "dTimStart"^^xsd:string .
_:b76
sp:varName "tvdDiaPilotPlan"^^xsd:string .
_:b120
sp:varName "statusInfo"^^xsd:string .
_:b68
_:b121
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b122
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b67
sp:varName "statusInfo"^^xsd:string .
_:b104
sp:varName "distDrill"^^xsd:string .
_:b66
sp:varName "dTimStart"^^xsd:string .
_:b105
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b65
_:b106
sp:varName "nameWellBore"^^xsd:string .
_:b64
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b107
sp:varName "dTimStart"^^xsd:string .
_:b63
sp:varName "forecast24Hr"^^xsd:string .
_:b108
sp:varName "statusInfo"^^xsd:string .
_:b27
_:b109
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b26
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b57
sp:varName "diaCsgLast"^^xsd:string .
_:b25
sp:varName "dTimStart"^^xsd:string .
_:b58
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b24
_:b59
sp:varName "nameWellBore"^^xsd:string .
_:b23
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b22
sp:varName "mdPlanned"^^xsd:string .
_:b60
sp:varName "dTimStart"^^xsd:string .
_:b107
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b61
sp:varName "statusInfo"^^xsd:string .
_:b106
_:b62
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b105
sp:varName "statusInfo"^^xsd:string .
_:b104
sp:varName "dTimStart"^^xsd:string .
_:b63
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b103
sp:varName "nameWellBore"^^xsd:string .
_:b136
sp:varName "mdPlugTop"^^xsd:string .
_:b102
_:b137
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b101
sp:varName "diaCsgLast"^^xsd:string .
_:b138
sp:varName "nameWellBore"^^xsd:string .
_:b149
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b139
sp:varName "dTimStart"^^xsd:string .
_:b148
_:b140
sp:varName "statusInfo"^^xsd:string .
_:b141
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b147
sp:varName "statusInfo"^^xsd:string .
_:b142
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b146
sp:varName "dTimStart"^^xsd:string .
_:b143
sp:varName "diaHole"^^xsd:string .
_:b144
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b145
sp:varName "nameWellBore"^^xsd:string .
_:b144
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b146
sp:varName "dTimStart"^^xsd:string .
_:b143
sp:varName "elevKelly"^^xsd:string .
_:b147
sp:varName "statusInfo"^^xsd:string .
_:b135
_:b148
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b149
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b134
_:b36
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b133
sp:varName "statusInfo"^^xsd:string .
_:b132
sp:varName "dTimStart"^^xsd:string .
_:b37
sp:varName "pressureTestType"^^xsd:string .
_:b131
_:b38
sp:varName "nameWellBore"^^xsd:string .
_:b130
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b39
sp:varName "dTimStart"^^xsd:string .
_:b129
sp:varName "mdCsgLast"^^xsd:string .
_:b40
sp:varName "statusInfo"^^xsd:string .
_:b75
_:b41
sp:varName "presTestType"^^xsd:string .
_:b42
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b74
_:b71
sp:varName "forecast24Hr"^^xsd:string .
_:b72
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b73
sp:varName "statusInfo"^^xsd:string .
sp:varName "nameWellBore"^^xsd:string .
_:b72
_:b74
sp:varName "dTimStart"^^xsd:string .
_:b71
sp:varName "nameWellBore"^^xsd:string .
_:b75
sp:varName "statusInfo"^^xsd:string .
_:b70
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b76
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b69
_:b50
sp:varName "mdKickoff"^^xsd:string .
_:b34
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b33
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b51
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b32
sp:varName "statusInfo"^^xsd:string .
_:b52
sp:varName "nameWellBore"^^xsd:string .
_:b31
_:b53
sp:varName "dTimStart"^^xsd:string .
_:b30
sp:varName "nameWellBore"^^xsd:string .
_:b29
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b54
sp:varName "statusInfo"^^xsd:string .
_:b28
sp:varName "mdPlugTop"^^xsd:string .
_:b55
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b88
_:b56
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b87
sp:varName "typeWellBore"^^xsd:string .
_:b8 sp:varName "tvd"^^xsd:string .
_:b86
sp:varName "statusInfo"^^xsd:string .
_:b9 sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b85
_:b10
sp:varName "nameWellBore"^^xsd:string .
_:b11
sp:varName "dTimStart"^^xsd:string .
_:b84
sp:varName "nameWellBore"^^xsd:string .
_:b12
sp:varName "statusInfo"^^xsd:string .
_:b83
_:b13
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b82
sp:varName "wellBoreDrillingType"^^xsd:string .
_:b100
_:b14
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b99
sp:varName "statusInfo"^^xsd:string .
_:b77
sp:varName "mdCsgLast"^^xsd:string .
_:b98
sp:varName "dTimStart"^^xsd:string .
_:b78
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b97
_:b79
sp:varName "nameWellBore"^^xsd:string .
_:b96
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b95
sp:varName "ropCurrentValue"^^xsd:string .
_:b80
sp:varName "dTimStart"^^xsd:string .
_:b41
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b81
sp:varName "statusInfo"^^xsd:string .
_:b40
_:b82
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b39
sp:varName "statusInfo"^^xsd:string .
_:b38
sp:varName "dTimStart"^^xsd:string .
_:b83
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b37
sp:varName "nameWellBore"^^xsd:string .
_:b22
sp:varName "tvdStrengthForm"^^xsd:string .
_:b36
_:b23
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b35
sp:varName "strengthForm"^^xsd:string .
_:b121
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b120
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b119
sp:varName "statusInfo"^^xsd:string .
_:b24
sp:varName "nameWellBore"^^xsd:string .
_:b118
_:b25
sp:varName "dTimStart"^^xsd:string .
_:b117
sp:varName "nameWellBore"^^xsd:string .
_:b116
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b26
sp:varName "statusInfo"^^xsd:string .
_:b115
sp:varName "tvdCsgLast"^^xsd:string .
_:b27
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b114
_:b28
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b113
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b112
sp:varName "statusInfo"^^xsd:string .
_:b15
sp:varName "strengthForm"^^xsd:string .
_:b111
sp:varName "dTimStart"^^xsd:string .
_:b16
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b110
_:b17
sp:varName "nameWellBore"^^xsd:string .
_:b109
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b18
sp:varName "dTimStart"^^xsd:string .
_:b108
sp:varName "diaHole"^^xsd:string .
_:b19
sp:varName "statusInfo"^^xsd:string .
_:b20
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b21
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b20
sp:varName "presTestType"^^xsd:string .
_:b19
sp:varName "statusInfo"^^xsd:string .
_:b129
sp:varName "tvdCsgLast"^^xsd:string .
_:b18
sp:varName "dTimStart"^^xsd:string .
_:b130
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b17
_:b131
sp:varName "nameWellBore"^^xsd:string .
_:b16
sp:varName "pressureTestType"^^xsd:string .
_:b132
sp:varName "dTimStart"^^xsd:string .
_:b15
_:b133
sp:varName "statusInfo"^^xsd:string .
_:b134
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b142
_:b135
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b141
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b140
sp:varName "statusInfo"^^xsd:string .
_:b123
sp:varName "tvdDiaPilotPlan"^^xsd:string .
_:b139
sp:varName "dTimStart"^^xsd:string .
_:b124
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b138
_:b125
sp:varName "nameWellBore"^^xsd:string .
_:b137
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b126
sp:varName "dTimStart"^^xsd:string .
_:b136
sp:varName "tvdStrengthForm"^^xsd:string .
_:b127
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b128
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b127
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b126
sp:varName "statusInfo"^^xsd:string .
_:b97
sp:varName "md"^^xsd:string .
_:b125
sp:varName "dTimStart"^^xsd:string .
_:b98
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b124
_:b99
sp:varName "nameWellBore"^^xsd:string .
_:b123
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b122
sp:varName "mdDiaHoleStart"^^xsd:string .
_:b100
sp:varName "dTimStart"^^xsd:string .
_:b62
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b101
sp:varName "statusInfo"^^xsd:string .
_:b61
_:b102
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b60
sp:varName "statusInfo"^^xsd:string .
_:b103
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b59
sp:varName "dTimStart"^^xsd:string .
_:b64
sp:varName "mdDiaHoleStart"^^xsd:string .
_:b58
_:b65
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b66
sp:varName "nameWellBore"^^xsd:string .
_:b57
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b67
sp:varName "dTimStart"^^xsd:string .
_:b56
sp:varName "mdDiaPilotPlan"^^xsd:string .
_:b68
sp:varName "statusInfo"^^xsd:string .
_:b13
_:b69
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b70
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b12
sp:varName "statusInfo"^^xsd:string .
_:b110
sp:varName "sum24Hr"^^xsd:string .
_:b11
sp:varName "dTimStart"^^xsd:string .
_:b111
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b10
_:b112
sp:varName "nameWellBore"^^xsd:string .
_:b9 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b113
sp:varName "dTimStart"^^xsd:string .
_:b8 sp:varName "distDrill"^^xsd:string .
_:b114
sp:varName "statusInfo"^^xsd:string .
_:b94
_:b115
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b93
sp:varName "statusInfo"^^xsd:string .
_:b1 sp:varName "wellBoreDrillingType"^^xsd:string .
_:b92
sp:varName "dTimStart"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b91
sp:varName "nameWellBore"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b90
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b4 sp:varName "dTimStart"^^xsd:string .
_:b89
sp:varName "sum24Hr"^^xsd:string .
_:b5 sp:varName "statusInfo"^^xsd:string .
_:b55
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b6 sp:varName "typeWellBore"^^xsd:string .
_:b54
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b91
sp:varName "ropCurrentValue"^^xsd:string .
_:b92
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b53
sp:varName "statusInfo"^^xsd:string .
_:b93
sp:varName "nameWellBore"^^xsd:string .
_:b52
_:b94
sp:varName "dTimStart"^^xsd:string .
_:b51
sp:varName "nameWellBore"^^xsd:string .
_:b95
sp:varName "statusInfo"^^xsd:string .
_:b50
_:b96
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b43
sp:varName "elevKelly"^^xsd:string .
_:b44
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b49
sp:varName "tvd"^^xsd:string .
_:b45
sp:varName "nameWellBore"^^xsd:string .
_:b48
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b46
sp:varName "dTimStart"^^xsd:string .
_:b47
sp:varName "statusInfo"^^xsd:string .
_:b48
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b46
sp:varName "statusInfo"^^xsd:string .
_:b49
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b45
sp:varName "dTimStart"^^xsd:string .
_:b29
sp:varName "mdPlanned"^^xsd:string .
_:b44
_:b30
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b31
sp:varName "nameWellBore"^^xsd:string .
_:b43
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b32
sp:varName "dTimStart"^^xsd:string .
_:b42
sp:varName "md"^^xsd:string .
_:b33
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b34
sp:varName "normalizedWellBoreName"^^xsd:string .
......
# Saved by TopBraid on Mon Aug 08 14:39:30 BST 2011
# Saved by TopBraid on Tue Aug 09 14:36:52 BST 2011
# baseURI: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
......@@ -18,9 +18,6 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore>
rdfs:subClassOf iso15926:PossibleIndividual .
<http://www.reportinghub.no/iso15926/bindEP-NativeOWL>
rdf:type owl:Ontology ;
owl:imports <http://purl.org/dc/elements/1.1/> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.w3.org/2004/02/skos/core> , <http://purl.org/dc/terms/> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/iso15926/nativeOWL> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
......
# Saved by TopBraid on Fri Aug 05 15:03:26 BST 2011
# Saved by TopBraid on Tue Aug 09 15:00:49 BST 2011
# baseURI: http://www.reportinghub.no/iso15926/nativeOWL
# imports: http://purl.org/dc/elements/1.1/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.reportinghub.no/ep/schema/1.1/core
# imports: http://purl.org/dc/terms/
@prefix : <http://www.reportinghub.no/iso15926/nativeOWL#> .
......@@ -10,48 +11,48 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/iso15926/nativeOWL>
rdf:type owl:Ontology ;
owl:imports <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://www.w3.org/2004/02/skos/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
:Activity
rdf:type owl:Class ;
rdfs:label "activity"^^xsd:string ;
rdfs:subClassOf :PossibleIndividual .
:PossibleIndividual
rdf:type owl:Class ;
rdfs:comment "something that exists or could exist in the universe"^^xsd:string ;
rdfs:label "possible individual"^^xsd:string ;
rdfs:subClassOf owl:Thing .
:hasPart
<http://www.reportinghub.no/ep/schema/core#hasPart>
rdf:type owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "has part"^^xsd:string ;
rdfs:range :PossibleIndividual ;
owl:inverseOf :partOf .
owl:inverseOf <http://www.reportinghub.no/ep/schema/core#partOf> .
:hasTemporalPart
<http://www.reportinghub.no/ep/schema/core#hasTemporalPart>
rdf:type owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "has temporal part"^^xsd:string ;
rdfs:range :PossibleIndividual ;
rdfs:subPropertyOf :hasPart ;
owl:inverseOf :temporalPartOf .
rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> ;
owl:inverseOf <http://www.reportinghub.no/ep/schema/core#temporalPartOf> .
:partOf
<http://www.reportinghub.no/ep/schema/core#partOf>
rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "part of"^^xsd:string ;
rdfs:range :PossibleIndividual ;
owl:inverseOf :hasPart .
owl:inverseOf <http://www.reportinghub.no/ep/schema/core#hasPart> .
:temporalPartOf
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "temporal part of"^^xsd:string ;
rdfs:range :PossibleIndividual ;
rdfs:subPropertyOf :partOf ;
owl:inverseOf :hasTemporalPart .
rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#partOf> ;
owl:inverseOf <http://www.reportinghub.no/ep/schema/core#hasTemporalPart> .
<http://www.reportinghub.no/iso15926/nativeOWL>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> , <http://www.w3.org/2004/02/skos/core> , <http://purl.org/dc/terms/> , <http://purl.org/dc/elements/1.1/> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
:Activity
rdf:type owl:Class ;
rdfs:label "activity"^^xsd:string ;
rdfs:subClassOf :PossibleIndividual .
:PossibleIndividual
rdf:type owl:Class ;
rdfs:comment "something that exists or could exist in the universe"^^xsd:string ;
rdfs:label "possible individual"^^xsd:string ;
rdfs:subClassOf owl:Thing .
......
# Saved by TopBraid on Thu Aug 04 09:37:09 BST 2011
# Saved by TopBraid on Tue Aug 09 14:48:52 BST 2011
# baseURI: http://www.reportinghub.no/1.1/schema/NPD-to-15926
# imports: http://topbraid.org/spin/spinmapl
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
# imports: http://rds.posccaesar.org/2008/06/OWL/RDL
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
......@@ -22,7 +22,7 @@
<http://www.reportinghub.no/1.1/schema/NPD-to-15926>
rdf:type owl:Ontology ;
owl:imports <http://rds.posccaesar.org/2008/06/OWL/RDL> , <http://www.reportinghub.no/1.1/schema/npd> , <http://topbraid.org/spin/spinmapl> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.reportinghub.no/1.1/schema/npd> , <http://rds.posccaesar.org/2008/06/OWL/RDL> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
npdMap:ClassifyArrangedIndividual
......@@ -227,13 +227,7 @@ npdMap:Licence_1
rdf:type npd:Licence ;
npd:id "ABC123"^^xsd:string .
npd:NpdIndividual
spin:rule
[ rdf:type npdMap:CreateIndividualWithNPDID ;
sp:arg1 "\"Individual\""^^xsd:string
] .
npd:WellBore
<http://www.reportinghub.no/ep/schema/well#WellBore>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """This rule creates the WellBore and Well and joins them up using a composition relationship (dm:ArrangementOfIndividual)
......@@ -296,6 +290,12 @@ Note that because it uses the same URI production rule as other functions, we do
[ rdf:type npdMap:ClassifyArrangedIndividual
] .
npd:NpdIndividual
spin:rule
[ rdf:type npdMap:CreateIndividualWithNPDID ;
sp:arg1 "\"Individual\""^^xsd:string
] .
npd:WellBore_1
npd:drilledInProductionLicence
npdMap:Licence_1 .
......@@ -303,7 +303,7 @@ npd:WellBore_1
npd:wellDiskosType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to DISKOS Type field in WellBore tables"^^xsd:string ;
rdfs:domain npd:Well ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range xsd:string .
_:b13
......
# baseURI: http://www.reportinghub.no/1.1/schema/npd
@prefix npd: <http://www.reportinghub.no/schema/npd#> .
@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 rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> .
@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/1.1/schema/npd>
rdf:type owl:Ontology ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
npd:BusinessArrangementArea
rdf:type owl:Class ;
rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ;
rdfs:subClassOf npd:TemporalIndividual , npd:NpdIndividual , npd:Owner .
npd:Company
rdf:type owl:Class ;
rdfs:subClassOf npd:Individual .
npd:DAS_DecidedByTheLicensees
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "decided by the licensees"@en ;
npd:code "DECIDED BY THE LICENSEES"^^xsd:string .
npd:DAS_DevelopmentIsNotVeryLikely
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development is not very likely"@en ;
npd:code "DEVELOPMENT IS NOT VERY LIKELY"^^xsd:string .
npd:DAS_DevelopmentLikelyButNotClarified
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development likely but not clarified"@en ;
npd:code "DEVELOPMENT LIKELY BUT NOT CLARIFIED"^^xsd:string .
npd:DAS_IncludedInOtherDiscovery
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "included in other discovery"@en ;
npd:code "INCLUDED IN OTHER DISCOVERY"^^xsd:string .
npd:DAS_NewDiscoveriesNotEvaluated
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "new discoveries, not evaluated"@en ;
npd:code "NEW DISCOVERIES, NOT EVALUATED"^^xsd:string .
npd:DAS_PDOApproved
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:DAS_PlanningPhase
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "planning phase"@en ;
npd:code "PLANNING PHASE"^^xsd:string .
npd:DAS_Producing
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:DAS_ShutDown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:DAS_Unknown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "unknown"@en ;
npd:code "?"^^xsd:string .
npd:DWBP_Injection
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "injection"@en ;
npd:code "INJECTION"^^xsd:string .
npd:DWBP_Observation
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "observation"@en ;
npd:code "OBSERVATION"^^xsd:string .
npd:DWBP_Production
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "production"@en ;
npd:code "PRODUCTION"^^xsd:string .
npd:DevelopmentWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Development well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:DWBP_Injection npd:DWBP_Observation npd:DWBP_Production) .
npd:Discovery
rdf:type owl:Class ;
rdfs:comment "A discovery is a petroleum deposit or several petroleum deposits collectively, which have been discovered in the same well, in which through testing, sampling or logging there has been established a probability of the existence of mobile petroleum (includes both commercial and technical discovery)."^^xsd:string ;
rdfs:subClassOf npd:NpdIndividual .
npd:DiscoveryActivityStatus
rdf:type owl:Class ;
rdfs:label "Discovery activity status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:DAS_Unknown npd:DAS_PlanningPhase npd:DAS_IncludedInOtherDiscovery npd:DAS_PDOApproved npd:DAS_ShutDown npd:DAS_DevelopmentLikelyButNotClarified npd:DAS_DecidedByTheLicensees npd:DAS_DevelopmentIsNotVeryLikely npd:DAS_NewDiscoveriesNotEvaluated npd:DAS_Producing) .
npd:EWBP_Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "appraisal"@en ;
npd:code "APPRAISAL"^^xsd:string .
npd:EWBP_Wildcat
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat"@en ;
npd:code "WILDCAT"^^xsd:string .
npd:EWBP_Wildcat-Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat & appraisal"@en ;
npd:code "WILDCAT&APPRAISAL"^^xsd:string .
npd:Enumeration
rdf:type owl:Class ;
rdfs:label "Enumeration"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty npd:code
] .
npd:ExplorationWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Exploration well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:EWBP_Appraisal npd:EWBP_Wildcat-Appraisal npd:EWBP_Wildcat) .
npd:FAS_PDOApproved
rdf:type npd:FieldActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:FAS_Producing
rdf:type npd:FieldActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:FAS_ShutDown
rdf:type npd:FieldActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:FFP_Decommissioned
rdf:type npd:FixedFacilityPhase ;
rdfs:label "decommissioned"@en ;
npd:code "DECOMMISSIONED"^^xsd:string .
npd:FFP_DisposalCompleted
rdf:type npd:FixedFacilityPhase ;
rdfs:label "disposal completed"@en ;
npd:code "DISPOSAL COMPLETED"^^xsd:string .
npd:FFP_Fabrication
rdf:type npd:FixedFacilityPhase ;
rdfs:label "fabrication"@en ;
npd:code "FABRICATION"^^xsd:string .
npd:FFP_Future
rdf:type npd:FixedFacilityPhase ;
rdfs:label "future"@en ;
npd:code "FUTURE"^^xsd:string .
npd:FFP_InService
rdf:type npd:FixedFacilityPhase ;
rdfs:label "in service"@en ;
npd:code "IN SERVICE"^^xsd:string .
npd:FFP_Installation
rdf:type npd:FixedFacilityPhase ;
rdfs:label "installation"@en ;
npd:code "INSTALLATION"^^xsd:string .
npd:FFP_PartlyRemoved
rdf:type npd:FixedFacilityPhase ;
rdfs:label "partly removed"@en ;
npd:code "PARTLY REMOVED"^^xsd:string .
npd:FFP_Removal
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removal"@en ;
npd:code "REMOVAL"^^xsd:string .
npd:FFP_Removed
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removed"@en ;
npd:code "REMOVED"^^xsd:string .
npd:FFP_ShutDown
rdf:type npd:FixedFacilityPhase ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:Facility
rdf:type owl:Class ;
rdfs:subClassOf npd:TemporalIndividual , npd:NpdIndividual .
npd:Field
rdf:type owl:Class ;
# Saved by TopBraid on Tue Aug 09 15:35:38 BST 2011
# baseURI: http://www.reportinghub.no/1.1/schema/npd
# imports: http://www.reportinghub.no/ep/schema/organization
# imports: http://www.reportinghub.no/ep/schema/facility
# imports: http://www.reportinghub.no/ep/schema/well
@prefix facility: <http://www.reportinghub.no/ep/schema/facility#> .
@prefix npd: <http://www.reportinghub.no/schema/npd#> .
@prefix organization: <http://www.reportinghub.no/ep/schema/organization#> .
@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 rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> .
@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/1.1/schema/npd>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/organization> , <http://www.reportinghub.no/ep/schema/facility> , <http://www.reportinghub.no/ep/schema/well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
rdf:type owl:Class ;
rdfs:comment "An individual (cringe) that has temporal extent. If Matthew and Chris ever found out about this, they'd string me up. - IB"^^xsd:string .
facility:Facility
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual .
facility:FixedFacility
rdf:type owl:Class ;
rdfs:comment "'Permanently placed facility' is a generic term for all facilities that are placed on a field permanently. Floating production facilities, which in principle are mobile, come under this definition as they are meant to be permanently placed on the field."^^xsd:string ;
rdfs:subClassOf facility:Facility .
facility:MoveableFacility
rdf:type owl:Class ;
rdfs:comment "Mobile facilities are facilities not meant to be permanently placed on the field during the lifetime of the field, for example mobile drilling units."^^xsd:string ;
rdfs:subClassOf facility:Facility .
facility:SubSurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf facility:FixedFacility .
facility:SurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf facility:FixedFacility .
organization:Company
rdf:type owl:Class ;
rdfs:subClassOf npd:Individual .
<http://www.reportinghub.no/ep/schema/well#Well>
rdf:type owl:Class ;
rdfs:comment "Wells are referred to by name in the NPD datasheets, but there is not specific dataset for them, nor do they have NPDIDs. It is assumed that Wells may have more than one WellBore, but usually only have one. Wells belong to Fields, it would seem, but again the data is patchy."^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
<http://www.reportinghub.no/ep/schema/well#WellBore>
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual , <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> .
npd:BusinessArrangementArea
rdf:type owl:Class ;
rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NpdIndividual , npd:Owner .
npd:DAS_DecidedByTheLicensees
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "decided by the licensees"@en ;
npd:code "DECIDED BY THE LICENSEES"^^xsd:string .
npd:DAS_DevelopmentIsNotVeryLikely
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development is not very likely"@en ;
npd:code "DEVELOPMENT IS NOT VERY LIKELY"^^xsd:string .
npd:DAS_DevelopmentLikelyButNotClarified
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development likely but not clarified"@en ;
npd:code "DEVELOPMENT LIKELY BUT NOT CLARIFIED"^^xsd:string .
npd:DAS_IncludedInOtherDiscovery
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "included in other discovery"@en ;
npd:code "INCLUDED IN OTHER DISCOVERY"^^xsd:string .
npd:DAS_NewDiscoveriesNotEvaluated
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "new discoveries, not evaluated"@en ;
npd:code "NEW DISCOVERIES, NOT EVALUATED"^^xsd:string .
npd:DAS_PDOApproved
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:DAS_PlanningPhase
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "planning phase"@en ;
npd:code "PLANNING PHASE"^^xsd:string .
npd:DAS_Producing
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:DAS_ShutDown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:DAS_Unknown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "unknown"@en ;
npd:code "?"^^xsd:string .
npd:DWBP_Injection
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "injection"@en ;
npd:code "INJECTION"^^xsd:string .
npd:DWBP_Observation
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "observation"@en ;
npd:code "OBSERVATION"^^xsd:string .
npd:DWBP_Production
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "production"@en ;
npd:code "PRODUCTION"^^xsd:string .
npd:DevelopmentWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Development well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:DWBP_Injection npd:DWBP_Observation npd:DWBP_Production) .
npd:Discovery
rdf:type owl:Class ;
rdfs:comment "A discovery is a petroleum deposit or several petroleum deposits collectively, which have been discovered in the same well, in which through testing, sampling or logging there has been established a probability of the existence of mobile petroleum (includes both commercial and technical discovery)."^^xsd:string ;
rdfs:subClassOf npd:NpdIndividual .
npd:DiscoveryActivityStatus
rdf:type owl:Class ;
rdfs:label "Discovery activity status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:DAS_Unknown npd:DAS_PlanningPhase npd:DAS_IncludedInOtherDiscovery npd:DAS_PDOApproved npd:DAS_ShutDown npd:DAS_DevelopmentLikelyButNotClarified npd:DAS_DecidedByTheLicensees npd:DAS_DevelopmentIsNotVeryLikely npd:DAS_NewDiscoveriesNotEvaluated npd:DAS_Producing) .
npd:EWBP_Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "appraisal"@en ;
npd:code "APPRAISAL"^^xsd:string .
npd:EWBP_Wildcat
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat"@en ;
npd:code "WILDCAT"^^xsd:string .
npd:EWBP_Wildcat-Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat & appraisal"@en ;
npd:code "WILDCAT&APPRAISAL"^^xsd:string .
npd:Enumeration
rdf:type owl:Class ;
rdfs:label "Enumeration"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty npd:code
] .
npd:ExplorationWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Exploration well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:EWBP_Appraisal npd:EWBP_Wildcat-Appraisal npd:EWBP_Wildcat) .
npd:FAS_PDOApproved
rdf:type npd:FieldActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:FAS_Producing
rdf:type npd:FieldActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:FAS_ShutDown
rdf:type npd:FieldActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:FFP_Decommissioned
rdf:type npd:FixedFacilityPhase ;
rdfs:label "decommissioned"@en ;
npd:code "DECOMMISSIONED"^^xsd:string .
npd:FFP_DisposalCompleted
rdf:type npd:FixedFacilityPhase ;
rdfs:label "disposal completed"@en ;
npd:code "DISPOSAL COMPLETED"^^xsd:string .
npd:FFP_Fabrication
rdf:type npd:FixedFacilityPhase ;
rdfs:label "fabrication"@en ;
npd:code "FABRICATION"^^xsd:string .
npd:FFP_Future
rdf:type npd:FixedFacilityPhase ;
rdfs:label "future"@en ;
npd:code "FUTURE"^^xsd:string .
npd:FFP_InService
rdf:type npd:FixedFacilityPhase ;
rdfs:label "in service"@en ;
npd:code "IN SERVICE"^^xsd:string .
npd:FFP_Installation
rdf:type npd:FixedFacilityPhase ;
rdfs:label "installation"@en ;
npd:code "INSTALLATION"^^xsd:string .
npd:FFP_PartlyRemoved
rdf:type npd:FixedFacilityPhase ;
rdfs:label "partly removed"@en ;
npd:code "PARTLY REMOVED"^^xsd:string .
npd:FFP_Removal
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removal"@en ;
npd:code "REMOVAL"^^xsd:string .
npd:FFP_Removed
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removed"@en ;
npd:code "REMOVED"^^xsd:string .
npd:FFP_ShutDown
rdf:type npd:FixedFacilityPhase ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:Field
rdf:type owl:Class ;
rdfs:comment """A field is a discovery or several discoveries combined which the licensees have decided to develop, and for which the authorities have approved a plan for development and operation (PDO) or granted a PDO exemption.
A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field.
NOTE: Wells do not have NPDIDs"""^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:FieldActivityStatus
rdf:type owl:Class ;
rdfs:label "Field activity status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FAS_PDOApproved npd:FAS_Producing npd:FAS_ShutDown) .
npd:FieldPart
rdf:type owl:Class ;
rdfs:comment "A part of a Field"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:FixedFacility
rdf:type owl:Class ;
rdfs:comment "'Permanently placed facility' is a generic term for all facilities that are placed on a field permanently. Floating production facilities, which in principle are mobile, come under this definition as they are meant to be permanently placed on the field."^^xsd:string ;
rdfs:subClassOf npd:Facility .
npd:FixedFacilityParent
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual .
npd:FixedFacilityPhase
rdf:type owl:Class ;
rdfs:label "Fixed facility phase"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FFP_Fabrication npd:FFP_PartlyRemoved npd:FFP_DisposalCompleted npd:FFP_ShutDown npd:FFP_Decommissioned npd:FFP_Removal npd:FFP_Removed npd:FFP_Installation npd:FFP_InService npd:FFP_Future) .
npd:HCT_Gas
rdf:type npd:HCType ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:HCT_Gas-Condensate
rdf:type npd:HCType ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:HCT_Oil
rdf:type npd:HCType ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:HCT_Oil-Gas
rdf:type npd:HCType ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:HCType
rdf:type owl:Class ;
rdfs:label "HCType"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:HCT_Gas-Condensate npd:HCT_Oil-Gas npd:HCT_Gas npd:HCT_Oil) .
npd:Individual
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing .
npd:LS_Active
rdf:type npd:LicenseStatus ;
rdfs:label "active"@en ;
npd:code "ACTIVE"^^xsd:string .
npd:LS_Inactive
rdf:type npd:LicenseStatus ;
rdfs:label "inactive"@en ;
npd:code "INACTIVE"^^xsd:string .
npd:Licence
rdf:type owl:Class ;
rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ;
rdfs:subClassOf npd:Owner , npd:NpdIndividual , npd:TemporalIndividual .
npd:LicenseStatus
rdf:type owl:Class ;
rdfs:label "License status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:LS_Active npd:LS_Inactive) .
npd:MNA_BarentsSea
rdf:type npd:MainNCSArea ;
rdfs:label "Barents sea"@en ;
npd:code "Barents sea"^^xsd:string .
npd:MNA_NorthSea
rdf:type npd:MainNCSArea ;
rdfs:label "North sea"@en ;
npd:code "North sea"^^xsd:string .
npd:MNA_NorwegianSea
rdf:type npd:MainNCSArea ;
rdfs:label "Norwegian sea"@en ;
npd:code "Norwegian sea"^^xsd:string .
npd:MainNCSArea
rdf:type owl:Class ;
rdfs:label "Main NCS Area"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) .
npd:MoveableFacility
rdf:type owl:Class ;
rdfs:comment "Mobile facilities are facilities not meant to be permanently placed on the field during the lifetime of the field, for example mobile drilling units."^^xsd:string ;
rdfs:subClassOf npd:Facility .
npd:NpdIndividual
rdf:type owl:Class ;
rdfs:subClassOf npd:Individual .
npd:OperatingCompany
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual , npd:Company .
npd:Owner
rdf:type owl:Class ;
rdfs:comment "Supertype of BAA and License - i.e. anything that can own a Field"^^xsd:string ;
rdfs:subClassOf npd:Individual .
npd:ParcellBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:ParentCompany
rdf:type owl:Class ;
rdfs:subClassOf npd:Company .
npd:SeismicAreaBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:Share
rdf:type owl:Class ;
rdfs:comment "A company's share in something - e.g. a BAA or a License"^^xsd:string ;
rdfs:subClassOf npd:TemporalIndividual .
npd:ShareOfBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:Share .
npd:ShareOfLicence
rdf:type owl:Class ;
rdfs:comment "A class that relates a Company to a Licence it has been granted."^^xsd:string ;
rdfs:subClassOf npd:Share .
npd:SlidingScaleBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:SubSurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf npd:FixedFacility .
npd:SurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf npd:FixedFacility .
npd:TUF
rdf:type owl:Class ;
rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:TemporalIndividual
rdf:type owl:Class ;
rdfs:comment "An individual (cringe) that has temporal extent. If Matthew and Chris ever found out about this, they'd string me up."^^xsd:string ;
rdfs:subClassOf npd:Individual .
npd:TufPart
rdf:type owl:Class ;
rdfs:comment "A part of a TUF"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:UnitizedBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:WBC_CO2
rdf:type npd:WellBoreContent ;
rdfs:label "CO2"@en ;
npd:code "CO2"^^xsd:string .
npd:WBC_Cuttings
rdf:type npd:WellBoreContent ;
rdfs:label "cuttings"@en ;
npd:code "CUTTINGS"^^xsd:string .
npd:WBC_Gas
rdf:type npd:WellBoreContent ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:WBC_Gas-Condensate
rdf:type npd:WellBoreContent ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:WBC_NotApplicable
rdf:type npd:WellBoreContent ;
rdfs:label "not applicable"@en ;
npd:code "NOT APPLICABLE"^^xsd:string .
npd:WBC_NotAvailable
rdf:type npd:WellBoreContent ;
rdfs:label "not available"@en ;
npd:code "NOT AVAILABLE"^^xsd:string .
npd:WBC_Oil
rdf:type npd:WellBoreContent ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:WBC_Oil-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:WBC_Water
rdf:type npd:WellBoreContent ;
rdfs:label "water"@en ;
npd:code "WATER"^^xsd:string .
npd:WBC_Water-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "water/gas"@en ;
npd:code "WATER/GAS"^^xsd:string .
npd:Well
rdf:type owl:Class ;
rdfs:comment "Wells are referred to by name in the NPD datasheets, but there is not specific dataset for them, nor do they have NPDIDs. It is assumed that Wells may have more than one WellBore, but usually only have one. Wells belong to Fields, it would seem, but again the data is patchy."^^xsd:string ;
rdfs:subClassOf npd:Individual .
npd:WellBore
rdf:type owl:Class ;
rdfs:subClassOf npd:TemporalIndividual , npd:NpdIndividual .
npd:WellBoreContent
rdf:type owl:Class ;
rdfs:label "Well bore content"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:WBC_Water-Gas npd:WBC_Water npd:WBC_Gas npd:WBC_Gas-Condensate npd:WBC_NotAvailable npd:WBC_Cuttings npd:WBC_Oil npd:WBC_NotApplicable npd:WBC_Oil-Gas npd:WBC_CO2) .
npd:WellBorePurpose
rdf:type owl:Class ;
rdfs:label "Well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:Enumeration .
npd:baaShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfBAA ;
rdfs:range npd:BusinessArrangementArea .
npd:belongsTo
rdf:type owl:ObjectProperty ;
rdfs:domain npd:FixedFacility ;
rdfs:range npd:FixedFacilityParent .
npd:code
rdf:type owl:DatatypeProperty ;
rdfs:comment "Identifier of enumerated resources (control vocabularies). Can be used to match against string values in databases etc."^^xsd:string ;
rdfs:label "code"^^xsd:string .
npd:companyShortName
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Company ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:currentActivityStatus
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Field ;
rdfs:range npd:FieldActivityStatus .
npd:currentOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Current Operator field in fixed facility tables"^^xsd:string ;
rdfs:domain npd:FixedFacility ;
rdfs:range npd:Company .
npd:currentlyResponsibleCompany
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Currently Reponsible Company field in moveable facility tables"^^xsd:string ;
rdfs:domain npd:MoveableFacility ;
rdfs:range npd:Company .
npd:discoveryCurrentActivityStatus
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:DiscoveryActivityStatus .
npd:discoveryField
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Field NPDID field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Field .
npd:discoveryHCType
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:HCType .
npd:discoveryMainNcsArea
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:MainNCSArea .
npd:discoveryOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Operator field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Company .
npd:discoveryOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in NPD Discovery table (see also Owner Kind)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Owner .
npd:discoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:WellBore .
npd:discoveryYear
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:integer .
npd:drilledInProductionLicence
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production Licence field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range npd:Licence .
npd:drillingFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production License field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range npd:Facility .
npd:drillingOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilling Operator field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range npd:Company .
npd:endDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual ceases to exist"^^xsd:string ;
rdfs:domain npd:TemporalIndividual ;
rdfs:range xsd:date .
npd:facilityKind
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ;
rdfs:domain npd:Facility ;
rdfs:range xsd:string .
npd:fieldDiscoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Field table "^^xsd:string ;
rdfs:domain npd:Field ;
rdfs:range npd:WellBore .
npd:fieldOperator
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Field ;
rdfs:range npd:Company .
npd:fieldOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "The owner column in the NPD Field table may correspond to a BAA or a License, as indicated by the Owner Kind column"^^xsd:string ;
rdfs:domain npd:Field ;
rdfs:range npd:Owner .
npd:fixedFacilityPhase
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to Phase field in fixed facility tables"^^xsd:string ;
rdfs:domain npd:FixedFacility ;
rdfs:range npd:FixedFacilityPhase .
npd:id
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:NpdIndividual ;
rdfs:range xsd:string .
npd:licenceShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfLicence ;
rdfs:range npd:Licence .
npd:licenseStatus
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to the Status field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range npd:LicenseStatus .
npd:licensingActivity
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to the licensing activity field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range xsd:string .
npd:name
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Individual ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:organisationNumber
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:label "organisation number"^^xsd:string ;
rdfs:range xsd:string .
npd:parentCompany
rdf:type owl:ObjectProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:range npd:ParentCompany .
npd:partOfField
rdf:type owl:ObjectProperty ;
rdfs:domain npd:FieldPart ;
rdfs:range npd:Field .
npd:partOfTuf
rdf:type owl:ObjectProperty ;
rdfs:domain npd:TufPart ;
rdfs:range npd:TUF .
npd:partOfWell
rdf:type owl:ObjectProperty ;
rdfs:domain npd:WellBore ;
rdfs:range npd:Well .
npd:percentageOfShare
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Share ;
rdfs:range xsd:float .
npd:productionFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Production Facility field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range npd:Facility .
npd:shareHolder
rdf:type owl:ObjectProperty ;
rdfs:comment "Equivalent to AwardedTo field in License table"^^xsd:string ;
rdfs:domain npd:Share ;
rdfs:range npd:Company .
npd:startDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual comes into existance"^^xsd:string ;
rdfs:domain npd:TemporalIndividual ;
rdfs:range xsd:date .
npd:wellBoreCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Completion Date field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range xsd:date ;
rdfs:subPropertyOf npd:endDate .
npd:wellBoreContent
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Content field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range npd:WellBoreContent .
npd:wellBoreDrillPermit
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Drill Permit field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range xsd:string .
npd:wellBorePurpose
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Purpose field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range npd:WellBorePurpose .
npd:wellBoreType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Type field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range xsd:string .
npd:wellPartOfField
rdf:type owl:ObjectProperty ;
rdfs:comment "A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field."^^xsd:string ;
rdfs:domain npd:Well ;
rdfs:range npd:Field .
npd:wellboreOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in WellBore tables - see also Owner Kind"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range npd:Owner .
NOTE: Wells do not have NPDIDs"""^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:FieldActivityStatus
rdf:type owl:Class ;
rdfs:label "Field activity status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FAS_PDOApproved npd:FAS_Producing npd:FAS_ShutDown) .
npd:FieldPart
rdf:type owl:Class ;
rdfs:comment "A part of a Field"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:FixedFacilityParent
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual .
npd:FixedFacilityPhase
rdf:type owl:Class ;
rdfs:label "Fixed facility phase"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FFP_Fabrication npd:FFP_PartlyRemoved npd:FFP_DisposalCompleted npd:FFP_ShutDown npd:FFP_Decommissioned npd:FFP_Removal npd:FFP_Removed npd:FFP_Installation npd:FFP_InService npd:FFP_Future) .
npd:HCT_Gas
rdf:type npd:HCType ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:HCT_Gas-Condensate
rdf:type npd:HCType ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:HCT_Oil
rdf:type npd:HCType ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:HCT_Oil-Gas
rdf:type npd:HCType ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:HCType
rdf:type owl:Class ;
rdfs:label "HCType"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:HCT_Gas-Condensate npd:HCT_Oil-Gas npd:HCT_Gas npd:HCT_Oil) .
npd:Individual
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing .
npd:LS_Active
rdf:type npd:LicenseStatus ;
rdfs:label "active"@en ;
npd:code "ACTIVE"^^xsd:string .
npd:LS_Inactive
rdf:type npd:LicenseStatus ;
rdfs:label "inactive"@en ;
npd:code "INACTIVE"^^xsd:string .
npd:Licence
rdf:type owl:Class ;
rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NpdIndividual , npd:Owner .
npd:LicenseStatus
rdf:type owl:Class ;
rdfs:label "License status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:LS_Active npd:LS_Inactive) .
npd:MNA_BarentsSea
rdf:type npd:MainNCSArea ;
rdfs:label "Barents sea"@en ;
npd:code "Barents sea"^^xsd:string .
npd:MNA_NorthSea
rdf:type npd:MainNCSArea ;
rdfs:label "North sea"@en ;
npd:code "North sea"^^xsd:string .
npd:MNA_NorwegianSea
rdf:type npd:MainNCSArea ;
rdfs:label "Norwegian sea"@en ;
npd:code "Norwegian sea"^^xsd:string .
npd:MainNCSArea
rdf:type owl:Class ;
rdfs:label "Main NCS Area"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) .
npd:NpdIndividual
rdf:type owl:Class ;
rdfs:subClassOf npd:Individual .
npd:OperatingCompany
rdf:type owl:Class ;
rdfs:subClassOf organization:Company , npd:NpdIndividual .
npd:Owner
rdf:type owl:Class ;
rdfs:comment "Supertype of BAA and License - i.e. anything that can own a Field"^^xsd:string ;
rdfs:subClassOf npd:Individual .
npd:ParcellBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:ParentCompany
rdf:type owl:Class ;
rdfs:subClassOf organization:Company .
npd:SeismicAreaBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:Share
rdf:type owl:Class ;
rdfs:comment "A company's share in something - e.g. a BAA or a License"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> .
npd:ShareOfBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:Share .
npd:ShareOfLicence
rdf:type owl:Class ;
rdfs:comment "A class that relates a Company to a Licence it has been granted."^^xsd:string ;
rdfs:subClassOf npd:Share .
npd:SlidingScaleBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:TUF
rdf:type owl:Class ;
rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ;
rdfs:subClassOf facility:Facility , npd:FixedFacilityParent .
npd:TufPart
rdf:type owl:Class ;
rdfs:comment "A part of a TUF"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:UnitizedBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:WBC_CO2
rdf:type npd:WellBoreContent ;
rdfs:label "CO2"@en ;
npd:code "CO2"^^xsd:string .
npd:WBC_Cuttings
rdf:type npd:WellBoreContent ;
rdfs:label "cuttings"@en ;
npd:code "CUTTINGS"^^xsd:string .
npd:WBC_Gas
rdf:type npd:WellBoreContent ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:WBC_Gas-Condensate
rdf:type npd:WellBoreContent ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:WBC_NotApplicable
rdf:type npd:WellBoreContent ;
rdfs:label "not applicable"@en ;
npd:code "NOT APPLICABLE"^^xsd:string .
npd:WBC_NotAvailable
rdf:type npd:WellBoreContent ;
rdfs:label "not available"@en ;
npd:code "NOT AVAILABLE"^^xsd:string .
npd:WBC_Oil
rdf:type npd:WellBoreContent ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:WBC_Oil-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:WBC_Water
rdf:type npd:WellBoreContent ;
rdfs:label "water"@en ;
npd:code "WATER"^^xsd:string .
npd:WBC_Water-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "water/gas"@en ;
npd:code "WATER/GAS"^^xsd:string .
npd:WellBoreContent
rdf:type owl:Class ;
rdfs:label "Well bore content"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:WBC_Water-Gas npd:WBC_Water npd:WBC_Gas npd:WBC_Gas-Condensate npd:WBC_NotAvailable npd:WBC_Cuttings npd:WBC_Oil npd:WBC_NotApplicable npd:WBC_Oil-Gas npd:WBC_CO2) .
npd:WellBorePurpose
rdf:type owl:Class ;
rdfs:label "Well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:Enumeration .
npd:baaShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfBAA ;
rdfs:range npd:BusinessArrangementArea .
npd:belongsTo
rdf:type owl:ObjectProperty ;
rdfs:domain facility:FixedFacility ;
rdfs:range npd:FixedFacilityParent .
npd:code
rdf:type owl:DatatypeProperty ;
rdfs:comment "Identifier of enumerated resources (control vocabularies). Can be used to match against string values in databases etc."^^xsd:string ;
rdfs:label "code"^^xsd:string .
npd:companyShortName
rdf:type owl:DatatypeProperty ;
rdfs:domain organization:Company ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:currentActivityStatus
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Field ;
rdfs:range npd:FieldActivityStatus .
npd:currentOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Current Operator field in fixed facility tables"^^xsd:string ;
rdfs:domain facility:FixedFacility ;
rdfs:range organization:Company .
npd:currentlyResponsibleCompany
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Currently Reponsible Company field in moveable facility tables"^^xsd:string ;
rdfs:domain facility:MoveableFacility ;
rdfs:range organization:Company .
npd:discoveryCurrentActivityStatus
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:DiscoveryActivityStatus .
npd:discoveryField
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Field NPDID field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Field .
npd:discoveryHCType
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:HCType .
npd:discoveryMainNcsArea
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:MainNCSArea .
npd:discoveryOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Operator field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range organization:Company .
npd:discoveryOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in NPD Discovery table (see also Owner Kind)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Owner .
npd:discoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:discoveryYear
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:integer .
npd:drilledInProductionLicence
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production Licence field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Licence .
npd:drillingFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production License field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range facility:Facility .
npd:drillingOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilling Operator field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range organization:Company .
npd:endDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual ceases to exist"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:range xsd:date .
npd:facilityKind
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ;
rdfs:domain facility:Facility ;
rdfs:range xsd:string .
npd:fieldDiscoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Field table "^^xsd:string ;
rdfs:domain npd:Field ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:fieldOperator
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Field ;
rdfs:range organization:Company .
npd:fieldOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "The owner column in the NPD Field table may correspond to a BAA or a License, as indicated by the Owner Kind column"^^xsd:string ;
rdfs:domain npd:Field ;
rdfs:range npd:Owner .
npd:fixedFacilityPhase
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to Phase field in fixed facility tables"^^xsd:string ;
rdfs:domain facility:FixedFacility ;
rdfs:range npd:FixedFacilityPhase .
npd:id
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:NpdIndividual ;
rdfs:range xsd:string .
npd:licenceShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfLicence ;
rdfs:range npd:Licence .
npd:licenseStatus
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to the Status field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range npd:LicenseStatus .
npd:licensingActivity
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to the licensing activity field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range xsd:string .
npd:name
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Individual ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:organisationNumber
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:label "organisation number"^^xsd:string ;
rdfs:range xsd:string .
npd:parentCompany
rdf:type owl:ObjectProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:range npd:ParentCompany .
npd:partOfField
rdf:type owl:ObjectProperty ;
rdfs:domain npd:FieldPart ;
rdfs:range npd:Field .
npd:partOfTuf
rdf:type owl:ObjectProperty ;
rdfs:domain npd:TufPart ;
rdfs:range npd:TUF .
npd:partOfWell
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Well> .
npd:percentageOfShare
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Share ;
rdfs:range xsd:float .
npd:productionFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Production Facility field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range facility:Facility .
npd:shareHolder
rdf:type owl:ObjectProperty ;
rdfs:comment "Equivalent to AwardedTo field in License table"^^xsd:string ;
rdfs:domain npd:Share ;
rdfs:range organization:Company .
npd:startDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual comes into existance"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:range xsd:date .
npd:wellBoreCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Completion Date field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:date ;
rdfs:subPropertyOf npd:endDate .
npd:wellBoreContent
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Content field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBoreContent .
npd:wellBoreDrillPermit
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Drill Permit field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellBorePurpose
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Purpose field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBorePurpose .
npd:wellBoreType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Type field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellPartOfField
rdf:type owl:ObjectProperty ;
rdfs:comment "A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field."^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range npd:Field .
npd:wellboreOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in WellBore tables - see also Owner Kind"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Owner .
......
# baseURI: http://www.reportinghub.no/spin/rh
# imports: http://spinrdf.org/spin
# imports: http://topbraid.org/spin/spinmapl
# imports: http://www.reportinghub.no/1.1/schema/npd
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spif: <http://spinrdf.org/spif#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://spinrdf.org/arg#company>
rdf:type rdf:Property ;
rdfs:label "company"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#id>
rdf:type rdf:Property ;
rdfs:label "id"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#name>
rdf:type rdf:Property ;
rdfs:label "name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#well>
rdf:type rdf:Property ;
rdfs:label "well"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#wellBoreName>
rdf:type rdf:Property ;
rdfs:label "well bore name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#wellName>
rdf:type rdf:Property ;
rdfs:label "well name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://www.reportinghub.no/spin/rh>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ;
owl:imports <http://topbraid.org/spin/spinmapl> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/1.1/schema/npd> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhspin:GetWellBoresOfWell
rdf:type spin:SelectTemplate ;
rdfs:comment "Gets an ordered list of well bores that belong to a given Well. Result variables are ?wellBore and ?wellBoreName."^^xsd:string ;
rdfs:label "Get well bores of well"^^xsd:string ;
rdfs:subClassOf spin:SelectTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy (_:b1) ;
sp:resultVariables (_:b2 _:b1) ;
sp:where ([ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "well"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/schema/npd#partOfWell> ;
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#name> ;
sp:subject _:b2
]) ;
sp:graphNameNode <https://www.reportinghub.no/data/npd>
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The Well to get the bores of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#well> ;
spl:valueType <http://www.reportinghub.no/schema/npd#Well>
] .
rhspin:baaById
rdf:type spin:Function ;
rdfs:label "baa by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/BAA-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the BAA."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:companyById
rdf:type spin:Function ;
rdfs:label "company by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Company-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the company."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:companyHasLicenceForWellBore
rdf:type spin:MagicProperty ;
rdfs:comment "A magic property that defines a relationship between companies (left side) and well bores (right side). It matches those well bores that the company currently holds a licence for. The query is optimized for the direction when the company is given and the well bores variable."^^xsd:string ;
rdfs:label "company has licence for well bore"^^xsd:string ;
rdfs:subClassOf spin:MagicProperties ;
spin:body
[ rdf:type sp:Select ;
sp:distinct "true"^^xsd:boolean ;
sp:resultVariables (_:b3) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:date ;
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ rdf:type sp:now
]
] ;
sp:arg2 1 ;
sp:arg3 10
]
] ;
sp:variable _:b4
] [ sp:object spin:_arg1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#shareHolder> ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/schema/npd#licenceShared> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/schema/npd#LS_Active> ;
sp:predicate <http://www.reportinghub.no/schema/npd#licenseStatus> ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/schema/npd#startDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:le ;
sp:arg1 _:b7 ;
sp:arg2 _:b4
]
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/schema/npd#endDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:gt ;
sp:arg1 _:b8 ;
sp:arg2 _:b4
]
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/schema/npd#drilledInProductionLicence> ;
sp:subject _:b3
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The Company to match."^^xsd:string ;
spl:predicate sp:arg1 ;
spl:valueType <http://www.reportinghub.no/schema/npd#Company>
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> .
rhspin:discoveryById
rdf:type spin:Function ;
rdfs:label "discovery by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Discovery-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the Discovery."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:facilityById
rdf:type spin:Function ;
rdfs:label "facility by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Facility-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the facility."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:fieldById
rdf:type spin:Function ;
rdfs:label "field by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Field-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the field."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:licenceById
rdf:type spin:Function ;
rdfs:label "license by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Licence-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The id of the license."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#Licence> .
rhspin:normalizeString
rdf:type spin:Function ;
rdfs:comment "Takes a raw string and \"normalizes\" it, replacing special characters so that they can be used in URIs."^^xsd:string ;
rdfs:label "normalize string"^^xsd:string ;
rdfs:subClassOf spl:StringFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b9) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 spin:_arg1 ;
sp:arg2 "\\((.*)\\)" ;
sp:arg3 ""
] ;
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:trim ;
sp:arg1 _:b10
] ;
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:encodeURL ;
sp:arg1 _:b11
] ;
sp:variable _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b12 ;
sp:arg2 "%2F" ;
sp:arg3 "_"
] ;
sp:variable _:b13
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b13 ;
sp:arg2 "%[0-9A-F][0-9A-F]" ;
sp:arg3 ""
] ;
sp:variable _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b14 ;
sp:arg2 "\\+" ;
sp:arg3 "_"
] ;
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b15 ;
sp:arg2 "_+" ;
sp:arg3 "_"
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b16 ;
sp:arg2 "\\*" ;
sp:arg3 ""
] ;
sp:variable _:b17
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:string ;
sp:arg1 [ rdf:type spif:upperCase ;
sp:arg1 _:b17
]
] ;
sp:variable _:b9
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
spl:predicate sp:arg1 ;
spl:valueType xsd:string
] ;
spin:returnType xsd:string .
rhspin:parentCompanyByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a parent company based on its NPD name."^^xsd:string ;
rdfs:label "parent company by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/ParentCompany-" ;
sp:arg2 [ rdf:type spif:replaceAll ;
sp:arg1 [ sp:varName "name"^^xsd:string
] ;
sp:arg2 " " ;
sp:arg3 "_"
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the parent company to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> .
rhspin:tufById
rdf:type spin:Function ;
rdfs:label "tuf by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/TUF-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the TUF."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:userName
rdf:type spin:Function ;
rdfs:comment "Gets the name of the currently logged in user."^^xsd:string ;
rdfs:label "user name"^^xsd:string ;
rdfs:subClassOf spin:Functions ;
spin:returnType xsd:string .
rhspin:wellBoreByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a well bore based on its NPD name."^^xsd:string ;
rdfs:label "well bore by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-" ;
sp:arg2 [ rdf:type rhspin:normalizeString ;
sp:arg1 [ sp:varName "wellBoreName"^^xsd:string
]
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the well bore to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#wellBoreName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> .
rhspin:wellByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a well based on its NPD name."^^xsd:string ;
rdfs:label "well by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Well-" ;
sp:arg2 [ rdf:type rhspin:normalizeString ;
sp:arg1 [ sp:varName "wellName"^^xsd:string
]
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the well to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#wellName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#Well> .
_:b3 sp:varName "wellBore"^^xsd:string .
_:b8 sp:varName "endDate"^^xsd:string .
_:b7 sp:varName "startDate"^^xsd:string .
_:b6 sp:varName "licence"^^xsd:string .
_:b5 sp:varName "share"^^xsd:string .
_:b4 sp:varName "nowDate"^^xsd:string .
_:b17
sp:varName "t4"^^xsd:string .
_:b16
sp:varName "t3"^^xsd:string .
_:b15
sp:varName "t2"^^xsd:string .
_:b14
sp:varName "t1"^^xsd:string .
_:b13
sp:varName "t0b"^^xsd:string .
_:b12
sp:varName "t0a"^^xsd:string .
_:b11
sp:varName "s2"^^xsd:string .
_:b10
sp:varName "s1"^^xsd:string .
_:b9 sp:varName "normalizedStr"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b1 sp:varName "wellBoreName"^^xsd:string .
# Saved by TopBraid on Tue Aug 09 15:37:11 BST 2011
# baseURI: http://www.reportinghub.no/spin/rh
# imports: http://topbraid.org/spin/spinmapl
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spif: <http://spinrdf.org/spif#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://spinrdf.org/arg#company>
rdf:type rdf:Property ;
rdfs:label "company"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#id>
rdf:type rdf:Property ;
rdfs:label "id"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#name>
rdf:type rdf:Property ;
rdfs:label "name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#well>
rdf:type rdf:Property ;
rdfs:label "well"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#wellBoreName>
rdf:type rdf:Property ;
rdfs:label "well bore name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#wellName>
rdf:type rdf:Property ;
rdfs:label "well name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://www.reportinghub.no/spin/rh>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ;
owl:imports <http://topbraid.org/spin/spinmapl> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/1.1/schema/npd> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhspin:GetWellBoresOfWell
rdf:type spin:SelectTemplate ;
rdfs:comment "Gets an ordered list of well bores that belong to a given Well. Result variables are ?wellBore and ?wellBoreName."^^xsd:string ;
rdfs:label "Get well bores of well"^^xsd:string ;
rdfs:subClassOf spin:SelectTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy (_:b1) ;
sp:resultVariables (_:b2 _:b1) ;
sp:where ([ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "well"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/schema/npd#partOfWell> ;
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#name> ;
sp:subject _:b2
]) ;
sp:graphNameNode <https://www.reportinghub.no/data/npd>
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The Well to get the bores of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#well> ;
spl:valueType <http://www.reportinghub.no/ep/schema/well#Well>
] .
rhspin:baaById
rdf:type spin:Function ;
rdfs:label "baa by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/BAA-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the BAA."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:companyById
rdf:type spin:Function ;
rdfs:label "company by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Company-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the company."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:companyHasLicenceForWellBore
rdf:type spin:MagicProperty ;
rdfs:comment "A magic property that defines a relationship between companies (left side) and well bores (right side). It matches those well bores that the company currently holds a licence for. The query is optimized for the direction when the company is given and the well bores variable."^^xsd:string ;
rdfs:label "company has licence for well bore"^^xsd:string ;
rdfs:subClassOf spin:MagicProperties ;
spin:body
[ rdf:type sp:Select ;
sp:distinct "true"^^xsd:boolean ;
sp:resultVariables (_:b3) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:date ;
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ rdf:type sp:now
]
] ;
sp:arg2 1 ;
sp:arg3 10
]
] ;
sp:variable _:b4
] [ sp:object spin:_arg1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#shareHolder> ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/schema/npd#licenceShared> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/schema/npd#LS_Active> ;
sp:predicate <http://www.reportinghub.no/schema/npd#licenseStatus> ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/schema/npd#startDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:le ;
sp:arg1 _:b7 ;
sp:arg2 _:b4
]
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/schema/npd#endDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:gt ;
sp:arg1 _:b8 ;
sp:arg2 _:b4
]
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/schema/npd#drilledInProductionLicence> ;
sp:subject _:b3
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The Company to match."^^xsd:string ;
spl:predicate sp:arg1 ;
spl:valueType <http://www.reportinghub.no/ep/schema/organization#Company>
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:discoveryById
rdf:type spin:Function ;
rdfs:label "discovery by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Discovery-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the Discovery."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:facilityById
rdf:type spin:Function ;
rdfs:label "facility by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Facility-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the facility."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:fieldById
rdf:type spin:Function ;
rdfs:label "field by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Field-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the field."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:licenceById
rdf:type spin:Function ;
rdfs:label "license by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Licence-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The id of the license."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#Licence> .
rhspin:normalizeString
rdf:type spin:Function ;
rdfs:comment "Takes a raw string and \"normalizes\" it, replacing special characters so that they can be used in URIs."^^xsd:string ;
rdfs:label "normalize string"^^xsd:string ;
rdfs:subClassOf spl:StringFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b9) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 spin:_arg1 ;
sp:arg2 "\\((.*)\\)" ;
sp:arg3 ""
] ;
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:trim ;
sp:arg1 _:b10
] ;
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:encodeURL ;
sp:arg1 _:b11
] ;
sp:variable _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b12 ;
sp:arg2 "%2F" ;
sp:arg3 "_"
] ;
sp:variable _:b13
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b13 ;
sp:arg2 "%[0-9A-F][0-9A-F]" ;
sp:arg3 ""
] ;
sp:variable _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b14 ;
sp:arg2 "\\+" ;
sp:arg3 "_"
] ;
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b15 ;
sp:arg2 "_+" ;
sp:arg3 "_"
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b16 ;
sp:arg2 "\\*" ;
sp:arg3 ""
] ;
sp:variable _:b17
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:string ;
sp:arg1 [ rdf:type spif:upperCase ;
sp:arg1 _:b17
]
] ;
sp:variable _:b9
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
spl:predicate sp:arg1 ;
spl:valueType xsd:string
] ;
spin:returnType xsd:string .
rhspin:parentCompanyByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a parent company based on its NPD name."^^xsd:string ;
rdfs:label "parent company by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/ParentCompany-" ;
sp:arg2 [ rdf:type spif:replaceAll ;
sp:arg1 [ sp:varName "name"^^xsd:string
] ;
sp:arg2 " " ;
sp:arg3 "_"
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the parent company to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:tufById
rdf:type spin:Function ;
rdfs:label "tuf by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/TUF-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the TUF."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:userName
rdf:type spin:Function ;
rdfs:comment "Gets the name of the currently logged in user."^^xsd:string ;
rdfs:label "user name"^^xsd:string ;
rdfs:subClassOf spin:Functions ;
spin:returnType xsd:string .
rhspin:wellBoreByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a well bore based on its NPD name."^^xsd:string ;
rdfs:label "well bore by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-" ;
sp:arg2 [ rdf:type rhspin:normalizeString ;
sp:arg1 [ sp:varName "wellBoreName"^^xsd:string
]
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the well bore to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#wellBoreName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:wellByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a well based on its NPD name."^^xsd:string ;
rdfs:label "well by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Well-" ;
sp:arg2 [ rdf:type rhspin:normalizeString ;
sp:arg1 [ sp:varName "wellName"^^xsd:string
]
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the well to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#wellName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> .
_:b1 sp:varName "wellBoreName"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b3 sp:varName "wellBore"^^xsd:string .
_:b4 sp:varName "nowDate"^^xsd:string .
_:b5 sp:varName "share"^^xsd:string .
_:b6 sp:varName "licence"^^xsd:string .
_:b7 sp:varName "startDate"^^xsd:string .
_:b8 sp:varName "endDate"^^xsd:string .
_:b9 sp:varName "normalizedStr"^^xsd:string .
_:b10
sp:varName "s1"^^xsd:string .
_:b11
sp:varName "s2"^^xsd:string .
_:b12
sp:varName "t0a"^^xsd:string .
_:b13
sp:varName "t0b"^^xsd:string .
_:b14
sp:varName "t1"^^xsd:string .
_:b15
sp:varName "t2"^^xsd:string .
_:b16
sp:varName "t3"^^xsd:string .
_:b17
sp:varName "t4"^^xsd:string .
......
# 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 09 15:37:11 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
] .
......
This diff could not be displayed because it is too large.
# 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 "1"^^xsd:int
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean ;
inference:inferredMode
"true"^^xsd:boolean .
# Saved by TopBraid on Tue Aug 09 15:36:54 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
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "1"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean ;
inference:inferredMode
"true"^^xsd:boolean .
......