Question: Does Ponce or the Hancock County bordering Beaver County cover more area?
Choices:
Kent County
Hancock County
Washoe County
San Juan County
Lee County
African Union
Greene County
Orange County
Cass County
Ponce
Program:
function: Find
inputs: Ponce
function: Find
inputs: Beaver County
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Hancock County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ponce" .  } UNION { ?e <pred:name> "Hancock County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Beaver County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hancock County