David Price

Added initial support for FluidActivity and Fluid table in DDR report

# Saved by TopBraid on Sat Aug 13 15:54:52 BST 2011
# Saved by TopBraid on Mon Aug 15 01:24:24 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# 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/core
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.linkedmodel.org/1.1/schema/ordered
......@@ -15,7 +15,7 @@
<http://www.reportinghub.no/ep/schema/1.0/activity>
rdf:type owl:Ontology ;
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> , <http://www.reportinghub.no/ep/schema/1.0/organization> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <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:versionInfo "0.1.0"^^xsd:string .
ep-activity:Activity
......@@ -24,33 +24,33 @@ ep-activity:Activity
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
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
] ;
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#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#after>
owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
] ;
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:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:finishedAt
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
] .
ep-activity:ActivitySuccessType
......@@ -64,13 +64,13 @@ ep-activity:DailyDrillingActivity
rdfs:subClassOf ep-activity:DrillingActivity ;
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>
] ;
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 ;
......@@ -79,13 +79,13 @@ ep-activity:DailyDrillingActivity
] ;
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 ;
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>
] .
ep-activity:DailyProductionActivity
......@@ -134,47 +134,47 @@ ep-activity:DrillingActivity
rdfs:subClassOf ep-activity:Activity .
ep-activity:DrillingActivity-circulation_loss
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity circulation loss"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-equipment_failure
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity equipment failure"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-equipment_hang
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity equipment hang"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-injury
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity injury"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-kick
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity operation kick"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-mud_loss
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity mud loss"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-operation_failed
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity operation failed"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-stuck_equipment
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity stuck equipment"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-success
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity success"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
......@@ -184,19 +184,24 @@ ep-activity:DrillingActivityOutcomeType
rdfs:subClassOf owl:Class .
ep-activity:FailedActivity
rdf:type ep-activity:ActivitySuccessType , owl:Class ;
rdf:type owl:Class , ep-activity:ActivitySuccessType ;
rdfs:label "failed activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity ;
owl:disjointWith ep-activity:SuccessfulActivity .
ep-activity:FluidActivity
rdf:type owl:Class ;
rdfs:label "fluid activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:FormationIntegrityTest
rdf:type ep-activity:PressureTestType , owl:Class ;
rdf:type owl:Class , ep-activity:PressureTestType ;
rdfs:label "formation integrity test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:LeakOffTest .
ep-activity:LeakOffTest
rdf:type ep-activity:PressureTestType , owl:Class ;
rdf:type owl:Class , ep-activity:PressureTestType ;
rdfs:label "leak-off test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:FormationIntegrityTest .
......@@ -232,7 +237,7 @@ ep-activity:OffshoreWellActivity
rdfs:subClassOf ep-activity:OffshoreActivity ;
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
] ;
rdfs:subClassOf
......@@ -242,7 +247,7 @@ ep-activity:OffshoreWellActivity
] ;
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
] .
......@@ -257,7 +262,7 @@ ep-activity:ProductionActivity
rdfs:subClassOf ep-activity:Activity .
ep-activity:SuccessfulActivity
rdf:type ep-activity:ActivitySuccessType , owl:Class ;
rdf:type owl:Class , ep-activity:ActivitySuccessType ;
rdfs:label "successful activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity ;
owl:disjointWith ep-activity:FailedActivity .
......@@ -293,18 +298,18 @@ ep-activity:WellBorePressureTest
rdfs:subClassOf ep-activity:Activity .
ep-activity:createdAt
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "created at"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:drillingContractor
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "drilling contractor"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-activity:drillingOperator
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "drilling operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
......@@ -327,7 +332,7 @@ ep-activity:onWell
rdfs:label "on well"^^xsd:string .
ep-activity:onWellBore
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "on WellBore"^^xsd:string .
ep-activity:reportOn
......@@ -340,7 +345,7 @@ ep-activity:startedAt
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:wellBoreDrillingType
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "has sub activity"^^xsd:string ;
rdfs:range ep-activity:WellBoreDrillingType ;
......
# Saved by TopBraid on Mon Aug 15 00:07:43 BST 2011
# Saved by TopBraid on Mon Aug 15 02:53:37 BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/ddr-tables-v1.0
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
......@@ -131,54 +131,131 @@ ddr-tables:EquipmentFailure
] ;
rhspin:tableHeaders ("Start Time"^^xsd:string "Depth mMD"^^xsd:string "Depth mTVD"^^xsd:string "Sub Equip Syst Class"^^xsd:string "Operation Downtime"^^xsd:string "Equipment Repaired"^^xsd:string "Failure Description"^^xsd:string) .
ddr-tables:Fluid
rdf:type rhspin:TableTemplate ;
rdfs:label "Fluid Information"^^xsd:string ;
rdfs:subClassOf rhspin:DDRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy (_:b17) ;
sp:resultVariables (_:b18 _:b17 _:b19 _:b20 [ sp:varName "mud"^^xsd:string
] _:b21 _:b22 _:b23) ;
sp:where ([ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b24
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b25
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b26 ;
sp:predicate rdf:type ;
sp:subject _:b25
] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ;
sp:predicate rdf:type ;
sp:subject _:b26
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b25
] [ sp:object _:b19 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b27
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
sp:subject _:b25
] [ sp:object _:b20 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b28
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
sp:subject _:b25
] [ sp:object _:b21 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b29
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
sp:subject _:b25
] [ sp:object _:b23 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b30
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ;
sp:subject _:b25
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
sp:subject _:b25
] [ sp:object _:b22 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b31
])
])
] ;
rhspin:tableHeaders ("Fluid Type"^^xsd:string "Time"^^xsd:string "mMD"^^xsd:string "Pressure"^^xsd:string "Mud Class"^^xsd:string "Density"^^xsd:string "YP"^^xsd:string "PV"^^xsd:string) .
ddr-tables:Operations
rdf:type rhspin:TableTemplate ;
rdfs:label "Operations"^^xsd:string ;
rdfs:subClassOf rhspin:DDRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy (_:b17) ;
sp:resultVariables (_:b17 _:b18 [ sp:varName "startDepth"^^xsd:string
sp:orderBy (_:b32) ;
sp:resultVariables (_:b32 _:b33 [ sp:varName "startDepth"^^xsd:string
] [ sp:varName "endDepth"^^xsd:string
] _:b19 _:b20 [ sp:varName "state"^^xsd:string
] _:b21) ;
sp:where ([ sp:object _:b22 ;
] _:b34 _:b35 [ sp:varName "state"^^xsd:string
] _:b36) ;
sp:where ([ sp:object _:b37 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object _:b23 ;
] [ sp:object _:b38 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b22
] [ sp:object _:b17 ;
sp:subject _:b37
] [ sp:object _:b32 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b23
] [ sp:object _:b18 ;
sp:subject _:b38
] [ sp:object _:b33 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b23
sp:subject _:b38
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b20 ;
sp:elements ([ sp:object _:b35 ;
sp:predicate rdf:type ;
sp:subject _:b23
sp:subject _:b38
] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ;
sp:predicate rdf:type ;
sp:subject _:b20
sp:subject _:b35
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b24 ;
sp:elements ([ sp:object _:b39 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b23
] [ sp:object _:b25 ;
sp:subject _:b38
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b24
] [ sp:object _:b19 ;
sp:subject _:b39
] [ sp:object _:b34 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b25
sp:subject _:b40
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b21 ;
sp:elements ([ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
sp:subject _:b23
sp:subject _:b38
])
])
] ;
......@@ -190,45 +267,31 @@ ddr-tables:Operations
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
owl:versionInfo "0.1.0"^^xsd:string .
_:b3 sp:varName "remark"^^xsd:string .
_:b1 sp:varName "depth"^^xsd:string .
_:b7 sp:varName "md"^^xsd:string .
_:b6 sp:varName "wellbore"^^xsd:string .
_:b2 sp:varName "activity"^^xsd:string .
_:b5 sp:varName "part"^^xsd:string .
_:b4 sp:varName "reportOn"^^xsd:string .
_:b25
_:b40
sp:varName "md"^^xsd:string .
_:b24
_:b39
sp:varName "wellbore"^^xsd:string .
_:b23
_:b38
sp:varName "part"^^xsd:string .
_:b22
_:b37
sp:varName "reportOn"^^xsd:string .
_:b21
_:b36
sp:varName "remark"^^xsd:string .
_:b20
_:b35
sp:varName "activity"^^xsd:string .
_:b19
_:b34
sp:varName "depth"^^xsd:string .
_:b18
_:b33
sp:varName "endTime"^^xsd:string .
_:b17
_:b32
sp:varName "startTime"^^xsd:string .
_:b16
......@@ -255,3 +318,62 @@ _:b10
_:b9 sp:varName "depthMD"^^xsd:string .
_:b8 sp:varName "startTime"^^xsd:string .
_:b7 sp:varName "md"^^xsd:string .
_:b6 sp:varName "wellbore"^^xsd:string .
_:b5 sp:varName "part"^^xsd:string .
_:b4 sp:varName "reportOn"^^xsd:string .
_:b3 sp:varName "remark"^^xsd:string .
_:b2 sp:varName "activity"^^xsd:string .
_:b1 sp:varName "depth"^^xsd:string .
_:b22
sp:varName "ypVal"^^xsd:string .
_:b31
sp:varName "yp"^^xsd:string .
_:b18
sp:varName "type"^^xsd:string .
_:b23
sp:varName "pvVal"^^xsd:string .
_:b30
sp:varName "pv"^^xsd:string .
_:b21
sp:varName "densityVal"^^xsd:string .
_:b29
sp:varName "density"^^xsd:string .
_:b20
sp:varName "pressureVal"^^xsd:string .
_:b28
sp:varName "pressure"^^xsd:string .
_:b19
sp:varName "depth"^^xsd:string .
_:b27
sp:varName "md"^^xsd:string .
_:b26
sp:varName "activity"^^xsd:string .
_:b17
sp:varName "time"^^xsd:string .
_:b25
sp:varName "part"^^xsd:string .
_:b24
sp:varName "reportOn"^^xsd:string .
......
# Saved by TopBraid on Mon Aug 15 00:07:43 BST 2011
# Saved by TopBraid on Mon Aug 15 02:53:38 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Sat Aug 13 19:14:22 BST 2011
# Saved by TopBraid on Mon Aug 15 02:45:27 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
......@@ -31,57 +31,40 @@
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 134 Transfer comments"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
rdfs:comment "STEP 155 Create part activity and temporal part of WellBore"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FluidActivity> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b1
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:subject spin:_this
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
sp:subject _:b1
] [ sp:object _:b5 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b4
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
sp:subject _:b1
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b4
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
sp:subject _:b4
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b3
] ;
sp:variable _:b7
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b7 ;
sp:arg2 _:b6 ;
sp:arg3 _:b5
] ;
sp:variable _:b2
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ;
sp:predicate rdf:type ;
sp:subject _:b8
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b1
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b1
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b9
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#MudClass> ;
sp:subject _:b1
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
sp:subject _:b1
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b8
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ;
sp:subject _:b1
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b8
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b12
......@@ -90,7 +73,7 @@
sp:subject _:b12
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b8
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
......@@ -99,16 +82,43 @@
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#fluid> ;
sp:subject spin:_this
] [ sp:object _:b17 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b16
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
sp:subject _:b16
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ;
sp:subject _:b16
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
sp:subject _:b16
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b16
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#MudClass> ;
sp:subject _:b16
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b16
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
sp:subject _:b16
])
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
sp:subject _:b16
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
sp:subject _:b16
] [ rdf:type sp:Bind ;
sp:expression
......@@ -120,10 +130,10 @@
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b18 ;
sp:arg2 _:b10 ;
sp:arg2 _:b3 ;
sp:arg3 _:b17
] ;
sp:variable _:b8
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
......@@ -136,22 +146,22 @@
sp:arg1 _:b18 ;
sp:arg2 _:b15
] ;
sp:variable _:b9
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b18 ;
sp:arg2 _:b10 ;
sp:arg3 _:b11
sp:arg2 _:b3 ;
sp:arg3 _:b3
] ;
sp:variable _:b12
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
sp:templates ([ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:predicate rdf:type ;
sp:subject _:b20
]) ;
sp:where ([ sp:object _:b21 ;
......@@ -166,12 +176,9 @@
] [ sp:object _:b24 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b22
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumState> ;
sp:subject _:b22
] [ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
......@@ -185,14 +192,20 @@
sp:arg2 _:b24 ;
sp:arg3 _:b23
] ;
sp:variable _:b25
sp:variable _:b20
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectActivitySuccessType ;
sp:arg1 _:b25
] ;
sp:variable _:b19
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ;
sp:templates ([ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
sp:subject _:b28
]) ;
sp:where ([ sp:object _:b29 ;
......@@ -208,7 +221,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b30
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
sp:subject _:b30
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
......@@ -275,9 +288,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ;
rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b44
]) ;
sp:where ([ sp:object _:b45 ;
......@@ -293,7 +306,7 @@
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b46
] [ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
sp:subject _:b46
] [ sp:object _:b44 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
......@@ -316,9 +329,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b51 ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b52
]) ;
sp:where ([ sp:object _:b53 ;
......@@ -333,9 +346,12 @@
] [ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b54
] [ sp:object _:b57 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumState> ;
] [ sp:object _:b51 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
sp:subject _:b54
] [ sp:object _:b52 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b57
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
......@@ -349,57 +365,169 @@
sp:arg2 _:b56 ;
sp:arg3 _:b55
] ;
sp:variable _:b52
sp:variable _:b57
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ;
sp:predicate rdf:type ;
sp:subject _:b59
] [ sp:object _:b59 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b60
] [ sp:object _:b61 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b59
] [ sp:object _:b62 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b59
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b63
] [ sp:object _:b64 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b63
] [ sp:object _:b63 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b59
]) ;
sp:where ([ sp:object _:b65 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b66 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject spin:_this
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:subject spin:_this
] [ sp:object _:b68 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b67
] [ sp:object _:b61 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b67
] [ sp:object _:b62 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
sp:subject _:b67
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectActivitySuccessType ;
sp:arg1 _:b57
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b65
] ;
sp:variable _:b69
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b69 ;
sp:arg2 _:b61 ;
sp:arg3 _:b68
] ;
sp:variable _:b59
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName _:b65
] ;
sp:variable _:b64
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b69 ;
sp:arg2 _:b66
] ;
sp:variable _:b60
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 _:b69 ;
sp:arg2 _:b61 ;
sp:arg3 _:b62
] ;
sp:variable _:b63
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 134 Transfer comments"^^xsd:string ;
sp:templates ([ sp:object _:b70 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
sp:subject _:b71
]) ;
sp:where ([ sp:object _:b72 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b73 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:subject spin:_this
] [ sp:object _:b74 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b73
] [ sp:object _:b75 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b73
] [ sp:object _:b70 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
sp:subject _:b73
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b72
] ;
sp:variable _:b76
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b76 ;
sp:arg2 _:b75 ;
sp:arg3 _:b74
] ;
sp:variable _:b51
sp:variable _:b71
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 133 Transfer stateDetailActivity"^^xsd:string ;
sp:templates ([ sp:object _:b59 ;
sp:templates ([ sp:object _:b77 ;
sp:predicate rdf:type ;
sp:subject _:b60
sp:subject _:b78
]) ;
sp:where ([ sp:object _:b61 ;
sp:where ([ sp:object _:b79 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b62 ;
] [ sp:object _:b80 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
sp:subject spin:_this
] [ sp:object _:b63 ;
] [ sp:object _:b81 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
sp:subject _:b62
] [ sp:object _:b64 ;
sp:subject _:b80
] [ sp:object _:b82 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
sp:subject _:b62
] [ sp:object _:b65 ;
sp:subject _:b80
] [ sp:object _:b83 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumStateDetailActivity> ;
sp:subject _:b62
sp:subject _:b80
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b61
sp:arg1 _:b79
] ;
sp:variable _:b66
sp:variable _:b84
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 _:b66 ;
sp:arg2 _:b64 ;
sp:arg3 _:b63
sp:arg1 _:b84 ;
sp:arg2 _:b82 ;
sp:arg3 _:b81
] ;
sp:variable _:b60
sp:variable _:b78
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingActivityOutcomeType ;
sp:arg1 _:b65
sp:arg1 _:b83
] ;
sp:variable _:b59
sp:variable _:b77
])
] .
......@@ -408,191 +536,245 @@
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b2 sp:varName "partActivity"^^xsd:string .
_:b14
sp:varName "nameWellBore"^^xsd:string .
_:b7 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b15
sp:varName "dTimStart"^^xsd:string .
_:b1 sp:varName "comments"^^xsd:string .
_:b16
sp:varName "fluid"^^xsd:string .
_:b6 sp:varName "dTimStartPart"^^xsd:string .
_:b17
sp:varName "index"^^xsd:string .
_:b5 sp:varName "index"^^xsd:string .
_:b3 sp:varName "dTimStartPart"^^xsd:string .
_:b4 sp:varName "activity"^^xsd:string .
_:b10
sp:varName "type"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b4 sp:varName "pv"^^xsd:string .
_:b18
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b7 sp:varName "md"^^xsd:string .
_:b17
sp:varName "index"^^xsd:string .
_:b8 sp:varName "mud"^^xsd:string .
_:b16
sp:varName "activity"^^xsd:string .
_:b6 sp:varName "tvd"^^xsd:string .
_:b15
sp:varName "dTimStart"^^xsd:string .
_:b5 sp:varName "yp"^^xsd:string .
_:b14
sp:varName "nameWellBore"^^xsd:string .
_:b11
sp:varName "density"^^xsd:string .
_:b9 sp:varName "presBopRating"^^xsd:string .
_:b18
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "partActivity"^^xsd:string .
_:b13
sp:varName "wellBore"^^xsd:string .
_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b12
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b11
sp:varName "dTimEndPart"^^xsd:string .
_:b70
sp:varName "comments"^^xsd:string .
_:b10
sp:varName "dTimStartPart"^^xsd:string .
_:b71
sp:varName "partActivity"^^xsd:string .
_:b9 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b72
sp:varName "nameWellBore"^^xsd:string .
_:b8 sp:varName "partActivity"^^xsd:string .
_:b73
sp:varName "activity"^^xsd:string .
_:b26
_:b74
sp:varName "index"^^xsd:string .
_:b75
sp:varName "dTimStartPart"^^xsd:string .
_:b76
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
_:b59
sp:varName "partActivity"^^xsd:string .
_:b24
_:b60
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b61
sp:varName "dTimStartPart"^^xsd:string .
_:b23
sp:varName "index"^^xsd:string .
_:b62
sp:varName "dTimEndPart"^^xsd:string .
_:b22
sp:varName "activity"^^xsd:string .
_:b63
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b21
_:b64
sp:varName "wellBore"^^xsd:string .
_:b65
sp:varName "nameWellBore"^^xsd:string .
_:b20
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b66
sp:varName "dTimStart"^^xsd:string .
_:b19
sp:varName "md"^^xsd:string .
_:b67
sp:varName "activity"^^xsd:string .
_:b34
_:b68
sp:varName "index"^^xsd:string .
_:b69
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b33
sp:varName "partActivity"^^xsd:string .
_:b51
sp:varName "md"^^xsd:string .
_:b32
sp:varName "dTimStartPart"^^xsd:string .
_:b52
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b31
sp:varName "index"^^xsd:string .
_:b53
sp:varName "nameWellBore"^^xsd:string .
_:b30
_:b54
sp:varName "activity"^^xsd:string .
_:b29
sp:varName "nameWellBore"^^xsd:string .
_:b55
sp:varName "index"^^xsd:string .
_:b28
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b56
sp:varName "dTimStartPart"^^xsd:string .
_:b27
sp:varName "tvd"^^xsd:string .
_:b57
sp:varName "partActivity"^^xsd:string .
_:b42
_:b58
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b41
sp:varName "proprietaryCode"^^xsd:string .
_:b43
sp:varName "tvd"^^xsd:string .
_:b40
sp:varName "dTimStartPart"^^xsd:string .
_:b44
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b39
sp:varName "index"^^xsd:string .
_:b45
sp:varName "nameWellBore"^^xsd:string .
_:b38
_:b46
sp:varName "activity"^^xsd:string .
_:b37
sp:varName "nameWellBore"^^xsd:string .
_:b47
sp:varName "index"^^xsd:string .
_:b36
sp:varName "partActivity"^^xsd:string .
_:b48
sp:varName "dTimStartPart"^^xsd:string .
_:b35
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b49
sp:varName "partActivity"^^xsd:string .
_:b50
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b49
sp:varName "partActivity"^^xsd:string .
_:b35
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b48
sp:varName "dTimStartPart"^^xsd:string .
_:b36
sp:varName "partActivity"^^xsd:string .
_:b47
sp:varName "index"^^xsd:string .
_:b37
sp:varName "nameWellBore"^^xsd:string .
_:b46
_:b38
sp:varName "activity"^^xsd:string .
_:b45
sp:varName "nameWellBore"^^xsd:string .
_:b39
sp:varName "index"^^xsd:string .
_:b44
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b40
sp:varName "dTimStartPart"^^xsd:string .
_:b43
sp:varName "mdHoleStart"^^xsd:string .
_:b41
sp:varName "proprietaryCode"^^xsd:string .
_:b58
_:b42
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b57
sp:varName "state"^^xsd:string .
_:b27
sp:varName "mdHoleStart"^^xsd:string .
_:b56
sp:varName "dTimStartPart"^^xsd:string .
_:b28
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b55
sp:varName "index"^^xsd:string .
_:b29
sp:varName "nameWellBore"^^xsd:string .
_:b54
_:b30
sp:varName "activity"^^xsd:string .
_:b53
sp:varName "nameWellBore"^^xsd:string .
_:b31
sp:varName "index"^^xsd:string .
_:b52
_:b32
sp:varName "dTimStartPart"^^xsd:string .
_:b33
sp:varName "partActivity"^^xsd:string .
_:b51
_:b34
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b19
sp:varName "activitySuccessType"^^xsd:string .
_:b66
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b20
sp:varName "partActivity"^^xsd:string .
_:b65
sp:varName "stateDetailActivity"^^xsd:string .
_:b21
sp:varName "nameWellBore"^^xsd:string .
_:b64
sp:varName "dTimStartPart"^^xsd:string .
_:b22
sp:varName "activity"^^xsd:string .
_:b63
_:b23
sp:varName "index"^^xsd:string .
_:b62
sp:varName "activity"^^xsd:string .
_:b24
sp:varName "dTimStartPart"^^xsd:string .
_:b61
sp:varName "nameWellBore"^^xsd:string .
_:b25
sp:varName "state"^^xsd:string .
_:b60
sp:varName "partActivity"^^xsd:string .
_:b26
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b59
_:b77
sp:varName "drillingActivityOutcomeType"^^xsd:string .
_:b78
sp:varName "partActivity"^^xsd:string .
_:b79
sp:varName "nameWellBore"^^xsd:string .
_:b80
sp:varName "activity"^^xsd:string .
_:b81
sp:varName "index"^^xsd:string .
_:b82
sp:varName "dTimStartPart"^^xsd:string .
_:b83
sp:varName "stateDetailActivity"^^xsd:string .
_:b84
sp:varName "normalizedWellBoreName"^^xsd:string .
......
# Saved by TopBraid on Fri Aug 12 23:21:25 PDT 2011
# Saved by TopBraid on Mon Aug 15 01:26:41 BST 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
......@@ -41,7 +41,7 @@ ddr:Cs_activity
sxml:element "witsml:activity"^^xsd:string .
ddr:Cs_alias
sxml:element "witsml:alias" , "witsml:rigAlias"^^xsd:string .
sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" .
ddr:Cs_bitRecord
sxml:element "witsml:bitRecord" .
......@@ -89,7 +89,7 @@ ddr:Cs_drillReportPorePressure
sxml:element "witsml:drillReportPorePressure" .
ddr:Cs_drillReportStatusInfo
sxml:element "witsml:drillReportStatusInfo" , "witsml:statusInfo"^^xsd:string .
sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" .
ddr:Cs_drillReportStratInfo
sxml:element "witsml:drillReportStratInfo" .
......@@ -104,6 +104,15 @@ ddr:Cs_drillReportWellboreInfo
sxml:element "witsml:wellboreInfo"^^xsd:string .
ddr:Cs_fluid
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 031 - Construct ep-activity fluid statements"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FluidActivity> ;
sp:predicate rdf:type ;
sp:subject spin:_this
]) ;
sp:where ()
] ;
sxml:element "witsml:fluid" .
ddr:Cs_geodeticModel
......@@ -125,7 +134,7 @@ ddr:Cs_refWellWellboreRig
sxml:element "witsml:refWellWellboreRig" .
ddr:Cs_wellAlias
sxml:element "witsml:wellAlias"^^xsd:string , "witsml:wellboreAlias"^^xsd:string .
sxml:element "witsml:wellboreAlias"^^xsd:string , "witsml:wellAlias"^^xsd:string .
ddr:Cs_wellCRS
sxml:element "witsml:wellCRS" .
......@@ -142,210 +151,238 @@ ddr:Obj_drillReport
ddr:Thing
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 009 - Construct all datatype values"^^xsd:string ;
rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate _:b2 ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate ddr:uom ;
sp:subject _:b2
] [ sp:object _:b4 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b2
] [ sp:object _:b2 ;
sp:predicate _:b5 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b3
sp:subject _:b6
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b3
] [ sp:object _:b2 ;
sp:subject _:b6
] [ sp:object _:b5 ;
sp:predicate rdf:predicate ;
sp:subject _:b3
] [ sp:object _:b1 ;
sp:subject _:b6
] [ sp:object _:b4 ;
sp:predicate rdf:object ;
sp:subject _:b3
] [ sp:object _:b3 ;
sp:subject _:b6
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b4
sp:subject _:b7
]) ;
sp:where ([ sp:object _:b4 ;
sp:where ([ sp:object _:b7 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ sp:object _:b5 ;
] [ sp:object _:b8 ;
sp:predicate rdf:type ;
sp:subject _:b4
sp:subject _:b7
] [ sp:object _:b3 ;
sp:predicate ddr:uom ;
sp:subject _:b7
] [ 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 _:b4
sp:subject _:b7
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b5
sp:arg1 _:b8
] ;
sp:variable _:b6
sp:variable _:b9
] [ 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 _:b6
sp:arg2 _:b9
]
] ;
sp:variable _:b2
] [ sp:object owl:DatatypeProperty ;
sp:variable _:b5
] [ sp:object owl:ObjectProperty ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b2 ;
sp:subject _:b5
] [ sp:object _:b5 ;
sp:predicate owl:onProperty ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:subject _:b10
] [ sp:object _:b1 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b7
] [ sp:object rdfs:Datatype ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate rdf:type ;
sp:subject _:b8
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b9 ;
sp:object _:b10 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b8
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:eq ;
sp:arg1 [ rdf:type afn:namespace ;
sp:arg1 _:b9
] ;
sp:arg2 "http://www.w3.org/2001/XMLSchema#"
]
] [ sp:object _:b10 ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b4
sp:subject _:b7
] [ sp:object sxml:TextNode ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:subject _:b12
] [ sp:object _:b13 ;
sp:predicate sxml:text ;
sp:subject _:b10
] [ sp:object _:b12 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b7 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:cast ;
arg:datatype _:b9 ;
sp:arg1 _:b11
[ rdf:type xsd:double ;
sp:arg1 _:b13
] ;
sp:variable _:b1
sp:variable _:b4
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 020 - Construct all other object properties"^^xsd:string ;
sp:templates ([ sp:object _:b13 ;
sp:predicate _:b14 ;
rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ;
sp:templates ([ sp:object _:b14 ;
sp:predicate _:b15 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b15
sp:subject _:b16
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b15
] [ sp:object _:b14 ;
sp:subject _:b16
] [ sp:object _:b15 ;
sp:predicate rdf:predicate ;
sp:subject _:b15
] [ sp:object _:b13 ;
sp:subject _:b16
] [ sp:object _:b14 ;
sp:predicate rdf:object ;
sp:subject _:b15
] [ sp:object _:b15 ;
sp:subject _:b16
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b13
]) ;
sp:where ([ sp:object _:b16 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b17
] [ sp:object _:b14 ;
sp:predicate owl:onProperty ;
sp:subject _:b17
] [ sp:object _:b16 ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object _:b13 ;
]) ;
sp:where ([ sp:object _:b17 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ sp:object _:b18 ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ 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 _:b13
sp:predicate ddr:uom ;
sp:subject _:b17
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "xmlTag"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:titleCase ;
sp:arg1 [ rdf:type afn:localname ;
sp:arg1 _:b18
]
] ;
sp:predicate sxml:tag ;
sp:subject _:b13
])
] [ sp:object _:b18 ;
sp:variable _:b19
] [ 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 _:b19
]
] ;
sp:variable _:b15
] [ sp:object owl:ObjectProperty ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object _:b15 ;
sp:predicate owl:onProperty ;
sp:subject _:b20
] [ sp:object _:b21 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b20
] [ sp:object _:b22 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b17 ;
sp:object _:b20 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b18
sp:subject _:b22
] [ rdf:type sp:TriplePath ;
sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b21
] [ sp:object _:b23 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b17
] [ sp:object sxml:TextNode ;
sp:predicate rdf:type ;
sp:subject _:b23
] [ sp:object _:b24 ;
sp:predicate sxml:text ;
sp:subject _:b23
] [ sp:object _:b21 ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b24 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b14
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 018 - Construct all object properties that need to match on tags"^^xsd:string ;
sp:templates ([ sp:object _:b19 ;
sp:predicate _:b20 ;
sp:templates ([ sp:object _:b25 ;
sp:predicate _:b26 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b21
sp:subject _:b27
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b21
] [ sp:object _:b20 ;
sp:subject _:b27
] [ sp:object _:b26 ;
sp:predicate rdf:predicate ;
sp:subject _:b21
] [ sp:object _:b19 ;
sp:subject _:b27
] [ sp:object _:b25 ;
sp:predicate rdf:object ;
sp:subject _:b21
] [ sp:object _:b21 ;
sp:subject _:b27
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b19
sp:subject _:b25
]) ;
sp:where ([ sp:object _:b22 ;
sp:where ([ sp:object _:b28 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b23
] [ sp:object _:b20 ;
sp:subject _:b29
] [ sp:object _:b26 ;
sp:predicate owl:onProperty ;
sp:subject _:b23
sp:subject _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b20
sp:arg1 _:b26
] ;
sp:variable _:b24
] [ sp:object _:b22 ;
sp:variable _:b30
] [ sp:object _:b28 ;
sp:predicate rdf:type ;
sp:subject _:b19
] [ sp:object _:b19 ;
sp:subject _:b25
] [ sp:object _:b25 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
......@@ -353,209 +390,161 @@ ddr:Thing
[ sp:varName "aNode"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b19
sp:subject _:b25
])
] [ sp:object _:b25 ;
] [ sp:object _:b31 ;
sp:predicate sxml:tag ;
sp:subject _:b19
sp:subject _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b25 ;
sp:arg1 _:b31 ;
sp:arg2 "(.*):(.*)" ;
sp:arg3 "$2"
] ;
sp:variable _:b26
sp:variable _:b32
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:eq ;
sp:arg1 _:b26 ;
sp:arg2 _:b24
sp:arg1 _:b32 ;
sp:arg2 _:b30
]
] [ sp:object _:b27 ;
] [ sp:object _:b33 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b23 ;
sp:object _:b29 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b27
sp:subject _:b33
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ;
sp:templates ([ sp:object _:b28 ;
sp:predicate _:b29 ;
rdfs:comment "STEP 020 - Construct all other object properties"^^xsd:string ;
sp:templates ([ sp:object _:b34 ;
sp:predicate _:b35 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b30
sp:subject _:b36
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b30
] [ sp:object _:b29 ;
sp:subject _:b36
] [ sp:object _:b35 ;
sp:predicate rdf:predicate ;
sp:subject _:b30
] [ sp:object _:b28 ;
sp:subject _:b36
] [ sp:object _:b34 ;
sp:predicate rdf:object ;
sp:subject _:b30
] [ sp:object _:b30 ;
sp:subject _:b36
] [ sp:object _:b36 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b31
sp:subject _:b34
]) ;
sp:where ([ sp:object _:b31 ;
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
] [ sp:object _:b32 ;
sp:predicate rdf:type ;
sp:subject _:b31
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "uom"^^xsd:string
[ sp:varName "aNode"^^xsd:string
] ;
sp:predicate ddr:uom ;
sp:subject _:b31
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b34
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:titleCase ;
sp:arg1 [ rdf:type afn:localname ;
sp:arg1 _:b32
]
] ;
sp:variable _:b33
] [ 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 _:b33
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "xmlTag"^^xsd:string
] ;
sp:variable _:b29
] [ sp:object owl:ObjectProperty ;
sp:predicate rdf:type ;
sp:subject _:b29
] [ sp:object _:b29 ;
sp:predicate owl:onProperty ;
sp:subject _:b34
] [ sp:object _:b35 ;
sp:predicate owl:allValuesFrom ;
sp:predicate sxml:tag ;
sp:subject _:b34
] [ sp:object _:b36 ;
])
] [ sp:object _:b39 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b34 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b36
] [ rdf:type sp:TriplePath ;
sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ;
sp:object _:b38 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b35
] [ sp:object _:b37 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b31
] [ sp:object sxml:TextNode ;
sp:predicate rdf:type ;
sp:subject _:b37
] [ sp:object _:b38 ;
sp:predicate sxml:text ;
sp:subject _:b37
] [ sp:object _:b35 ;
sp:predicate rdf:type ;
sp:subject _:b28
] [ sp:object _:b38 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b28
sp:subject _:b39
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ;
sp:templates ([ sp:object _:b39 ;
sp:predicate rdf:type ;
sp:subject _:b40
] [ sp:object _:b41 ;
sp:predicate ddr:uom ;
sp:subject _:b40
] [ sp:object _:b42 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b40
] [ sp:object _:b40 ;
sp:predicate _:b43 ;
rdfs:comment "STEP 009 - Construct all datatype values"^^xsd:string ;
sp:templates ([ sp:object _:b40 ;
sp:predicate _:b41 ;
sp:subject spin:_this
] [ sp:object rdf:Statement ;
sp:predicate rdf:type ;
sp:subject _:b44
sp:subject _:b42
] [ sp:object spin:_this ;
sp:predicate rdf:subject ;
sp:subject _:b44
] [ sp:object _:b43 ;
sp:subject _:b42
] [ sp:object _:b41 ;
sp:predicate rdf:predicate ;
sp:subject _:b44
] [ sp:object _:b42 ;
sp:subject _:b42
] [ sp:object _:b40 ;
sp:predicate rdf:object ;
sp:subject _:b44
] [ sp:object _:b44 ;
sp:subject _:b42
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
sp:subject _:b45
sp:subject _:b43
]) ;
sp:where ([ sp:object _:b45 ;
sp:where ([ sp:object _:b43 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject spin:_this
] [ sp:object _:b46 ;
] [ sp:object _:b44 ;
sp:predicate rdf:type ;
sp:subject _:b45
] [ sp:object _:b41 ;
sp:predicate ddr:uom ;
sp:subject _:b45
sp:subject _:b43
] [ 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 _:b45
sp:subject _:b43
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b46
sp:arg1 _:b44
] ;
sp:variable _:b47
sp:variable _:b45
] [ 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 _:b47
sp:arg2 _:b45
]
] ;
sp:variable _:b43
] [ sp:object owl:ObjectProperty ;
sp:variable _:b41
] [ sp:object owl:DatatypeProperty ;
sp:predicate rdf:type ;
sp:subject _:b43
] [ sp:object _:b43 ;
sp:subject _:b41
] [ sp:object _:b41 ;
sp:predicate owl:onProperty ;
sp:subject _:b48
] [ sp:object _:b39 ;
sp:subject _:b46
] [ sp:object _:b47 ;
sp:predicate owl:allValuesFrom ;
sp:subject _:b48
] [ sp:object _:b49 ;
sp:subject _:b46
] [ sp:object rdfs:Datatype ;
sp:predicate rdf:type ;
sp:subject spin:_this
sp:subject _:b47
] [ rdf:type sp:TriplePath ;
sp:object _:b48 ;
sp:path [ rdf:type sp:ModPath ;
......@@ -563,22 +552,42 @@ ddr:Thing
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b49
] [ sp:object _:b50 ;
sp:subject _:b47
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:eq ;
sp:arg1 [ rdf:type afn:namespace ;
sp:arg1 _:b48
] ;
sp:arg2 "http://www.w3.org/2001/XMLSchema#"
]
] [ sp:object _:b49 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b45
sp:subject _:b43
] [ sp:object sxml:TextNode ;
sp:predicate rdf:type ;
sp:subject _:b50
] [ sp:object _:b51 ;
sp:subject _:b49
] [ sp:object _:b50 ;
sp:predicate sxml:text ;
sp:subject _:b50
sp:subject _:b49
] [ sp:object _:b51 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:TriplePath ;
sp:object _:b46 ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:double ;
sp:arg1 _:b51
[ rdf:type spif:cast ;
arg:datatype _:b48 ;
sp:arg1 _:b50
] ;
sp:variable _:b42
sp:variable _:b40
])
] .
......@@ -601,107 +610,107 @@ ddr:version
owl:Thing
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 _:b52
] [ 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 _:b52
])
])
] ;
spin:query
[ rdf:type sp:Select ;
sp:resultVariables (_:b53 _:b54 _:b55 _:b56) ;
sp:where ([ sp:object _:b56 ;
sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
sp:subject _:b55
] [ sp:object _:b55 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b54
] [ rdf:type sp:Union ;
sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
sp:predicate rdf:type ;
sp:subject _:b54
]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
sp:predicate rdf:type ;
sp:subject _:b54
]))
] [ sp:object _:b54 ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b53
])
] ;
spin:query
[ rdf:type sp:Select ;
sp:resultVariables (_:b57 _:b58 _:b59 _:b60) ;
sp:resultVariables (_:b52 _:b53 _:b54 _:b55) ;
sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ;
sp:predicate rdf:type ;
sp:subject _:b61
sp:subject _:b56
] [ rdf:type sp:TriplePath ;
sp:object _:b62 ;
sp:object _:b57 ;
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 _:b61
] [ sp:object _:b63 ;
sp:subject _:b56
] [ sp:object _:b58 ;
sp:predicate <http://topbraid.org/sxsd#name> ;
sp:subject _:b61
] [ sp:object _:b60 ;
sp:subject _:b56
] [ sp:object _:b55 ;
sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
sp:subject _:b62
] [ sp:object _:b64 ;
sp:subject _:b57
] [ sp:object _:b59 ;
sp:predicate <http://topbraid.org/sxsd#name> ;
sp:subject _:b62
sp:subject _:b57
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:titleCase ;
sp:arg1 _:b64
sp:arg1 _:b59
] ;
sp:variable _:b65
sp:variable _:b60
] [ 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 _:b65
sp:arg2 _:b60
]
] ;
sp:variable _:b59
sp:variable _:b54
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:titleCase ;
sp:arg1 _:b63 ;
sp:arg1 _:b58 ;
sp:arg2 "[a-z]s"
] ;
sp:variable _:b66
sp:variable _:b61
] [ 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 _:b66
sp:arg2 _:b61
]
] ;
sp:variable _:b58
sp:variable _:b53
] [ 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 _:b66 ;
sp:arg2 _:b61 ;
sp:arg3 "-has" ;
sp:arg4 _:b65
sp:arg4 _:b60
]
] ;
sp:variable _:b57
sp:variable _:b52
])
] ;
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:where ([ sp:object
[ sp:varName "p"^^xsd:string
] ;
sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
sp:subject _:b66
] [ 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 _:b66
])
])
] ;
spin:update
......@@ -741,183 +750,184 @@ owl:Thing
])
] .
_:b39
sp:varName "rangeU"^^xsd:string .
_:b40
sp:varName "value"^^xsd:string .
_:b41
sp:varName "uom"^^xsd:string .
_:b42
sp:varName "value"^^xsd:string .
sp:varName "dtpnameU"^^xsd:string .
_:b43
sp:varName "opnameU"^^xsd:string .
sp:varName "child"^^xsd:string .
_:b44
sp:varName "childType"^^xsd:string .
_:b45
sp:varName "child"^^xsd:string .
sp:varName "childLocalName"^^xsd:string .
_:b46
sp:varName "childType"^^xsd:string .
sp:varName "valuesRestriction"^^xsd:string .
_:b47
sp:varName "childLocalName"^^xsd:string .
sp:varName "rangeType"^^xsd:string .
_:b48
sp:varName "allValuesRestriction"^^xsd:string .
sp:varName "someXSDtype"^^xsd:string .
_:b49
sp:varName "instType"^^xsd:string .
_:b50
sp:varName "textNode"^^xsd:string .
_:b51
_:b50
sp:varName "text"^^xsd:string .
_:b28
sp:varName "enumeratedValue"^^xsd:string .
_:b29
sp:varName "opnameU"^^xsd:string .
_:b31
sp:varName "child"^^xsd:string .
_:b32
sp:varName "childType"^^xsd:string .
_:b33
sp:varName "childLocalName"^^xsd:string .
_:b51
sp:varName "instType"^^xsd:string .
_:b34
sp:varName "valuesRestriction"^^xsd:string .
sp:varName "child"^^xsd:string .
_:b35
sp:varName "rangeU"^^xsd:string .
_:b36
sp:varName "instType"^^xsd:string .
sp:varName "formalProperty"^^xsd:string .
_:b37
sp:varName "textNode"^^xsd:string .
sp:varName "childType"^^xsd:string .
_:b38
sp:varName "text"^^xsd:string .
sp:varName "valuesRestriction"^^xsd:string .
_:b19
_:b39
sp:varName "instType"^^xsd:string .
_:b25
sp:varName "child"^^xsd:string .
_:b20
_:b26
sp:varName "formalProperty"^^xsd:string .
_:b22
_:b28
sp:varName "childType"^^xsd:string .
_:b23
_:b29
sp:varName "valuesRestriction"^^xsd:string .
_:b24
_:b30
sp:varName "propertyName"^^xsd:string .
_:b25
_:b31
sp:varName "xmlTag"^^xsd:string .
_:b26
_:b32
sp:varName "tagName"^^xsd:string .
_:b27
_:b33
sp:varName "instType"^^xsd:string .
_:b13
sp:varName "child"^^xsd:string .
_:b14
sp:varName "formalProperty"^^xsd:string .
sp:varName "enumeratedValue"^^xsd:string .
_:b16
sp:varName "childType"^^xsd:string .
_:b15
sp:varName "opnameU"^^xsd:string .
_:b17
sp:varName "valuesRestriction"^^xsd:string .
sp:varName "child"^^xsd:string .
_:b18
sp:varName "childType"^^xsd:string .
_:b19
sp:varName "childLocalName"^^xsd:string .
_:b20
sp:varName "valuesRestriction"^^xsd:string .
_:b21
sp:varName "rangeU"^^xsd:string .
_:b22
sp:varName "instType"^^xsd:string .
_:b57
sp:varName "ddrCPU"^^xsd:string .
_:b23
sp:varName "textNode"^^xsd:string .
_:b58
sp:varName "ddrCU"^^xsd:string .
_:b24
sp:varName "text"^^xsd:string .
_:b59
sp:varName "ddrPU"^^xsd:string .
_:b1 sp:varName "rangeU"^^xsd:string .
_:b60
sp:varName "mre"^^xsd:string .
_:b3 sp:varName "uom"^^xsd:string .
_:b61
sp:varName "s"^^xsd:string .
_:b4 sp:varName "value"^^xsd:string .
_:b62
sp:varName "c"^^xsd:string .
_:b5 sp:varName "opnameU"^^xsd:string .
_:b63
sp:varName "name"^^xsd:string .
_:b7 sp:varName "child"^^xsd:string .
_:b64
sp:varName "pname"^^xsd:string .
_:b8 sp:varName "childType"^^xsd:string .
_:b65
sp:varName "tcpname"^^xsd:string .
_:b9 sp:varName "childLocalName"^^xsd:string .
_:b10
sp:varName "allValuesRestriction"^^xsd:string .
_:b11
sp:varName "instType"^^xsd:string .
_:b12
sp:varName "textNode"^^xsd:string .
_:b13
sp:varName "text"^^xsd:string .
_:b66
sp:varName "tcname"^^xsd:string .
sp:varName "c"^^xsd:string .
_:b53
_:b62
sp:varName "pp"^^xsd:string .
_:b54
_:b63
sp:varName "p"^^xsd:string .
_:b55
_:b64
sp:varName "s"^^xsd:string .
_:b56
_:b65
sp:varName "e"^^xsd:string .
_:b52
sp:varName "c"^^xsd:string .
_:b67
sp:varName "oldLabel"^^xsd:string .
_:b68
sp:varName "p"^^xsd:string .
sp:varName "ddrCPU"^^xsd:string .
_:b69
sp:varName "newLabel"^^xsd:string .
_:b53
sp:varName "ddrCU"^^xsd:string .
_:b4 sp:varName "child"^^xsd:string .
_:b54
sp:varName "ddrPU"^^xsd:string .
_:b5 sp:varName "childType"^^xsd:string .
_:b55
sp:varName "mre"^^xsd:string .
_:b6 sp:varName "childLocalName"^^xsd:string .
_:b56
sp:varName "s"^^xsd:string .
_:b2 sp:varName "dtpnameU"^^xsd:string .
_:b57
sp:varName "c"^^xsd:string .
_:b7 sp:varName "valuesRestriction"^^xsd:string .
_:b58
sp:varName "name"^^xsd:string .
_:b8 sp:varName "rangeType"^^xsd:string .
_:b59
sp:varName "pname"^^xsd:string .
_:b9 sp:varName "someXSDtype"^^xsd:string .
_:b60
sp:varName "tcpname"^^xsd:string .
_:b10
sp:varName "textNode"^^xsd:string .
_:b61
sp:varName "tcname"^^xsd:string .
_:b11
sp:varName "text"^^xsd:string .
_:b67
sp:varName "oldLabel"^^xsd:string .
_:b12
sp:varName "instType"^^xsd:string .
_:b68
sp:varName "p"^^xsd:string .
_:b1 sp:varName "value"^^xsd:string .
_:b69
sp:varName "newLabel"^^xsd:string .
......
# Saved by TopBraid on Fri Aug 12 23:21:26 PDT 2011
# Saved by TopBraid on Mon Aug 15 01:26:41 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
......@@ -57,9 +57,8 @@
<ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:Operations" />
<ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:EquipmentFailure" />
<ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:Fluid" />
<ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:BitRecord" />
</ui:group>
</ui:group>
......