Question: What country has a government office holder named Warren Hastings and was ruled by Queen Victoria?
Answer(s):
answer: British Raj

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0cw10)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0cw10 ns:government.political_appointer.appointees ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.office_holder ns:m.016g3_ . 
}