Question: William Hurt is cast in what role on the Robin Hood that also includes Max von Sydow as a cast member?
Choices:
Harry Dunne
Nelson Rockefeller
William Marshal, 1st Earl of Pembroke
Green Hornet
Warrick Brown
Barry Egan
Wade Winston Wilson
Sabor
Michael Collins
Sandy Cohen
Program:
function: Find
inputs: Max von Sydow
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Robin Hood
function: And
dependencies: 1
2
function: Find
inputs: William Hurt
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Robin Hood" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Max von Sydow" . ?e_2 <pred:name> "William Hurt" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: William Marshal, 1st Earl of Pembroke