Question: Does Illinois (whose population is 12419293) or Vermont have the larger area?
Choices:
Florida
California
New Jersey
Illinois
Kansas
New Mexico
Massachusetts
Iowa
Colorado
Vermont
Program:
function: Find
inputs: Illinois
function: FilterNum
dependencies: 0
inputs: population
12419293
=
function: Find
inputs: Vermont
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Illinois" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "12419293"^^xsd:double . } UNION { ?e <pred:name> "Vermont" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Illinois