Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1560.html201 linesDownload Raw Back to FN
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> in 1998 , n / a won the lifetime achievement award</h3>24<h3>Input Table: ned kelly awards</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'year' is '1998-01-01'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>year</td>32<td>best_teenage___young_adult</td>33<td>reader__s_vote</td>34<td>best_non___fiction</td>35<td>lifetime_achievement</td>36</tr>37<tr>38<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1996-01-01</span></td>39<td>na</td>40<td>na</td>41<td>na</td>42<td>jon cleary</td>43</tr>44<tr>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1997-01-01</span></td>46<td>na</td>47<td>na</td>48<td>how to write crime edited by marele day</td>49<td>alan yates (aka carter brown )</td>50</tr>51<tr>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1998-01-01</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">na</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">na</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">na</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">na</span></td>57</tr>58<tr>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1999-01-01</span></td>60<td>na</td>61<td>na</td>62<td>na</td>63<td>peter corris</td>64</tr>65<tr>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000-01-01</span></td>67<td>na</td>68<td>na</td>69<td>na</td>70<td>na</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2001-01-01</span></td>74<td>na</td>75<td>bleeding hearts by lindy cameron</td>76<td>na</td>77<td>professor stephen knight</td>78</tr>79<tr>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-01-01</span></td>81<td>blue murder by ken catran</td>82<td>apartment 255 by bunty avieson</td>83<td>na</td>84<td>patrick gallagher</td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-01-01</span></td>88<td>na</td>89<td>na</td>90<td>na</td>91<td>kerry greenwood</td>92</tr>93<tr>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004-01-01</span></td>95<td>na</td>96<td>na</td>97<td>na</td>98<td>bob bottom</td>99</tr>100<tr>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005-01-01</span></td>102<td>na</td>103<td>na</td>104<td>na</td>105<td>stuart coupe</td>106</tr>107<tr>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-01-01</span></td>109<td>na</td>110<td>na</td>111<td>na</td>112<td>andrew rule and john silvester</td>113</tr>114<tr>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2007-01-01</span></td>116<td>na</td>117<td>na</td>118<td>na</td>119<td>sandra harvey and lindsay simpson</td>120</tr>121<tr>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-01-01</span></td>123<td>na</td>124<td>na</td>125<td>na</td>126<td>marele day</td>127</tr>128<tr>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2009-01-01</span></td>130<td>na</td>131<td>na</td>132<td>na</td>133<td>shane maloney</td>134</tr>135<tr>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2010-01-01</span></td>137<td>na</td>138<td>na</td>139<td>na</td>140<td>peter doyle</td>141</tr>142<tr>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2011-01-01</span></td>144<td>na</td>145<td>na</td>146<td>na</td>147<td>na</td>148</tr>149</table>150</div>151<hr>152<div class="step">153<div class="step-title">Step 2: Select rows where 'lifetime_achievement' is 'n/a'.</div>154<div id="step-0" class="content">155<table>156<tr>157<td>year</td>158<td>best_teenage___young_adult</td>159<td>reader__s_vote</td>160<td>best_non___fiction</td>161<td>lifetime_achievement</td>162</tr>163<tr>164<td>1998-01-01</td>165<td>na</td>166<td>na</td>167<td>na</td>168<td>na</td>169</tr>170</table>171</div>172</div>173<hr>174<div class="step">175<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>176<div id="step-1" class="content">177<table>178<tr>179<td>year</td>180<td>best_teenage___young_adult</td>181<td>reader__s_vote</td>182<td>best_non___fiction</td>183<td>lifetime_achievement</td>184</tr>185</table>186</div>187</div>188<hr>189<table>190<tr>191<td>verification_result</td>192</tr>193<tr>194<td>FALSE</td>195</tr>196</table>197</div>198</div>199<hr>200</body></html>201