Question: Which area is larger, Kansas City (the one that is the birthplace of Ed Asner) or Petaluma?
Choices:
Franklin
Oakland
Lansing
Waukegan
Columbus
Compton
New Haven
Boulder
Petaluma
Kansas City
Program:
function: Find
inputs: Ed Asner
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Kansas City
function: And
dependencies: 1
2
function: Find
inputs: Petaluma
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kansas City" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Ed Asner" .   } UNION { ?e <pred:name> "Petaluma" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kansas City