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