What is {part of constellation} of {orbited by} of {Milky Way} ?
Which constellation contains the Milky Way?
What part of the constellation orbits the Milky Way?
SELECT ?k WHERE { ?z property:constellation ?k . resource:Milky_Way property:child_astronomical_body ?z }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q321> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P398>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P59> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q321 wdt:P398 ?X . ?X wdt:P59 ?answer}
Draco Leo Leo Ursa Minor Sagittarius Sextans Ursa Major Sculptor Ursa Major Pisces Canis Major Hercules Canes Venatici Leo Leo Cetus Carina Boötes Canes Venatici Boötes Dorado Ursa Major Sagittarius Indus Antlia