Question: Which has a greater area, Okanogan County or Whatcom County?
Choices:
Spokane County
Whatcom County
Snohomish County
Yakima County
Grays Harbor County
Okanogan County
Douglas County
Clark County
King County
San Juan County
Program:
function: Find
inputs: Okanogan County
function: Find
inputs: Whatcom County
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Okanogan County" .  } UNION { ?e <pred:name> "Whatcom County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Okanogan County