What is the {dwarf elliptical galaxy} for {child astronomical body} of {Andromeda Galaxy}
[]
Which is the dwarf elliptical galaxy for the child astronomical body of the Andromeda Galaxy?
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:dwarf_elliptical_galaxy . resource:Andromeda_Galaxy property:child_astronomical_body ?p }
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/Q234077> } 
 select distinct ?obj where { wd:Q2469 wdt:P398 ?obj . ?obj wdt:P31 wd:Q234077 } 
NGC 185 Messier 110 Messier 32