Did {Rita_Hayworth} {spouse} {Orson Welles} and {Prince Aly Khan} ?
Was Orson Wells and Prince Aly Khan married to Rita Hayworth?
Did RitaHayworth had spouse Orson Welles and Prince Aly Khan}
ASK WHERE { resource:Rita_Hayworth property:spouse resource:Orson_Welles . resource:Rita_Hayworth property:spouse resource:Prince_Aly_Khan }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42745> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q24829>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42745> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q450229>. } 
ASK WHERE { wd:Q42745 wdt:P26 wd:Q24829 . wd:Q42745 wdt:P26 wd:Q450229 }