Question: Which area is smaller, Kansas (the one whose nickname is The Free State) or Delaware?
Choices:
Kansas
Massachusetts
Iowa
Florida
New Mexico
New Jersey
Illinois
California
Hawaii
Delaware
Answer: Delaware
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kansas" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> "The Free State" . } UNION { ?e <pred:name> "Delaware" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kansas
function: FilterStr
dependencies: 0
inputs: nickname
The Free State
function: Find
inputs: Delaware
function: SelectBetween
dependencies: 1
2
inputs: area
less