Did {Patty_Duke} {child} {Sean Astin} and {Mackenzie Astin} ?
Are Patty Duke's children named Sean and Mackenzie Astin?
Are Sean Astin and Mackenzie Astin children of  Patty Duke?
ASK WHERE { resource:Patty_Duke property:child resource:Sean_Astin . resource:Patty_Duke property:child resource:Mackenzie_Astin }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q232538> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q189351>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q232538> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2575752>. } 
ASK WHERE { wd:Q232538 wdt:P40 wd:Q189351 . wd:Q232538 wdt:P40 wd:Q2575752 }