Question: What association footballclub is headquartered in Zagreb ?
Choices:
Stade Brestois 29
Carlisle United F.C.
Brisbane Roar FC
SuperSport United F.C.
FC St. Gallen
Middlesbrough F.C.
Zamalek SC
PSV Eindhoven
Leyton Orient F.C.
N.K. Dinamo Zagreb
Program:
function: Find
inputs: Zagreb
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> "Zagreb" .   }
Answer: N.K. Dinamo Zagreb