Question: What is the connection between Gary Cooper (the one that is a member of Houston Astros) to third baseman?
Choices:
residence
this taxon is source of
language used
continent
organisation directed from the office or person
based on
head of state
position played on team / speciality
significant event
programming paradigm
Program:
function: Find
inputs: Houston Astros
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Gary Cooper
function: And
dependencies: 1
2
function: Find
inputs: third baseman
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gary Cooper" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Houston Astros" . ?e_2 <pred:name> "third baseman" . ?e_1 ?p ?e_2 .  }
Answer: position played on team / speciality