TRANSFORM_ddr-formTestInfo-v1.1.1.ttl 10.6 KB
# Saved by TopBraid on Mon Aug 22 17:05:07 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/formTestInfo
# 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/formTestInfo#> .
@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 230 wireline formation test activity"^^xsd:string ;
                sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTest> ;
                            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#TemporalPartOfASpatialPartOfAWellBore> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b3
                          ] [ sp:object
                                    [ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string
                                    ] ;
                            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 _:b4 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
                            sp:subject _:b1
                          ] [ sp:object _:b5 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
                            sp:subject _:b3
                          ] [ sp:object _:b6 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presPore> ;
                            sp:subject _:b3
                          ] [ sp:object _:b7 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
                            sp:subject _:b3
                          ] [ sp:object _:b8 ;
                            sp:predicate rdf:type ;
                            sp:subject _:b1
                          ] [ sp:object _:b9 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdSample> ;
                            sp:subject _:b1
                          ] [ sp:object _:b10 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
                            sp:subject _:b1
                          ] [ sp:object _:b11 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/well#dominantComponent> ;
                            sp:subject _:b10
                          ] [ sp:object _:b12 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#densityHC> ;
                            sp:subject _:b10
                          ] [ sp:object _:b13 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/core#hasVolume> ;
                            sp:subject _:b10
                          ] [ sp:object _:b14 ;
                            sp:predicate <http://purl.org/dc/elements/1.1/description> ;
                            sp:subject _:b1
                          ]) ;
                sp:where ([ sp:object _:b15 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
                            sp:subject spin:_this
                          ] [ sp:object _:b16 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
                            sp:subject spin:_this
                          ] [ sp:object _:b17 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#formTestInfo> ;
                            sp:subject spin:_this
                          ] [ sp:object _:b18 ;
                            sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
                            sp:subject _:b17
                          ] [ sp:object _:b4 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
                            sp:subject _:b17
                          ] [ sp:object
                                    [ sp:varName "dailytemporalPartOfAWellBore"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
                            sp:subject _:b2
                          ] [ sp:object _:b5 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
                            sp:subject _:b17
                          ] [ rdf:type sp:Optional ;
                            sp:elements ([ sp:object _:b7 ;
                                        sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
                                        sp:subject _:b17
                                      ])
                          ] [ sp:object _:b6 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presPore> ;
                            sp:subject _:b17
                          ] [ sp:object _:b19 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#goodSeal> ;
                            sp:subject _:b17
                          ] [ sp:object _:b9 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdSample> ;
                            sp:subject _:b17
                          ] [ sp:object _:b20 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumDominateComponent> ;
                            sp:subject _:b17
                          ] [ sp:object _:b12 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#densityHC> ;
                            sp:subject _:b17
                          ] [ sp:object _:b13 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volumeSample> ;
                            sp:subject _:b17
                          ] [ sp:object _:b14 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/ddr#description> ;
                            sp:subject _:b17
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:normalizeString ;
                                      sp:arg1 _:b15
                                    ] ;
                            sp:variable _:b21
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
                                      sp:arg1 _:b21 ;
                                      sp:arg2 _:b16
                                    ] ;
                            sp:variable _:b2
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:buildWirelineFormationTestURI ;
                                      sp:arg1 _:b21 ;
                                      sp:arg2 _:b18
                                    ] ;
                            sp:variable _:b1
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:buildPartOfAWellBoreDuringWirelineFormationTestURI ;
                                      sp:arg1 _:b21 ;
                                      sp:arg2 _:b18
                                    ] ;
                            sp:variable _:b3
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:selectComponentType ;
                                      sp:arg1 _:b20
                                    ] ;
                            sp:variable _:b11
                          ] [ rdf:type sp:Bind ;
                            sp:expression
                                    [ rdf:type ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType ;
                                      sp:arg1 _:b19
                                    ] ;
                            sp:variable _:b8
                          ])
              ] .

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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