Question: What person's name is John Williams in native language and work location is London (that is the headquarters site of Leyton Orient F.C.)?
Choices:
John Williams
Max Fleischer
Chris Evans
John Locke
David Byrne
William Henry Harrison
Sylvester Stallone
Richard Gere
Henry King
Andrew Lloyd Webber
Answer: John Williams
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <name_in_native_language> ?pv . ?pv <pred:value> "John williams" . ?e <work_location> ?e_1 . ?e_1 <pred:name> "London" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> "Leyton Orient F.C." .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
John williams
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Leyton Orient F.C.
function: Relate
dependencies: 3
inputs: headquarters location
forward
function: Find
inputs: London
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: work location
backward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 2
8
function: What
dependencies: 9