SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/largestCity> <http://dbpedia.org/resource/Papeete> . ?uri <http://dbpedia.org/property/archipelago> ?x . }
Name the islands that belong to the archipelago whose largest city is Papeete?
SELECT DISTINCT ?z WHERE { ?x property:largest_city resource:Papeete . ?z property:archipelago ?x . }
answer
The islands whose archipelago's largest city is Papeete are [answer].
The islands of which Papeete is the largest city are [answer].