Question: Which has more area, Orange County that borders Windsor County or Ghent?
Choices:
Greene County
Delaware County
Orange County
Lee County
African Union
San Juan County
Cass County
Washoe County
Ghent
United States Virgin Islands
Answer: Orange County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Orange County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Windsor County" .   } UNION { ?e <pred:name> "Ghent" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Windsor County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Orange County
function: And
dependencies: 1
2
function: Find
inputs: Ghent
function: SelectBetween
dependencies: 3
4
inputs: area
greater