What is {lived in} of {Florence Nightingale}, that has {diplomatic relation} is {Bangladesh} ?
What lived in Florence Nightingale, Florence Nightingale diplomatic relation in Bangladesh
What lived in Florence Nightingale, Florence Nightingale diplomatic relation in Bangladesh
SELECT ?l WHERE { ?l property:diplomatic_relation resource:Bangladesh . resource:Florence_Nightingale property:residence ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q37103> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551>. ?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/P530> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q902> . }
SELECT ?answer WHERE { wd:Q37103 wdt:P551 ?answer . ?answer wdt:P530 wd:Q902}