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