Question: Does Pierce County that is located in Washington or Grays Harbor County have less area?
Choices:
San Juan County
Whatcom County
King County
Snohomish County
Okanogan County
Douglas County
Yakima County
Grays Harbor County
Pierce County
Clark County
Program:
function: Find
inputs: Washington
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Pierce County
function: And
dependencies: 1
2
function: Find
inputs: Grays Harbor County
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pierce County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Washington" .   } UNION { ?e <pred:name> "Grays Harbor County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pierce County