David Leal

Update to fluid transform

1 -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/fluid 1 +# Saved by TopBraid on Fri Oct 28 10:47:48 BST 2011
2 -# imports: http://spinrdf.org/spin 2 +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/fluid
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 3 +# imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/well 4 +# imports: http://www.witsml.org/schemas/1series
5 -# imports: http://www.reportinghub.no/ep/spin/1.1/lib 5 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
6 -# imports: http://www.witsml.org/schemas/1series 6 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
7 - 7 +# imports: http://spinrdf.org/spin
8 -@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/fluid#> . 8 +
9 -@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . 9 +@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/fluid#> .
10 -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 10 +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
11 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 11 +@prefix arg: <http://spinrdf.org/arg#> .
12 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 12 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
13 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 13 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
14 -@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . 14 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
15 -@prefix sp: <http://spinrdf.org/sp#> . 15 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
16 -@prefix spin: <http://spinrdf.org/spin#> . 16 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
17 -@prefix spl: <http://spinrdf.org/spl#> . 17 +@prefix sp: <http://spinrdf.org/sp#> .
18 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 18 +@prefix spin: <http://spinrdf.org/spin#> .
19 - 19 +@prefix spl: <http://spinrdf.org/spl#> .
20 -<http://www.reportinghub.no/ep/transform/1.1/ddr/fluid> 20 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
21 - rdf:type owl:Ontology ; 21 +
22 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ; 22 +<http://www.reportinghub.no/ep/transform/1.1/ddr/fluid>
23 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 23 + rdf:type owl:Ontology ;
24 - 24 + owl:imports <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://spinrdf.org/spin> ;
25 -<http://www.witsml.org/schemas/1series#Obj_drillReport> 25 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
26 - spin:rule 26 +
27 - [ rdf:type sp:Construct ; 27 +<http://www.witsml.org/schemas/1series#Obj_drillReport>
28 - rdfs:comment "STEP 155 Fluid reading activity"^^xsd:string ; 28 + spin:rule
29 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FluidReading> ; 29 + [ rdf:type sp:Construct ;
30 - sp:predicate rdf:type ; 30 + rdfs:comment "STEP 155 Fluid reading activity"^^xsd:string ;
31 - sp:subject 31 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FluidReading> ;
32 - [ sp:varName "fluidReading"^^xsd:string 32 + sp:predicate rdf:type ;
33 - ] 33 + sp:subject _:b1
34 - ] [ sp:object 34 + ] [ sp:object _:b1 ;
35 - [ sp:varName "fluidReading"^^xsd:string 35 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
36 - ] ; 36 + sp:subject _:b2
37 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 37 + ] [ sp:object _:b3 ;
38 - sp:subject 38 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
39 - [ sp:varName "dailyDrillingActivity"^^xsd:string 39 + sp:subject _:b1
40 - ] 40 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
41 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; 41 + sp:predicate rdf:type ;
42 - sp:predicate rdf:type ; 42 + sp:subject _:b3
43 - sp:subject _:b1 43 + ] [ sp:object _:b4 ;
44 - ] [ sp:object 44 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
45 - [ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string 45 + sp:subject _:b3
46 - ] ; 46 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#PositionWithinWellBore> ;
47 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 47 + sp:predicate rdf:type ;
48 - sp:subject _:b1 48 + sp:subject _:b4
49 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#SpatialPartOfAWellBore> ; 49 + ] [ sp:object _:b5 ;
50 - sp:predicate rdf:type ; 50 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
51 - sp:subject _:b2 51 + sp:subject _:b4
52 - ] [ sp:object _:b1 ; 52 + ] [ sp:object _:b6 ;
53 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 53 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onFluid> ;
54 - sp:subject _:b2 54 + sp:subject _:b1
55 - ] [ sp:object _:b2 ; 55 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
56 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 56 + sp:predicate rdf:type ;
57 - sp:subject 57 + sp:subject _:b6
58 - [ sp:varName "fluidReading"^^xsd:string 58 + ] [ sp:object _:b7 ;
59 - ] 59 + sp:predicate rdf:type ;
60 - ] [ sp:object _:b3 ; 60 + sp:subject _:b6
61 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onFluid> ; 61 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#FluidType> ;
62 - sp:subject 62 + sp:predicate rdf:type ;
63 - [ sp:varName "fluidReading"^^xsd:string 63 + sp:subject _:b7
64 - ] 64 + ] [ sp:object _:b8 ;
65 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ; 65 + sp:predicate rdfs:comment ;
66 - sp:predicate rdf:type ; 66 + sp:subject _:b7
67 - sp:subject _:b3 67 + ] [ sp:object _:b9 ;
68 - ] [ sp:object _:b4 ; 68 + sp:predicate rdf:type ;
69 - sp:predicate rdf:type ; 69 + sp:subject _:b6
70 - sp:subject _:b3 70 + ] [ sp:object _:b4 ;
71 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#FluidType> ; 71 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
72 - sp:predicate rdf:type ; 72 + sp:subject _:b6
73 - sp:subject _:b4 73 + ] [ sp:object _:b10 ;
74 - ] [ sp:object 74 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
75 - [ sp:varName "type"^^xsd:string 75 + sp:subject _:b1
76 - ] ; 76 + ] [ sp:object _:b11 ;
77 - sp:predicate rdfs:comment ; 77 + sp:predicate rdf:type ;
78 - sp:subject _:b4 78 + sp:subject _:b6
79 - ] [ sp:object 79 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PlasticViscosity> ;
80 - [ sp:varName "mudClass"^^xsd:string 80 + sp:predicate rdf:type ;
81 - ] ; 81 + sp:subject _:b11
82 - sp:predicate rdf:type ; 82 + ] [ sp:object _:b12 ;
83 - sp:subject _:b3 83 + sp:predicate _:b13 ;
84 - ] [ sp:object _:b1 ; 84 + sp:subject _:b11
85 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 85 + ] [ sp:object _:b14 ;
86 - sp:subject _:b3 86 + sp:predicate rdf:type ;
87 - ] [ sp:object 87 + sp:subject _:b6
88 - [ sp:varName "dTim"^^xsd:string 88 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#YieldPoint> ;
89 - ] ; 89 + sp:predicate rdf:type ;
90 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; 90 + sp:subject _:b14
91 - sp:subject 91 + ] [ sp:object _:b15 ;
92 - [ sp:varName "fluidReading"^^xsd:string 92 + sp:predicate _:b16 ;
93 - ] 93 + sp:subject _:b14
94 - ] [ sp:object _:b5 ; 94 + ] [ sp:object _:b17 ;
95 - sp:predicate rdf:type ; 95 + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
96 - sp:subject _:b3 96 + sp:subject _:b4
97 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PlasticViscosity> ; 97 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
98 - sp:predicate rdf:type ; 98 + sp:predicate rdf:type ;
99 - sp:subject _:b5 99 + sp:subject _:b17
100 - ] [ sp:object 100 + ] [ sp:object _:b18 ;
101 - [ sp:varName "realPv"^^xsd:string 101 + sp:predicate _:b19 ;
102 - ] ; 102 + sp:subject _:b17
103 - sp:predicate 103 + ] [ sp:object _:b20 ;
104 - [ sp:varName "plasticViscosityScale"^^xsd:string 104 + sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
105 - ] ; 105 + sp:subject _:b4
106 - sp:subject _:b5 106 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
107 - ] [ sp:object _:b6 ; 107 + sp:predicate rdf:type ;
108 - sp:predicate rdf:type ; 108 + sp:subject _:b20
109 - sp:subject _:b3 109 + ] [ sp:object _:b21 ;
110 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#YieldPoint> ; 110 + sp:predicate _:b22 ;
111 - sp:predicate rdf:type ; 111 + sp:subject _:b20
112 - sp:subject _:b6 112 + ] [ sp:object _:b23 ;
113 - ] [ sp:object 113 + sp:predicate rdf:type ;
114 - [ sp:varName "realYp"^^xsd:string 114 + sp:subject _:b6
115 - ] ; 115 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
116 - sp:predicate 116 + sp:predicate rdf:type ;
117 - [ sp:varName "yieldPointScale"^^xsd:string 117 + sp:subject _:b23
118 - ] ; 118 + ] [ sp:object _:b24 ;
119 - sp:subject _:b6 119 + sp:predicate _:b25 ;
120 - ] [ sp:object _:b7 ; 120 + sp:subject _:b23
121 - sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ; 121 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#BlowOutPreventer> ;
122 - sp:subject _:b2 122 + sp:predicate rdf:type ;
123 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ; 123 + sp:subject _:b26
124 - sp:predicate rdf:type ; 124 + ] [ sp:object _:b4 ;
125 - sp:subject _:b7 125 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
126 - ] [ sp:object 126 + sp:subject _:b26
127 - [ sp:varName "realMd"^^xsd:string 127 + ] [ sp:object _:b27 ;
128 - ] ; 128 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#maximumPressureForBlowOutPreventer> ;
129 - sp:predicate 129 + sp:subject _:b26
130 - [ sp:varName "lengthScaleMd"^^xsd:string 130 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
131 - ] ; 131 + sp:predicate rdf:type ;
132 - sp:subject _:b7 132 + sp:subject _:b27
133 - ] [ sp:object _:b8 ; 133 + ] [ sp:object _:b28 ;
134 - sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ; 134 + sp:predicate _:b29 ;
135 - sp:subject _:b2 135 + sp:subject _:b27
136 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ; 136 + ]) ;
137 - sp:predicate rdf:type ; 137 + sp:where ([ sp:object _:b30 ;
138 - sp:subject _:b8 138 + sp:predicate ep-spin-lib:nameWellbore ;
139 - ] [ sp:object 139 + sp:subject spin:_this
140 - [ sp:varName "realTvd"^^xsd:string 140 + ] [ sp:object _:b31 ;
141 - ] ; 141 + sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
142 - sp:predicate 142 + sp:subject spin:_this
143 - [ sp:varName "lengthScaleTvd"^^xsd:string 143 + ] [ sp:object _:b32 ;
144 - ] ; 144 + sp:predicate <http://www.witsml.org/schemas/1series#fluidRef> ;
145 - sp:subject _:b8 145 + sp:subject spin:_this
146 - ] [ sp:object _:b9 ; 146 + ] [ sp:object _:b10 ;
147 - sp:predicate rdf:type ; 147 + sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
148 - sp:subject _:b3 148 + sp:subject _:b32
149 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; 149 + ] [ sp:object _:b8 ;
150 - sp:predicate rdf:type ; 150 + sp:predicate <http://www.witsml.org/schemas/1series#type> ;
151 - sp:subject _:b9 151 + sp:subject _:b32
152 - ] [ sp:object 152 + ] [ sp:object _:b33 ;
153 - [ sp:varName "realDensity"^^xsd:string 153 + sp:predicate <http://www.witsml.org/schemas/1series#pvRef> ;
154 - ] ; 154 + sp:subject _:b32
155 - sp:predicate 155 + ] [ sp:object _:b34 ;
156 - [ sp:varName "densityScale"^^xsd:string 156 + sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
157 - ] ; 157 + sp:subject _:b33
158 - sp:subject _:b9 158 + ] [ sp:object _:b12 ;
159 - ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#BlowOutPreventer> ; 159 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
160 - sp:predicate rdf:type ; 160 + sp:subject _:b33
161 - sp:subject _:b10 161 + ] [ sp:object _:b35 ;
162 - ] [ sp:object _:b1 ; 162 + sp:predicate <http://www.witsml.org/schemas/1series#mdRef> ;
163 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 163 + sp:subject _:b32
164 - sp:subject _:b10 164 + ] [ sp:object _:b36 ;
165 - ] [ sp:object _:b11 ; 165 + sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
166 - sp:predicate <http://www.reportinghub.no/ep/schema/equipment#maximumPressureForBlowOutPreventer> ; 166 + sp:subject _:b35
167 - sp:subject _:b10 167 + ] [ sp:object _:b18 ;
168 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; 168 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
169 - sp:predicate rdf:type ; 169 + sp:subject _:b35
170 - sp:subject _:b11 170 + ] [ rdf:type sp:Optional ;
171 - ] [ sp:object 171 + sp:elements ([ sp:object _:b37 ;
172 - [ sp:varName "realPressure"^^xsd:string 172 + sp:predicate <http://www.witsml.org/schemas/1series#mudClassRef> ;
173 - ] ; 173 + sp:subject _:b32
174 - sp:predicate 174 + ])
175 - [ sp:varName "pressureScale"^^xsd:string 175 + ] [ rdf:type sp:Optional ;
176 - ] ; 176 + sp:elements ([ sp:object _:b38 ;
177 - sp:subject _:b11 177 + sp:predicate <http://www.witsml.org/schemas/1series#tvdRef> ;
178 - ]) ; 178 + sp:subject _:b32
179 - sp:where ([ sp:object 179 + ] [ sp:object _:b39 ;
180 - [ sp:varName "nameWellBore"^^xsd:string 180 + sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
181 - ] ; 181 + sp:subject _:b38
182 - sp:predicate ep-spin-lib:nameWellbore ; 182 + ] [ sp:object _:b21 ;
183 - sp:subject spin:_this 183 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
184 - ] [ sp:object 184 + sp:subject _:b38
185 - [ sp:varName "dTimStart"^^xsd:string 185 + ])
186 - ] ; 186 + ] [ rdf:type sp:Optional ;
187 - sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ; 187 + sp:elements ([ sp:object _:b40 ;
188 - sp:subject spin:_this 188 + sp:predicate <http://www.witsml.org/schemas/1series#ypRef> ;
189 - ] [ sp:object 189 + sp:subject _:b32
190 - [ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string 190 + ] [ sp:object _:b41 ;
191 - ] ; 191 + sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
192 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 192 + sp:subject _:b40
193 - sp:subject 193 + ] [ sp:object _:b15 ;
194 - [ sp:varName "dailyDrillingActivity"^^xsd:string 194 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
195 - ] 195 + sp:subject _:b40
196 - ] [ sp:object 196 + ])
197 - [ sp:varName "fluid"^^xsd:string 197 + ] [ sp:object _:b42 ;
198 - ] ; 198 + sp:predicate <http://www.witsml.org/schemas/1series#densityRef> ;
199 - sp:predicate <http://www.witsml.org/schemas/1series#fluidRef> ; 199 + sp:subject _:b32
200 - sp:subject spin:_this 200 + ] [ sp:object _:b43 ;
201 - ] [ sp:object 201 + sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
202 - [ sp:varName "dTim"^^xsd:string 202 + sp:subject _:b42
203 - ] ; 203 + ] [ sp:object _:b24 ;
204 - sp:predicate <http://www.witsml.org/schemas/1series#dTim> ; 204 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
205 - sp:subject 205 + sp:subject _:b42
206 - [ sp:varName "fluid"^^xsd:string 206 + ] [ sp:object _:b44 ;
207 - ] 207 + sp:predicate <http://www.witsml.org/schemas/1series#presBopRatingRef> ;
208 - ] [ sp:object 208 + sp:subject _:b32
209 - [ sp:varName "type"^^xsd:string 209 + ] [ sp:object _:b45 ;
210 - ] ; 210 + sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
211 - sp:predicate <http://www.witsml.org/schemas/1series#type> ; 211 + sp:subject _:b44
212 - sp:subject 212 + ] [ sp:object _:b28 ;
213 - [ sp:varName "fluid"^^xsd:string 213 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
214 - ] 214 + sp:subject _:b44
215 - ] [ sp:object 215 + ] [ rdf:type sp:Bind ;
216 - [ sp:varName "pv"^^xsd:string 216 + sp:expression
217 - ] ; 217 + [ rdf:type ep-spin-lib:normalizeString ;
218 - sp:predicate <http://www.witsml.org/schemas/1series#pvRef> ; 218 + sp:arg1 _:b30
219 - sp:subject 219 + ] ;
220 - [ sp:varName "fluid"^^xsd:string 220 + sp:variable _:b46
221 - ] 221 + ] [ rdf:type sp:Bind ;
222 - ] [ sp:object 222 + sp:expression
223 - [ sp:varName "uomPv"^^xsd:string 223 + [ rdf:type afn:localname ;
224 - ] ; 224 + sp:arg1 _:b32
225 - sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ; 225 + ] ;
226 - sp:subject 226 + sp:variable _:b47
227 - [ sp:varName "pv"^^xsd:string 227 + ] [ rdf:type sp:Bind ;
228 - ] 228 + sp:expression
229 - ] [ sp:object 229 + [ rdf:type ep-spin-lib:buildFluidReadingURI ;
230 - [ sp:varName "realPv"^^xsd:string 230 + sp:arg1 _:b46 ;
231 - ] ; 231 + sp:arg2 _:b31 ;
232 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 232 + sp:arg3 _:b47
233 - sp:subject 233 + ] ;
234 - [ sp:varName "pv"^^xsd:string 234 + sp:variable _:b1
235 - ] 235 + ] [ rdf:type sp:Bind ;
236 - ] [ sp:object 236 + sp:expression
237 - [ sp:varName "md"^^xsd:string 237 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
238 - ] ; 238 + sp:arg1 _:b46 ;
239 - sp:predicate <http://www.witsml.org/schemas/1series#mdRef> ; 239 + sp:arg2 _:b31
240 - sp:subject 240 + ] ;
241 - [ sp:varName "fluid"^^xsd:string 241 + sp:variable _:b2
242 - ] 242 + ] [ rdf:type sp:Bind ;
243 - ] [ sp:object 243 + sp:expression
244 - [ sp:varName "uomMd"^^xsd:string 244 + [ rdf:type ep-spin-lib:selectLengthScale ;
245 - ] ; 245 + sp:arg1 _:b36
246 - sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ; 246 + ] ;
247 - sp:subject 247 + sp:variable _:b19
248 - [ sp:varName "md"^^xsd:string 248 + ] [ rdf:type sp:Bind ;
249 - ] 249 + sp:expression
250 - ] [ sp:object 250 + [ rdf:type ep-spin-lib:selectLengthScale ;
251 - [ sp:varName "realMd"^^xsd:string 251 + sp:arg1 _:b39
252 - ] ; 252 + ] ;
253 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 253 + sp:variable _:b22
254 - sp:subject 254 + ] [ rdf:type sp:Bind ;
255 - [ sp:varName "md"^^xsd:string 255 + sp:expression
256 - ] 256 + [ rdf:type ep-spin-lib:selectDensityScale ;
257 - ] [ rdf:type sp:Optional ; 257 + sp:arg1 _:b43
258 - sp:elements ([ sp:object 258 + ] ;
259 - [ sp:varName "mud"^^xsd:string 259 + sp:variable _:b25
260 - ] ; 260 + ] [ rdf:type sp:Bind ;
261 - sp:predicate <http://www.witsml.org/schemas/1series#mudClassRef> ; 261 + sp:expression
262 - sp:subject 262 + [ rdf:type ep-spin-lib:selectPlasticViscosityScale ;
263 - [ sp:varName "fluid"^^xsd:string 263 + sp:arg1 _:b34
264 - ] 264 + ] ;
265 - ]) 265 + sp:variable _:b13
266 - ] [ rdf:type sp:Optional ; 266 + ] [ rdf:type sp:Bind ;
267 - sp:elements ([ sp:object 267 + sp:expression
268 - [ sp:varName "tvd"^^xsd:string 268 + [ rdf:type ep-spin-lib:selectYieldPointScale ;
269 - ] ; 269 + sp:arg1 _:b41
270 - sp:predicate <http://www.witsml.org/schemas/1series#tvdRef> ; 270 + ] ;
271 - sp:subject 271 + sp:variable _:b16
272 - [ sp:varName "fluid"^^xsd:string 272 + ] [ rdf:type sp:Bind ;
273 - ] 273 + sp:expression
274 - ] [ sp:object 274 + [ rdf:type ep-spin-lib:selectPressureScale ;
275 - [ sp:varName "uomTvd"^^xsd:string 275 + sp:arg1 _:b45
276 - ] ; 276 + ] ;
277 - sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ; 277 + sp:variable _:b29
278 - sp:subject 278 + ] [ rdf:type sp:Bind ;
279 - [ sp:varName "tvd"^^xsd:string 279 + sp:expression
280 - ] 280 + [ rdf:type ep-spin-lib:selectMudClass ;
281 - ] [ sp:object 281 + sp:arg1 _:b37
282 - [ sp:varName "realTvd"^^xsd:string 282 + ] ;
283 - ] ; 283 + sp:variable _:b9
284 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 284 + ] [ rdf:type sp:Bind ;
285 - sp:subject 285 + sp:expression
286 - [ sp:varName "tvd"^^xsd:string 286 + [ rdf:type rhspin:wellBoreByName ;
287 - ] 287 + arg:wellBoreName
288 - ]) 288 + [ rdf:type xsd:string ;
289 - ] [ rdf:type sp:Optional ; 289 + sp:arg1 _:b30
290 - sp:elements ([ sp:object 290 + ]
291 - [ sp:varName "yp"^^xsd:string 291 + ] ;
292 - ] ; 292 + sp:variable _:b5
293 - sp:predicate <http://www.witsml.org/schemas/1series#ypRef> ; 293 + ])
294 - sp:subject 294 + ] .
295 - [ sp:varName "fluid"^^xsd:string 295 +
296 - ] 296 +_:b30
297 - ] [ sp:object 297 + sp:varName "nameWellBore"^^xsd:string .
298 - [ sp:varName "uomYp"^^xsd:string 298 +
299 - ] ; 299 +_:b31
300 - sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ; 300 + sp:varName "dTimStart"^^xsd:string .
301 - sp:subject 301 +
302 - [ sp:varName "yp"^^xsd:string 302 +_:b32
303 - ] 303 + sp:varName "fluid"^^xsd:string .
304 - ] [ sp:object 304 +
305 - [ sp:varName "realYp"^^xsd:string 305 +_:b10
306 - ] ; 306 + sp:varName "dTim"^^xsd:string .
307 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 307 +
308 - sp:subject 308 +_:b8 sp:varName "type"^^xsd:string .
309 - [ sp:varName "yp"^^xsd:string 309 +
310 - ] 310 +_:b33
311 - ]) 311 + sp:varName "pv"^^xsd:string .
312 - ] [ sp:object 312 +
313 - [ sp:varName "density"^^xsd:string 313 +_:b34
314 - ] ; 314 + sp:varName "uomPv"^^xsd:string .
315 - sp:predicate <http://www.witsml.org/schemas/1series#densityRef> ; 315 +
316 - sp:subject 316 +_:b12
317 - [ sp:varName "fluid"^^xsd:string 317 + sp:varName "realPv"^^xsd:string .
318 - ] 318 +
319 - ] [ sp:object 319 +_:b35
320 - [ sp:varName "uomDensity"^^xsd:string 320 + sp:varName "md"^^xsd:string .
321 - ] ; 321 +
322 - sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ; 322 +_:b36
323 - sp:subject 323 + sp:varName "uomMd"^^xsd:string .
324 - [ sp:varName "density"^^xsd:string 324 +
325 - ] 325 +_:b18
326 - ] [ sp:object 326 + sp:varName "realMd"^^xsd:string .
327 - [ sp:varName "realDensity"^^xsd:string 327 +
328 - ] ; 328 +_:b37
329 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 329 + sp:varName "mud"^^xsd:string .
330 - sp:subject 330 +
331 - [ sp:varName "density"^^xsd:string 331 +_:b38
332 - ] 332 + sp:varName "tvd"^^xsd:string .
333 - ] [ sp:object 333 +
334 - [ sp:varName "presBopRating"^^xsd:string 334 +_:b39
335 - ] ; 335 + sp:varName "uomTvd"^^xsd:string .
336 - sp:predicate <http://www.witsml.org/schemas/1series#presBopRatingRef> ; 336 +
337 - sp:subject 337 +_:b21
338 - [ sp:varName "fluid"^^xsd:string 338 + sp:varName "realTvd"^^xsd:string .
339 - ] 339 +
340 - ] [ sp:object 340 +_:b40
341 - [ sp:varName "uomPressure"^^xsd:string 341 + sp:varName "yp"^^xsd:string .
342 - ] ; 342 +
343 - sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ; 343 +_:b41
344 - sp:subject 344 + sp:varName "uomYp"^^xsd:string .
345 - [ sp:varName "presBopRating"^^xsd:string 345 +
346 - ] 346 +_:b15
347 - ] [ sp:object 347 + sp:varName "realYp"^^xsd:string .
348 - [ sp:varName "realPressure"^^xsd:string 348 +
349 - ] ; 349 +_:b42
350 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 350 + sp:varName "density"^^xsd:string .
351 - sp:subject 351 +
352 - [ sp:varName "presBopRating"^^xsd:string 352 +_:b43
353 - ] 353 + sp:varName "uomDensity"^^xsd:string .
354 - ] [ rdf:type sp:Bind ; 354 +
355 - sp:expression 355 +_:b24
356 - [ rdf:type ep-spin-lib:normalizeString ; 356 + sp:varName "realDensity"^^xsd:string .
357 - sp:arg1 [ sp:varName "nameWellBore"^^xsd:string 357 +
358 - ] 358 +_:b44
359 - ] ; 359 + sp:varName "presBopRating"^^xsd:string .
360 - sp:variable 360 +
361 - [ sp:varName "normalizedWellBoreName"^^xsd:string 361 +_:b45
362 - ] 362 + sp:varName "uomPressure"^^xsd:string .
363 - ] [ rdf:type sp:Bind ; 363 +
364 - sp:expression 364 +_:b28
365 - [ rdf:type afn:localname ; 365 + sp:varName "realPressure"^^xsd:string .
366 - sp:arg1 [ sp:varName "fluid"^^xsd:string 366 +
367 - ] 367 +_:b46
368 - ] ; 368 + sp:varName "normalizedWellBoreName"^^xsd:string .
369 - sp:variable 369 +
370 - [ sp:varName "localname"^^xsd:string 370 +_:b47
371 - ] 371 + sp:varName "localname"^^xsd:string .
372 - ] [ rdf:type sp:Bind ; 372 +
373 - sp:expression 373 +_:b1 sp:varName "fluidReading"^^xsd:string .
374 - [ rdf:type ep-spin-lib:buildFluidReadingURI ; 374 +
375 - sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string 375 +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
376 - ] ; 376 +
377 - sp:arg2 [ sp:varName "dTimStart"^^xsd:string 377 +_:b19
378 - ] ; 378 + sp:varName "lengthScaleMd"^^xsd:string .
379 - sp:arg3 [ sp:varName "localname"^^xsd:string 379 +
380 - ] 380 +_:b22
381 - ] ; 381 + sp:varName "lengthScaleTvd"^^xsd:string .
382 - sp:variable 382 +
383 - [ sp:varName "fluidReading"^^xsd:string 383 +_:b25
384 - ] 384 + sp:varName "densityScale"^^xsd:string .
385 - ] [ rdf:type sp:Bind ; 385 +
386 - sp:expression 386 +_:b13
387 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 387 + sp:varName "plasticViscosityScale"^^xsd:string .
388 - sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string 388 +
389 - ] ; 389 +_:b16
390 - sp:arg2 [ sp:varName "dTimStart"^^xsd:string 390 + sp:varName "yieldPointScale"^^xsd:string .
391 - ] 391 +
392 - ] ; 392 +_:b29
393 - sp:variable 393 + sp:varName "pressureScale"^^xsd:string .
394 - [ sp:varName "dailyDrillingActivity"^^xsd:string 394 +
395 - ] 395 +_:b9 sp:varName "mudClass"^^xsd:string .
396 - ] [ rdf:type sp:Bind ; 396 +
397 - sp:expression 397 +_:b5 sp:varName "wellBore"^^xsd:string .
398 - [ rdf:type ep-spin-lib:selectLengthScale ;
399 - sp:arg1 [ sp:varName "uomMd"^^xsd:string
400 - ]
401 - ] ;
402 - sp:variable
403 - [ sp:varName "lengthScaleMd"^^xsd:string
404 - ]
405 - ] [ rdf:type sp:Bind ;
406 - sp:expression
407 - [ rdf:type ep-spin-lib:selectLengthScale ;
408 - sp:arg1 [ sp:varName "uomTvd"^^xsd:string
409 - ]
410 - ] ;
411 - sp:variable
412 - [ sp:varName "lengthScaleTvd"^^xsd:string
413 - ]
414 - ] [ rdf:type sp:Bind ;
415 - sp:expression
416 - [ rdf:type ep-spin-lib:selectDensityScale ;
417 - sp:arg1 [ sp:varName "uomDensity"^^xsd:string
418 - ]
419 - ] ;
420 - sp:variable
421 - [ sp:varName "densityScale"^^xsd:string
422 - ]
423 - ] [ rdf:type sp:Bind ;
424 - sp:expression
425 - [ rdf:type ep-spin-lib:selectPlasticViscosityScale ;
426 - sp:arg1 [ sp:varName "uomPv"^^xsd:string
427 - ]
428 - ] ;
429 - sp:variable
430 - [ sp:varName "plasticViscosityScale"^^xsd:string
431 - ]
432 - ] [ rdf:type sp:Bind ;
433 - sp:expression
434 - [ rdf:type ep-spin-lib:selectYieldPointScale ;
435 - sp:arg1 [ sp:varName "uomYp"^^xsd:string
436 - ]
437 - ] ;
438 - sp:variable
439 - [ sp:varName "yieldPointScale"^^xsd:string
440 - ]
441 - ] [ rdf:type sp:Bind ;
442 - sp:expression
443 - [ rdf:type ep-spin-lib:selectPressureScale ;
444 - sp:arg1 [ sp:varName "uomPressure"^^xsd:string
445 - ]
446 - ] ;
447 - sp:variable
448 - [ sp:varName "pressureScale"^^xsd:string
449 - ]
450 - ] [ rdf:type sp:Bind ;
451 - sp:expression
452 - [ rdf:type ep-spin-lib:selectMudClass ;
453 - sp:arg1 [ sp:varName "mud"^^xsd:string
454 - ]
455 - ] ;
456 - sp:variable
457 - [ sp:varName "mudClass"^^xsd:string
458 - ]
459 - ])
460 - ] .
......