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