Question: Which town is the headquarters location of the association football club that has the Twitter username DunfermlineAFC?
Choices:
Middlesbrough
Hove
Mansfield
Wigan
South Shields
Cheltenham
Rotherham
Dunfermline
Harrogate
Edmonton
Answer: Dunfermline
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "association football club" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "DunfermlineAFC" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
DunfermlineAFC
function: FilterConcept
dependencies: 1
inputs: association football club
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: FilterConcept
dependencies: 3
inputs: town
function: What
dependencies: 4