Question: Does Wisconsin or Mississippi (the one whose population is 2992333) have greater elevation (above sea level) ?
Choices: New Jersey
Florida
Wisconsin
Hawaii
Mississippi
Illinois
California
Massachusetts
Colorado
Iowa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wisconsin" . } UNION { ?e <pred:name> "Mississippi" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2992333"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wisconsin
function: Find
inputs: Mississippi
function: FilterNum
dependencies: 1
inputs: population
2992333
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
Answer: Wisconsin