What is {twin town} of {Kraków}, that has {continent} is {North America} ?
:What metropolis on the continent of North America is regarded the twin city of Kraków?"
:What city on the continent of North America is considered the twin town of Kraków?"
SELECT ?l WHERE { ?l property:continent resource:North_America . resource:Kraków property:twinned_administrative_body ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q31487> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P30> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q49> . }
SELECT ?answer WHERE { wd:Q31487 wdt:P190 ?answer . ?answer wdt:P30 wd:Q49}
San Francisco Guadalajara, Jalisco, México.