CREATE TABLE "churches_in_luster" (
  "parish_prestegjeld" text,
  "sub_parish_sogn" text,
  "church_name" text,
  "year_built" real,
  "location_of_the_church" text
);

Question: Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish?
SQL: SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "year_built">1894 AND "parish_prestegjeld"='jostedal parish';

Question: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje?
SQL: SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "parish_prestegjeld"='hafslo parish' AND "church_name"='hafslo kyrkje';

Question: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes?
SQL: SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "parish_prestegjeld"='hafslo parish' AND "location_of_the_church"='urnes';

Question: Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne?
SQL: SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "year_built"<1883 AND "parish_prestegjeld"='jostedal parish' AND "location_of_the_church"='gaupne';

Question: Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje?
SQL: SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "church_name"='jostedal kyrkje';