Question: Which has less area Antwerp (the one sharing a border with North Brabant) or British Virgin Islands?
Choices:
Lee County
Delaware County
British Virgin Islands
Antwerp
African Union
Washoe County
Cass County
Kent County
San Juan County
Greene County
Answer: British Virgin Islands
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Antwerp" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "North Brabant" .   } UNION { ?e <pred:name> "British Virgin Islands" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: North Brabant
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Antwerp
function: And
dependencies: 1
2
function: Find
inputs: British Virgin Islands
function: SelectBetween
dependencies: 3
4
inputs: area
less