Question: Which capital is the twinned administrative body of Shiraz, population 1,053,025?
Choices:
Kuala Lumpur
Doha
Moscow
Sarajevo
Tehran
Wellington
Lausanne
Mexico City
Riga
Copenhagen
Program:
function: Find
inputs: Shiraz
function: FilterNum
dependencies: 0
inputs: population
1053025
=
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 2
inputs: capital
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Shiraz" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1053025"^^xsd:double .   }
Answer: Kuala Lumpur