What is {twin town} of {subtopic of} of {history of Istanbul} ?
What would be the twin city of the subtopic of Istanbul's history?
What would be the twin city of the subtopic of Istanbul's history?
SELECT ?v WHERE { resource:history_of_Istanbul property:facet_of ?g . ?g property:twinned_administrative_body ?v }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q32357> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1269>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q32357 wdt:P1269 ?X . ?X wdt:P190 ?answer}