TRANSFORM_ddr-stratInfo-v1.1.1.ttl 7.68 KB
# Saved by TopBraid on Sun Sep 11 06:50:42 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://spinrdf.org/spin

@prefix :        <http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo#> .
@prefix ep-spin-lib:  <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp:      <http://spinrdf.org/sp#> .
@prefix spin:    <http://spinrdf.org/spin#> .
@prefix spl:     <http://spinrdf.org/spl#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .

<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
      spin:rule
              [ rdf:type sp:Construct ;
                rdfs:comment "STEP 240 Establish preliminary zonation activity"^^xsd:string ;
                sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#PreliminaryZonation> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b1
                          ] [ sp:object _:b1 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
                            sp:subject _:b2
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/well#SpatialPartOfAWellBore> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b3
                          ] [ sp:object _:b4 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
                            sp:subject _:b3
                          ] [ sp:object _:b3 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
                            sp:subject _:b1
                          ] [ sp:object _:b5 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
                            sp:subject _:b1
                          ] [ sp:object _:b6 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTop> ;
                            sp:subject _:b3
                          ] [ sp:object _:b7 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdTop> ;
                            sp:subject _:b3
                          ] [ sp:object _:b8 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#stratigraphyDescription> ;
                            sp:subject _:b1
                          ]) ;
                sp:where ([ sp:object _:b9 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
                            sp:subject spin:_this
                          ] [ sp:object _:b10 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
                            sp:subject spin:_this
                          ] [ sp:object _:b11 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#stratInfo> ;
                            sp:subject spin:_this
                          ] [ sp:object _:b12 ;
                            sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
                            sp:subject _:b11
                          ] [ sp:object _:b5 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
                            sp:subject _:b11
                          ] [ sp:object
                                    [ sp:varName "dailytemporalPartOfAWellBore"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
                            sp:subject _:b2
                          ] [ sp:object _:b4 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
                            sp:subject
                                    [ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string
                                    ]
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b4
                          ] [ sp:object _:b6 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTop> ;
                            sp:subject _:b11
                          ] [ rdf:type sp:Optional ;
                            sp:elements ([ sp:object _:b7 ;
                                        sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdTop> ;
                                        sp:subject _:b11
                                      ])
                          ] [ sp:object _:b8 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#description> ;
                            sp:subject _:b11
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:normalizeString ;
                                      sp:arg1 _:b9
                                    ] ;
                            sp:variable _:b13
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
                                      sp:arg1 _:b13 ;
                                      sp:arg2 _:b10
                                    ] ;
                            sp:variable _:b2
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:buildPreliminaryZonationURI ;
                                      sp:arg1 _:b13 ;
                                      sp:arg2 _:b12
                                    ] ;
                            sp:variable _:b1
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:buildPartOfAWellBoreForStratigraphyInformationURI ;
                                      sp:arg1 _:b13 ;
                                      sp:arg2 _:b12
                                    ] ;
                            sp:variable _:b3
                          ])
              ] .

<http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo>
      rdf:type owl:Ontology ;
      owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
      owl:versionInfo "Created with TopBraid Composer"^^xsd:string .

_:b13
      sp:varName "normalizedWellBoreName"^^xsd:string .

_:b12
      sp:varName "index"^^xsd:string .

_:b11
      sp:varName "stratInfo"^^xsd:string .

_:b10
      sp:varName "dTimStart"^^xsd:string .

_:b9  sp:varName "nameWellBore"^^xsd:string .

_:b8  sp:varName "description"^^xsd:string .

_:b7  sp:varName "tvdTop"^^xsd:string .

_:b6  sp:varName "mdTop"^^xsd:string .

_:b5  sp:varName "dTimPreliminaryZonation"^^xsd:string .

_:b4  sp:varName "wellBore"^^xsd:string .

_:b3  sp:varName "stratigraphicInformationPartOfAWellBore"^^xsd:string .

_:b2  sp:varName "dailyDrillingActivity"^^xsd:string .

_:b1  sp:varName "preliminaryZonation"^^xsd:string .