Did {Shiva} {child} {Kartikeya}?
What was the name of Kartikeya child? Shiva?
Was Shiva the child of Kartikeya?
ASK WHERE { resource:Shiva property:child resource:Murugan }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11378> . ?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/Q380817>. } 
ASK WHERE { wd:Q11378 wdt:P40 wd:Q380817 }