Question: What is the population of the capital of South Africa?
Choices:
100031
741651
307263
1731493
1997659
332163
163862
19805
19795791
505188
Answer: 741651
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "South Africa" .  ?e <population> ?pv .  }
Program:
function: Find
inputs: South Africa
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: QueryAttr
dependencies: 2
inputs: population