Question: Which area is larger, Marion County (the one that shares border with Alachua County) or Pinellas County?
Choices:
Broward County
Putnam County
Citrus County
Marion County
Pinellas County
Alachua County
Monroe County
Hillsborough County
Polk County
Indian River County
Program:
function: Find
inputs: Alachua County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Marion County
function: And
dependencies: 1
2
function: Find
inputs: Pinellas County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marion County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Alachua County" .   } UNION { ?e <pred:name> "Pinellas County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Marion County