Did {Cleopatra} {child} {Caesarion}?
Was Caesarion the name of Cleopatra's child?
Was Cleopatra's child named Caesarion?
ASK WHERE { resource:Cleopatra property:child resource:Caesarion }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q635> . ?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/Q39589>. } 
ASK WHERE { wd:Q635 wdt:P40 wd:Q39589 }