Question: Does Putnam County that shares border with Alachua County or Polk County that contains Lakeland have less area?
Choices:
Broward County
Orange County
Putnam County
Monroe County
Collier County
Citrus County
Polk County
Hillsborough County
Alachua County
Marion County
Program:
function: Find
inputs: Alachua County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Putnam County
function: And
dependencies: 1
2
function: Find
inputs: Lakeland
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Polk County
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Putnam County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Alachua County" .   } UNION { ?e <pred:name> "Polk County" . ?e_2 <located_in_the_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Lakeland" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Putnam County