Question: What association football club is headquartered in a town which is the capital of  Woking (the one whose motto text is Fide et Diligentia) ?
Choices:
Brisbane Roar FC
Middlesbrough F.C.
Rotherham United F.C.
Zamalek SC
Leeds United F.C.
Cruz Azul F.C
Greenock Morton F.C.
Mansfield Town F.C.
Woking F.C.
Stade Brestois 29
Answer: Woking F.C.
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "town" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Woking" . ?e_2 <motto_text> ?pv_1 . ?pv_1 <pred:value> "Fide et Diligentia" .   }
Program:
function: Find
inputs: Woking
function: FilterStr
dependencies: 0
inputs: motto text
Fide et Diligentia
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: town
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: What
dependencies: 5