Question: Which area is larger, Gloucester (the one whose country is United States of America) or Los Gatos?
Choices:
Gloucester
Waukegan
Franklin
Compton
New Haven
Oakland
Los Gatos
Columbus
Boulder
Lansing
Answer: Gloucester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gloucester" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Los Gatos" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Gloucester
function: And
dependencies: 1
2
function: Find
inputs: Los Gatos
function: SelectBetween
dependencies: 3
4
inputs: area
greater