What is {resting place} of {Hayreddin Barbarossa}, that has {sister town} is {Lagos} ?
What is Hayreddin Barbarossa's resting place, having a sister in Lagos?
What is the resting place of Hayreddin Barbarossa, that has a sister in Lagos?
SELECT ?f WHERE { ?f property:twinned_administrative_body resource:Lagos . resource:Hayreddin_Barbarossa property:place_of_burial ?f }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q200582> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P119>. ?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/P190> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8673> . }
SELECT ?answer WHERE { wd:Q200582 wdt:P119 ?answer . ?answer wdt:P190 wd:Q8673}
Istanbul