What is the {inner planet} for {child astronomical body} of {Mir}
Which is the internal planet that's a child cosmic body of Mir?
Which is the inner planet that is a child astronomical body of Mir?
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:inner_planet . ?x property:child_astronomical_body resource:Mir }
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/P398> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q48604> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3504248> } 
 select distinct ?sbj where { ?sbj wdt:P398 wd:Q48604 . ?sbj wdt:P31 wd:Q3504248 } 
Earth