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