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