Question: Saxony, population 5682800, has what connection to Dresden, population 496548?
Choices: published in
operator
airline hub
residence
voice type
student of
capital
producer
original film format
architectural style
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Saxony" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5682800"^^xsd:double . ?e_2 <pred:name> "Dresden" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "496548"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Saxony
function: FilterNum
dependencies: 0
inputs: population
5682800
=
function: Find
inputs: Dresden
function: FilterNum
dependencies: 2
inputs: population
496548
=
function: QueryRelation
dependencies: 1
3
Answer: capital