What is {part of constellation} of {star} of {WASP-13b} ?
What star is part of the constellation, WASP-13b?
Which star is part of the constellation, WASP-13b?
SELECT ?c WHERE { ?b property:constellation ?c . resource:Cruinlagh property:parent_astronomical_body ?b }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1146824> . ?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:Q1146824 wdt:P397 ?X . ?X wdt:P59 ?answer}
Lynx