Question: Which defender has York, headquarters of York City F.C., as their birthplace?
Choices:
John Barry
Lee Grant
Jack White
Mark Addy
Sylvester Stallone
Richard Gere
W. H. Auden
Max Fleischer
Jim Brown
William Henry Harrison
Program:
function: Find
inputs: York City F.C.
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: York
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: defender
function: Relate
dependencies: 6
inputs: position played on team / speciality
backward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "York" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> "York City F.C." .  ?e <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "defender" .  }
Answer: Lee Grant