Question: Does Newfoundland or Saint John (that is located in the United States Virgin Islands) have the higher elevation above sea level?
Choices: Hawaii
Long Island
Ireland
Guernsey
Newfoundland
Tasmania
Puerto Rico
Saint John
Cyprus
Maui
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newfoundland" .  } UNION { ?e <pred:name> "Saint John" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "United States Virgin Islands" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Newfoundland
function: Find
inputs: United States Virgin Islands
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Saint John
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
Answer: Newfoundland