Question: What is the connection between the Republic of the Congo, founded in 1960, and Kinshasa?
Choices:
country
capital
film release region
doctoral student
edition or translation of
conferred by
maintained by
official religion
honorific prefix
sexual orientation
Program:
function: Find
inputs: Republic of the Congo
function: FilterYear
dependencies: 0
inputs: inception
1960
=
function: Find
inputs: Kinshasa
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Republic of the Congo" . ?e_1 <inception> ?pv . ?pv <pred:year> 1960 . ?e_2 <pred:name> "Kinshasa" . ?e_1 ?p ?e_2 .  }
Answer: capital