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