Question: In what way is Phil Collins (who has membership in the Philadelphia Phillies) related to the Chicago Cubs?
Choices:
designed by
head of state
kit supplier
published in
parent organization
given name
employer
production designer
member of sports team
based on
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Phil Collins" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Philadelphia Phillies" . ?e_2 <pred:name> "Chicago Cubs" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Philadelphia Phillies
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Phil Collins
function: And
dependencies: 1
2
function: Find
inputs: Chicago Cubs
function: QueryRelation
dependencies: 3
4