What is the {dwarf spheroidal galaxy} for {parent astronomical body} of {Andromeda Galaxy}
What is the predominate spheroidal system of the Andromeda Galaxy?
What is the dwarf spheroidal galaxy of the Andromeda Galaxy?
SELECT DISTINCT ?r WHERE { ?r property:parent_astronomical_body resource:Andromeda_Galaxy . ?r rdf:type ontology:dwarf_spheroidal_galaxy }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P397> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2469> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q654754> } 
 select distinct ?sbj where { ?sbj wdt:P397 wd:Q2469 . ?sbj 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 Andromeda XV