What is the {city} for {twinned administrative body} of {Hamburg}
Who is the { city } of { Hamburg } for the { twined administrative body }
Who is the {city} for {twinned administrative body} of {Hamburg}
SELECT DISTINCT ?g WHERE { resource:Hamburg property:twinned_administrative_body ?g . ?g rdf:type ontology:city }
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/Q515> } 
 select distinct ?obj where { wd:Q1055 wdt:P190 ?obj . ?obj wdt:P31 wd:Q515 } 
León Dresden Dar es Salaam Shanghai Auckland