Question: What is the relationship between Philadelphia Flyers and Keith Allen (the one that is related to ice hockey) ?
Choices:
airline alliance
head coach
draft pick from school
facet of
subject has role
discoverer or inventor
game mode
sponsor
has parts of the class
general manager
Answer: general manager
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Philadelphia Flyers" . ?e_2 <pred:name> "Keith Allen" . ?e_2 <sport> ?e_3 . ?e_3 <pred:name> "ice hockey" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Philadelphia Flyers
function: Find
inputs: ice hockey
function: Relate
dependencies: 1
inputs: sport
backward
function: Find
inputs: Keith Allen
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4