Question: How is Jack Reacher (the one that received Silver Star) related to soldier?
Choices:
part of
enclave within
heritage designation
filming location
located in or next to body of water
occupation
software engine
voice actor
film editor
continent
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: soldier
function: QueryRelation
dependencies: 3
4
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> "soldier" . ?e_1 ?p ?e_2 .  }
Answer: occupation