luulinh90s/Tabular-LLM-Study-Preference-Ranking
0
1 2<html><head>3<style>4body { font-family: Arial, sans-serif; margin: 20px; }5h1 { text-align: center; }6.cot-title { color: blue; }7.pos-title { color: green; }8h2 { color: black; text-align: left; }9h3 { color: black; text-align: left; }10h4 { color: darkslategray; }11table { width: 100%; border-collapse: collapse; margin: 20px 0; }12table, th, td { border: 1px solid #ddd; padding: 8px; }13th { background-color: #f2f2f2; }14tr:nth-child(even) { background-color: #f9f9f9; }15.highlight { background-color: #ffffcc; }16.true { color: green; }17.false { color: red; }18.highlighted-cell { background-color: yellow; cursor: pointer; }19.step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }20.step { display: block; }21.sql-command { background-color: #f0f0f0; padding: 10px; border-left: 4px solid #4CAF50; font-family: monospace; white-space: pre-wrap; }22</style>23</head><body>24<hr>25<h3><span>Statement:</span> multiple people were prison escapists and each left the cube alive</h3>26<h3>Input Table: cube (film series)</h3>27<div class="step">28<table>29<tr><td>name</td><td>occupation</td><td>gender</td><td>prison_connection</td><td>played_by</td><td>status</td></tr><tr><td>kazan</td><td>autistic savant</td><td>male</td><td>kazan prison (russia)</td><td>andrew miller</td><td>alive after exiting the cube</td></tr><tr><td>david worth</td><td>architect</td><td>male</td><td>leavenworth prison (usa)</td><td>david hewlett</td><td>dead</td></tr><tr><td>quentin</td><td>police officer</td><td>male</td><td>san quentin state prison (usa)</td><td>maurice dean wint</td><td>dead</td></tr><tr><td>joan leaven</td><td>mathematics student</td><td>female</td><td>leavenworth prison (usa)</td><td>nicole de boer</td><td>dead</td></tr><tr><td>dr helen holloway</td><td>free clinic doctor</td><td>female</td><td>holloway women 's prison (uk)</td><td>nicky guadagni</td><td>dead</td></tr><tr><td>rennes</td><td>prison escapist</td><td>male</td><td>centre pãnitentiaire de rennes (france)</td><td>wayne robson</td><td>dead</td></tr>30</table>31</div>32<h3>SQL Command:</h3>33<div class="sql-command">SELECT 34 CASE 35 WHEN COUNT(*) = (SELECT COUNT(*) FROM table_sql WHERE prison_connection IS NOT NULL AND status = 'alive after exiting the cube') 36 THEN 'TRUE' 37 ELSE 'FALSE' 38 END 39FROM table_sql 40WHERE prison_connection IS NOT NULL AND status = 'alive after exiting the cube';</div>41</body></html>42 