Question: How are the Philadelphia Flyers related to defenceman Keith Allen?
Choices: stated in
performer
mascot
approved by
relative
symptoms
general manager
religious order
producer
father
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Philadelphia Flyers" . ?e_2 <pred:name> "Keith Allen" . ?e_2 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "defenceman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Philadelphia Flyers
function: Find
inputs: defenceman
function: Relate
dependencies: 1
inputs: position played on team / speciality
backward
function: Find
inputs: Keith Allen
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: general manager