What is {significant other} of {Imran Khan}, that has {gender} is {female} ?
Who is Imran Khan's sizeable other, whose gender is female?
Who is Imran Khan's significant other, whose gender is female?
SELECT ?i WHERE { resource:Imran_Khan property:unmarried_partner ?i . ?i property:sex_or_gender resource:female }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q155164> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P451>. ?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/P21> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6581072> . }
SELECT ?answer WHERE { wd:Q155164 wdt:P451 ?answer . ?answer wdt:P21 wd:Q6581072}
Emma Sergeant