Question: What is the connection between Kent County (whose population is 165189) and Dover (that is the capital of Delaware)?
Choices:
partially contains
cause of death
part of the series
member of
series spin-off
works in collection
voice actor
capital
health specialty
head coach
Program:
function: Find
inputs: Kent County
function: FilterNum
dependencies: 0
inputs: population
165189
=
function: Find
inputs: Delaware
function: Relate
dependencies: 2
inputs: capital
forward
function: Find
inputs: Dover
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kent County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "165189"^^xsd:double . ?e_2 <pred:name> "Dover" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> "Delaware" . ?e_1 ?p ?e_2 .  }
Answer: capital