Question: What is the connection between The Way We Were (the one that was nominated for Academy Award for Best Production Design) to Patrick O'Neal (the one that is a cast member of In Harm's Way)?
Choices:
narrative location
parent astronomical body
after a work by
contributor(s) to the creative work
collection
cast member
official symbol
source of material
source of income
from fictional universe
Program:
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Way We Were
function: And
dependencies: 1
2
function: Find
inputs: In Harm's Way
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Patrick O'Neal
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Way We Were" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Production Design" . ?e_2 <pred:name> "Patrick O'Neal" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "In Harm's Way" . ?e_1 ?p ?e_2 .  }
Answer: cast member