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