Did {Rani_Mukerji} {relative} {Ayan Mukerji} and {Debashree Roy} ?
Are Ayan Mukerji or Debashree Roy family members of Rani Mukerji?
Is Rani Mukerji related to either Ayan Mukerji or Debashree Roy?
ASK WHERE { resource:Rani_Mukherjee property:relative resource:Ayan_Mukerji . resource:Rani_Mukherjee property:relative resource:Debashree_Roy }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q485557> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1038> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q4830910>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q485557> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1038> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3349817>. } 
ASK WHERE { wd:Q485557 wdt:P1038 wd:Q4830910 . wd:Q485557 wdt:P1038 wd:Q3349817 }