Question: What is the connection between Mark Johnson (the one whose position is pitcher) to baseball?
Choices:
sport
genre
vehicle normally used
notable people with this condition
participant
located on terrain feature
rector
exported to
contributing factor of
season starts
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mark Johnson" . ?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: Mark Johnson
function: And
dependencies: 1
2
function: Find
inputs: baseball
function: QueryRelation
dependencies: 3
4