What is the {dwarf spheroidal galaxy} for {child astronomical body} of {Andromeda Galaxy}
What are the related galactic bodies of the Andromeda System?
What are the associated  astronomical bodies of the Andromeda Galaxy?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:dwarf_spheroidal_galaxy . resource:Andromeda_Galaxy property:child_astronomical_body ?w }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2469> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P398> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q654754> } 
 select distinct ?obj where { wd:Q2469 wdt:P398 ?obj . ?obj wdt:P31 wd:Q654754 } 
Andromeda II NGC 147 Andromeda XXI Andromeda IX Cassiopeia Dwarf Pegasus Dwarf Spheroidal Galaxy Andromeda VIII Andromeda III Andromeda V Andromeda I Andromeda X Andromeda XXII Andromeda XII Andromeda XIII Andromeda XVIII Andromeda XXIII Andromeda XIV Andromeda XI