Question: Which country ruled by Hamad bin Khalifa Al Thani has the language of Arabic?
Answer(s):
answer: Qatar

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:royalty.kingdom.rulers ns:m.01r7hx . 
}