CREATE TABLE "notes" (
  "born_as" text,
  "consort_as" text,
  "born" text,
  "marriage" text,
  "consort_from" text,
  "consort_to" text,
  "died" text,
  "spouse_to" text
);

Question: When did the consort who had talal i as a spouse die?
SQL: SELECT "died" FROM "notes" WHERE "spouse_to"='talal i';

Question: Who was the spouse of the consort who was born as rania al yassin?
SQL: SELECT "spouse_to" FROM "notes" WHERE "born_as"='rania al yassin';