What is the {city/town} for {twinned administrative body} of {Hamburg}
[]
Which is the city of the twinned administrative body of Hamburg?
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:city/town . resource:Hamburg property:twinned_administrative_body ?q }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1055> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q7930989> } 
 select distinct ?obj where { wd:Q1055 wdt:P190 ?obj . ?obj wdt:P31 wd:Q7930989 } 
Saint Petersburg Kaliningrad