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