Question: How is third baseman Gary Cooper related to Lynwood?
Choices:
award received
programming language
place of birth
facet of
located on astronomical location
notable work
military conflicts
musical conductor
industry
medical treatment
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gary Cooper" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "third baseman" . ?e_2 <pred:name> "Lynwood" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: third baseman
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Gary Cooper
function: And
dependencies: 1
2
function: Find
inputs: Lynwood
function: QueryRelation
dependencies: 3
4