Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-973.html306 linesDownload Raw Back to TP
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> cooperstown has a pratt through truss type bridge</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 'location' is 'cooperstown'.</div>28<div class="content" id="step-1">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>beaver creek bridge</td>39<td>1997-02-27</td>40<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">finley</span></td>41<td>steele</td>42<td>pratt through truss</td>43</tr>44<tr>45<td>caledonia bridge</td>46<td>1997-02-27</td>47<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">caledonia</span></td>48<td>traill</td>49<td>pratt through truss</td>50</tr>51<tr>52<td>cedar creek bridge</td>53<td>1997-02-27</td>54<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">haynes</span></td>55<td>adams</td>56<td>pratt through truss</td>57</tr>58<tr>59<td>colton 's crossing bridge</td>60<td>1997-02-27</td>61<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lisbon</span></td>62<td>ransom</td>63<td>pratt through truss</td>64</tr>65<tr>66<td>crystal bridge</td>67<td>1997-05-30</td>68<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">crystal</span></td>69<td>pembina</td>70<td>concrete t - beam bridge</td>71</tr>72<tr>73<td>eastwood park bridge</td>74<td>1975-04-21</td>75<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">minot</span></td>76<td>ward</td>77<td>cantilever type</td>78</tr>79<tr>80<td>elliott bridge</td>81<td>1997-02-27</td>82<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">towner</span></td>83<td>mchenry</td>84<td>pratt through truss</td>85</tr>86<tr>87<td>fairview lift bridge</td>88<td>1997-03-14</td>89<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">cartwright</span></td>90<td>mckenzie</td>91<td>railroad lift bridge</td>92</tr>93<tr>94<td>grace city bridge</td>95<td>1997-02-27</td>96<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">grace city</span></td>97<td>foster</td>98<td>pratt through truss</td>99</tr>100<tr>101<td>great northern railway underpass</td>102<td>1997-02-27</td>103<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stanley</span></td>104<td>mountrail</td>105<td>concrete deck girder bridge</td>106</tr>107<tr>108<td>knife river bridge near stanton</td>109<td>2001-04-25</td>110<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stanton</span></td>111<td>mercer</td>112<td>pratt through truss</td>113</tr>114<tr>115<td>lisbon bridge</td>116<td>1997-02-27</td>117<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lisbon</span></td>118<td>ransom</td>119<td>steel cantilever bean bridge</td>120</tr>121<tr>122<td>midland continental overpass</td>123<td>1997-02-27</td>124<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jamestown</span></td>125<td>stutsman</td>126<td>steel cantilever beam bridge</td>127</tr>128<tr>129<td>midway bridge</td>130<td>1997-02-27</td>131<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">johnstown</span></td>132<td>grand forks</td>133<td>warren bedstead bridge</td>134</tr>135<tr>136<td>nesheim bridge</td>137<td>1997-02-27</td>138<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mcville</span></td>139<td>nelson</td>140<td>pratt through truss</td>141</tr>142<tr>143<td>new rockford bridge</td>144<td>1997-03-13</td>145<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new rockford closed to traffic</span></td>146<td>eddy</td>147<td>warren through truss bridge</td>148</tr>149<tr>150<td>northwood bridge</td>151<td>1997-02-27</td>152<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">northwood</span></td>153<td>grand forks</td>154<td>pratt pony truss</td>155</tr>156<tr>157<td>norway bridge</td>158<td>1997-02-27</td>159<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mayville</span></td>160<td>traill</td>161<td>pratt pony truss</td>162</tr>163<tr>164<td>ost valle bridge</td>165<td>1997-02-27</td>166<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">thompson</span></td>167<td>grand forks</td>168<td>pratt through truss</td>169</tr>170<tr>171<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">romness bridge</span></td>172<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997-02-27</span></td>173<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">cooperstown</span></td>174<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">griggs</span></td>175<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pratt through truss</span></td>176</tr>177<tr>178<td>sorlie memorial bridge</td>179<td>1999-07-19</td>180<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">grand forks</span></td>181<td>grand forks</td>182<td>parker through truss bridge</td>183</tr>184<tr>185<td>viking bridge</td>186<td>1997-02-27</td>187<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">portland</span></td>188<td>traill</td>189<td>pratt through truss</td>190</tr>191<tr>192<td>west antelope bridge</td>193<td>1997-02-27</td>194<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">flora</span></td>195<td>benson</td>196<td>pratt pony truss bridge</td>197</tr>198<tr>199<td>west park bridge</td>200<td>1997-02-27</td>201<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">valley city</span></td>202<td>barnes</td>203<td>concrete false arch bridge</td>204</tr>205<tr>206<td>westgaard bridge</td>207<td>1997-02-27</td>208<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">voltaire</span></td>209<td>mchenry</td>210<td>pratt pony through truss</td>211</tr>212<tr>213<td>blanchard bridge</td>214<td>1997-02-27</td>215<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">blanchard</span></td>216<td>traill</td>217<td>pratt through truss</td>218</tr>219<tr>220<td>goose river bridge</td>221<td>1997-02-27</td>222<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hillsboro</span></td>223<td>traill</td>224<td>pratt through truss</td>225</tr>226<tr>227<td>liberty memorial bridge</td>228<td>1997-03-11 removed 2009-03-25</td>229<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bismarck</span></td>230<td>burleigh</td>231<td>warren - turner through truss</td>232</tr>233<tr>234<td>porter elliott bridge</td>235<td>1997-02-27</td>236<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hillsboro</span></td>237<td>traill</td>238<td>warren through truss</td>239</tr>240<tr>241<td>portland park bridge</td>242<td>2004-09-23</td>243<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">portland</span></td>244<td>traill</td>245<td>steel through girder</td>246</tr>247<tr>248<td>rainbow arch bridge</td>249<td>2004-09-23</td>250<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">valley city</span></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 'type' is 'pratt through truss'.</div>259<div class="content" id="step-0">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" style="background-color:yellow;" title="Used in transformation">romness bridge</span></td>270<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997-02-27</span></td>271<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">cooperstown</span></td>272<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">griggs</span></td>273<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">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 greater than or equal to 1, otherwise return FALSE.</div>281<div class="content" id="step-1">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" style="background-color:#90EE90;" title="Used in transformation">romness bridge</span></td>292<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1997-02-27</span></td>293<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">cooperstown</span></td>294<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">griggs</span></td>295<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">pratt through truss</span></td>296</tr>297</table>298</div>299</div>300<hr/>301 302</div>303</div>304<hr/>305</body></html>306