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