Question: Which covers a larger area, Indiana or Missouri?
Choices:
Indiana
Florida
Massachusetts
Illinois
Hawaii
New Mexico
Iowa
California
New Jersey
Missouri
Program:
function: Find
inputs: Indiana
function: Find
inputs: Missouri
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Indiana" .  } UNION { ?e <pred:name> "Missouri" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Missouri