Question: What is the Arabic speaking country that was ruled by Hamad bin Khalifa Al Thani?
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:location.country.official_language ns:m.0jzc .
?x ns:royalty.kingdom.rulers ns:m.01r7hx . 
}