Question: Jack Warner of the Philadelphia Phillies has what link to the Detroit Tigers?
Choices:
collection
official residence
language of work or name
student
operating area
official language
member of sports team
location
has quality
religious order
Program:
function: Find
inputs: Philadelphia Phillies
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Jack Warner
function: And
dependencies: 1
2
function: Find
inputs: Detroit Tigers
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jack Warner" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Philadelphia Phillies" . ?e_2 <pred:name> "Detroit Tigers" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team