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