Question: Which United States City is located in the administrative territorial entity that shares border with Washington County whose had a population of 21942?
Choices:
Providence
Saint Paul
New London
Akron
Iowa City
Omaha
Sioux City
Norwich
Hastings
Aspen
Program:
function: Find
inputs: Washington County
function: FilterNum
dependencies: 0
inputs: population
21942
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "administrative territorial entity" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Washington County" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "21942"^^xsd:double .   }
Answer: Iowa City