Question: Which area is larger, Niagara Falls (the one that is located in Niagara County) or Wheaton?
Choices:
Oakland
Columbus
Lansing
Waukegan
Wheaton
Franklin
Boulder
Niagara Falls
New Haven
Compton
Answer: Niagara Falls
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Niagara Falls" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Niagara County" .   } UNION { ?e <pred:name> "Wheaton" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Niagara County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Niagara Falls
function: And
dependencies: 1
2
function: Find
inputs: Wheaton
function: SelectBetween
dependencies: 3
4
inputs: area
greater