Question: Which association football club is headquartered in Ayr?
Choices:
Ipswich Town F.C.
Charleston Battery
FC Dinamo Moscow
SK Rapid Wien
Shimizu S-Pulse
Brisbane Roar FC
Middlesbrough F.C.
Stade Brestois 29
Karlsruher SC
Ayr United F.C.
Program:
function: Find
inputs: Ayr
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: association football club
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Ayr" .   }
Answer: Ayr United F.C.