Question: Tell me the city that is San Marino's administrative division (the one which has a population of 31595).
Choices:
Abidjan
San Marino
Kilkenny
Kingston
Tijuana
Santo Domingo
Bergen
Srinagar
Trieste
Wagga Wagga
Answer: San Marino
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "San Marino" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "31595"^^xsd:double .   }
Program:
function: Find
inputs: San Marino
function: FilterNum
dependencies: 0
inputs: population
31595
=
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: city
function: What
dependencies: 3