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