Question: What organization is headquartered in a big city which is the twinned administrative body of Lille ?
Choices:
John Brown & Company
Microsoft
Moscow Conservatory
Lufthansa
United Airlines
Hamburger SV
Pan Am
Saint Petersburg Conservatory
Juventus F.C.
KLM
Answer: Lufthansa
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "big city" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Lille" .   }
Program:
function: Find
inputs: Lille
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 1
inputs: big city
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: organization
function: What
dependencies: 4