Question: Which area is larger, Omaha or Waukesha?
Choices:
Waukegan
Oakland
Compton
Columbus
Boulder
Omaha
New Haven
Lansing
Greenville
Waukesha
Program:
function: Find
inputs: Omaha
function: Find
inputs: Waukesha
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Omaha" .  } UNION { ?e <pred:name> "Waukesha" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Omaha