Question: What part of Costa Rica shares a border with Panama?
Paraphrase: What area does Costa Rica and Panama share a border?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q800 p:P47 ?s . ?s ps:P47 wd:Q804 . ?s pq:P805 ?value}