File size: 10,178 Bytes
fa53be0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3bed294
fa53be0
 
 
3bed294
fa53be0
 
 
 
 
 
 
 
 
 
 
3bed294
 
 
 
 
 
fa53be0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3bed294
 
 
 
 
 
fa53be0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3bed294
 
 
 
 
 
fa53be0
 
 
 
 
 
 
 
 
 
 
 
 
3bed294
fa53be0
 
 
 
 
 
 
 
 
 
 
3bed294
 
 
 
 
 
fa53be0
 
 
 
 
 
3bed294
fa53be0
 
 
 
 
 
 
 
 
3bed294
fa53be0
 
3bed294
 
 
 
 
 
 
fa53be0
 
 
 
 
 
3bed294
fa53be0
 
 
 
 
 
 
 
 
3bed294
 
fa53be0
 
3bed294
 
 
 
 
 
 
 
fa53be0
 
 
 
 
 
 
3bed294
fa53be0
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<html><head>
<style>
body { font-family: Arial, sans-serif; margin: 20px; }
h1 { text-align: center; }
.cot-title { color: blue; }
.pos-title { color: green; }
h2 { color: black; text-align: left; }
h3 { color: black; text-align: left; }
h4 { color: darkslategray; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
table, th, td { border: 1px solid #ddd; padding: 8px; }
th { background-color: #f2f2f2; }
tr:nth-child(even) { background-color: #f9f9f9; }
.highlight { background-color: #ffffcc; }
.true { color: green; }
.false { color: red; }
.highlighted-cell { background-color: yellow; cursor: pointer; }
.step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
.step { display: block; }
</style>
</head><body>
<hr>
<h3><span>Statement:</span> ngc 1574 has a deeper declination (or dec) of °58′29″ , than any other galaxy in the dorado group</h3>
<h3>Input Table: dorado group</h3>
<div class="step">
<div class="step">
<div class="step-title">Step 1: Select rows where 'name' is 'ngc 1574'.</div>
<div id="step-1" class="content">
<table>
<tr>
<td>name</td>
<td>type</td>
<td>ra___j2000</td>
<td>dec___j2000</td>
<td>redshift__km___s</td>
<td>apparent_magnitude</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 2082</span></td>
<td>sab (rs + ) c</td>
<td>05h41 m51.1s</td>
<td>degree18′04″</td>
<td>1184 ± 6</td>
<td>12.6</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1947</span></td>
<td>s0 - pec</td>
<td>05h26 m47.6s</td>
<td>degree45′36″</td>
<td>1100 ± 24</td>
<td>11.7</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1796</span></td>
<td>(r) sb (r) dm :</td>
<td>05h02 m42.5s</td>
<td>degree08′24″</td>
<td>1014 ± 9</td>
<td>12.9</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1688</span></td>
<td>sb (rs) dm</td>
<td>04h48 m23.8s</td>
<td>degree48′01″</td>
<td>1228 ± 6</td>
<td>12.6</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1672</span></td>
<td>(r'_1: ) sb (r) bc sy2</td>
<td>04h45 m42.5s</td>
<td>degree14′50″</td>
<td>1331 ± 3</td>
<td>10.3</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ic 2056</span></td>
<td>sab (r) b</td>
<td>04h16 m24.5s</td>
<td>degree12′25″</td>
<td>1133 ± 10</td>
<td>12.5</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1559</span></td>
<td>sb (s) cd</td>
<td>04h17 m35.8s</td>
<td>degree47′01″</td>
<td>1304 ± 4</td>
<td>11.0</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1543</span></td>
<td>(r) sb (l) 0 0</td>
<td>04h12 m43.2s</td>
<td>degree44′17″</td>
<td>1176 ± 7</td>
<td>11.5</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ngc 1574</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sa0 -</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">04h21 m58.8s</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">degree58′29″</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1050 ± 25</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11.4</span></td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1533</span></td>
<td>(l) sb (rs) 0 0</td>
<td>04h09 m51.8s</td>
<td>degree07′06″</td>
<td>790 ± 5</td>
<td>11.7</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1546</span></td>
<td>sa0 +</td>
<td>04h14 m36.5s</td>
<td>degree03′39″</td>
<td>1284 ± 14</td>
<td>11.8</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1553</span></td>
<td>sa (rl) 0 0</td>
<td>04h16 m10.5s</td>
<td>degree46′49″</td>
<td>1080 ± 11</td>
<td>10.3</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1549</span></td>
<td>e0 1</td>
<td>04h15 m45.1s</td>
<td>degree35′32″</td>
<td>1220 ± 15</td>
<td>10.7</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1566</span></td>
<td>(r'_1) sab (rs) bcsy1</td>
<td>04h20 m00.4s</td>
<td>degree56′16″</td>
<td>1504 ± 2</td>
<td>10.3</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1617</span></td>
<td>(r') sab (rs) a</td>
<td>04h31 m39.5s</td>
<td>degree36′08″</td>
<td>1063 ± 21</td>
<td>11.4</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1515</span></td>
<td>sab (s) bc</td>
<td>04h04 m02.7s</td>
<td>degree06′00″</td>
<td>1175 ± 7</td>
<td>12.1</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1705</span></td>
<td>sa0 - pec</td>
<td>04h54 m13.5s</td>
<td>degree21′40″</td>
<td>633 ± 6</td>
<td>12.8</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1596</span></td>
<td>sa0: sp</td>
<td>04h27 m38.1s</td>
<td>degree01′40″</td>
<td>1510 ± 8</td>
<td>12.1</td>
</tr>
</table>
</div>
<hr>
<div class="step">
<div class="step-title">Step 2: Extract the numerical value from the 'dec___j2000' column by identifying the number between '°' and '′' to add column 'dec_deg' to existing table.</div>
<div id="step-0" class="content">
<table>
<tr>
<td>name</td>
<td>type</td>
<td>ra___j2000</td>
<td>dec___j2000</td>
<td>redshift__km___s</td>
<td>apparent_magnitude</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ngc 1574</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sa0 -</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">04h21 m58.8s</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">degree58′29″</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1050 ± 25</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">11.4</span></td>
</tr>
</table>
</div>
</div>
<hr>
<div class="step">
<div class="step-title">Step 3: Extract the numerical value from the 'dec___j2000' column by identifying the number between '′' and '″' to add column 'dec_min' to existing table.</div>
<div id="step-1" class="content">
<table>
<tr>
<td>name</td>
<td>type</td>
<td>ra___j2000</td>
<td>dec___j2000</td>
<td>redshift__km___s</td>
<td>apparent_magnitude</td>
<td>dec_deg</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ngc 1574</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sa0 -</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">04h21 m58.8s</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">degree58′29″</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1050 ± 25</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">11.4</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0.0</span></td>
</tr>
</table>
</div>
</div>
<hr>
<div class="step">
<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1 and the 'dec_deg' is greater than or equal to 58 and the 'dec_min' is greater than or equal to 29, otherwise return FALSE.</div>
<div id="step-2" class="content">
<table>
<tr>
<td>name</td>
<td>type</td>
<td>ra___j2000</td>
<td>dec___j2000</td>
<td>redshift__km___s</td>
<td>apparent_magnitude</td>
<td>dec_deg</td>
<td>dec_min</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ngc 1574</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sa0 -</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">04h21 m58.8s</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">degree58′29″</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1050 ± 25</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">11.4</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0.0</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">29.0</span></td>
</tr>
</table>
</div>
</div>
<hr>
<div class="step">
<div class="step-title">Final output table:</div>
<div id="step-3" class="content">
<table>
<tr>
<td>verification_result</td>
</tr>
<tr>
<td>FALSE</td>
</tr>
</table>
</div>
</div>
<hr>
<h3>Prediction:</span> FALSE</h3>
</body></html>