Question: Which covers a larger area, Pierce County which shares a border with Kitsap County, or Whatcom County?
Choices:
Spokane County
Yakima County
Okanogan County
Douglas County
Snohomish County
Clark County
Grays Harbor County
San Juan County
Whatcom County
King County
Answer: Whatcom County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pierce County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Kitsap County" .   } UNION { ?e <pred:name> "Whatcom County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kitsap County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Pierce County
function: And
dependencies: 1
2
function: Find
inputs: Whatcom County
function: SelectBetween
dependencies: 3
4
inputs: area
greater