CREATE TABLE "references" (
  "village_german" text,
  "village_slovenian" text,
  "number_of_people_1991" real,
  "percent_of_slovenes_1991" text,
  "percent_of_slovenes_1951" text
);

Question: What are the slovenian names of the villages that had 65.9% of slovenes in 1951?
SQL: SELECT "village_slovenian" FROM "references" WHERE "percent_of_slovenes_1951"='65.9%';

Question: What are the slovenian names of the villages that had 16.7% of slovenes in 1991?
SQL: SELECT "village_slovenian" FROM "references" WHERE "percent_of_slovenes_1991"='16.7%';

Question: How many villages had 21.7% of slovenes in 1991?
SQL: SELECT COUNT("village_german") FROM "references" WHERE "percent_of_slovenes_1991"='21.7%';

Question: what percent of slovenes did the village called čahorče in slovenian have in 1991?
SQL: SELECT "percent_of_slovenes_1991" FROM "references" WHERE "village_slovenian"='Čahorče';

Question: What is the slovenian name for the village that in german is known as st.margarethen?
SQL: SELECT "village_slovenian" FROM "references" WHERE "village_german"='St.Margarethen';