Question: What is the connection between Craig Robinson (the one that is a member of San Francisco Giants) to San Francisco Giants?
Choices:
owner of
diplomatic relation
sport
member of political party
located in or next to body of water
fabrication method
occupation
parent club
member of sports team
participant of
Program:
function: Find
inputs: San Francisco Giants
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Craig Robinson
function: And
dependencies: 1
2
function: Find
inputs: San Francisco Giants
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Craig Robinson" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "San Francisco Giants" . ?e_2 <pred:name> "San Francisco Giants" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team