Question: Which is the city of the twinned administrative body of Hamburg?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q1055 wdt:P190 ?obj . ?obj wdt:P31 wd:Q7930989 } 
Answer: Saint Petersburg, Kaliningrad