Question: What is the relationship between Mark Johnson (the one that is a member of Detroit Tigers) and the Detroit Tigers?
Choices:
political alignment
continent
uses
home port
winner
source of income
significant person
start point
editor
member of sports team
Program:
function: Find
inputs: Detroit Tigers
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Mark Johnson
function: And
dependencies: 1
2
function: Find
inputs: Detroit Tigers
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mark Johnson" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Detroit Tigers" . ?e_2 <pred:name> "Detroit Tigers" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team