What is {part of constellation} of {parent body} of {HD 40307 f} ?
To what star grouping does HD 40307 f have a place?
To what constellation does HD 40307 f belong?
SELECT ?a WHERE { ?p property:constellation ?a . resource:HD_40307_f property:parent_astronomical_body ?p }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q391576> . ?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/P59> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q391576 wdt:P397 ?X . ?X wdt:P59 ?answer}
Pictor