luulinh90s/Tabular-LLM-Study-Preference-Ranking
0
1<html><head>2<style>3body { font-family: Arial, sans-serif; margin: 20px; }4h1 { text-align: center; }5.cot-title { color: blue; }6.pos-title { color: green; }7h2 { color: black; text-align: left; }8h3 { color: black; text-align: left; }9h4 { color: darkslategray; }10table { width: 100%; border-collapse: collapse; margin: 20px 0; }11table, th, td { border: 1px solid #ddd; padding: 8px; }12th { background-color: #f2f2f2; }13tr:nth-child(even) { background-color: #f9f9f9; }14.highlight { background-color: #ffffcc; }15.true { color: green; }16.false { color: red; }17.highlighted-cell { background-color: yellow; cursor: pointer; }18.step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }19.step { display: block; }20</style>21</head><body>22<hr>23<h3><span>Statement:</span> nesheim bridge is in mcville</h3>24<h3>Input Table: list of bridges on the national register of historic places in north dakota</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'name' is 'nesheim bridge'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>name</td>32<td>listed</td>33<td>location</td>34<td>county</td>35<td>type</td>36</tr>37<tr>38<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">beaver creek bridge</span></td>39<td>1997-02-27</td>40<td>finley</td>41<td>steele</td>42<td>pratt through truss</td>43</tr>44<tr>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">caledonia bridge</span></td>46<td>1997-02-27</td>47<td>caledonia</td>48<td>traill</td>49<td>pratt through truss</td>50</tr>51<tr>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cedar creek bridge</span></td>53<td>1997-02-27</td>54<td>haynes</td>55<td>adams</td>56<td>pratt through truss</td>57</tr>58<tr>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">colton 's crossing bridge</span></td>60<td>1997-02-27</td>61<td>lisbon</td>62<td>ransom</td>63<td>pratt through truss</td>64</tr>65<tr>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">crystal bridge</span></td>67<td>1997-05-30</td>68<td>crystal</td>69<td>pembina</td>70<td>concrete t - beam bridge</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">eastwood park bridge</span></td>74<td>1975-04-21</td>75<td>minot</td>76<td>ward</td>77<td>cantilever type</td>78</tr>79<tr>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">elliott bridge</span></td>81<td>1997-02-27</td>82<td>towner</td>83<td>mchenry</td>84<td>pratt through truss</td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fairview lift bridge</span></td>88<td>1997-03-14</td>89<td>cartwright</td>90<td>mckenzie</td>91<td>railroad lift bridge</td>92</tr>93<tr>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">grace city bridge</span></td>95<td>1997-02-27</td>96<td>grace city</td>97<td>foster</td>98<td>pratt through truss</td>99</tr>100<tr>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">great northern railway underpass</span></td>102<td>1997-02-27</td>103<td>stanley</td>104<td>mountrail</td>105<td>concrete deck girder bridge</td>106</tr>107<tr>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">knife river bridge near stanton</span></td>109<td>2001-04-25</td>110<td>stanton</td>111<td>mercer</td>112<td>pratt through truss</td>113</tr>114<tr>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lisbon bridge</span></td>116<td>1997-02-27</td>117<td>lisbon</td>118<td>ransom</td>119<td>steel cantilever bean bridge</td>120</tr>121<tr>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">midland continental overpass</span></td>123<td>1997-02-27</td>124<td>jamestown</td>125<td>stutsman</td>126<td>steel cantilever beam bridge</td>127</tr>128<tr>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">midway bridge</span></td>130<td>1997-02-27</td>131<td>johnstown</td>132<td>grand forks</td>133<td>warren bedstead bridge</td>134</tr>135<tr>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">nesheim bridge</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1997-02-27</span></td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mcville</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nelson</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pratt through truss</span></td>141</tr>142<tr>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">new rockford bridge</span></td>144<td>1997-03-13</td>145<td>new rockford closed to traffic</td>146<td>eddy</td>147<td>warren through truss bridge</td>148</tr>149<tr>150<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">northwood bridge</span></td>151<td>1997-02-27</td>152<td>northwood</td>153<td>grand forks</td>154<td>pratt pony truss</td>155</tr>156<tr>157<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">norway bridge</span></td>158<td>1997-02-27</td>159<td>mayville</td>160<td>traill</td>161<td>pratt pony truss</td>162</tr>163<tr>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ost valle bridge</span></td>165<td>1997-02-27</td>166<td>thompson</td>167<td>grand forks</td>168<td>pratt through truss</td>169</tr>170<tr>171<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">romness bridge</span></td>172<td>1997-02-27</td>173<td>cooperstown</td>174<td>griggs</td>175<td>pratt through truss</td>176</tr>177<tr>178<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sorlie memorial bridge</span></td>179<td>1999-07-19</td>180<td>grand forks</td>181<td>grand forks</td>182<td>parker through truss bridge</td>183</tr>184<tr>185<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">viking bridge</span></td>186<td>1997-02-27</td>187<td>portland</td>188<td>traill</td>189<td>pratt through truss</td>190</tr>191<tr>192<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">west antelope bridge</span></td>193<td>1997-02-27</td>194<td>flora</td>195<td>benson</td>196<td>pratt pony truss bridge</td>197</tr>198<tr>199<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">west park bridge</span></td>200<td>1997-02-27</td>201<td>valley city</td>202<td>barnes</td>203<td>concrete false arch bridge</td>204</tr>205<tr>206<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">westgaard bridge</span></td>207<td>1997-02-27</td>208<td>voltaire</td>209<td>mchenry</td>210<td>pratt pony through truss</td>211</tr>212<tr>213<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">blanchard bridge</span></td>214<td>1997-02-27</td>215<td>blanchard</td>216<td>traill</td>217<td>pratt through truss</td>218</tr>219<tr>220<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">goose river bridge</span></td>221<td>1997-02-27</td>222<td>hillsboro</td>223<td>traill</td>224<td>pratt through truss</td>225</tr>226<tr>227<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">liberty memorial bridge</span></td>228<td>1997-03-11 removed 2009-03-25</td>229<td>bismarck</td>230<td>burleigh</td>231<td>warren - turner through truss</td>232</tr>233<tr>234<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">porter elliott bridge</span></td>235<td>1997-02-27</td>236<td>hillsboro</td>237<td>traill</td>238<td>warren through truss</td>239</tr>240<tr>241<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">portland park bridge</span></td>242<td>2004-09-23</td>243<td>portland</td>244<td>traill</td>245<td>steel through girder</td>246</tr>247<tr>248<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rainbow arch bridge</span></td>249<td>2004-09-23</td>250<td>valley city</td>251<td>barnes</td>252<td>marsh rainbow arch</td>253</tr>254</table>255</div>256<hr>257<div class="step">258<div class="step-title">Step 2: Select rows where 'location' is 'mcville'.</div>259<div id="step-0" class="content">260<table>261<tr>262<td>name</td>263<td>listed</td>264<td>location</td>265<td>county</td>266<td>type</td>267</tr>268<tr>269<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nesheim bridge</span></td>270<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1997-02-27</span></td>271<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mcville</span></td>272<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nelson</span></td>273<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pratt through truss</span></td>274</tr>275</table>276</div>277</div>278<hr>279<div class="step">280<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>281<div id="step-1" class="content">282<table>283<tr>284<td>name</td>285<td>listed</td>286<td>location</td>287<td>county</td>288<td>type</td>289</tr>290<tr>291<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">nesheim bridge</span></td>292<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1997-02-27</span></td>293<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mcville</span></td>294<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">nelson</span></td>295<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">pratt through truss</span></td>296</tr>297</table>298</div>299</div>300<hr>301<table>302<tr>303<td>verification_result</td>304</tr>305<tr>306<td>TRUE</td>307</tr>308</table>309</div>310</div>311<hr>312</body></html>313 