Question: What is the connection between Frank Miller (the one whose position is pitcher) to baseball?
Choices:
voice type
programming language
theme music
depicted by
season starts
sport
make-up artist
military conflicts
maintained by
statistical leader
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Frank Miller" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "pitcher" . ?e_2 <pred:name> "baseball" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: pitcher
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Frank Miller
function: And
dependencies: 1
2
function: Find
inputs: baseball
function: QueryRelation
dependencies: 3
4