Merge branch 'master' of github.com:TopQuadrant/EPIM-Ontologies
Showing
7 changed files
with
759 additions
and
124 deletions
1 | -# Saved by TopBraid on Wed Jul 27 19:44:43 PDT 2011 | 1 | +# Saved by TopBraid on Tue Aug 02 12:39:11 BST 2011 |
2 | # baseURI: http://www.reportinghub.no/ep/schema/1.1/activity | 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.1/activity |
3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem | 3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem |
4 | # imports: http://www.reportinghub.no/ep/schema/1.1/well | 4 | # imports: http://www.reportinghub.no/ep/schema/1.1/well |
... | @@ -76,6 +76,11 @@ ep-activity:DailyDrillingActivity | ... | @@ -76,6 +76,11 @@ ep-activity:DailyDrillingActivity |
76 | [ rdf:type owl:Restriction ; | 76 | [ rdf:type owl:Restriction ; |
77 | owl:allValuesFrom ep-activity:DrillingActivity ; | 77 | owl:allValuesFrom ep-activity:DrillingActivity ; |
78 | owl:onProperty ep-activity:hasSubActivity | 78 | owl:onProperty ep-activity:hasSubActivity |
79 | + ] ; | ||
80 | + rdfs:subClassOf | ||
81 | + [ rdf:type owl:Restriction ; | ||
82 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
83 | + owl:onProperty ep-activity:onWellBore | ||
79 | ] . | 84 | ] . |
80 | 85 | ||
81 | ep-activity:DailyDrillingReport | 86 | ep-activity:DailyDrillingReport |
... | @@ -103,6 +108,10 @@ ep-activity:DrillingActivity | ... | @@ -103,6 +108,10 @@ ep-activity:DrillingActivity |
103 | rdfs:label "Drilling activity"^^xsd:string ; | 108 | rdfs:label "Drilling activity"^^xsd:string ; |
104 | rdfs:subClassOf ep-activity:OffshoreWellActivity . | 109 | rdfs:subClassOf ep-activity:OffshoreWellActivity . |
105 | 110 | ||
111 | +ep-activity:FinalDailyDrillingReport | ||
112 | + rdf:type owl:Class ; | ||
113 | + rdfs:subClassOf ep-activity:DailyDrillingReport . | ||
114 | + | ||
106 | ep-activity:MonthlyDrillingActivity | 115 | ep-activity:MonthlyDrillingActivity |
107 | rdf:type owl:Class ; | 116 | rdf:type owl:Class ; |
108 | rdfs:label "Weekly drilling activity"^^xsd:string ; | 117 | rdfs:label "Weekly drilling activity"^^xsd:string ; |
... | @@ -123,6 +132,10 @@ ep-activity:MonthlyProductionActivity | ... | @@ -123,6 +132,10 @@ ep-activity:MonthlyProductionActivity |
123 | owl:onProperty ep-activity:hasSubActivity | 132 | owl:onProperty ep-activity:hasSubActivity |
124 | ] . | 133 | ] . |
125 | 134 | ||
135 | +ep-activity:NormalDailyDrillingReport | ||
136 | + rdf:type owl:Class ; | ||
137 | + rdfs:subClassOf ep-activity:DailyDrillingReport . | ||
138 | + | ||
126 | ep-activity:OffshoreActivity | 139 | ep-activity:OffshoreActivity |
127 | rdf:type owl:Class ; | 140 | rdf:type owl:Class ; |
128 | rdfs:label "Offshore activity"^^xsd:string ; | 141 | rdfs:label "Offshore activity"^^xsd:string ; |
... | @@ -153,6 +166,10 @@ ep-activity:OffshoreWellActivity | ... | @@ -153,6 +166,10 @@ ep-activity:OffshoreWellActivity |
153 | owl:onProperty ep-activity:onWell | 166 | owl:onProperty ep-activity:onWell |
154 | ] . | 167 | ] . |
155 | 168 | ||
169 | +ep-activity:PreliminaryDailyDrillingReport | ||
170 | + rdf:type owl:Class ; | ||
171 | + rdfs:subClassOf ep-activity:DailyDrillingReport . | ||
172 | + | ||
156 | ep-activity:ProductionActivity | 173 | ep-activity:ProductionActivity |
157 | rdf:type owl:Class ; | 174 | rdf:type owl:Class ; |
158 | rdfs:label "Production activity"^^xsd:string ; | 175 | rdfs:label "Production activity"^^xsd:string ; |
... | @@ -188,6 +205,11 @@ ep-activity:WeeklyProductionActivity | ... | @@ -188,6 +205,11 @@ ep-activity:WeeklyProductionActivity |
188 | owl:onProperty ep-activity:hasSubActivity | 205 | owl:onProperty ep-activity:hasSubActivity |
189 | ] . | 206 | ] . |
190 | 207 | ||
208 | +ep-activity:createdAt | ||
209 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; | ||
210 | + rdfs:label "created at"^^xsd:string ; | ||
211 | + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | ||
212 | + | ||
191 | ep-activity:finishedAt | 213 | ep-activity:finishedAt |
192 | rdf:type owl:DatatypeProperty ; | 214 | rdf:type owl:DatatypeProperty ; |
193 | rdfs:label "finished at"^^xsd:string ; | 215 | rdfs:label "finished at"^^xsd:string ; |
... | @@ -205,6 +227,10 @@ ep-activity:onWell | ... | @@ -205,6 +227,10 @@ ep-activity:onWell |
205 | rdf:type owl:ObjectProperty ; | 227 | rdf:type owl:ObjectProperty ; |
206 | rdfs:label "on well"^^xsd:string . | 228 | rdfs:label "on well"^^xsd:string . |
207 | 229 | ||
230 | +ep-activity:onWellBore | ||
231 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | ||
232 | + rdfs:label "on WellBore"^^xsd:string . | ||
233 | + | ||
208 | ep-activity:reportOn | 234 | ep-activity:reportOn |
209 | rdf:type owl:ObjectProperty ; | 235 | rdf:type owl:ObjectProperty ; |
210 | rdfs:label "report on"^^xsd:string . | 236 | rdfs:label "report on"^^xsd:string . | ... | ... |
1 | -# Saved by TopBraid on Mon Aug 01 14:26:29 PDT 2011 | 1 | +# Saved by TopBraid on Wed Aug 03 06:33:37 BST 2011 |
2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib | 2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib |
3 | # imports: http://spinrdf.org/spin | 3 | # imports: http://spinrdf.org/spin |
4 | 4 | ||
... | @@ -24,13 +24,55 @@ ep-spin-lib:Function | ... | @@ -24,13 +24,55 @@ ep-spin-lib:Function |
24 | rdfs:label "Function"^^xsd:string ; | 24 | rdfs:label "Function"^^xsd:string ; |
25 | rdfs:subClassOf spin:Functions . | 25 | rdfs:subClassOf spin:Functions . |
26 | 26 | ||
27 | +ep-spin-lib:buildDailyDrillingActivityURI | ||
28 | + rdf:type spin:Function ; | ||
29 | + rdfs:label "build DailyDrillingActivity URI"^^xsd:string ; | ||
30 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
31 | + spin:body | ||
32 | + [ rdf:type sp:Select ; | ||
33 | + sp:resultVariables (_:b1) ; | ||
34 | + sp:where ([ rdf:type sp:Bind ; | ||
35 | + sp:expression | ||
36 | + [ rdf:type ep-spin-lib:buildURI ; | ||
37 | + sp:arg1 "https://www.reportinghub.no/ep/data/DailyDrillingActivity#" ; | ||
38 | + sp:arg2 [ rdf:type fn:concat ; | ||
39 | + sp:arg1 spin:_arg1 ; | ||
40 | + sp:arg2 "$" ; | ||
41 | + sp:arg3 spin:_arg2 | ||
42 | + ] | ||
43 | + ] ; | ||
44 | + sp:variable _:b1 | ||
45 | + ]) | ||
46 | + ] . | ||
47 | + | ||
48 | +ep-spin-lib:buildDailyDrillingReportURI | ||
49 | + rdf:type spin:Function ; | ||
50 | + rdfs:label "build DailyDrillingReport URI"^^xsd:string ; | ||
51 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
52 | + spin:body | ||
53 | + [ rdf:type sp:Select ; | ||
54 | + sp:resultVariables (_:b2) ; | ||
55 | + sp:where ([ rdf:type sp:Bind ; | ||
56 | + sp:expression | ||
57 | + [ rdf:type ep-spin-lib:buildURI ; | ||
58 | + sp:arg1 "https://www.reportinghub.no/ep/data/DailyDrillingReport#" ; | ||
59 | + sp:arg2 [ rdf:type fn:concat ; | ||
60 | + sp:arg1 spin:_arg1 ; | ||
61 | + sp:arg2 "$" ; | ||
62 | + sp:arg3 spin:_arg2 | ||
63 | + ] | ||
64 | + ] ; | ||
65 | + sp:variable _:b2 | ||
66 | + ]) | ||
67 | + ] . | ||
68 | + | ||
27 | ep-spin-lib:buildURI | 69 | ep-spin-lib:buildURI |
28 | rdf:type spin:Function ; | 70 | rdf:type spin:Function ; |
29 | rdfs:label "build URI"^^xsd:string ; | 71 | rdfs:label "build URI"^^xsd:string ; |
30 | rdfs:subClassOf ep-spin-lib:Function ; | 72 | rdfs:subClassOf ep-spin-lib:Function ; |
31 | spin:body | 73 | spin:body |
32 | [ rdf:type sp:Select ; | 74 | [ rdf:type sp:Select ; |
33 | - sp:resultVariables (_:b1) ; | 75 | + sp:resultVariables (_:b3) ; |
34 | sp:where ([ rdf:type sp:Bind ; | 76 | sp:where ([ rdf:type sp:Bind ; |
35 | sp:expression | 77 | sp:expression |
36 | [ rdf:type smf:resource ; | 78 | [ rdf:type smf:resource ; |
... | @@ -39,7 +81,7 @@ ep-spin-lib:buildURI | ... | @@ -39,7 +81,7 @@ ep-spin-lib:buildURI |
39 | sp:arg2 spin:_arg2 | 81 | sp:arg2 spin:_arg2 |
40 | ] | 82 | ] |
41 | ] ; | 83 | ] ; |
42 | - sp:variable _:b1 | 84 | + sp:variable _:b3 |
43 | ]) | 85 | ]) |
44 | ] ; | 86 | ] ; |
45 | spin:constraint | 87 | spin:constraint |
... | @@ -59,14 +101,14 @@ ep-spin-lib:buildWellBoreURI | ... | @@ -59,14 +101,14 @@ ep-spin-lib:buildWellBoreURI |
59 | rdfs:subClassOf ep-spin-lib:Function ; | 101 | rdfs:subClassOf ep-spin-lib:Function ; |
60 | spin:body | 102 | spin:body |
61 | [ rdf:type sp:Select ; | 103 | [ rdf:type sp:Select ; |
62 | - sp:resultVariables (_:b2) ; | 104 | + sp:resultVariables (_:b4) ; |
63 | sp:where ([ rdf:type sp:Bind ; | 105 | sp:where ([ rdf:type sp:Bind ; |
64 | sp:expression | 106 | sp:expression |
65 | [ rdf:type ep-spin-lib:buildURI ; | 107 | [ rdf:type ep-spin-lib:buildURI ; |
66 | - sp:arg1 "https://www.reportinghub.no/ep/data/L_9999/W_9999#" ; | 108 | + sp:arg1 "https://www.reportinghub.no/ep/data/WellBore#" ; |
67 | sp:arg2 spin:_arg1 | 109 | sp:arg2 spin:_arg1 |
68 | ] ; | 110 | ] ; |
69 | - sp:variable _:b2 | 111 | + sp:variable _:b4 |
70 | ]) | 112 | ]) |
71 | ] . | 113 | ] . |
72 | 114 | ||
... | @@ -76,14 +118,14 @@ ep-spin-lib:buildWellURI | ... | @@ -76,14 +118,14 @@ ep-spin-lib:buildWellURI |
76 | rdfs:subClassOf ep-spin-lib:Function ; | 118 | rdfs:subClassOf ep-spin-lib:Function ; |
77 | spin:body | 119 | spin:body |
78 | [ rdf:type sp:Select ; | 120 | [ rdf:type sp:Select ; |
79 | - sp:resultVariables (_:b3) ; | 121 | + sp:resultVariables (_:b5) ; |
80 | sp:where ([ rdf:type sp:Bind ; | 122 | sp:where ([ rdf:type sp:Bind ; |
81 | sp:expression | 123 | sp:expression |
82 | [ rdf:type ep-spin-lib:buildURI ; | 124 | [ rdf:type ep-spin-lib:buildURI ; |
83 | - sp:arg1 "https://www.reportinghub.no/ep/data/L_9999#" ; | 125 | + sp:arg1 "https://www.reportinghub.no/ep/data/Well#" ; |
84 | sp:arg2 spin:_arg1 | 126 | sp:arg2 spin:_arg1 |
85 | ] ; | 127 | ] ; |
86 | - sp:variable _:b3 | 128 | + sp:variable _:b5 |
87 | ]) | 129 | ]) |
88 | ] . | 130 | ] . |
89 | 131 | ||
... | @@ -93,7 +135,7 @@ ep-spin-lib:normalizeString | ... | @@ -93,7 +135,7 @@ ep-spin-lib:normalizeString |
93 | rdfs:subClassOf ep-spin-lib:Function ; | 135 | rdfs:subClassOf ep-spin-lib:Function ; |
94 | spin:body | 136 | spin:body |
95 | [ rdf:type sp:Select ; | 137 | [ rdf:type sp:Select ; |
96 | - sp:resultVariables (_:b4) ; | 138 | + sp:resultVariables (_:b6) ; |
97 | sp:where ([ rdf:type sp:Bind ; | 139 | sp:where ([ rdf:type sp:Bind ; |
98 | sp:expression | 140 | sp:expression |
99 | [ rdf:type smf:regex ; | 141 | [ rdf:type smf:regex ; |
... | @@ -101,67 +143,67 @@ ep-spin-lib:normalizeString | ... | @@ -101,67 +143,67 @@ ep-spin-lib:normalizeString |
101 | sp:arg2 "\\((.*)\\)" ; | 143 | sp:arg2 "\\((.*)\\)" ; |
102 | sp:arg3 "" | 144 | sp:arg3 "" |
103 | ] ; | 145 | ] ; |
104 | - sp:variable _:b5 | 146 | + sp:variable _:b7 |
105 | ] [ rdf:type sp:Bind ; | 147 | ] [ rdf:type sp:Bind ; |
106 | sp:expression | 148 | sp:expression |
107 | [ rdf:type smf:trim ; | 149 | [ rdf:type smf:trim ; |
108 | - sp:arg1 _:b5 | 150 | + sp:arg1 _:b7 |
109 | ] ; | 151 | ] ; |
110 | - sp:variable _:b6 | 152 | + sp:variable _:b8 |
111 | ] [ rdf:type sp:Bind ; | 153 | ] [ rdf:type sp:Bind ; |
112 | sp:expression | 154 | sp:expression |
113 | [ rdf:type smf:encodeURL ; | 155 | [ rdf:type smf:encodeURL ; |
114 | - sp:arg1 _:b6 | 156 | + sp:arg1 _:b8 |
115 | ] ; | 157 | ] ; |
116 | - sp:variable _:b7 | 158 | + sp:variable _:b9 |
117 | ] [ rdf:type sp:Bind ; | 159 | ] [ rdf:type sp:Bind ; |
118 | sp:expression | 160 | sp:expression |
119 | [ rdf:type smf:regex ; | 161 | [ rdf:type smf:regex ; |
120 | - sp:arg1 _:b7 ; | 162 | + sp:arg1 _:b9 ; |
121 | sp:arg2 "%2F" ; | 163 | sp:arg2 "%2F" ; |
122 | sp:arg3 "_" | 164 | sp:arg3 "_" |
123 | ] ; | 165 | ] ; |
124 | - sp:variable _:b8 | 166 | + sp:variable _:b10 |
125 | ] [ rdf:type sp:Bind ; | 167 | ] [ rdf:type sp:Bind ; |
126 | sp:expression | 168 | sp:expression |
127 | [ rdf:type smf:regex ; | 169 | [ rdf:type smf:regex ; |
128 | - sp:arg1 _:b8 ; | 170 | + sp:arg1 _:b10 ; |
129 | sp:arg2 "%[0-9A-F][0-9A-F]" ; | 171 | sp:arg2 "%[0-9A-F][0-9A-F]" ; |
130 | sp:arg3 "" | 172 | sp:arg3 "" |
131 | ] ; | 173 | ] ; |
132 | - sp:variable _:b9 | 174 | + sp:variable _:b11 |
133 | ] [ rdf:type sp:Bind ; | 175 | ] [ rdf:type sp:Bind ; |
134 | sp:expression | 176 | sp:expression |
135 | [ rdf:type smf:regex ; | 177 | [ rdf:type smf:regex ; |
136 | - sp:arg1 _:b9 ; | 178 | + sp:arg1 _:b11 ; |
137 | sp:arg2 "\\+" ; | 179 | sp:arg2 "\\+" ; |
138 | sp:arg3 "_" | 180 | sp:arg3 "_" |
139 | ] ; | 181 | ] ; |
140 | - sp:variable _:b10 | 182 | + sp:variable _:b12 |
141 | ] [ rdf:type sp:Bind ; | 183 | ] [ rdf:type sp:Bind ; |
142 | sp:expression | 184 | sp:expression |
143 | [ rdf:type smf:regex ; | 185 | [ rdf:type smf:regex ; |
144 | - sp:arg1 _:b10 ; | 186 | + sp:arg1 _:b12 ; |
145 | sp:arg2 "_+" ; | 187 | sp:arg2 "_+" ; |
146 | sp:arg3 "_" | 188 | sp:arg3 "_" |
147 | ] ; | 189 | ] ; |
148 | - sp:variable _:b11 | 190 | + sp:variable _:b13 |
149 | ] [ rdf:type sp:Bind ; | 191 | ] [ rdf:type sp:Bind ; |
150 | sp:expression | 192 | sp:expression |
151 | [ rdf:type smf:regex ; | 193 | [ rdf:type smf:regex ; |
152 | - sp:arg1 _:b11 ; | 194 | + sp:arg1 _:b13 ; |
153 | sp:arg2 "\\*" ; | 195 | sp:arg2 "\\*" ; |
154 | sp:arg3 "" | 196 | sp:arg3 "" |
155 | ] ; | 197 | ] ; |
156 | - sp:variable _:b12 | 198 | + sp:variable _:b14 |
157 | ] [ rdf:type sp:Bind ; | 199 | ] [ rdf:type sp:Bind ; |
158 | sp:expression | 200 | sp:expression |
159 | [ rdf:type xsd:string ; | 201 | [ rdf:type xsd:string ; |
160 | sp:arg1 [ rdf:type smf:upperCase ; | 202 | sp:arg1 [ rdf:type smf:upperCase ; |
161 | - sp:arg1 _:b12 | 203 | + sp:arg1 _:b14 |
162 | ] | 204 | ] |
163 | ] ; | 205 | ] ; |
164 | - sp:variable _:b4 | 206 | + sp:variable _:b6 |
165 | ]) | 207 | ]) |
166 | ] ; | 208 | ] ; |
167 | spin:constraint | 209 | spin:constraint |
... | @@ -170,29 +212,35 @@ ep-spin-lib:normalizeString | ... | @@ -170,29 +212,35 @@ ep-spin-lib:normalizeString |
170 | spl:valueType xsd:string | 212 | spl:valueType xsd:string |
171 | ] . | 213 | ] . |
172 | 214 | ||
173 | -_:b2 sp:varName "uri"^^xsd:string . | 215 | +_:b4 sp:varName "uri"^^xsd:string . |
174 | 216 | ||
175 | -_:b3 sp:varName "uri"^^xsd:string . | 217 | +_:b5 sp:varName "uri"^^xsd:string . |
176 | 218 | ||
177 | -_:b1 sp:varName "uri"^^xsd:string . | 219 | +_:b14 |
220 | + sp:varName "t4"^^xsd:string . | ||
178 | 221 | ||
179 | -_:b5 sp:varName "s1"^^xsd:string . | 222 | +_:b13 |
223 | + sp:varName "t3"^^xsd:string . | ||
180 | 224 | ||
181 | -_:b6 sp:varName "s2"^^xsd:string . | 225 | +_:b12 |
226 | + sp:varName "t2"^^xsd:string . | ||
182 | 227 | ||
183 | -_:b7 sp:varName "t0a"^^xsd:string . | 228 | +_:b11 |
229 | + sp:varName "t1"^^xsd:string . | ||
184 | 230 | ||
185 | -_:b8 sp:varName "t0b"^^xsd:string . | 231 | +_:b10 |
232 | + sp:varName "t0b"^^xsd:string . | ||
186 | 233 | ||
187 | -_:b9 sp:varName "t1"^^xsd:string . | 234 | +_:b9 sp:varName "t0a"^^xsd:string . |
188 | 235 | ||
189 | -_:b10 | 236 | +_:b8 sp:varName "s2"^^xsd:string . |
190 | - sp:varName "t2"^^xsd:string . | ||
191 | 237 | ||
192 | -_:b11 | 238 | +_:b7 sp:varName "s1"^^xsd:string . |
193 | - sp:varName "t3"^^xsd:string . | ||
194 | 239 | ||
195 | -_:b12 | 240 | +_:b6 sp:varName "normalizedStr"^^xsd:string . |
196 | - sp:varName "t4"^^xsd:string . | ||
197 | 241 | ||
198 | -_:b4 sp:varName "normalizedStr"^^xsd:string . | 242 | +_:b3 sp:varName "uri"^^xsd:string . |
243 | + | ||
244 | +_:b2 sp:varName "uri"^^xsd:string . | ||
245 | + | ||
246 | +_:b1 sp:varName "uri"^^xsd:string . | ... | ... |
1 | -# Saved by TopBraid on Mon Aug 01 14:26:29 PDT 2011 | 1 | +# Saved by TopBraid on Wed Aug 03 06:33:37 BST 2011 |
2 | # baseURI: null | 2 | # baseURI: null |
3 | 3 | ||
4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ... | ... |
1 | +# Saved by TopBraid on Wed Aug 03 12:31:51 BST 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | ||
3 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
4 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
5 | +# imports: http://spinrdf.org/spin | ||
6 | + | ||
7 | +@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . | ||
8 | +@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | ||
9 | +@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | ||
10 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
11 | +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | ||
12 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
13 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
14 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
15 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
16 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
17 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
18 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
19 | + | ||
20 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
21 | + spin:rule | ||
22 | + [ rdf:type sp:Construct ; | ||
23 | + rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ; | ||
24 | + sp:templates ([ sp:object _:b1 ; | ||
25 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
26 | + sp:subject _:b2 | ||
27 | + ]) ; | ||
28 | + sp:where ([ sp:object _:b3 ; | ||
29 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
30 | + sp:subject spin:_this | ||
31 | + ] [ sp:object _:b4 ; | ||
32 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
33 | + sp:subject spin:_this | ||
34 | + ] [ sp:object _:b1 ; | ||
35 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; | ||
36 | + sp:subject spin:_this | ||
37 | + ] [ rdf:type sp:Bind ; | ||
38 | + sp:expression | ||
39 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
40 | + sp:arg1 _:b3 | ||
41 | + ] ; | ||
42 | + sp:variable _:b5 | ||
43 | + ] [ rdf:type sp:Bind ; | ||
44 | + sp:expression | ||
45 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
46 | + sp:arg1 _:b5 ; | ||
47 | + sp:arg2 _:b4 | ||
48 | + ] ; | ||
49 | + sp:variable _:b2 | ||
50 | + ]) | ||
51 | + ] ; | ||
52 | + spin:rule | ||
53 | + [ rdf:type sp:Construct ; | ||
54 | + rdfs:comment "STEP 107 Transfer sum24Hr"^^xsd:string ; | ||
55 | + sp:templates ([ sp:object _:b6 ; | ||
56 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
57 | + sp:subject _:b7 | ||
58 | + ]) ; | ||
59 | + sp:where ([ sp:object _:b8 ; | ||
60 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
61 | + sp:subject spin:_this | ||
62 | + ] [ sp:object _:b9 ; | ||
63 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
64 | + sp:subject spin:_this | ||
65 | + ] [ sp:object _:b10 ; | ||
66 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
67 | + sp:subject spin:_this | ||
68 | + ] [ sp:object _:b6 ; | ||
69 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
70 | + sp:subject _:b10 | ||
71 | + ] [ rdf:type sp:Bind ; | ||
72 | + sp:expression | ||
73 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
74 | + sp:arg1 _:b8 | ||
75 | + ] ; | ||
76 | + sp:variable _:b11 | ||
77 | + ] [ rdf:type sp:Bind ; | ||
78 | + sp:expression | ||
79 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
80 | + sp:arg1 _:b11 ; | ||
81 | + sp:arg2 _:b9 | ||
82 | + ] ; | ||
83 | + sp:variable _:b7 | ||
84 | + ]) | ||
85 | + ] ; | ||
86 | + spin:rule | ||
87 | + [ rdf:type sp:Construct ; | ||
88 | + rdfs:comment "STEP 106 Transfer distDrill"^^xsd:string ; | ||
89 | + sp:templates ([ sp:object _:b12 ; | ||
90 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
91 | + sp:subject _:b13 | ||
92 | + ]) ; | ||
93 | + sp:where ([ sp:object _:b14 ; | ||
94 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
95 | + sp:subject spin:_this | ||
96 | + ] [ sp:object _:b15 ; | ||
97 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
98 | + sp:subject spin:_this | ||
99 | + ] [ sp:object _:b16 ; | ||
100 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
101 | + sp:subject spin:_this | ||
102 | + ] [ sp:object _:b12 ; | ||
103 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
104 | + sp:subject _:b16 | ||
105 | + ] [ rdf:type sp:Bind ; | ||
106 | + sp:expression | ||
107 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
108 | + sp:arg1 _:b14 | ||
109 | + ] ; | ||
110 | + sp:variable _:b17 | ||
111 | + ] [ rdf:type sp:Bind ; | ||
112 | + sp:expression | ||
113 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
114 | + sp:arg1 _:b17 ; | ||
115 | + sp:arg2 _:b15 | ||
116 | + ] ; | ||
117 | + sp:variable _:b13 | ||
118 | + ]) | ||
119 | + ] ; | ||
120 | + spin:rule | ||
121 | + [ rdf:type sp:Construct ; | ||
122 | + rdfs:comment "STEP 104 Create Well"^^xsd:string ; | ||
123 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
124 | + sp:predicate rdf:type ; | ||
125 | + sp:subject _:b18 | ||
126 | + ] [ sp:object _:b19 ; | ||
127 | + sp:predicate rdfs:label ; | ||
128 | + sp:subject _:b18 | ||
129 | + ] [ sp:object _:b18 ; | ||
130 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; | ||
131 | + sp:subject _:b20 | ||
132 | + ] [ sp:object _:b21 ; | ||
133 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
134 | + sp:subject _:b18 | ||
135 | + ]) ; | ||
136 | + sp:where ([ sp:object _:b22 ; | ||
137 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
138 | + sp:subject spin:_this | ||
139 | + ] [ sp:object _:b19 ; | ||
140 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; | ||
141 | + sp:subject spin:_this | ||
142 | + ] [ sp:object _:b23 ; | ||
143 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
144 | + sp:subject spin:_this | ||
145 | + ] [ sp:object _:b21 ; | ||
146 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
147 | + sp:subject _:b20 | ||
148 | + ] [ rdf:type sp:Bind ; | ||
149 | + sp:expression | ||
150 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
151 | + sp:arg1 _:b22 | ||
152 | + ] ; | ||
153 | + sp:variable _:b24 | ||
154 | + ] [ rdf:type sp:Bind ; | ||
155 | + sp:expression | ||
156 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
157 | + sp:arg1 _:b24 ; | ||
158 | + sp:arg2 _:b23 | ||
159 | + ] ; | ||
160 | + sp:variable _:b20 | ||
161 | + ] [ rdf:type sp:Bind ; | ||
162 | + sp:expression | ||
163 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
164 | + sp:arg1 _:b19 | ||
165 | + ] ; | ||
166 | + sp:variable _:b25 | ||
167 | + ] [ rdf:type sp:Bind ; | ||
168 | + sp:expression | ||
169 | + [ rdf:type ep-spin-lib:buildWellURI ; | ||
170 | + sp:arg1 _:b25 | ||
171 | + ] ; | ||
172 | + sp:variable _:b18 | ||
173 | + ]) | ||
174 | + ] ; | ||
175 | + spin:rule | ||
176 | + [ rdf:type sp:Construct ; | ||
177 | + rdfs:comment """STEP 103b | ||
178 | +Classify a DailyDrillingReport as preliminary"""^^xsd:string ; | ||
179 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#PreliminaryDailyDrillingReport> ; | ||
180 | + sp:predicate rdf:type ; | ||
181 | + sp:subject _:b26 | ||
182 | + ]) ; | ||
183 | + sp:where ([ sp:object _:b27 ; | ||
184 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
185 | + sp:subject spin:_this | ||
186 | + ] [ sp:object _:b28 ; | ||
187 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | ||
188 | + sp:subject spin:_this | ||
189 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/ddr#ORV_preliminary> ; | ||
190 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasVersionKind> ; | ||
191 | + sp:subject spin:_this | ||
192 | + ] [ rdf:type sp:Bind ; | ||
193 | + sp:expression | ||
194 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
195 | + sp:arg1 _:b27 | ||
196 | + ] ; | ||
197 | + sp:variable _:b29 | ||
198 | + ] [ rdf:type sp:Bind ; | ||
199 | + sp:expression | ||
200 | + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | ||
201 | + sp:arg1 _:b29 ; | ||
202 | + sp:arg2 _:b28 | ||
203 | + ] ; | ||
204 | + sp:variable _:b26 | ||
205 | + ]) | ||
206 | + ] ; | ||
207 | + spin:rule | ||
208 | + [ rdf:type sp:Construct ; | ||
209 | + rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity and WellBore | ||
210 | +Minimum data - createDate, dTimStart, nameWellBore | ||
211 | +Add a link from Obj_DrillReport to DailyDrillingReport to support other CONSTRUCT clauses (is this useful?)"""^^xsd:string ; | ||
212 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingReport> ; | ||
213 | + sp:predicate rdf:type ; | ||
214 | + sp:subject _:b30 | ||
215 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; | ||
216 | + sp:predicate rdf:type ; | ||
217 | + sp:subject _:b31 | ||
218 | + ] [ sp:object _:b31 ; | ||
219 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; | ||
220 | + sp:subject _:b30 | ||
221 | + ] [ sp:object _:b32 ; | ||
222 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ; | ||
223 | + sp:subject _:b30 | ||
224 | + ] [ sp:object _:b33 ; | ||
225 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
226 | + sp:subject _:b31 | ||
227 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
228 | + sp:predicate rdf:type ; | ||
229 | + sp:subject _:b34 | ||
230 | + ] [ sp:object _:b34 ; | ||
231 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
232 | + sp:subject _:b31 | ||
233 | + ] [ sp:object _:b35 ; | ||
234 | + sp:predicate rdfs:label ; | ||
235 | + sp:subject _:b34 | ||
236 | + ] [ sp:object spin:_this ; | ||
237 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#derivedFrom> ; | ||
238 | + sp:subject _:b30 | ||
239 | + ]) ; | ||
240 | + sp:where ([ sp:object _:b35 ; | ||
241 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
242 | + sp:subject spin:_this | ||
243 | + ] [ sp:object _:b33 ; | ||
244 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
245 | + sp:subject spin:_this | ||
246 | + ] [ sp:object _:b32 ; | ||
247 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | ||
248 | + sp:subject spin:_this | ||
249 | + ] [ rdf:type sp:Bind ; | ||
250 | + sp:expression | ||
251 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
252 | + sp:arg1 _:b35 | ||
253 | + ] ; | ||
254 | + sp:variable _:b36 | ||
255 | + ] [ rdf:type sp:Bind ; | ||
256 | + sp:expression | ||
257 | + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | ||
258 | + sp:arg1 _:b36 ; | ||
259 | + sp:arg2 _:b32 | ||
260 | + ] ; | ||
261 | + sp:variable _:b30 | ||
262 | + ] [ rdf:type sp:Bind ; | ||
263 | + sp:expression | ||
264 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
265 | + sp:arg1 _:b36 ; | ||
266 | + sp:arg2 _:b33 | ||
267 | + ] ; | ||
268 | + sp:variable _:b31 | ||
269 | + ] [ rdf:type sp:Bind ; | ||
270 | + sp:expression | ||
271 | + [ rdf:type ep-spin-lib:buildWellBoreURI ; | ||
272 | + sp:arg1 _:b36 | ||
273 | + ] ; | ||
274 | + sp:variable _:b34 | ||
275 | + ]) | ||
276 | + ] ; | ||
277 | + spin:rule | ||
278 | + [ rdf:type sp:Construct ; | ||
279 | + rdfs:comment "STEP 108 Transfer forecast24Hr"^^xsd:string ; | ||
280 | + sp:templates ([ sp:object _:b37 ; | ||
281 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
282 | + sp:subject _:b38 | ||
283 | + ]) ; | ||
284 | + sp:where ([ sp:object _:b39 ; | ||
285 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
286 | + sp:subject spin:_this | ||
287 | + ] [ sp:object _:b40 ; | ||
288 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
289 | + sp:subject spin:_this | ||
290 | + ] [ sp:object _:b41 ; | ||
291 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
292 | + sp:subject spin:_this | ||
293 | + ] [ sp:object _:b37 ; | ||
294 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
295 | + sp:subject _:b41 | ||
296 | + ] [ rdf:type sp:Bind ; | ||
297 | + sp:expression | ||
298 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
299 | + sp:arg1 _:b39 | ||
300 | + ] ; | ||
301 | + sp:variable _:b42 | ||
302 | + ] [ rdf:type sp:Bind ; | ||
303 | + sp:expression | ||
304 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
305 | + sp:arg1 _:b42 ; | ||
306 | + sp:arg2 _:b40 | ||
307 | + ] ; | ||
308 | + sp:variable _:b38 | ||
309 | + ]) | ||
310 | + ] ; | ||
311 | + spin:rule | ||
312 | + [ rdf:type sp:Construct ; | ||
313 | + rdfs:comment "STEP 109 Transfer md"^^xsd:string ; | ||
314 | + sp:templates ([ sp:object _:b43 ; | ||
315 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
316 | + sp:subject _:b44 | ||
317 | + ]) ; | ||
318 | + sp:where ([ sp:object _:b45 ; | ||
319 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
320 | + sp:subject spin:_this | ||
321 | + ] [ sp:object _:b46 ; | ||
322 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
323 | + sp:subject spin:_this | ||
324 | + ] [ sp:object _:b47 ; | ||
325 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
326 | + sp:subject spin:_this | ||
327 | + ] [ sp:object _:b44 ; | ||
328 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
329 | + sp:subject _:b48 | ||
330 | + ] [ sp:object _:b43 ; | ||
331 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
332 | + sp:subject _:b47 | ||
333 | + ] [ rdf:type sp:Bind ; | ||
334 | + sp:expression | ||
335 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
336 | + sp:arg1 _:b45 | ||
337 | + ] ; | ||
338 | + sp:variable _:b49 | ||
339 | + ] [ rdf:type sp:Bind ; | ||
340 | + sp:expression | ||
341 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
342 | + sp:arg1 _:b49 ; | ||
343 | + sp:arg2 _:b46 | ||
344 | + ] ; | ||
345 | + sp:variable _:b48 | ||
346 | + ]) | ||
347 | + ] ; | ||
348 | + spin:rule | ||
349 | + [ rdf:type sp:Construct ; | ||
350 | + rdfs:comment """STEP 103c | ||
351 | +Classify a DailyDrillingReport as final"""^^xsd:string ; | ||
352 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FinalDailyDrillingReport> ; | ||
353 | + sp:predicate rdf:type ; | ||
354 | + sp:subject _:b50 | ||
355 | + ]) ; | ||
356 | + sp:where ([ sp:object _:b51 ; | ||
357 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
358 | + sp:subject spin:_this | ||
359 | + ] [ sp:object _:b52 ; | ||
360 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | ||
361 | + sp:subject spin:_this | ||
362 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/ddr#ORV_final> ; | ||
363 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasVersionKind> ; | ||
364 | + sp:subject spin:_this | ||
365 | + ] [ rdf:type sp:Bind ; | ||
366 | + sp:expression | ||
367 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
368 | + sp:arg1 _:b51 | ||
369 | + ] ; | ||
370 | + sp:variable _:b53 | ||
371 | + ] [ rdf:type sp:Bind ; | ||
372 | + sp:expression | ||
373 | + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | ||
374 | + sp:arg1 _:b53 ; | ||
375 | + sp:arg2 _:b52 | ||
376 | + ] ; | ||
377 | + sp:variable _:b50 | ||
378 | + ]) | ||
379 | + ] ; | ||
380 | + spin:rule | ||
381 | + [ rdf:type sp:Construct ; | ||
382 | + rdfs:comment """STEP 103a | ||
383 | +Classify a DailyDrillingReport as normal"""^^xsd:string ; | ||
384 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#NormalDailyDrillingReport> ; | ||
385 | + sp:predicate rdf:type ; | ||
386 | + sp:subject _:b54 | ||
387 | + ]) ; | ||
388 | + sp:where ([ sp:object _:b55 ; | ||
389 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
390 | + sp:subject spin:_this | ||
391 | + ] [ sp:object _:b56 ; | ||
392 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | ||
393 | + sp:subject spin:_this | ||
394 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/ddr#ORV_normal> ; | ||
395 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasVersionKind> ; | ||
396 | + sp:subject spin:_this | ||
397 | + ] [ rdf:type sp:Bind ; | ||
398 | + sp:expression | ||
399 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
400 | + sp:arg1 _:b55 | ||
401 | + ] ; | ||
402 | + sp:variable _:b57 | ||
403 | + ] [ rdf:type sp:Bind ; | ||
404 | + sp:expression | ||
405 | + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | ||
406 | + sp:arg1 _:b57 ; | ||
407 | + sp:arg2 _:b56 | ||
408 | + ] ; | ||
409 | + sp:variable _:b54 | ||
410 | + ]) | ||
411 | + ] ; | ||
412 | + spin:rule | ||
413 | + [ rdf:type sp:Construct ; | ||
414 | + rdfs:comment "STEP 105 Transfer ropCurrent"^^xsd:string ; | ||
415 | + sp:templates ([ sp:object _:b58 ; | ||
416 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
417 | + sp:subject _:b59 | ||
418 | + ]) ; | ||
419 | + sp:where ([ sp:object _:b60 ; | ||
420 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
421 | + sp:subject spin:_this | ||
422 | + ] [ sp:object _:b61 ; | ||
423 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
424 | + sp:subject spin:_this | ||
425 | + ] [ sp:object _:b62 ; | ||
426 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
427 | + sp:subject spin:_this | ||
428 | + ] [ sp:object _:b58 ; | ||
429 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
430 | + sp:subject _:b62 | ||
431 | + ] [ rdf:type sp:Bind ; | ||
432 | + sp:expression | ||
433 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
434 | + sp:arg1 _:b60 | ||
435 | + ] ; | ||
436 | + sp:variable _:b63 | ||
437 | + ] [ rdf:type sp:Bind ; | ||
438 | + sp:expression | ||
439 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
440 | + sp:arg1 _:b63 ; | ||
441 | + sp:arg2 _:b61 | ||
442 | + ] ; | ||
443 | + sp:variable _:b59 | ||
444 | + ]) | ||
445 | + ] . | ||
446 | + | ||
447 | +<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> | ||
448 | + rdf:type owl:Ontology ; | ||
449 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; | ||
450 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
451 | + | ||
452 | +_:b50 | ||
453 | + sp:varName "dailyDrillingReport"^^xsd:string . | ||
454 | + | ||
455 | +_:b53 | ||
456 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
457 | + | ||
458 | +_:b52 | ||
459 | + sp:varName "createDate"^^xsd:string . | ||
460 | + | ||
461 | +_:b51 | ||
462 | + sp:varName "nameWellBore"^^xsd:string . | ||
463 | + | ||
464 | +_:b26 | ||
465 | + sp:varName "dailyDrillingReport"^^xsd:string . | ||
466 | + | ||
467 | +_:b29 | ||
468 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
469 | + | ||
470 | +_:b28 | ||
471 | + sp:varName "createDate"^^xsd:string . | ||
472 | + | ||
473 | +_:b27 | ||
474 | + sp:varName "nameWellBore"^^xsd:string . | ||
475 | + | ||
476 | +_:b54 | ||
477 | + sp:varName "dailyDrillingReport"^^xsd:string . | ||
478 | + | ||
479 | +_:b57 | ||
480 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
481 | + | ||
482 | +_:b56 | ||
483 | + sp:varName "createDate"^^xsd:string . | ||
484 | + | ||
485 | +_:b55 | ||
486 | + sp:varName "nameWellBore"^^xsd:string . | ||
487 | + | ||
488 | +_:b5 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
489 | + | ||
490 | +_:b4 sp:varName "dTimStart"^^xsd:string . | ||
491 | + | ||
492 | +_:b3 sp:varName "nameWellBore"^^xsd:string . | ||
493 | + | ||
494 | +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
495 | + | ||
496 | +_:b1 sp:varName "dTimEnd"^^xsd:string . | ||
497 | + | ||
498 | +_:b42 | ||
499 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
500 | + | ||
501 | +_:b41 | ||
502 | + sp:varName "statusInfo"^^xsd:string . | ||
503 | + | ||
504 | +_:b40 | ||
505 | + sp:varName "dTimStart"^^xsd:string . | ||
506 | + | ||
507 | +_:b39 | ||
508 | + sp:varName "nameWellBore"^^xsd:string . | ||
509 | + | ||
510 | +_:b38 | ||
511 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
512 | + | ||
513 | +_:b37 | ||
514 | + sp:varName "forecast24Hr"^^xsd:string . | ||
515 | + | ||
516 | +_:b63 | ||
517 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
518 | + | ||
519 | +_:b62 | ||
520 | + sp:varName "statusInfo"^^xsd:string . | ||
521 | + | ||
522 | +_:b61 | ||
523 | + sp:varName "dTimStart"^^xsd:string . | ||
524 | + | ||
525 | +_:b60 | ||
526 | + sp:varName "nameWellBore"^^xsd:string . | ||
527 | + | ||
528 | +_:b59 | ||
529 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
530 | + | ||
531 | +_:b58 | ||
532 | + sp:varName "ropCurrentValue"^^xsd:string . | ||
533 | + | ||
534 | +_:b11 | ||
535 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
536 | + | ||
537 | +_:b10 | ||
538 | + sp:varName "statusInfo"^^xsd:string . | ||
539 | + | ||
540 | +_:b9 sp:varName "dTimStart"^^xsd:string . | ||
541 | + | ||
542 | +_:b8 sp:varName "nameWellBore"^^xsd:string . | ||
543 | + | ||
544 | +_:b7 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
545 | + | ||
546 | +_:b6 sp:varName "sum24Hr"^^xsd:string . | ||
547 | + | ||
548 | +_:b25 | ||
549 | + sp:varName "normalizedWellName"^^xsd:string . | ||
550 | + | ||
551 | +_:b24 | ||
552 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
553 | + | ||
554 | +_:b23 | ||
555 | + sp:varName "dTimStart"^^xsd:string . | ||
556 | + | ||
557 | +_:b22 | ||
558 | + sp:varName "nameWellBore"^^xsd:string . | ||
559 | + | ||
560 | +_:b21 | ||
561 | + sp:varName "wellBore"^^xsd:string . | ||
562 | + | ||
563 | +_:b20 | ||
564 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
565 | + | ||
566 | +_:b19 | ||
567 | + sp:varName "nameWell"^^xsd:string . | ||
568 | + | ||
569 | +_:b18 | ||
570 | + sp:varName "well"^^xsd:string . | ||
571 | + | ||
572 | +_:b49 | ||
573 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
574 | + | ||
575 | +_:b48 | ||
576 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
577 | + | ||
578 | +_:b47 | ||
579 | + sp:varName "statusInfo"^^xsd:string . | ||
580 | + | ||
581 | +_:b46 | ||
582 | + sp:varName "dTimStart"^^xsd:string . | ||
583 | + | ||
584 | +_:b45 | ||
585 | + sp:varName "nameWellBore"^^xsd:string . | ||
586 | + | ||
587 | +_:b44 | ||
588 | + sp:varName "wellBore"^^xsd:string . | ||
589 | + | ||
590 | +_:b43 | ||
591 | + sp:varName "md"^^xsd:string . | ||
592 | + | ||
593 | +_:b17 | ||
594 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
595 | + | ||
596 | +_:b16 | ||
597 | + sp:varName "statusInfo"^^xsd:string . | ||
598 | + | ||
599 | +_:b15 | ||
600 | + sp:varName "dTimStart"^^xsd:string . | ||
601 | + | ||
602 | +_:b14 | ||
603 | + sp:varName "nameWellBore"^^xsd:string . | ||
604 | + | ||
605 | +_:b13 | ||
606 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
607 | + | ||
608 | +_:b12 | ||
609 | + sp:varName "distDrill"^^xsd:string . | ||
610 | + | ||
611 | +_:b36 | ||
612 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
613 | + | ||
614 | +_:b35 | ||
615 | + sp:varName "nameWellBore"^^xsd:string . | ||
616 | + | ||
617 | +_:b34 | ||
618 | + sp:varName "wellBore"^^xsd:string . | ||
619 | + | ||
620 | +_:b33 | ||
621 | + sp:varName "dTimStart"^^xsd:string . | ||
622 | + | ||
623 | +_:b32 | ||
624 | + sp:varName "createDate"^^xsd:string . | ||
625 | + | ||
626 | +_:b31 | ||
627 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
628 | + | ||
629 | +_:b30 | ||
630 | + sp:varName "dailyDrillingReport"^^xsd:string . |
1 | -# Saved by TopBraid on Mon Aug 01 13:35:23 PDT 2011 | 1 | +# Saved by TopBraid on Wed Aug 03 12:31:51 BST 2011 |
2 | -# baseURI: http://www.reportinghub.no/ep/transform/normalization | 2 | +# baseURI: null |
3 | 3 | ||
4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
5 | @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 5 | @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
... | @@ -13,5 +13,7 @@ | ... | @@ -13,5 +13,7 @@ |
13 | [] rdf:type inference:Configuration ; | 13 | [] rdf:type inference:Configuration ; |
14 | composite:child | 14 | composite:child |
15 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 15 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
16 | + <http://spinrdf.org/spin#topSPINOptions> | ||
17 | + "singlePass" ; | ||
16 | composite:index "0"^^xsd:int | 18 | composite:index "0"^^xsd:int |
17 | ] . | 19 | ] . | ... | ... |
1 | -# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011 | 1 | +# Saved by TopBraid on Wed Aug 03 07:44:47 BST 2011 |
2 | -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization | 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization |
3 | -# imports: http://www.reportinghub.no/ep/spin/1.1/lib | 3 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport |
4 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
5 | # imports: http://spinrdf.org/spin | 4 | # imports: http://spinrdf.org/spin |
6 | 5 | ||
7 | -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | 6 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . |
8 | -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | ||
9 | -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
10 | -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | ||
11 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
12 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 8 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
13 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
... | @@ -16,72 +12,7 @@ | ... | @@ -16,72 +12,7 @@ |
16 | @prefix spl: <http://spinrdf.org/spl#> . | 12 | @prefix spl: <http://spinrdf.org/spl#> . |
17 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 13 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
18 | 14 | ||
19 | -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | 15 | +<http://www.reportinghub.no/ep/transform/1.1/normalization> |
20 | - spin:rule | ||
21 | - [ rdf:type sp:Construct ; | ||
22 | - rdfs:comment "STEP 101 Make Well and Well Bore Instances"^^xsd:string ; | ||
23 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
24 | - sp:predicate rdf:type ; | ||
25 | - sp:subject _:b1 | ||
26 | - ] [ sp:object _:b2 ; | ||
27 | - sp:predicate rdfs:label ; | ||
28 | - sp:subject _:b1 | ||
29 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
30 | - sp:predicate rdf:type ; | ||
31 | - sp:subject _:b3 | ||
32 | - ] [ sp:object _:b4 ; | ||
33 | - sp:predicate rdfs:label ; | ||
34 | - sp:subject _:b3 | ||
35 | - ] [ sp:object _:b1 ; | ||
36 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
37 | - sp:subject _:b3 | ||
38 | - ]) ; | ||
39 | - sp:where ([ sp:object _:b2 ; | ||
40 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
41 | - sp:subject spin:_this | ||
42 | - ] [ sp:object _:b4 ; | ||
43 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; | ||
44 | - sp:subject spin:_this | ||
45 | - ] [ rdf:type sp:Bind ; | ||
46 | - sp:expression | ||
47 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
48 | - sp:arg1 _:b4 | ||
49 | - ] ; | ||
50 | - sp:variable _:b5 | ||
51 | - ] [ rdf:type sp:Bind ; | ||
52 | - sp:expression | ||
53 | - [ rdf:type ep-spin-lib:buildWellURI ; | ||
54 | - sp:arg1 _:b5 | ||
55 | - ] ; | ||
56 | - sp:variable _:b3 | ||
57 | - ] [ rdf:type sp:Bind ; | ||
58 | - sp:expression | ||
59 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
60 | - sp:arg1 _:b2 | ||
61 | - ] ; | ||
62 | - sp:variable _:b6 | ||
63 | - ] [ rdf:type sp:Bind ; | ||
64 | - sp:expression | ||
65 | - [ rdf:type ep-spin-lib:buildWellBoreURI ; | ||
66 | - sp:arg1 _:b6 | ||
67 | - ] ; | ||
68 | - sp:variable _:b1 | ||
69 | - ]) | ||
70 | - ] . | ||
71 | - | ||
72 | -<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization> | ||
73 | rdf:type owl:Ontology ; | 16 | rdf:type owl:Ontology ; |
74 | - owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ; | 17 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> ; |
75 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 18 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
76 | - | ||
77 | -_:b2 sp:varName "nameWellBore"^^xsd:string . | ||
78 | - | ||
79 | -_:b4 sp:varName "nameWell"^^xsd:string . | ||
80 | - | ||
81 | -_:b5 sp:varName "normalizedWellName"^^xsd:string . | ||
82 | - | ||
83 | -_:b3 sp:varName "normalizedWellNameU"^^xsd:string . | ||
84 | - | ||
85 | -_:b6 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
86 | - | ||
87 | -_:b1 sp:varName "normalizedWellBoreNameU"^^xsd:string . | ... | ... |
1 | -# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011 | 1 | +# Saved by TopBraid on Wed Aug 03 07:44:47 BST 2011 |
2 | # baseURI: null | 2 | # baseURI: null |
3 | 3 | ||
4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
... | @@ -13,7 +13,5 @@ | ... | @@ -13,7 +13,5 @@ |
13 | [] rdf:type inference:Configuration ; | 13 | [] rdf:type inference:Configuration ; |
14 | composite:child | 14 | composite:child |
15 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 15 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
16 | - <http://spinrdf.org/spin#topSPINOptions> | ||
17 | - "singlePass" ; | ||
18 | composite:index "0"^^xsd:int | 16 | composite:index "0"^^xsd:int |
19 | ] . | 17 | ] . | ... | ... |
-
Please register or login to post a comment