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<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> there are 3 c - 95 aircrafts of brazilian origin currently in service</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: uruguayan air force</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'origin' is 'brazil'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>aircraft</td>34<td>origin</td>35<td>type</td>36<td>versions</td>37<td>in_service</td>38</tr>39<tr>40<td>cessna a - 37 dragonfly</td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>42<td>attack / fighter</td>43<td>a - 37b</td>44<td>12 (16 delivered)</td>45</tr>46<tr>47<td>fma ia 58 pucarã¡</td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">argentina</span></td>49<td>attack</td>50<td>a - 58</td>51<td>5 (6 delivered)</td>52</tr>53<tr>54<td>lockheed c - 130 hercules</td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>56<td>transport / utility</td>57<td>c - 130b</td>58<td>2</td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">embraer emb 110 bandeirante</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">brazil</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport / utility</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">c - 95</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>66</tr>67<tr>68<td>beechcraft twin bonanza</td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>70<td>transport / utility</td>71<td>d50</td>72<td>1</td>73</tr>74<tr>75<td>casa c - 212 aviocar</td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">spain</span></td>77<td>transport</td>78<td>c - 212 - 200</td>79<td>2</td>80</tr>81<tr>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">embraer emb 120 brasilia</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">brazil</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport</span></td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">emb 120</span></td>86<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>87</tr>88<tr>89<td>cessna 206 stationair</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>91<td>utility / liaison</td>92<td>u206h</td>93<td>10</td>94</tr>95<tr>96<td>beechcraft b58 baron</td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>98<td>trainer / liaison</td>99<td>b - 58</td>100<td>2</td>101</tr>102<tr>103<td>british aerospace 125</td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united kingdom</span></td>105<td>vip transport</td>106<td>700a 600a</td>107<td>2</td>108</tr>109<tr>110<td>aermacchi sf260</td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">italy</span></td>112<td>trainer</td>113<td>t - 260 eu</td>114<td>12</td>115</tr>116<tr>117<td>pilatus pc - 7 turbo trainer</td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">switzerland</span></td>119<td>trainer</td>120<td>- 92</td>121<td>5 (6 delivered)</td>122</tr>123<tr>124<td>cessna t - 41 mescalero</td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>126<td>trainer</td>127<td>t - 41d</td>128<td>7</td>129</tr>130<tr>131<td>aerospatiale as 365 dauphin</td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">france</span></td>133<td>liaison / transport</td>134<td>as 365</td>135<td>1</td>136</tr>137<tr>138<td>bell 212 twin huey</td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>140<td>transport / utility</td>141<td>bell 212</td>142<td>4</td>143</tr>144<tr>145<td>bell uh - 1 iroquois</td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>147<td>transport / utility</td>148<td>uh - 1h</td>149<td>13</td>150</tr>151</table>152</div>153<hr>154<div class="step">155<div class="step-title">Step 2: Select rows where 'type' is 'transport / utility'.</div>156<div id="step-0" class="content">157<table>158<tr>159<td>aircraft</td>160<td>origin</td>161<td>type</td>162<td>versions</td>163<td>in_service</td>164</tr>165<tr>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">embraer emb 110 bandeirante</span></td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brazil</span></td>168<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>169<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">c - 95</span></td>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>171</tr>172<tr>173<td>embraer emb 120 brasilia</td>174<td>brazil</td>175<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport</span></td>176<td>emb 120</td>177<td>1</td>178</tr>179</table>180</div>181</div>182<hr>183<div class="step">184<div class="step-title">Step 3: Select rows where 'versions' is 'c - 95'.</div>185<div id="step-1" class="content">186<table>187<tr>188<td>aircraft</td>189<td>origin</td>190<td>type</td>191<td>versions</td>192<td>in_service</td>193</tr>194<tr>195<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">embraer emb 110 bandeirante</span></td>196<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brazil</span></td>197<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport / utility</span></td>198<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">c - 95</span></td>199<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>200</tr>201</table>202</div>203</div>204<hr>205<div class="step">206<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 3, otherwise return FALSE.</div>207<div id="step-2" class="content">208<table>209<tr>210<td>aircraft</td>211<td>origin</td>212<td>type</td>213<td>versions</td>214<td>in_service</td>215</tr>216<tr>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">embraer emb 110 bandeirante</span></td>218<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">brazil</span></td>219<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>220<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">c - 95</span></td>221<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">3</span></td>222</tr>223</table>224</div>225</div>226<hr>227<div class="step">228<div class="step-title">Final output table:</div>229<div id="step-3" class="content">230<table>231<tr>232<td>verification_result</td>233</tr>234<tr>235<td>FALSE</td>236</tr>237</table>238</div>239</div>240<hr>241<div class="step"><h3><span class="false">Prediction: FALSE </span></h3>242<h3>Ground-truth:</span> TRUE</h3></div>243</body></html>244 