Question: What country did Maria Theresa Rule that has PÃ©cs?
Answer(s):
answer: Hungary

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0czh6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0czh6 ns:royalty.monarch.kingdom ?x .
?x ns:location.country.administrative_divisions ns:m.01f1ty . 
}