Question: Which capital with postal codes 1010–1107 is the twinned administrative body of Ankara?
Choices:
Doha
New Delhi
Lausanne
Sarajevo
Nicosia
Kuala Lumpur
Riga
Kiev
Mexico City
Santiago
Answer: Nicosia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <postal_code> ?pv . ?pv <pred:value> "1010–1107" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Ankara" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
1010–1107
function: FilterConcept
dependencies: 1
inputs: capital
function: Find
inputs: Ankara
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 4
inputs: capital
function: And
dependencies: 2
5
function: What
dependencies: 6