Question: What country with the capital of Papeete is the location of Tahiti Bora Bora?
Answer(s):
answer: French Polynesia

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0hb6g)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0hb6g ns:location.location.containedby ?x .
?x ns:location.country.capital ns:m.02gl8f . 
}