Question: How is Tom Jones, who was nominated for an Academy Award for Best Production Design, related to David Warner.
Choices:
work location
has parts of the class
legislative body
location of final assembly
official language
academic degree
cast member
tributary
eye color
depicted by
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Jones" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Production Design" . ?e_2 <pred:name> "David Warner" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Tom Jones
function: And
dependencies: 1
2
function: Find
inputs: David Warner
function: QueryRelation
dependencies: 3
4