What is {parent body} of {Neptune}, that has {symbol} is {solar symbol} ?
"The parent of { Neptune } who has { symbol } is { solar symbol }?"
"Which is {parent body} of {Neptune}, who has {symbol} is {solar symbol} ?"
SELECT ?h WHERE { resource:Neptune property:parent_astronomical_body ?h . ?h property:notation resource:solar_symbol }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q332> . ?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> ?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/P913> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3241584> . }
SELECT ?answer WHERE { wd:Q332 wdt:P397 ?answer . ?answer wdt:P913 wd:Q3241584}
Sun