What is {has planet} of {orbits} of {Io} ?
What planet does Io orbit?
Which planet orbits Io?
SELECT ?z WHERE { ?j property:child_astronomical_body ?z . resource:Io property:parent_astronomical_body ?j }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3123> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P397>. ?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/P398> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q3123 wdt:P397 ?X . ?X wdt:P398 ?answer}
rings of Jupiter Io Callisto Europa Ganymede Amalthea Metis Adrastea Thebe Themisto Leda Himalia Lysithea Elara Carpo Euporie Thelxinoe Euanthe Helike Orthosie Iocaste Praxidike Harpalyke Mneme Hermippe Thyone Ananke Herse Aitne Kale Taygete Chaldene Erinome Aoede Kallichore Kalyke Carme Callirrhoe Eurydome Pasithee Cyllene Eukelade Pasiphae Hegemone Arche Isonoe Sinope Sponde Autonoe Kore Megaclite 8241 Agrius Dia S/2003.12 Eupheme S/2003.18 S/2003.10 S/2003.9 Eirene S/2003.2 S/2003.4 S/2003.19 S/2003.16 Philophrosyne S/2003.23 main ring Jupiter LI Jupiter LII Halo ring Jupiter LXXII S/2011.2 gossamer rings S/2016.1 S/2017.1 Valetudo Ersa Pandia S/2017.9 S/2017.2 Jupiter LXIX S/2017.5 S/2017.6 S/2017.3 Jupiter LXVIII