Question: Does the Santa Cruz County bordering Pima County occupy more area, or does Cochise County?
Choices: Coconino County
Mohave County
Pinal County
Maricopa County
Gila County
Pima County
Navajo County
Cochise County
Yavapai County
Santa Cruz County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Cruz County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Pima County" .   } UNION { ?e <pred:name> "Cochise County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Pima County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Santa Cruz County
function: And
dependencies: 1
2
function: Find
inputs: Cochise County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
Answer: Cochise County