Question: What association-football club has a headquarter location in a county town with the TOID 4000000074550040?
Choices:
Northampton Town F.C.
SV Ried
Shrewsbury Town F.C.
Dorchester Town F.C.
Hartlepool United F.C.
Reading F.C.
Ayr United F.C.
Ipswich Town F.C.
Kayserispor
Oxford United F.C.
Answer: Dorchester Town 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> "county town" . ?e_1 <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074550040" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074550040
function: FilterConcept
dependencies: 1
inputs: county town
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: association football club
function: What
dependencies: 4