Question: Is the Virginia that includes the Appalachian Mountains or Pennsylvania higher relative to sea level?
Choices: Hawaii
California
Iowa
New Mexico
New Jersey
Virginia
Massachusetts
Florida
Pennsylvania
Colorado
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Virginia" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Appalachian Mountains" .   } UNION { ?e <pred:name> "Pennsylvania" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Appalachian Mountains
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Virginia
function: And
dependencies: 1
2
function: Find
inputs: Pennsylvania
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
Answer: Pennsylvania