Question: How is Henry V with Laurence Olivier related to the Academy Award for Best Actor?
Choices:
statistical leader
taxon rank
interests
mascot
winner
nominated for
influenced by
cites
eye color
airline hub
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Henry V" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Laurence Olivier" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Laurence Olivier
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Henry V
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: QueryRelation
dependencies: 3
4