Question: How is knight, military rank of Michael Redgrave, related to Sir, honorific prefix of Ben Kingsley?
Choices:
convicted of
fictional universe described in
influenced by
significant person
location of final assembly
place of publication
airline hub
cause of death
inspired by
honorific prefix
Answer: honorific prefix
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "knight" . ?e_3 <military_rank> ?e_1 . ?e_3 <pred:name> "Michael Redgrave" . ?e_2 <pred:name> "Sir" . ?e_4 <honorific_prefix> ?e_2 . ?e_4 <pred:name> "Ben Kingsley" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michael Redgrave
function: Relate
dependencies: 0
inputs: military rank
forward
function: Find
inputs: knight
function: And
dependencies: 1
2
function: Find
inputs: Ben Kingsley
function: Relate
dependencies: 4
inputs: honorific prefix
forward
function: Find
inputs: Sir
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7