prepared queries for continents

Prepared the queries.