Question: Is the smaller area occupied by Collier County or by Monroe County, with Key West as capital?
Choices:
Indian River County
Polk County
Collier County
Citrus County
Hillsborough County
Putnam County
Monroe County
Orange County
Marion County
Alachua County
Program:
function: Find
inputs: Collier County
function: Find
inputs: Key West
function: Relate
dependencies: 1
inputs: capital
backward
function: Find
inputs: Monroe County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Collier County" .  } UNION { ?e <pred:name> "Monroe County" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Key West" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Collier County