Question: What city was the twinned administrative body of Mexico City and has the WOEID of 1940631?
Choices:
Athens
Tel Aviv
Kingston
San Salvador
Trieste
Panama City
Kilkenny
Kuwait City
Buenos Aires
Cork
Answer: Kuwait City
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Mexico City" .  ?e <WOEID> ?pv . ?pv <pred:value> "1940631" .  }
Program:
function: Find
inputs: Mexico City
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterStr
dependencies: 3
inputs: WOEID
1940631
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6