Question: Andromeda is the parent of what galaxy?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q2469 wdt:P398 ?obj . ?obj wdt:P31 wd:Q318 }