Question: Which place is smaller in size, Monroe County (the one that contains Key West) or Brevard County?
Choices:
Marion County
Brevard County
Orange County
Indian River County
Monroe County
Putnam County
Hillsborough County
Alachua County
Polk County
Citrus County
Program:
function: Find
inputs: Key West
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Monroe County
function: And
dependencies: 1
2
function: Find
inputs: Brevard County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monroe County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Key West" .   } UNION { ?e <pred:name> "Brevard County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Monroe County