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