Question: Which area is larger, Berrien County or Livingston County (the one that shares border with Washtenaw County)?
Choices: Macomb County
Marquette County
Livingston County
Tuscola County
Clinton County
Saginaw County
Kent County
Berrien County
Genesee County
Washtenaw County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Berrien County" .  } UNION { ?e <pred:name> "Livingston County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Washtenaw County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Berrien County
function: Find
inputs: Washtenaw County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Livingston County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
Answer: Berrien County