Question: Which association football club is headquartered in Beijing?
Choices:
Zamalek SC
FC BATE Borisov
Colchester United F.C.
Associazione Sportiva Livorno Calcio
Tsinghua University
Tamworth F.C.
Carlisle United F.C.
Viking FK
Beijing Guoan F.C.
Stade Brestois 29
Program:
function: Find
inputs: Beijing
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> "Beijing" .   }
Answer: Beijing Guoan F.C.