David Leal

Added surveyStation data to TemplateTest and completed mapping to EP

ontology.
# Saved by TopBraid on Sun Aug 14 20:00:53 BST 2011
# Saved by TopBraid on Tue Aug 16 11:34:45 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# 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/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#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> .
@prefix wellboreInfo: <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<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> , <http://www.reportinghub.no/swp/ddr> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
owl:Thing
spin:update
[ rdf:type sp:Modify ;
sp:deletePattern ([ sp:object _:b1 ;
sp:predicate rdfs:label ;
sp:subject _:b2
]) ;
sp:insertPattern ([ sp:object _:b3 ;
sp:predicate rdfs:label ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b2 ;
sp:predicate owl:onProperty ;
sp:subject
[ sp:varName "r"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate rdfs:label ;
sp:subject _:b2
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type fn:starts-with ;
sp:arg1 _:b1 ;
sp:arg2 "has"
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:trim ;
sp:arg1 [ rdf:type smf:regex ;
sp:arg1 _:b1 ;
sp:arg2 "has(.*)" ;
sp:arg3 "$1"
]
] ;
sp:variable _:b3
])
] .
_:b3 sp:varName "newLabel"^^xsd:string .
_:b2 sp:varName "p"^^xsd:string .
_:b1 sp:varName "oldLabel"^^xsd:string .
# Saved by TopBraid on Tue Aug 16 11:26:15 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/swp/ddr
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
@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#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix surveyStation: <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#> .
@prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> .
@prefix wellboreInfo: <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/normalization>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> , <http://www.reportinghub.no/swp/ddr> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
owl:Thing
spin:update
[ rdf:type sp:Modify ;
sp:deletePattern ([ sp:object _:b1 ;
sp:predicate rdfs:label ;
sp:subject _:b2
]) ;
sp:insertPattern ([ sp:object _:b3 ;
sp:predicate rdfs:label ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b2 ;
sp:predicate owl:onProperty ;
sp:subject
[ sp:varName "r"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate rdfs:label ;
sp:subject _:b2
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type fn:starts-with ;
sp:arg1 _:b1 ;
sp:arg2 "has"
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:trim ;
sp:arg1 [ rdf:type smf:regex ;
sp:arg1 _:b1 ;
sp:arg2 "has(.*)" ;
sp:arg3 "$1"
]
] ;
sp:variable _:b3
])
] .
_:b1 sp:varName "oldLabel"^^xsd:string .
_:b2 sp:varName "p"^^xsd:string .
_:b3 sp:varName "newLabel"^^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> ;
<http://spinrdf.org/spin#topSPINOptions>
"singlePass" ;
composite:index "0"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean .
# Saved by TopBraid on Tue Aug 16 11:26:15 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> ;
<http://spinrdf.org/spin#topSPINOptions>
"singlePass" ;
composite:index "0"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean .
......
# Saved by TopBraid on Tue Aug 16 11:03: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
] .
......@@ -55,6 +55,55 @@
<witsml:avgTempBH uom="degC">20</witsml:avgTempBH>
<witsml:fixedRig>true</witsml:fixedRig>
</witsml:statusInfo>
<witsml:surveyStation>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">3569</witsml:md>
<witsml:tvd uom="m">1822.47</witsml:tvd>
<witsml:incl uom="dega">80.3</witsml:incl>
<witsml:azi uom="dega">44.62</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">3602.4</witsml:md>
<witsml:tvd uom="m">1826.76</witsml:tvd>
<witsml:incl uom="dega">84.93</witsml:incl>
<witsml:azi uom="dega">44.97</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">3628.9</witsml:md>
<witsml:tvd uom="m">1828.39</witsml:tvd>
<witsml:incl uom="dega">88.05</witsml:incl>
<witsml:azi uom="dega">45.24</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">3655.8</witsml:md>
<witsml:tvd uom="m">1828.8</witsml:tvd>
<witsml:incl uom="dega">90.17</witsml:incl>
<witsml:azi uom="dega">46.92</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">3680.8</witsml:md>
<witsml:tvd uom="m">1828.54</witsml:tvd>
<witsml:incl uom="dega">91.02</witsml:incl>
<witsml:azi uom="dega">43.49</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">3709</witsml:md>
<witsml:tvd uom="m">1827.81</witsml:tvd>
<witsml:incl uom="dega">91.98</witsml:incl>
<witsml:azi uom="dega">43.83</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim>
<witsml:md uom="m">3736.2</witsml:md>
<witsml:tvd uom="m">1827.44</witsml:tvd>
<witsml:incl uom="dega">89.57</witsml:incl>
<witsml:azi uom="dega">43.7</witsml:azi>
</witsml:surveyStation>
<witsml:activity>
<witsml:dTimStart>2011-04-05T06:00:00.001Z</witsml:dTimStart>
<witsml:dTimEnd>2011-04-05T06:15:00.001Z</witsml:dTimEnd>
......@@ -203,5 +252,6 @@ Sand Zones:
<witsml:dTimRepair>2009-12-30T11:30:00.000Z</witsml:dTimRepair>
<witsml:description>Feilfunksjon på URA. Det er avvik mellom posisjon kloa på URA har og det DrillView viser.</witsml:description>
</witsml:equipFailureInfo>
</witsml:drillReport>
</witsml:drillReport>
</witsml:drillReports>
\ No newline at end of file
......