Question: Nuremberg, with Max von Sydow as cast member, is related in what way to Alec Baldwin?
Choices:
original network
properties for this type
instrumentation
present in work
basin country
board member
cast member
vehicle normally used
based on
partially contains
Program:
function: Find
inputs: Max von Sydow
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Nuremberg
function: And
dependencies: 1
2
function: Find
inputs: Alec Baldwin
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nuremberg" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Max von Sydow" . ?e_2 <pred:name> "Alec Baldwin" . ?e_1 ?p ?e_2 .  }
Answer: cast member