what is the {applies to part} for {Sagittarius A} has {discoverer or inventor} as {Andrea M. Ghez} ?
which one was the Sagittarius A, discovered by Andrea M. Ghez
What was Sagittarius A, discovered by Andrea M. Ghez?
SELECT ?r WHERE { resource:Sagittarius_A* property:discoverer_or_inventor ?i . ?i property:applies_to_part ?r . ?i property:discoverer_or_inventor resource:Andrea_M._Ghez }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q237284> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P61> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q493956> .
?statement <http://www.wikidata.org/entity/P518> ?value. 
} 

SELECT ?value WHERE { wd:Q237284 p:P61 ?s . ?s ps:P61 wd:Q493956 . ?s pq:P518 ?value}