Question: What is the connection between Cooper (the one that is related to sport baseball) to third baseman?
Choices:
military casualty classification
director/manager
derivative work
spouse
located on terrain feature
captain
subsidiary
position played on team / speciality
film regional debut venue
natural product of taxon
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
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 <sport> ?e_3 . ?e_3 <pred:name> "baseball" . ?e_2 <pred:name> "third baseman" . ?e_1 ?p ?e_2 .  }
Answer: position played on team / speciality