Question: Which occupies a smaller area: Fort Wayne or Bloomington, headquarters of Indiana University Bloomington?
Choices: Franklin
Lansing
New Haven
Fort Wayne
Bloomington
Waukegan
Boulder
Compton
Oakland
Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fort Wayne" .  } UNION { ?e <pred:name> "Bloomington" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Indiana University Bloomington" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Fort Wayne
function: Find
inputs: Indiana University Bloomington
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Bloomington
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
Answer: Bloomington