Question: Which has fewer people, Bloomington (the one that is the capital of McLean County) or Sandusky?
Choices:
Bloomington
Sandusky
Waukegan
Greenville
New Haven
Compton
Boulder
Oakland
Franklin
Columbus
Program:
function: Find
inputs: McLean County
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Bloomington
function: And
dependencies: 1
2
function: Find
inputs: Sandusky
function: SelectBetween
dependencies: 3
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bloomington" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "McLean County" .   } UNION { ?e <pred:name> "Sandusky" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sandusky