What is the {dwarf elliptical galaxy} for {parent astronomical body} of {Andromeda Galaxy}
Which elliptical dwarf galaxy for Andromeda Galaxy's parent astronomical body
Which dwarf elliptical galaxy for parent astronomical body of  Andromeda Galaxy
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:dwarf_elliptical_galaxy . ?c property:parent_astronomical_body resource:Andromeda_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/Q234077> } 
 select distinct ?sbj where { ?sbj wdt:P397 wd:Q2469 . ?sbj wdt:P31 wd:Q234077 } 
NGC 185 Messier 110 Messier 32