Question: What is the association of Chris Brown (who is a member of the Detroit Tigers) with the San Diego Padres?
Choices:
has immediate cause
military casualty classification
member of sports team
approved by
film distribute region
draft pick from school
ethnic group
killed by
voice type
famous people
Program:
function: Find
inputs: Detroit Tigers
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Chris Brown
function: And
dependencies: 1
2
function: Find
inputs: San Diego Padres
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chris Brown" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Detroit Tigers" . ?e_2 <pred:name> "San Diego Padres" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team