Question: Which has less area, Nebraska whose short name is Nebr. or Virginia  whose population is 4648494?
Choices:
Nebraska
Iowa
New Mexico
Virginia
California
Hawaii
Illinois
Colorado
Massachusetts
Florida
Answer: Virginia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nebraska" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> "Nebr." . } UNION { ?e <pred:name> "Virginia" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "4648494"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Nebraska
function: FilterStr
dependencies: 0
inputs: short name
Nebr.
function: Find
inputs: Virginia
function: FilterNum
dependencies: 2
inputs: population
4648494
=
function: SelectBetween
dependencies: 1
3
inputs: area
less