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