Question: What city is the twinned administrative body of Montevideo and of Cuba (whose population is 10285920)?
Choices:
Kilkenny
Santo Domingo
Caracas
Trieste
La Plata
Kingston
Santa Fe
Bergen
Chihuahua
Abidjan
Program:
function: Find
inputs: Montevideo
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Cuba
function: FilterNum
dependencies: 3
inputs: population
10285920
=
function: Relate
dependencies: 4
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 5
inputs: city
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Montevideo" .  ?e <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Cuba" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "10285920"^^xsd:double .  }
Answer: Santa Fe