What is the {G-type main-sequence star} for {parent astronomical body} of {Uranus}
For the parent astronomical body or Uranus, what is the G - type main - sequence star
What is the G-type main-sequence star for the parent astronomical body or Uranus?
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:G-type_main-sequence_star . resource:Uranus property:parent_astronomical_body ?g }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q324> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P397> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5864> } 
 select distinct ?obj where { wd:Q324 wdt:P397 ?obj . ?obj wdt:P31 wd:Q5864 } 
Sun