Question: What is the relation of George Kennedy (the one that wins Academy Award for Best Supporting Actor) to captain (the one whose country is United States of America)?
Choices:
foundational text
based on
public holiday
film regional debut venue
child astronomical body
studies
interests
designated as terrorist by
month of the year
military rank
Answer: military rank
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Kennedy" . ?e_3 <winner> ?e_1 . ?e_3 <pred:name> "Academy Award for Best Supporting Actor" . ?e_2 <pred:name> "captain" . ?e_2 <country> ?e_4 . ?e_4 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: winner
forward
function: Find
inputs: George Kennedy
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country
backward
function: Find
inputs: captain
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7