Question: What is the relationship between Chris Brown, a member of the Detroit Tigers, and baseball?
Choices:
is a list of
sport
fictional universe described in
contains settlement
killed by
founded by
conflict
season starts
place served by transport hub
item operated
Answer: sport
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> "baseball" . ?e_1 ?p ?e_2 .  }
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: baseball
function: QueryRelation
dependencies: 3
4