Question: What country has Spanish as their main language, and also has an ISO Alpha 3 of CHL?
Answer(s):
answer: Chile

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.06nm1)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06nm1 ns:language.human_language.countries_spoken_in ?x .
?x ns:location.country.official_language ns:m.06nm1 .
?x ns:location.country.iso_alpha_3 "CHL" . 
}