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