Question: The capital city of which ceremonial county of England is headquarters of Lincoln City F.C.?
Choices: Hampshire
Cumbria
Derbyshire
Northamptonshire
Lincolnshire
Norfolk
Somerset
West Sussex
Staffordshire
Gloucestershire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_3 <headquarters_location> ?e_1 . ?e_3 <pred:name> "Lincoln City F.C." .   }
Program:
function: Find
inputs: Lincoln City F.C.
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: capital
backward
function: FilterConcept
dependencies: 3
inputs: ceremonial county of England
function: What
dependencies: 4
Answer: Lincolnshire