Question: What is the relationship between War and Peace, produced by Carlo Ponti, Sr., and Audrey Hepburn?
Choices:
substitute/deputy/replacement of office/officeholder
business division
takes place in fictional universe
designed to carry
office held by head of state
make-up artist
cast member
sidekick of
culture
organizer
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "War and Peace" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Carlo Ponti, Sr." . ?e_2 <pred:name> "Audrey Hepburn" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Carlo Ponti, Sr.
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: War and Peace
function: And
dependencies: 1
2
function: Find
inputs: Audrey Hepburn
function: QueryRelation
dependencies: 3
4