Question: What is the connection between Adam Smith (the one that is a member of Stevenage F.C.) to Mansfield Town F.C.?
Choices:
ethnic group
home venue
industry
operating area
geography of topic
subject has role
sibling
contributor(s) to the creative work
member of sports team
native language
Program:
function: Find
inputs: Stevenage F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Adam Smith
function: And
dependencies: 1
2
function: Find
inputs: Mansfield Town F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Adam Smith" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Stevenage F.C." . ?e_2 <pred:name> "Mansfield Town F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team