Question: Which has greater area, Delaware County that borders Gloucester County or Blair County?
Choices: Allegheny County
Blair County
Bucks County
Cumberland County
Fayette County
Warren County
Lehigh County
Delaware County
Westmoreland County
Franklin County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delaware County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Gloucester County" .   } UNION { ?e <pred:name> "Blair County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Gloucester County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Delaware County
function: And
dependencies: 1
2
function: Find
inputs: Blair County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
Answer: Blair County