Question: Which TOID designates Lincoln, headquarters of Lincoln City F.C.?
Choices:
4000000074568379
4000000074572432
4000000074551786
4000000074578678
7000000000000018
7000000000006759
7000000000018210
4000000074569998
4000000074565915
4000000074554428
Program:
function: Find
inputs: Lincoln City F.C.
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Lincoln
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: TOID
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Lincoln" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Lincoln City F.C." .  ?e <TOID> ?pv .  }
Answer: 4000000074551786