Question: Does the capital of Ulster County, Kingston, or Pine Bluff occupy a smaller area?
Choices:
Boulder
Waukegan
Pine Bluff
Lansing
New Haven
Columbus
Compton
Greenville
Kingston
Franklin
Answer: Kingston
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kingston" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Ulster County" .   } UNION { ?e <pred:name> "Pine Bluff" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ulster County
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Kingston
function: And
dependencies: 1
2
function: Find
inputs: Pine Bluff
function: SelectBetween
dependencies: 3
4
inputs: area
less