Question: Does Moline or Lake Forest have greater area ?
Choices:
Lansing
Waukegan
Greenville
Lake Forest
Columbus
Franklin
Moline
Compton
Oakland
New Haven
Program:
function: Find
inputs: Moline
function: Find
inputs: Lake Forest
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Moline" .  } UNION { ?e <pred:name> "Lake Forest" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lake Forest