Question: Which city is associated with the subreddit dubai and has the WOEID 940345?
Choices: Cork
Bergen
Kingston
Abidjan
Dundee
Trieste
Dubai
Kilkenny
Cairo
Santo Domingo
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <subreddit> ?pv . ?pv <pred:value> "dubai" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "1940345" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
dubai
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterStr
dependencies: 3
inputs: WOEID
1940345
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Dubai