Question: Which has the largest elevation above sea level among the U.S. states that use the United States dollar as currency?
Choices:
New Mexico
Iowa
Kansas
South Carolina
New Jersey
Hawaii
Illinois
Colorado
Massachusetts
California
Answer: Kansas
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <currency> ?e_1 . ?e_1 <pred:name> "United States dollar" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States dollar
function: Relate
dependencies: 0
inputs: currency
backward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
largest