TRANSFORM_ddr-stratInfo-v1.1.1.ttl 10.2 KB
# Saved by TopBraid on Fri Oct 28 15:57:02 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.witsml.org/schemas/1series
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://spinrdf.org/spin

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

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

<http://www.witsml.org/schemas/1series#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 _:b3 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
                            sp:subject _:b1
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b3
                          ] [ sp:object _:b4 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
                            sp:subject _:b3
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b4
                          ] [ sp:object _:b5 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
                            sp:subject _:b4
                          ] [ sp:object _:b6 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
                            sp:subject _:b1
                          ] [ sp:object _:b7 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
                            sp:subject _:b4
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b7
                          ] [ sp:object _:b8 ;
                            sp:predicate _:b9 ;
                            sp:subject _:b7
                          ] [ sp:object _:b10 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheTopOfAPartOfAWellBore> ;
                            sp:subject _:b4
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b10
                          ] [ sp:object _:b11 ;
                            sp:predicate _:b12 ;
                            sp:subject _:b10
                          ] [ sp:object _:b13 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/well#stratigraphyDescription> ;
                            sp:subject _:b4
                          ]) ;
                sp:where ([ sp:object _:b14 ;
                            sp:predicate ep-spin-lib:nameWellbore ;
                            sp:subject spin:_this
                          ] [ sp:object _:b15 ;
                            sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
                            sp:subject spin:_this
                          ] [ sp:object _:b16 ;
                            sp:predicate <http://www.witsml.org/schemas/1series#stratInfoRef> ;
                            sp:subject spin:_this
                          ] [ sp:object _:b6 ;
                            sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
                            sp:subject _:b16
                          ] [ sp:object _:b17 ;
                            sp:predicate <http://www.witsml.org/schemas/1series#mdTopRef> ;
                            sp:subject _:b16
                          ] [ sp:object _:b18 ;
                            sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
                            sp:subject _:b17
                          ] [ sp:object _:b8 ;
                            sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
                            sp:subject _:b17
                          ] [ rdf:type sp:Optional ;
                            sp:elements ([ sp:object _:b19 ;
                                        sp:predicate <http://www.witsml.org/schemas/1series#tvdTopRef> ;
                                        sp:subject _:b16
                                      ] [ sp:object _:b20 ;
                                        sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
                                        sp:subject _:b19
                                      ] [ sp:object _:b11 ;
                                        sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
                                        sp:subject _:b19
                                      ])
                          ] [ sp:object _:b13 ;
                            sp:predicate <http://www.witsml.org/schemas/1series#description> ;
                            sp:subject _:b16
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:normalizeString ;
                                      sp:arg1 _:b14
                                    ] ;
                            sp:variable _:b21
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
                                      sp:arg1 _:b21 ;
                                      sp:arg2 _:b15
                                    ] ;
                            sp:variable _:b2
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type afn:localname ;
                                      sp:arg1 _:b16
                                    ] ;
                            sp:variable _:b22
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:buildPreliminaryZonationURI ;
                                      sp:arg1 _:b21 ;
                                      sp:arg2 _:b15 ;
                                      sp:arg3 _:b22
                                    ] ;
                            sp:variable _:b1
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:selectLengthScale ;
                                      sp:arg1 _:b18
                                    ] ;
                            sp:variable _:b9
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:selectLengthScale ;
                                      sp:arg1 _:b20
                                    ] ;
                            sp:variable _:b12
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type rhspin:wellBoreByName ;
                                      arg:wellBoreName
                                              [ rdf:type xsd:string ;
                                                sp:arg1 _:b14
                                              ]
                                    ] ;
                            sp:variable _:b5
                          ])
              ] .

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

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

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

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

_:b17
      sp:varName "md"^^xsd:string .

_:b18
      sp:varName "uomMd"^^xsd:string .

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

_:b19
      sp:varName "tvd"^^xsd:string .

_:b20
      sp:varName "uomTvd"^^xsd:string .

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

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

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

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

_:b22
      sp:varName "localname"^^xsd:string .

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

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

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

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