CREATE TABLE "names_and_attributes" (
  "name" text,
  "direction" text,
  "mantra" text,
  "weapon" text,
  "consort" text,
  "graha_planet" text,
  "guardian_m_t_k" text
);

Question: What is the  guardian mātṛkā for the guardian whose consort is Svāhā?
SQL: SELECT "guardian_m_t_k" FROM "names_and_attributes" WHERE "consort"='Svāhā';

Question: Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian?
SQL: SELECT "direction" FROM "names_and_attributes" WHERE "mantra"='Oṃ Yaṃ Vāyuve Namaḥ';

Question: What weapon is used by the guardian whose consort is śacī?
SQL: SELECT "weapon" FROM "names_and_attributes" WHERE "consort"='Śacī';

Question: What are the directions for the guardian whose weapon is khaḍga (sword)?
SQL: SELECT "direction" FROM "names_and_attributes" WHERE "weapon"='Khaḍga (sword)';

Question: What are the weapons used by guardians for the direction East?
SQL: SELECT "weapon" FROM "names_and_attributes" WHERE "direction"='East';

Question: What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)?
SQL: SELECT "direction" FROM "names_and_attributes" WHERE "graha_planet"='Bṛhaspati (Jupiter)';