Question: Which area is smaller in size, Tempe or Waco (the one that is the birthplace of Bill Payne)?
Choices:
Tempe
Oakland
Columbus
Franklin
Greenville
Boulder
Waco
New Haven
Waukegan
Lansing
Program:
function: Find
inputs: Tempe
function: Find
inputs: Bill Payne
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Waco
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tempe" .  } UNION { ?e <pred:name> "Waco" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Bill Payne" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tempe