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