Added Depth and activity URI property to drill report Operation section
Showing
3 changed files
with
41 additions
and
12 deletions
1 | +# Saved by TopBraid on Sun Aug 14 22:37:58 BST 2011 | ||
1 | # baseURI: http://www.reportinghub.no/ep/spin/ddr-tables-v1.0 | 2 | # baseURI: http://www.reportinghub.no/ep/spin/ddr-tables-v1.0 |
2 | -# imports: http://spinrdf.org/spin | 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose |
3 | # imports: http://www.reportinghub.no/ep/schema/1.0/ddr | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/ddr |
5 | +# imports: http://spinrdf.org/spin | ||
4 | # imports: http://www.reportinghub.no/spin/rh | 6 | # imports: http://www.reportinghub.no/spin/rh |
5 | 7 | ||
6 | @prefix ddr-tables: <http://www.reportinghub.no/ep/spin/ddr-tables#> . | 8 | @prefix ddr-tables: <http://www.reportinghub.no/ep/spin/ddr-tables#> . |
... | @@ -22,24 +24,42 @@ ddr-tables:Operations | ... | @@ -22,24 +24,42 @@ ddr-tables:Operations |
22 | sp:orderBy (_:b1) ; | 24 | sp:orderBy (_:b1) ; |
23 | sp:resultVariables (_:b1 _:b2 [ sp:varName "startDepth"^^xsd:string | 25 | sp:resultVariables (_:b1 _:b2 [ sp:varName "startDepth"^^xsd:string |
24 | ] [ sp:varName "endDepth"^^xsd:string | 26 | ] [ sp:varName "endDepth"^^xsd:string |
25 | - ] [ sp:varName "activity"^^xsd:string | 27 | + ] _:b3 _:b4 [ sp:varName "state"^^xsd:string |
26 | - ] [ sp:varName "state"^^xsd:string | ||
27 | ] [ sp:varName "remark"^^xsd:string | 28 | ] [ sp:varName "remark"^^xsd:string |
28 | ]) ; | 29 | ]) ; |
29 | - sp:where ([ sp:object _:b3 ; | 30 | + sp:where ([ sp:object _:b5 ; |
30 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; | 31 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; |
31 | sp:subject | 32 | sp:subject |
32 | [ sp:varName "report"^^xsd:string | 33 | [ sp:varName "report"^^xsd:string |
33 | ] | 34 | ] |
34 | - ] [ sp:object _:b4 ; | 35 | + ] [ sp:object _:b6 ; |
35 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 36 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
36 | - sp:subject _:b3 | 37 | + sp:subject _:b5 |
37 | ] [ sp:object _:b1 ; | 38 | ] [ sp:object _:b1 ; |
38 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 39 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; |
39 | - sp:subject _:b4 | 40 | + sp:subject _:b6 |
40 | ] [ sp:object _:b2 ; | 41 | ] [ sp:object _:b2 ; |
41 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; | 42 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; |
42 | - sp:subject _:b4 | 43 | + sp:subject _:b6 |
44 | + ] [ rdf:type sp:Optional ; | ||
45 | + sp:elements ([ sp:object _:b4 ; | ||
46 | + sp:predicate rdf:type ; | ||
47 | + sp:subject _:b6 | ||
48 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ; | ||
49 | + sp:predicate rdf:type ; | ||
50 | + sp:subject _:b4 | ||
51 | + ]) | ||
52 | + ] [ rdf:type sp:Optional ; | ||
53 | + sp:elements ([ sp:object _:b7 ; | ||
54 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
55 | + sp:subject _:b6 | ||
56 | + ] [ sp:object _:b8 ; | ||
57 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; | ||
58 | + sp:subject _:b7 | ||
59 | + ] [ sp:object _:b3 ; | ||
60 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
61 | + sp:subject _:b8 | ||
62 | + ]) | ||
43 | ]) | 63 | ]) |
44 | ] ; | 64 | ] ; |
45 | rhspin:tableHeaders ("Start Time"^^xsd:string "End Time"^^xsd:string "Start Depth mMD"^^xsd:string "End Depth mMD"^^xsd:string "Depth mMD"^^xsd:string "Main - Sub Activity"^^xsd:string "State"^^xsd:string "Remark"^^xsd:string) . | 65 | rhspin:tableHeaders ("Start Time"^^xsd:string "End Time"^^xsd:string "Start Depth mMD"^^xsd:string "End Depth mMD"^^xsd:string "Depth mMD"^^xsd:string "Main - Sub Activity"^^xsd:string "State"^^xsd:string "Remark"^^xsd:string) . |
... | @@ -47,13 +67,21 @@ ddr-tables:Operations | ... | @@ -47,13 +67,21 @@ ddr-tables:Operations |
47 | <http://www.reportinghub.no/ep/spin/ddr-tables-v1.0> | 67 | <http://www.reportinghub.no/ep/spin/ddr-tables-v1.0> |
48 | rdf:type owl:Ontology ; | 68 | rdf:type owl:Ontology ; |
49 | rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ; | 69 | rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ; |
50 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/spin/rh> , <http://spinrdf.org/spin> ; | 70 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/spin/rh> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ; |
51 | owl:versionInfo "0.1.0"^^xsd:string . | 71 | owl:versionInfo "0.1.0"^^xsd:string . |
52 | 72 | ||
73 | +_:b3 sp:varName "depth"^^xsd:string . | ||
74 | + | ||
75 | +_:b8 sp:varName "md"^^xsd:string . | ||
76 | + | ||
77 | +_:b7 sp:varName "wellbore"^^xsd:string . | ||
78 | + | ||
79 | +_:b4 sp:varName "activity"^^xsd:string . | ||
80 | + | ||
53 | _:b2 sp:varName "endTime"^^xsd:string . | 81 | _:b2 sp:varName "endTime"^^xsd:string . |
54 | 82 | ||
55 | _:b1 sp:varName "startTime"^^xsd:string . | 83 | _:b1 sp:varName "startTime"^^xsd:string . |
56 | 84 | ||
57 | -_:b4 sp:varName "part"^^xsd:string . | 85 | +_:b6 sp:varName "part"^^xsd:string . |
58 | 86 | ||
59 | -_:b3 sp:varName "reportOn"^^xsd:string . | 87 | +_:b5 sp:varName "reportOn"^^xsd:string . | ... | ... |
... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
13 | <rhswp:NameValuePair arg:name="Status:" arg:value="{TBD}" /> | 13 | <rhswp:NameValuePair arg:name="Status:" arg:value="{TBD}" /> |
14 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{= spl:object(?dailyDrillingActivity, ep-activity:drillingOperator) }" /> | 14 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{= spl:object(?dailyDrillingActivity, ep-activity:drillingOperator) }" /> |
15 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{= ui:label(?rig) }" /> | 15 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{= ui:label(?rig) }" /> |
16 | - <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= ui:label(spl:object(?onWellBore, ddr:dTimSpud)) }" /> | 16 | + <rhswp:NameValuePair arg:name="Spud date:" arg:value="{TBD}" /> |
17 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:elevKelly) }" /> | 17 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:elevKelly) }" /> |
18 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ui:label(?wellBoreTightnessType) WHERE { ?temporalPartOfAWellBore rdf:type ?wellBoreTightnessType . ?wellBoreTightnessType a ep-well:WellBoreTightnessType} }" /> | 18 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ui:label(?wellBoreTightnessType) WHERE { ?temporalPartOfAWellBore rdf:type ?wellBoreTightnessType . ?wellBoreTightnessType a ep-well:WellBoreTightnessType} }" /> |
19 | <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:avgPresBH) }" /> | 19 | <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:avgPresBH) }" /> | ... | ... |
-
Please register or login to post a comment