Holger Knublauch

Attempt to fix conflict on DDR .uispin. file

Remove accidentally committed import of XML file into normalization
# Saved by TopBraid on Thu Aug 11 18:18:26 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.linkedmodel.org/1.1/schema/ordered
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.linkedmodel.org/1.1/schema/ordered
@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -13,7 +14,7 @@
<http://www.reportinghub.no/ep/schema/1.0/activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-activity:Activity
......@@ -22,33 +23,33 @@ ep-activity:Activity
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:finishedAt
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:finishedAt
] .
ep-activity:DailyDrillingActivity
......@@ -57,13 +58,13 @@ ep-activity:DailyDrillingActivity
rdfs:subClassOf ep-activity:DrillingActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
owl:onProperty ep-activity:onWellBore
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -72,20 +73,15 @@ ep-activity:DailyDrillingActivity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
owl:onProperty ep-activity:onWellBore
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
] .
ep-activity:DailyDrillingReportFinalisationType
rdf:type rdfs:Class ;
rdfs:label "daily drilling report finalisation type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-activity:DailyProductionActivity
rdf:type owl:Class ;
rdfs:label "Daily production activity"^^xsd:string ;
......@@ -132,13 +128,13 @@ ep-activity:DrillingActivity
rdfs:subClassOf ep-activity:Activity .
ep-activity:FormationIntegrityTest
rdf:type owl:Class , ep-activity:PressureTestType ;
rdf:type ep-activity:PressureTestType , owl:Class ;
rdfs:label "formation integrity test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:LeakOffTest .
ep-activity:LeakOffTest
rdf:type owl:Class , ep-activity:PressureTestType ;
rdf:type ep-activity:PressureTestType , owl:Class ;
rdfs:label "leak-off test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:FormationIntegrityTest .
......@@ -174,7 +170,7 @@ ep-activity:OffshoreWellActivity
rdfs:subClassOf ep-activity:OffshoreActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:onProperty ep-activity:onWell
] ;
rdfs:subClassOf
......@@ -184,7 +180,7 @@ ep-activity:OffshoreWellActivity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onWell
] .
......@@ -229,7 +225,7 @@ ep-activity:WellBorePressureTest
rdfs:subClassOf ep-activity:Activity .
ep-activity:createdAt
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "created at"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
......@@ -251,7 +247,7 @@ ep-activity:onWell
rdfs:label "on well"^^xsd:string .
ep-activity:onWellBore
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "on WellBore"^^xsd:string .
ep-activity:reportOn
......@@ -264,7 +260,7 @@ ep-activity:startedAt
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:wellBoreDrillingType
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "has sub activity"^^xsd:string ;
rdfs:range ep-activity:WellBoreDrillingType ;
......
# Saved by TopBraid on Thu Aug 11 18:17:22 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
@prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -12,23 +13,27 @@
<http://www.reportinghub.no/ep/schema/1.0/report>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-report:DailyDrillingReport
rdf:type owl:Class ;
rdfs:subClassOf ep-report:Report .
ep-report:FinalDailyDrillingReport
ep-report:DailyDrillingReportFinalisationType
rdf:type owl:Class ;
rdfs:subClassOf owl:Class .
ep-report:FinalDailyDrillingReport
rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ;
rdfs:subClassOf ep-report:DailyDrillingReport .
ep-report:NormalDailyDrillingReport
rdf:type owl:Class ;
rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ;
rdfs:subClassOf ep-report:DailyDrillingReport .
ep-report:PreliminaryDailyDrillingReport
rdf:type owl:Class ;
rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ;
rdfs:subClassOf ep-report:DailyDrillingReport .
ep-report:Report
......
# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
# imports: http://www.reportinghub.no/swp/ddr
@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> .
@prefix ddr1: <http://www.reportinghub.no/swp/ddr#> .
@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#> .
......@@ -21,7 +22,7 @@
<http://www.reportinghub.no/ep/transform/1.1/normalization>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/swp/ddr> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
owl:Thing
......@@ -62,8 +63,8 @@ owl:Thing
])
] .
_:b1 sp:varName "oldLabel"^^xsd:string .
_:b3 sp:varName "newLabel"^^xsd:string .
_:b2 sp:varName "p"^^xsd:string .
_:b3 sp:varName "newLabel"^^xsd:string .
_:b1 sp:varName "oldLabel"^^xsd:string .
......
# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Wed Aug 10 18:50:05 PDT 2011
# Saved by TopBraid on Wed Aug 10 23:13:44 PDT 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/ep/schema/1.0/report
......@@ -26,15 +26,6 @@
@prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
NPD_1104121247071:r-0-7
sxml:element "witsml:wellAlias"^^xsd:string .
NPD_1104121247071:r-0-8
sxml:element "witsml:wellboreAlias"^^xsd:string .
NPD_1104121247071:r-0-9
sxml:element "witsml:wellboreAlias"^^xsd:string .
ddr:Cs_activity
spin:rule
[ rdf:type sp:Construct ;
......@@ -48,7 +39,7 @@ ddr:Cs_activity
sxml:element "witsml:activity"^^xsd:string .
ddr:Cs_alias
sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" .
sxml:element "witsml:alias" , "witsml:rigAlias"^^xsd:string .
ddr:Cs_bitRecord
sxml:element "witsml:bitRecord" .
......@@ -96,7 +87,7 @@ ddr:Cs_drillReportPorePressure
sxml:element "witsml:drillReportPorePressure" .
ddr:Cs_drillReportStatusInfo
sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" .
sxml:element "witsml:drillReportStatusInfo" , "witsml:statusInfo"^^xsd:string .
ddr:Cs_drillReportStratInfo
sxml:element "witsml:drillReportStratInfo" .
......@@ -132,7 +123,7 @@ ddr:Cs_refWellWellboreRig
sxml:element "witsml:refWellWellboreRig" .
ddr:Cs_wellAlias
sxml:element "witsml:wellboreAlias"^^xsd:string , "witsml:wellAlias"^^xsd:string .
sxml:element "witsml:wellAlias"^^xsd:string , "witsml:wellboreAlias"^^xsd:string .
ddr:Cs_wellCRS
sxml:element "witsml:wellCRS" .
......@@ -149,7 +140,7 @@ ddr:Obj_drillReport
ddr:Thing
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 018 - Construct all other object properties - WIP"^^xsd:string ;
rdfs:comment "STEP 018 - Construct all other object properties"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate _:b2 ;
sp:subject spin:_this
......@@ -187,8 +178,15 @@ ddr:Thing
] [ sp:object _:b1 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "aNode"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b1
])
] [ sp:object _:b7 ;
sp:predicate sxml:instanceElement ;
sp:predicate sxml:tag ;
sp:subject _:b1
] [ rdf:type sp:Bind ;
sp:expression
......@@ -219,175 +217,232 @@ ddr:Thing
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ;
rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate ddr:uom ;
sp:subject _:b11
] [ sp:object _:b13 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b11
] [ sp:object _:b11 ;
sp:predicate _:b14 ;
sp:predicate _:b11 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b15
sp:subject _:b12
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b15
] [ sp:object _:b14 ;
sp:subject _:b12
] [ sp:object _:b11 ;
sp:predicate rdf:predicate ;
sp:subject _:b15
] [ sp:object _:b13 ;
sp:subject _:b12
] [ sp:object _:b10 ;
sp:predicate rdf:object ;
sp:subject _:b15
] [ sp:object _:b15 ;
sp:subject _:b12
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b16
sp:subject _:b13
]) ;
sp:where ([ sp:object _:b16 ;
sp:where ([ sp:object _:b13 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ sp:object _:b17 ;
] [ sp:object _:b14 ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object _:b12 ;
sp:predicate ddr:uom ;
sp:subject _:b16
sp:subject _:b13
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "aNode"^^xsd:string
[ sp:varName "uom"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b16
sp:predicate ddr:uom ;
sp:subject _:b13
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b17
sp:arg1 _:b14
] ;
sp:variable _:b18
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
sp:arg2 _:b18
sp:arg2 _:b15
]
] ;
sp:variable _:b14
] [ sp:object owl:ObjectProperty ;
sp:variable _:b11
] [ sp:object owl:DatatypeProperty ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b14 ;
sp:subject _:b11
] [ sp:object _:b11 ;
sp:predicate owl:onProperty ;
sp:subject _:b19
] [ sp:object _:b10 ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b19
sp:subject _:b16
] [ rdf:type sp:TriplePath ;
sp:object xsd:dateTime ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b17
] [ sp:object _:b18 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b13
] [ sp:object sxml:TextNode ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object _:b19 ;
sp:predicate sxml:text ;
sp:subject _:b18
] [ sp:object _:b20 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b19 ;
sp:object _:b16 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b20
] [ sp:object _:b21 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b16
] [ sp:object sxml:TextNode ;
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:dateTime ;
sp:arg1 _:b19
] ;
sp:variable _:b10
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ;
sp:templates ([ sp:object _:b21 ;
sp:predicate _:b22 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b23
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b23
] [ sp:object _:b22 ;
sp:predicate rdf:predicate ;
sp:subject _:b23
] [ sp:object _:b21 ;
sp:predicate rdf:object ;
sp:subject _:b23
] [ sp:object _:b23 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b21
]) ;
sp:where ([ sp:object _:b24 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b25
] [ sp:object _:b22 ;
sp:predicate sxml:text ;
sp:predicate owl:onProperty ;
sp:subject _:b25
] [ sp:object _:b24 ;
sp:predicate rdf:type ;
sp:subject _:b21
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:double ;
sp:arg1 _:b22
] [ sp:object _:b21 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "aNode"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b21
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "xmlTag"^^xsd:string
] ;
sp:predicate sxml:tag ;
sp:subject _:b21
])
] [ sp:object _:b26 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b25 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:variable _:b13
sp:subject _:b26
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ;
sp:templates ([ sp:object _:b23 ;
sp:predicate _:b24 ;
sp:templates ([ sp:object _:b27 ;
sp:predicate _:b28 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b25
sp:subject _:b29
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b25
] [ sp:object _:b24 ;
sp:subject _:b29
] [ sp:object _:b28 ;
sp:predicate rdf:predicate ;
sp:subject _:b25
] [ sp:object _:b23 ;
sp:subject _:b29
] [ sp:object _:b27 ;
sp:predicate rdf:object ;
sp:subject _:b25
] [ sp:object _:b25 ;
sp:subject _:b29
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b26
sp:subject _:b30
]) ;
sp:where ([ sp:object _:b26 ;
sp:where ([ sp:object _:b30 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ sp:object _:b27 ;
] [ sp:object _:b31 ;
sp:predicate rdf:type ;
sp:subject _:b26
sp:subject _:b30
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "uom"^^xsd:string
] ;
sp:predicate ddr:uom ;
sp:subject _:b26
sp:subject _:b30
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:titleCase ;
sp:arg1 [ rdf:type afn:localname ;
sp:arg1 _:b27
sp:arg1 _:b31
]
] ;
sp:variable _:b28
sp:variable _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ;
sp:arg2 _:b28
sp:arg2 _:b32
]
] ;
sp:variable _:b24
sp:variable _:b28
] [ sp:object owl:ObjectProperty ;
sp:predicate rdf:type ;
sp:subject _:b24
] [ sp:object _:b24 ;
sp:subject _:b28
] [ sp:object _:b28 ;
sp:predicate owl:onProperty ;
sp:subject _:b29
] [ sp:object _:b30 ;
sp:subject _:b33
] [ sp:object _:b34 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b29
] [ sp:object _:b31 ;
sp:subject _:b33
] [ sp:object _:b35 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b29 ;
sp:object _:b33 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b31
sp:subject _:b35
] [ rdf:type sp:TriplePath ;
sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ;
sp:path [ rdf:type sp:ModPath ;
......@@ -395,171 +450,121 @@ ddr:Thing
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b30
] [ sp:object _:b32 ;
sp:subject _:b34
] [ sp:object _:b36 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b26
sp:subject _:b30
] [ sp:object sxml:TextNode ;
sp:predicate rdf:type ;
sp:subject _:b32
] [ sp:object _:b33 ;
sp:subject _:b36
] [ sp:object _:b37 ;
sp:predicate sxml:text ;
sp:subject _:b32
] [ sp:object _:b30 ;
sp:subject _:b36
] [ sp:object _:b34 ;
sp:predicate rdf:type ;
sp:subject _:b23
] [ sp:object _:b33 ;
sp:subject _:b27
] [ sp:object _:b37 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b23
sp:subject _:b27
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ;
sp:templates ([ sp:object _:b34 ;
sp:predicate _:b35 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b36
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b36
] [ sp:object _:b35 ;
sp:predicate rdf:predicate ;
sp:subject _:b36
] [ sp:object _:b34 ;
sp:predicate rdf:object ;
sp:subject _:b36
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b34
]) ;
sp:where ([ sp:object _:b37 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b38
] [ sp:object _:b35 ;
sp:predicate owl:onProperty ;
sp:subject _:b38
] [ sp:object _:b37 ;
sp:predicate rdf:type ;
sp:subject _:b34
] [ sp:object _:b34 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "xmlTag"^^xsd:string
] ;
sp:predicate sxml:instanceElement ;
sp:subject _:b34
])
] [ sp:object _:b39 ;
rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ;
sp:templates ([ sp:object _:b38 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b38 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b39
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ;
sp:templates ([ sp:object _:b40 ;
sp:predicate _:b41 ;
] [ sp:object _:b40 ;
sp:predicate ddr:uom ;
sp:subject _:b39
] [ sp:object _:b41 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b39
] [ sp:object _:b39 ;
sp:predicate _:b42 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b42
sp:subject _:b43
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b42
] [ sp:object _:b41 ;
sp:subject _:b43
] [ sp:object _:b42 ;
sp:predicate rdf:predicate ;
sp:subject _:b42
] [ sp:object _:b40 ;
sp:subject _:b43
] [ sp:object _:b41 ;
sp:predicate rdf:object ;
sp:subject _:b42
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b43
] [ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b44
]) ;
sp:where ([ sp:object _:b43 ;
sp:where ([ sp:object _:b44 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ sp:object _:b44 ;
] [ sp:object _:b45 ;
sp:predicate rdf:type ;
sp:subject _:b43
sp:subject _:b44
] [ sp:object _:b40 ;
sp:predicate ddr:uom ;
sp:subject _:b44
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "uom"^^xsd:string
[ sp:varName "aNode"^^xsd:string
] ;
sp:predicate ddr:uom ;
sp:subject _:b43
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b44
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b44
sp:arg1 _:b45
] ;
sp:variable _:b45
sp:variable _:b46
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
sp:arg2 _:b45
sp:arg2 _:b46
]
] ;
sp:variable _:b41
] [ sp:object owl:DatatypeProperty ;
sp:variable _:b42
] [ sp:object owl:ObjectProperty ;
sp:predicate rdf:type ;
sp:subject _:b41
] [ sp:object _:b41 ;
sp:subject _:b42
] [ sp:object _:b42 ;
sp:predicate owl:onProperty ;
sp:subject _:b46
] [ sp:object _:b47 ;
sp:subject _:b47
] [ sp:object _:b38 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b46
] [ rdf:type sp:TriplePath ;
sp:object xsd:dateTime ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b47
] [ sp:object _:b48 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b43
] [ sp:object sxml:TextNode ;
sp:predicate rdf:type ;
sp:subject _:b48
] [ sp:object _:b49 ;
sp:predicate sxml:text ;
sp:subject _:b48
] [ sp:object _:b50 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b46 ;
sp:object _:b47 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b50
sp:subject _:b48
] [ sp:object _:b49 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b44
] [ sp:object sxml:TextNode ;
sp:predicate rdf:type ;
sp:subject _:b49
] [ sp:object _:b50 ;
sp:predicate sxml:text ;
sp:subject _:b49
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:dateTime ;
sp:arg1 _:b49
[ rdf:type xsd:double ;
sp:arg1 _:b50
] ;
sp:variable _:b40
sp:variable _:b41
])
] ;
spin:rule
......@@ -671,107 +676,107 @@ ddr:version
owl:Thing
spin:query
[ rdf:type sp:Select ;
sp:resultVariables (_:b61 _:b62 _:b63 _:b64) ;
sp:where ([ sp:object
[ sp:varName "p"^^xsd:string
] ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b61
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "b"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b61
])
])
] ;
spin:query
[ rdf:type sp:Select ;
sp:resultVariables (_:b62 _:b63 _:b64 _:b65) ;
sp:where ([ sp:object _:b65 ;
sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
sp:subject _:b64
] [ sp:object _:b64 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b63
] [ rdf:type sp:Union ;
sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
sp:predicate rdf:type ;
sp:subject _:b63
]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
sp:predicate rdf:type ;
sp:subject _:b63
]))
] [ sp:object _:b63 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b62
])
] ;
spin:query
[ rdf:type sp:Select ;
sp:resultVariables (_:b66 _:b67 _:b68 _:b69) ;
sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ;
sp:predicate rdf:type ;
sp:subject _:b65
sp:subject _:b70
] [ rdf:type sp:TriplePath ;
sp:object _:b66 ;
sp:object _:b71 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child>
] ;
sp:subject _:b65
] [ sp:object _:b67 ;
sp:subject _:b70
] [ sp:object _:b72 ;
sp:predicate <http://topbraid.org/sxsd#name> ;
sp:subject _:b65
] [ sp:object _:b64 ;
sp:subject _:b70
] [ sp:object _:b69 ;
sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
sp:subject _:b66
] [ sp:object _:b68 ;
sp:subject _:b71
] [ sp:object _:b73 ;
sp:predicate <http://topbraid.org/sxsd#name> ;
sp:subject _:b66
sp:subject _:b71
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:titleCase ;
sp:arg1 _:b68
sp:arg1 _:b73
] ;
sp:variable _:b69
sp:variable _:b74
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ;
sp:arg2 _:b69
sp:arg2 _:b74
]
] ;
sp:variable _:b63
sp:variable _:b68
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:titleCase ;
sp:arg1 _:b67 ;
sp:arg1 _:b72 ;
sp:arg2 "[a-z]s"
] ;
sp:variable _:b70
sp:variable _:b75
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
sp:arg2 _:b70
sp:arg2 _:b75
]
] ;
sp:variable _:b62
sp:variable _:b67
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "http://www.reportinghub.no/map/ddr#" ;
sp:arg2 _:b70 ;
sp:arg2 _:b75 ;
sp:arg3 "-has" ;
sp:arg4 _:b69
sp:arg4 _:b74
]
] ;
sp:variable _:b61
])
] ;
spin:query
[ rdf:type sp:Select ;
sp:resultVariables (_:b71 _:b72 _:b73 _:b74) ;
sp:where ([ sp:object _:b74 ;
sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
sp:subject _:b73
] [ sp:object _:b73 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b72
] [ rdf:type sp:Union ;
sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
sp:predicate rdf:type ;
sp:subject _:b72
]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
sp:predicate rdf:type ;
sp:subject _:b72
]))
] [ sp:object _:b72 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b71
])
] ;
spin:query
[ rdf:type sp:Select ;
sp:where ([ sp:object
[ sp:varName "p"^^xsd:string
] ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b75
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "b"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b75
])
sp:variable _:b66
])
] ;
spin:update
......@@ -811,171 +816,171 @@ owl:Thing
])
] .
_:b51
sp:varName "text"^^xsd:string .
_:b52
sp:varName "dtpnameU"^^xsd:string .
_:b54
sp:varName "child"^^xsd:string .
_:b55
sp:varName "childType"^^xsd:string .
_:b56
sp:varName "childLocalName"^^xsd:string .
_:b57
sp:varName "valuesRestriction"^^xsd:string .
_:b58
sp:varName "rangeType"^^xsd:string .
_:b59
sp:varName "textNode"^^xsd:string .
_:b60
sp:varName "instType"^^xsd:string .
_:b38
sp:varName "rangeU"^^xsd:string .
_:b40
sp:varName "dateTime"^^xsd:string .
sp:varName "uom"^^xsd:string .
_:b41
sp:varName "dtpnameU"^^xsd:string .
sp:varName "value"^^xsd:string .
_:b43
sp:varName "child"^^xsd:string .
_:b42
sp:varName "opnameU"^^xsd:string .
_:b44
sp:varName "childType"^^xsd:string .
sp:varName "child"^^xsd:string .
_:b45
sp:varName "childLocalName"^^xsd:string .
sp:varName "childType"^^xsd:string .
_:b46
sp:varName "valuesRestriction"^^xsd:string .
sp:varName "childLocalName"^^xsd:string .
_:b47
sp:varName "rangeType"^^xsd:string .
sp:varName "allValuesRestriction"^^xsd:string .
_:b48
sp:varName "textNode"^^xsd:string .
sp:varName "instType"^^xsd:string .
_:b49
sp:varName "text"^^xsd:string .
sp:varName "textNode"^^xsd:string .
_:b50
sp:varName "instType"^^xsd:string .
sp:varName "text"^^xsd:string .
_:b23
_:b27
sp:varName "enumeratedValue"^^xsd:string .
_:b24
_:b28
sp:varName "opnameU"^^xsd:string .
_:b26
_:b30
sp:varName "child"^^xsd:string .
_:b27
_:b31
sp:varName "childType"^^xsd:string .
_:b28
_:b32
sp:varName "childLocalName"^^xsd:string .
_:b29
_:b33
sp:varName "valuesRestriction"^^xsd:string .
_:b30
_:b34
sp:varName "rangeU"^^xsd:string .
_:b31
_:b35
sp:varName "instType"^^xsd:string .
_:b32
_:b36
sp:varName "textNode"^^xsd:string .
_:b33
_:b37
sp:varName "text"^^xsd:string .
_:b10
sp:varName "rangeU"^^xsd:string .
sp:varName "dateTime"^^xsd:string .
_:b12
sp:varName "uom"^^xsd:string .
_:b11
sp:varName "dtpnameU"^^xsd:string .
_:b13
sp:varName "value"^^xsd:string .
sp:varName "child"^^xsd:string .
_:b14
sp:varName "opnameU"^^xsd:string .
sp:varName "childType"^^xsd:string .
_:b15
sp:varName "childLocalName"^^xsd:string .
_:b16
sp:varName "child"^^xsd:string .
sp:varName "valuesRestriction"^^xsd:string .
_:b17
sp:varName "childType"^^xsd:string .
sp:varName "rangeType"^^xsd:string .
_:b18
sp:varName "childLocalName"^^xsd:string .
sp:varName "textNode"^^xsd:string .
_:b19
sp:varName "allValuesRestriction"^^xsd:string .
sp:varName "text"^^xsd:string .
_:b20
sp:varName "instType"^^xsd:string .
_:b21
sp:varName "textNode"^^xsd:string .
_:b22
_:b51
sp:varName "text"^^xsd:string .
_:b75
sp:varName "c"^^xsd:string .
_:b52
sp:varName "dtpnameU"^^xsd:string .
_:b71
sp:varName "pp"^^xsd:string .
_:b54
sp:varName "child"^^xsd:string .
_:b72
sp:varName "p"^^xsd:string .
_:b55
sp:varName "childType"^^xsd:string .
_:b73
sp:varName "s"^^xsd:string .
_:b56
sp:varName "childLocalName"^^xsd:string .
_:b74
sp:varName "e"^^xsd:string .
_:b57
sp:varName "valuesRestriction"^^xsd:string .
_:b61
_:b58
sp:varName "rangeType"^^xsd:string .
_:b59
sp:varName "textNode"^^xsd:string .
_:b60
sp:varName "instType"^^xsd:string .
_:b66
sp:varName "ddrCPU"^^xsd:string .
_:b62
_:b67
sp:varName "ddrCU"^^xsd:string .
_:b63
_:b68
sp:varName "ddrPU"^^xsd:string .
_:b64
_:b69
sp:varName "mre"^^xsd:string .
_:b65
_:b70
sp:varName "s"^^xsd:string .
_:b66
_:b71
sp:varName "c"^^xsd:string .
_:b67
_:b72
sp:varName "name"^^xsd:string .
_:b68
_:b73
sp:varName "pname"^^xsd:string .
_:b69
_:b74
sp:varName "tcpname"^^xsd:string .
_:b70
_:b75
sp:varName "tcname"^^xsd:string .
_:b62
sp:varName "pp"^^xsd:string .
_:b63
sp:varName "p"^^xsd:string .
_:b64
sp:varName "s"^^xsd:string .
_:b65
sp:varName "e"^^xsd:string .
_:b61
sp:varName "c"^^xsd:string .
_:b76
sp:varName "oldLabel"^^xsd:string .
......@@ -985,19 +990,19 @@ _:b77
_:b78
sp:varName "newLabel"^^xsd:string .
_:b38
_:b25
sp:varName "valuesRestriction"^^xsd:string .
_:b37
_:b24
sp:varName "childType"^^xsd:string .
_:b35
_:b22
sp:varName "formalProperty"^^xsd:string .
_:b34
_:b21
sp:varName "child"^^xsd:string .
_:b39
_:b26
sp:varName "instType"^^xsd:string .
_:b5 sp:varName "valuesRestriction"^^xsd:string .
......
# Saved by TopBraid on Wed Aug 10 18:50:05 PDT 2011
# Saved by TopBraid on Wed Aug 10 23:13:45 PDT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
......@@ -13,14 +13,14 @@
<rhswp:NameValuePair arg:name="Operator:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Rig name:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Spud date:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:elevKelly) }" />
<rhswp:NameValuePair arg:name="Tight well:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdKickoff) }" />
<rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdPlugTop) }" />
<rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{ spl:object(?activity, ???) }" />
<rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:mdKickoff) }" />
<rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:mdPlugTop) }" />
<rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{= spl:object(?activity, ddr:ropCurrent) }" />
<rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{# SELECT ui:label(?pressureTestType) WHERE { ?activity ep-core:hasPart/rdf:type ?pressureTestType . ?pressureTestType a ep-activity:PressureTestType} }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdStrengthForm) }" />
<rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvdCsgLast) }" />
......@@ -28,21 +28,21 @@
<td class="ddrSummaryRight">
<rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?activity, ep-activity:startedAt)), ' - ', ui:label(spl:object(?activity, ep-activity:finishedAt))) }" />
<rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wellBore) }" />
<rhswp:NameValuePair arg:name="Created date:" arg:value="{= spl:object(?this, ep-activity:createdAt) }" />
<rhswp:NameValuePair arg:name="Created date:" arg:value="{= ui:label(spl:object(?this, ep-activity:createdAt)) }" />
<rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Temperature degC:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?activity, ddr:tvdKickoff) }" />
<rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvd) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?onWellBore, ddr:tvdKickoff) }" />
<rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:tvd) }" />
<rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= rhspin:dtypeValue(?activity, ddr:distDrill) }" />
<rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdDiaHoleStart) }" />
<rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvdStrengthForm) }" />
<rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:tvdStrengthForm) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdCsgLast) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing mMD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:mdCsgLast) }" />
</td>
</tr></table>
</ui:group>
......
# Saved by TopBraid on Thu Aug 11 15:40:02 BST 2011
# baseURI: http://www.reportinghub.no/swp/ddr
# imports: http://uispin.org/tui
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://uispin.org/tui
@prefix : <http://www.reportinghub.no/swp/ddr#> .
@prefix let: <http://uispin.org/let#> .
......@@ -24,5 +28,5 @@
<http://www.reportinghub.no/swp/ddr>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/report> ;
owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......