David Price

Initial fluid sample and analysis tables added

...@@ -18,6 +18,271 @@ ...@@ -18,6 +18,271 @@
18 owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/spin/rh> ; 18 owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/spin/rh> ;
19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
20 20
21 +dpr-tables:FluidSampleAnalysisResults
22 + rdf:type rhspin:TableTemplate ;
23 + rdfs:label "Fluid Sample Analysis Results"^^xsd:string ;
24 + rdfs:subClassOf rhspin:DPRTableTemplates ;
25 + spin:body
26 + [ rdf:type sp:Select ;
27 + sp:orderBy ([ sp:varName "sampledFluidName"^^xsd:string
28 + ]) ;
29 + sp:resultVariables ([ sp:varName "sampledFluidName"^^xsd:string
30 + ] [ sp:varName "componentName"^^xsd:string
31 + ] [ sp:varName "partMaterialName"^^xsd:string
32 + ] [ sp:varName "moleRatioPercent"^^xsd:string
33 + ] [ sp:varName "massRatioPercent"^^xsd:string
34 + ]) ;
35 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
36 + sp:predicate rdf:type ;
37 + sp:subject
38 + [ sp:varName "report"^^xsd:string
39 + ]
40 + ] [ sp:object
41 + [ sp:varName "report"^^xsd:string
42 + ] ;
43 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
44 + sp:subject
45 + [ sp:varName "fluidSampleReport"^^xsd:string
46 + ]
47 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#FluidSampleReport> ;
48 + sp:predicate rdf:type ;
49 + sp:subject
50 + [ sp:varName "fluidSampleReport"^^xsd:string
51 + ]
52 + ] [ sp:object
53 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
54 + ] ;
55 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
56 + sp:subject
57 + [ sp:varName "fluidSampleReport"^^xsd:string
58 + ]
59 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
60 + sp:predicate rdf:type ;
61 + sp:subject
62 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
63 + ]
64 + ] [ sp:object
65 + [ sp:varName "sampledFluid"^^xsd:string
66 + ] ;
67 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
68 + sp:subject
69 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
70 + ]
71 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
72 + sp:predicate rdf:type ;
73 + sp:subject
74 + [ sp:varName "sampledFluid"^^xsd:string
75 + ]
76 + ] [ sp:object
77 + [ sp:varName "sampledFluidName"^^xsd:string
78 + ] ;
79 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
80 + sp:subject
81 + [ sp:varName "sampledFluid"^^xsd:string
82 + ]
83 + ] [ rdf:type sp:TriplePath ;
84 + sp:object
85 + [ sp:varName "component"^^xsd:string
86 + ] ;
87 + sp:path [ rdf:type sp:AltPath ;
88 + sp:path1 <http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent> ;
89 + sp:path2 <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent>
90 + ] ;
91 + sp:subject
92 + [ sp:varName "sampledFluid"^^xsd:string
93 + ]
94 + ] [ sp:object
95 + [ sp:varName "componentType"^^xsd:string
96 + ] ;
97 + sp:predicate rdf:type ;
98 + sp:subject
99 + [ sp:varName "component"^^xsd:string
100 + ]
101 + ] [ rdf:type sp:Filter ;
102 + sp:expression
103 + [ rdf:type sp:ne ;
104 + sp:arg1 [ sp:varName "componentType"^^xsd:string
105 + ] ;
106 + sp:arg2 <http://www.reportinghub.no/ep/schema/material#Fluid>
107 + ]
108 + ] [ rdf:type sp:Filter ;
109 + sp:expression
110 + [ rdf:type sp:ne ;
111 + sp:arg1 [ sp:varName "componentType"^^xsd:string
112 + ] ;
113 + sp:arg2 <http://www.reportinghub.no/ep/schema/material#FluidFraction>
114 + ]
115 + ] [ sp:object
116 + [ sp:varName "componentName"^^xsd:string
117 + ] ;
118 + sp:predicate rdfs:label ;
119 + sp:subject
120 + [ sp:varName "componentType"^^xsd:string
121 + ]
122 + ] [ rdf:type sp:Optional ;
123 + sp:elements ([ sp:object
124 + [ sp:varName "component"^^xsd:string
125 + ] ;
126 + sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ;
127 + sp:subject
128 + [ sp:varName "materialPair"^^xsd:string
129 + ]
130 + ] [ rdf:type sp:Optional ;
131 + sp:elements ([ sp:object
132 + [ sp:varName "massRatio"^^xsd:string
133 + ] ;
134 + sp:predicate <http://www.reportinghub.no/ep/schema/material#massRatio> ;
135 + sp:subject
136 + [ sp:varName "materialPair"^^xsd:string
137 + ]
138 + ] [ sp:object
139 + [ sp:varName "massRatioPercent"^^xsd:string
140 + ] ;
141 + sp:predicate <http://www.reportinghub.no/ep/schema/core#percent> ;
142 + sp:subject
143 + [ sp:varName "massRatio"^^xsd:string
144 + ]
145 + ])
146 + ] [ rdf:type sp:Optional ;
147 + sp:elements ([ sp:object
148 + [ sp:varName "moleRatio"^^xsd:string
149 + ] ;
150 + sp:predicate <http://www.reportinghub.no/ep/schema/material#moleRatio> ;
151 + sp:subject
152 + [ sp:varName "materialPair"^^xsd:string
153 + ]
154 + ] [ sp:object
155 + [ sp:varName "moleRatioPercent"^^xsd:string
156 + ] ;
157 + sp:predicate <http://www.reportinghub.no/ep/schema/core#percent> ;
158 + sp:subject
159 + [ sp:varName "moleRatio"^^xsd:string
160 + ]
161 + ])
162 + ])
163 + ])
164 + ] ;
165 + rhspin:tableHeaders ("Fluid Sample Name"^^xsd:string "Component"^^xsd:string """Mole Ratio
166 +Percent"""^^xsd:string """Mass Ratio
167 +Percent"""^^xsd:string) .
168 +
169 +dpr-tables:FluidSamples
170 + rdf:type rhspin:TableTemplate ;
171 + rdfs:label "Fluid Sample Report"^^xsd:string ;
172 + rdfs:subClassOf rhspin:DPRTableTemplates ;
173 + spin:body
174 + [ rdf:type sp:Select ;
175 + sp:orderBy ([ sp:varName "sampledFluidName"^^xsd:string
176 + ]) ;
177 + sp:resultVariables ([ sp:varName "fluidSamplingType"^^xsd:string
178 + ] [ sp:varName "sampleDate"^^xsd:string
179 + ] [ sp:varName "samplePerformedAt"^^xsd:string
180 + ] [ sp:varName "sampledFluidName"^^xsd:string
181 + ]) ;
182 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
183 + sp:predicate rdf:type ;
184 + sp:subject
185 + [ sp:varName "report"^^xsd:string
186 + ]
187 + ] [ sp:object
188 + [ sp:varName "report"^^xsd:string
189 + ] ;
190 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
191 + sp:subject
192 + [ sp:varName "fluidSampleReport"^^xsd:string
193 + ]
194 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#FluidSampleReport> ;
195 + sp:predicate rdf:type ;
196 + sp:subject
197 + [ sp:varName "fluidSampleReport"^^xsd:string
198 + ]
199 + ] [ sp:object
200 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
201 + ] ;
202 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
203 + sp:subject
204 + [ sp:varName "fluidSampleReport"^^xsd:string
205 + ]
206 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
207 + sp:predicate rdf:type ;
208 + sp:subject
209 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
210 + ]
211 + ] [ sp:object
212 + [ sp:varName "fluidsamplingandanalysisType"^^xsd:string
213 + ] ;
214 + sp:predicate rdf:type ;
215 + sp:subject
216 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
217 + ]
218 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingType> ;
219 + sp:predicate rdf:type ;
220 + sp:subject
221 + [ sp:varName "fluidsamplingandanalysisType"^^xsd:string
222 + ]
223 + ] [ sp:object
224 + [ sp:varName "fluidSamplingType"^^xsd:string
225 + ] ;
226 + sp:predicate rdfs:label ;
227 + sp:subject
228 + [ sp:varName "fluidsamplingandanalysisType"^^xsd:string
229 + ]
230 + ] [ sp:object
231 + [ sp:varName "sampleDate"^^xsd:string
232 + ] ;
233 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
234 + sp:subject
235 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
236 + ]
237 + ] [ sp:object
238 + [ sp:varName "sampledFluid"^^xsd:string
239 + ] ;
240 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
241 + sp:subject
242 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
243 + ]
244 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
245 + sp:predicate rdf:type ;
246 + sp:subject
247 + [ sp:varName "sampledFluid"^^xsd:string
248 + ]
249 + ] [ sp:object
250 + [ sp:varName "sampledFluidName"^^xsd:string
251 + ] ;
252 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
253 + sp:subject
254 + [ sp:varName "sampledFluid"^^xsd:string
255 + ]
256 + ] [ sp:object
257 + [ sp:varName "temporalpartofaproductionfacility"^^xsd:string
258 + ] ;
259 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
260 + sp:subject
261 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
262 + ]
263 + ] [ sp:object
264 + [ sp:varName "productionfacility"^^xsd:string
265 + ] ;
266 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
267 + sp:subject
268 + [ sp:varName "temporalpartofaproductionfacility"^^xsd:string
269 + ]
270 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
271 + sp:predicate rdf:type ;
272 + sp:subject
273 + [ sp:varName "temporalpartofaproductionfacility"^^xsd:string
274 + ]
275 + ] [ sp:object
276 + [ sp:varName "samplePerformedAt"^^xsd:string
277 + ] ;
278 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
279 + sp:subject
280 + [ sp:varName "productionfacility"^^xsd:string
281 + ]
282 + ])
283 + ] ;
284 + rhspin:tableHeaders ("Sample Type"^^xsd:string "Aquisition Date"^^xsd:string "Sampling Facility"^^xsd:string "Fluid Sample Name"^^xsd:string) .
285 +
21 dpr-tables:PersonnelInformation 286 dpr-tables:PersonnelInformation
22 rdf:type rhspin:TableTemplate ; 287 rdf:type rhspin:TableTemplate ;
23 rdfs:label "Personnel Information"^^xsd:string ; 288 rdfs:label "Personnel Information"^^xsd:string ;
...@@ -760,10 +1025,10 @@ dpr-tables:WellFluidLevelTest ...@@ -760,10 +1025,10 @@ dpr-tables:WellFluidLevelTest
760 rdfs:subClassOf rhspin:DPRTableTemplates ; 1025 rdfs:subClassOf rhspin:DPRTableTemplates ;
761 spin:body 1026 spin:body
762 [ rdf:type sp:Select ; 1027 [ rdf:type sp:Select ;
763 - sp:orderBy ([ sp:varName "wellboreName"^^xsd:string 1028 + sp:orderBy ([ sp:varName "wellName"^^xsd:string
764 ] [ sp:varName "activityStart"^^xsd:string 1029 ] [ sp:varName "activityStart"^^xsd:string
765 ]) ; 1030 ]) ;
766 - sp:resultVariables ([ sp:varName "wellboreName"^^xsd:string 1031 + sp:resultVariables ([ sp:varName "wellName"^^xsd:string
767 ] [ sp:varName "wellTestTypeName"^^xsd:string 1032 ] [ sp:varName "wellTestTypeName"^^xsd:string
768 ] [ sp:varName "wellTestReasonTypeName"^^xsd:string 1033 ] [ sp:varName "wellTestReasonTypeName"^^xsd:string
769 ] [ sp:varName "activityStart"^^xsd:string 1034 ] [ sp:varName "activityStart"^^xsd:string
...@@ -802,7 +1067,7 @@ dpr-tables:WellFluidLevelTest ...@@ -802,7 +1067,7 @@ dpr-tables:WellFluidLevelTest
802 [ sp:varName "wellTest"^^xsd:string 1067 [ sp:varName "wellTest"^^xsd:string
803 ] 1068 ]
804 ] [ sp:object 1069 ] [ sp:object
805 - [ sp:varName "wellTestPart"^^xsd:string 1070 + [ sp:varName "fluidLevelTest"^^xsd:string
806 ] ; 1071 ] ;
807 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 1072 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
808 sp:subject 1073 sp:subject
...@@ -811,7 +1076,7 @@ dpr-tables:WellFluidLevelTest ...@@ -811,7 +1076,7 @@ dpr-tables:WellFluidLevelTest
811 ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidLevelTest> ; 1076 ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidLevelTest> ;
812 sp:predicate rdf:type ; 1077 sp:predicate rdf:type ;
813 sp:subject 1078 sp:subject
814 - [ sp:varName "wellTestPart"^^xsd:string 1079 + [ sp:varName "fluidLevelTest"^^xsd:string
815 ] 1080 ]
816 ] [ rdf:type sp:Optional ; 1081 ] [ rdf:type sp:Optional ;
817 sp:elements ([ sp:object 1082 sp:elements ([ sp:object
...@@ -823,25 +1088,25 @@ dpr-tables:WellFluidLevelTest ...@@ -823,25 +1088,25 @@ dpr-tables:WellFluidLevelTest
823 ] 1088 ]
824 ]) 1089 ])
825 ] [ sp:object 1090 ] [ sp:object
826 - [ sp:varName "wellborePart"^^xsd:string 1091 + [ sp:varName "wellPart"^^xsd:string
827 ] ; 1092 ] ;
828 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; 1093 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
829 sp:subject 1094 sp:subject
830 [ sp:varName "wellTest"^^xsd:string 1095 [ sp:varName "wellTest"^^xsd:string
831 ] 1096 ]
832 ] [ sp:object 1097 ] [ sp:object
833 - [ sp:varName "wellbore"^^xsd:string 1098 + [ sp:varName "well"^^xsd:string
834 ] ; 1099 ] ;
835 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 1100 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
836 sp:subject 1101 sp:subject
837 - [ sp:varName "wellborePart"^^xsd:string 1102 + [ sp:varName "wellPart"^^xsd:string
838 ] 1103 ]
839 ] [ sp:object 1104 ] [ sp:object
840 - [ sp:varName "wellboreName"^^xsd:string 1105 + [ sp:varName "wellName"^^xsd:string
841 ] ; 1106 ] ;
842 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 1107 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
843 sp:subject 1108 sp:subject
844 - [ sp:varName "wellbore"^^xsd:string 1109 + [ sp:varName "well"^^xsd:string
845 ] 1110 ]
846 ] [ rdf:type sp:Optional ; 1111 ] [ rdf:type sp:Optional ;
847 sp:elements ([ sp:object 1112 sp:elements ([ sp:object
...@@ -896,7 +1161,14 @@ dpr-tables:WellFluidLevelTest ...@@ -896,7 +1161,14 @@ dpr-tables:WellFluidLevelTest
896 ]) 1161 ])
897 ] [ rdf:type sp:Optional ; 1162 ] [ rdf:type sp:Optional ;
898 sp:elements ([ sp:object 1163 sp:elements ([ sp:object
899 - [ sp:varName "wellborePartFluid"^^xsd:string 1164 + [ sp:varName "wellborePart"^^xsd:string
1165 + ] ;
1166 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
1167 + sp:subject
1168 + [ sp:varName "fluidLevelTest"^^xsd:string
1169 + ]
1170 + ] [ sp:object
1171 + [ sp:varName "wellPartFluid"^^xsd:string
900 ] ; 1172 ] ;
901 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; 1173 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
902 sp:subject 1174 sp:subject
...@@ -908,7 +1180,7 @@ dpr-tables:WellFluidLevelTest ...@@ -908,7 +1180,7 @@ dpr-tables:WellFluidLevelTest
908 ] ; 1180 ] ;
909 sp:predicate <http://www.reportinghub.no/ep/schema/production-well#depthOfBaseUsableWaterFromSurface> ; 1181 sp:predicate <http://www.reportinghub.no/ep/schema/production-well#depthOfBaseUsableWaterFromSurface> ;
910 sp:subject 1182 sp:subject
911 - [ sp:varName "wellborePartFluid"^^xsd:string 1183 + [ sp:varName "wellPartFluid"^^xsd:string
912 ] 1184 ]
913 ] [ sp:object 1185 ] [ sp:object
914 [ sp:varName "depthUsableWaterValue"^^xsd:string 1186 [ sp:varName "depthUsableWaterValue"^^xsd:string
...@@ -918,6 +1190,22 @@ dpr-tables:WellFluidLevelTest ...@@ -918,6 +1190,22 @@ dpr-tables:WellFluidLevelTest
918 [ sp:varName "depthUsableWater"^^xsd:string 1190 [ sp:varName "depthUsableWater"^^xsd:string
919 ] 1191 ]
920 ]) 1192 ])
1193 + ] [ rdf:type sp:Optional ;
1194 + sp:elements ([ sp:object
1195 + [ sp:varName "fluidLevel"^^xsd:string
1196 + ] ;
1197 + sp:predicate <http://www.reportinghub.no/ep/schema/production-well#depthOfFluidSurfaceFromTopOfWell> ;
1198 + sp:subject
1199 + [ sp:varName "wellPartFluid"^^xsd:string
1200 + ]
1201 + ] [ sp:object
1202 + [ sp:varName "fluidLevelValue"^^xsd:string
1203 + ] ;
1204 + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
1205 + sp:subject
1206 + [ sp:varName "fluidLevel"^^xsd:string
1207 + ]
1208 + ])
921 ]) 1209 ])
922 ] [ rdf:type sp:Optional ; 1210 ] [ rdf:type sp:Optional ;
923 sp:elements ([ sp:object 1211 sp:elements ([ sp:object
...@@ -925,7 +1213,7 @@ dpr-tables:WellFluidLevelTest ...@@ -925,7 +1213,7 @@ dpr-tables:WellFluidLevelTest
925 ] ; 1213 ] ;
926 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#performedByPersonOrOrganization> ; 1214 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#performedByPersonOrOrganization> ;
927 sp:subject 1215 sp:subject
928 - [ sp:varName "wellTestPart"^^xsd:string 1216 + [ sp:varName "fluidLevelTest"^^xsd:string
929 ] 1217 ]
930 ] [ sp:object 1218 ] [ sp:object
931 [ sp:varName "fluidLevelTestPerformerWhole"^^xsd:string 1219 [ sp:varName "fluidLevelTestPerformerWhole"^^xsd:string
...@@ -944,7 +1232,11 @@ dpr-tables:WellFluidLevelTest ...@@ -944,7 +1232,11 @@ dpr-tables:WellFluidLevelTest
944 ]) 1232 ])
945 ]) 1233 ])
946 ] ; 1234 ] ;
947 - rhspin:tableHeaders ("Wellbore"^^xsd:string "Test Type"^^xsd:string "Reason"^^xsd:string "Started or Nominally At"^^xsd:string "Description "^^xsd:string "Fluid Level m"^^xsd:string "Usable Water Depth m"^^xsd:string "Fluid Level Test Performer"^^xsd:string) . 1235 + rhspin:tableHeaders ("Well"^^xsd:string "Test Type"^^xsd:string "Reason"^^xsd:string "Started or Nominally At"^^xsd:string "Description "^^xsd:string """Fluid Level
1236 +m"""^^xsd:string """Usable Water
1237 +Depth
1238 +m"""^^xsd:string """Fluid Level
1239 +Test Performer"""^^xsd:string) .
948 1240
949 dpr-tables:WellInjectionTest 1241 dpr-tables:WellInjectionTest
950 rdf:type rhspin:TableTemplate ; 1242 rdf:type rhspin:TableTemplate ;
......
...@@ -72,4 +72,13 @@ WHERE { ...@@ -72,4 +72,13 @@ WHERE {
72 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellProductionTest" /> 72 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellProductionTest" />
73 73
74 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellProductionTestResults" /> 74 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellProductionTestResults" />
75 +
76 + <h2>Fluid Sample Information</h2>
77 +
78 +<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:FluidSamples" />
79 +
80 +<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:FluidSampleAnalysisResults" />
81 +
82 +
83 +
75 </ui:group> 84 </ui:group>
...\ No newline at end of file ...\ No newline at end of file
......