What is {subtopic of} of {geological history of Earth}, that has {has moon} is {Moon} ?
The Moon is found in which subtopic of the geographical history of the Soil that has moon within the name?
The Moon is found in which subtopic of the geological history of the Earth that has moon in the name?
SELECT ?r WHERE { ?r property:child_astronomical_body resource:Moon . resource:geological_history_of_Earth property:facet_of ?r }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2389585> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1269>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?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> <http://wikidata.dbpedia.org/resource/Q405> . }
SELECT ?answer WHERE { wd:Q2389585 wdt:P1269 ?answer . ?answer wdt:P398 wd:Q405}