Question: Does Akron (the one whose country is United States of America) or Menlo Park have less area?
Choices:
Greenville
Oakland
Lansing
New Haven
Franklin
Menlo Park
Columbus
Boulder
Waukegan
Akron
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Akron
function: And
dependencies: 1
2
function: Find
inputs: Menlo Park
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Akron" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Menlo Park" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Menlo Park