Table: bohemian_consorts
Columns: father
birth
marriage
became_queen
ceased_to_be_queen
death
spouse

Question: What is the name of the father who was born in 1204 and married ottokar ii?
SQL: SELECT "father" FROM bohemian_consorts WHERE "spouse" = 'ottokar ii' AND "birth" = '1204'

Question: What is the birth date of the woman who ceased to be Queen on 18 Jun 1297?
SQL: SELECT "birth" FROM bohemian_consorts WHERE "ceased_to_be_queen" = '18 jun 1297'

Question: Leopold VI, Duke of Austria is the father-in-law of which person?
SQL: SELECT "spouse" FROM bohemian_consorts WHERE "father" = 'leopold vi, duke of austria'

Question: What is the birth date of the person who died on 18 October 1335?
SQL: SELECT "birth" FROM bohemian_consorts WHERE "death" = '18 october 1335'

Question: When did the person who died on 6 Dec 1240 get married?
SQL: SELECT "marriage" FROM bohemian_consorts WHERE "death" = '6 dec 1240'