Question: Which city is an administrative division of Alpes-Maritimes (whose Twitter username is AlpesMaritimes)?
Choices:
Cork
Nice
Santo Domingo
Varna
Bergen
Jeddah
Kilkenny
Cannes
Abidjan
Kingston
Answer: Cannes
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> "Alpes-Maritimes" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "AlpesMaritimes" .   }
Program:
function: Find
inputs: Alpes-Maritimes
function: FilterStr
dependencies: 0
inputs: Twitter username
AlpesMaritimes
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: city
function: What
dependencies: 3