Question: Is there less area in Lake County near Volusia County or in Orange County near Brevard County?
Choices:
Putnam County
Hillsborough County
Monroe County
Citrus County
Lake County
Broward County
Orange County
Polk County
Indian River County
Alachua County
Program:
function: Find
inputs: Volusia County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Lake County
function: And
dependencies: 1
2
function: Find
inputs: Brevard County
function: Relate
dependencies: 4
inputs: shares border with
backward
function: Find
inputs: Orange County
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lake County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Volusia County" .   } UNION { ?e <pred:name> "Orange County" . ?e <shares_border_with> ?e_2 . ?e_2 <pred:name> "Brevard County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Orange County