Plan-of-SQLs (Ours)


Statement: multiple people were prison escapists and each left the cube alive

Ground-truth: FALSE

Input Table: cube (film series)

Step 1: Select rows where 'prison_connection' is not null.
name occupation gender prison_connection played_by status
kazan autistic savant male kazan prison (russia) andrew miller alive after exiting the cube
david worth architect male leavenworth prison (usa) david hewlett dead
quentin police officer male san quentin state prison (usa) maurice dean wint dead
joan leaven mathematics student female leavenworth prison (usa) nicole de boer dead
dr helen holloway free clinic doctor female holloway women 's prison (uk) nicky guadagni dead
rennes prison escapist male centre pãnitentiaire de rennes (france) wayne robson dead

Step 2: Select rows where 'status' is 'alive after exiting the cube'.
name occupation gender prison_connection played_by status
kazan autistic savant male kazan prison (russia) andrew miller alive after exiting the cube
david worth architect male leavenworth prison (usa) david hewlett dead
quentin police officer male san quentin state prison (usa) maurice dean wint dead
joan leaven mathematics student female leavenworth prison (usa) nicole de boer dead
dr helen holloway free clinic doctor female holloway women 's prison (uk) nicky guadagni dead
rennes prison escapist male centre pãnitentiaire de rennes (france) wayne robson dead

Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to the number of rows in the previous step, otherwise return FALSE.
name occupation gender prison_connection played_by status
kazan autistic savant male kazan prison (russia) andrew miller alive after exiting the cube

Final output table:
verification_result
TRUE

Prediction: TRUE

Ground-truth: FALSE