Did {Jupiter} {child astronomical body} {Amalthea}?
Is Amalthea the astronomical child body of Jupiter?
Was Jupiter's child astronomical body Amalthea?
ASK WHERE { resource:Jupiter property:child_astronomical_body resource:Amalthea }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q319> . ?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/Q3257>. } 
ASK WHERE { wd:Q319 wdt:P398 wd:Q3257 }