Did {Neptune} {child astronomical body} {Larissa} and {Galatea} ?
Are Larissa and Galatea the astronomical children of Neptune?
Was Neptune child astronomical body Larissa and Galatea ?
ASK WHERE { resource:Neptune property:child_astronomical_body resource:Larissa . resource:Neptune property:child_astronomical_body resource:Galatea }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q332> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P398> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q19471>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q332> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P398> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q19464>. } 
ASK WHERE { wd:Q332 wdt:P398 wd:Q19471 . wd:Q332 wdt:P398 wd:Q19464 }