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