Question: Tell me the one with the larger area, Idaho (which has a population 667191) or New Hampshire.
Choices:
Illinois
California
Hawaii
Idaho
New Mexico
Iowa
New Jersey
Massachusetts
Florida
Colorado
Answer: Idaho
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Hampshire" . } UNION { ?e <pred:name> "Idaho" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "667191"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New Hampshire
function: Find
inputs: Idaho
function: FilterNum
dependencies: 1
inputs: population
667191
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater