What is {located on island} of {extreme point highest} of {Cook Islands} ?
Where on the Cook Islands would you find the extreme highest point?
where is located on island for extreme point highest of Cook Islands ?
SELECT ?n WHERE { resource:Cook_Islands property:highest_point ?b . ?b property:P5130 ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q26988> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P610>. ?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/P5130> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q26988 wdt:P610 ?X . ?X wdt:P5130 ?answer}