Question: Is Alaska with population of 710231 or Virginia with population of 2309187 have less area?
Choices:
Virginia
California
Iowa
Florida
New Jersey
Illinois
Hawaii
Alaska
New Mexico
Massachusetts
Answer: Virginia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alaska" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "710231"^^xsd:double . } UNION { ?e <pred:name> "Virginia" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "2309187"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alaska
function: FilterNum
dependencies: 0
inputs: population
710231
=
function: Find
inputs: Virginia
function: FilterNum
dependencies: 2
inputs: population
2309187
=
function: SelectBetween
dependencies: 1
3
inputs: area
less