Table: countesses_flanders
Columns: name
father
birth
marriage
became_countess
ceased_to_be_countess
death
spouse

Question: What is the date of death of the Countess of Flanders who was born in 1309?
SQL: SELECT "death" FROM countesses_flanders WHERE "birth" = '1309'

Question: What is the date of death of the Countess of Flanders who was born in 1309?
SQL: SELECT "death" FROM countesses_flanders WHERE "birth" = '1309'

Question: Who was Margaret of Brabant's spouse?
SQL: SELECT "spouse" FROM countesses_flanders WHERE "name" = 'margaret of brabant'