Question: Which area is smaller, Rhode Island or Iowa?
Choices:
California
New Jersey
New Mexico
Kansas
Illinois
Iowa
Massachusetts
Hawaii
Florida
Rhode Island
Answer: Rhode Island
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rhode Island" .  } UNION { ?e <pred:name> "Iowa" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rhode Island
function: Find
inputs: Iowa
function: SelectBetween
dependencies: 0
1
inputs: area
less