Question: Which has less area, Montana whose short name is MT or Delaware?
Choices:
Colorado
New Mexico
New Jersey
Iowa
Massachusetts
California
Montana
Hawaii
Delaware
Florida
Answer: Delaware
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montana" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> "MT" . } UNION { ?e <pred:name> "Delaware" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Montana
function: FilterStr
dependencies: 0
inputs: short name
MT
function: Find
inputs: Delaware
function: SelectBetween
dependencies: 1
2
inputs: area
less