Question: What is the connection between Jack Reacher (that received a Silver Star) and major?
Choices:
location of final assembly
exclave of
killed by
doctoral student
mountain range
military rank
depicts
award received
voice type
cast member
Answer: military rank
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jack Reacher" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Silver Star" . ?e_2 <pred:name> "major" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Silver Star
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Jack Reacher
function: And
dependencies: 1
2
function: Find
inputs: major
function: QueryRelation
dependencies: 3
4