Question: Which town is the headquarter location of Macclesfield Town F.C.?
Choices:
Darlington
Walsall
Edmonton
South Shields
Woking
Macclesfield
Royal Tunbridge Wells
Solihull
Kilmarnock
Wigan
Program:
function: Find
inputs: Macclesfield Town F.C.
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: FilterConcept
dependencies: 1
inputs: town
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Macclesfield Town F.C." .   }
Answer: Macclesfield