Question: Does Cumberland County that borders Cape May County or Atlantic County have more area?
Choices: Passaic County
Essex County
Morris County
Hudson County
Burlington County
Bergen County
Hunterdon County
Cumberland County
Gloucester County
Atlantic County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cumberland County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Cape May County" .   } UNION { ?e <pred:name> "Atlantic County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cape May County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Cumberland County
function: And
dependencies: 1
2
function: Find
inputs: Atlantic County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
Answer: Cumberland County