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