Question: Is the area greater for Larimer County or Fairfield County (the one that shares border with New Haven County)?
Choices:
Larimer County
Delaware County
Cass County
Orange County
Greene County
Washoe County
African Union
Lee County
San Juan County
Fairfield County
Answer: Larimer County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Larimer County" .  } UNION { ?e <pred:name> "Fairfield County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "New Haven County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Larimer County
function: Find
inputs: New Haven County
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Fairfield County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater