Question: How is Oregon whose population is 1089684 related to Washington County that borders Yamhill County?
Choices:
candidate
screenwriter
place of publication
native language
student of
affiliation
place of death
film editor
followed by
contains administrative territorial entity
Program:
function: Find
inputs: Oregon
function: FilterNum
dependencies: 0
inputs: population
1089684
=
function: Find
inputs: Yamhill County
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: Washington County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Oregon" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1089684"^^xsd:double . ?e_2 <pred:name> "Washington County" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Yamhill County" . ?e_1 ?p ?e_2 .  }
Answer: contains administrative territorial entity