Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-117.html158 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> four of the competitions out of ten were world wide championships</h3>24<h3>Input Table: lukáš melich</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the 'competition' contains the word "world championships".</div>28<div id="step-1" class="content">29<table>30<tr>31<td>year</td>32<td>competition</td>33<td>venue</td>34<td>position</td>35<td>notes</td>36</tr>37<tr>38<td>1998-01-01</td>39<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">world junior championships</span></td>40<td>annecy , france</td>41<td>10th</td>42<td>61.51 m</td>43</tr>44<tr>45<td>1999-01-01</td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">european junior championships</span></td>47<td>riga , latvia</td>48<td>5th</td>49<td>64.20 m</td>50</tr>51<tr>52<td>2001-01-01</td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">european u23 championships</span></td>54<td>amsterdam , netherlands</td>55<td>11th</td>56<td>66.41 m</td>57</tr>58<tr>59<td>2003-01-01</td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">universiade</span></td>61<td>daegu , south korea</td>62<td>4th</td>63<td>71.26 m</td>64</tr>65<tr>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005-01-01</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">world championships</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">helsinki , finland</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14th</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">74.53 m</span></td>71</tr>72<tr>73<td>2006-01-01</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">european championships</span></td>75<td>gothenburg , sweden</td>76<td>15th</td>77<td>73.77 m</td>78</tr>79<tr>80<td>2008-01-01</td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">olympic games</span></td>82<td>beijing , pr china</td>83<td>29th</td>84<td>70.56 m</td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2009-01-01</span></td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">world championships</span></td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">berlin , germany</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14th</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">74.47 m</span></td>92</tr>93<tr>94<td>2012-01-01</td>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">olympic games</span></td>96<td>london , great britain</td>97<td>6th</td>98<td>77.17 m</td>99</tr>100<tr>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2013-01-01</span></td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">world championships</span></td>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">moscow , russia</span></td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3rd</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">79.36 m</span></td>106</tr>107</table>108</div>109<hr>110<div class="step">111<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 4, otherwise return FALSE.</div>112<div id="step-0" class="content">113<table>114<tr>115<td>year</td>116<td>competition</td>117<td>venue</td>118<td>position</td>119<td>notes</td>120</tr>121<tr>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2005-01-01</span></td>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">world championships</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">helsinki , finland</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">14th</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">74.53 m</span></td>127</tr>128<tr>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2009-01-01</span></td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">world championships</span></td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">berlin , germany</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">14th</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">74.47 m</span></td>134</tr>135<tr>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2013-01-01</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">world championships</span></td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">moscow , russia</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">3rd</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">79.36 m</span></td>141</tr>142</table>143</div>144</div>145<hr>146<table>147<tr>148<td>verification_result</td>149</tr>150<tr>151<td>FALSE</td>152</tr>153</table>154</div>155</div>156<hr>157</body></html>158