Question: What is the connection between Carlos Santana (the one whose position is catcher) to baseball?
Choices:
convicted of
has contributing factor
godparent
office contested
located in or next to body of water
legislative body
donated by
art director
sport
appears in the form of
Program:
function: Find
inputs: catcher
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Carlos Santana
function: And
dependencies: 1
2
function: Find
inputs: baseball
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carlos Santana" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "catcher" . ?e_2 <pred:name> "baseball" . ?e_1 ?p ?e_2 .  }
Answer: sport