Question: What is the relation between Jim Morrison (the one that is a member of Detroit Red Wings) and Boston Bruins?
Choices:
found
talk show guest
board member
territory claimed by
presenter
eye color
organizer
member of sports team
set in period
afflicts
Program:
function: Find
inputs: Detroit Red Wings
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Jim Morrison
function: And
dependencies: 1
2
function: Find
inputs: Boston Bruins
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jim Morrison" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Detroit Red Wings" . ?e_2 <pred:name> "Boston Bruins" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team