Question: Stephen Graham, who was cast in Snatch, plays which character on Public Enemies, which also includes Billy Crudup as a cast member?
Choices:
Margaret White
Carlotta
Anakin Skywalker
Penguin
Scrum
Matthew Lillard
Baby Face Nelson
Ben
Carrie White
Benjamin L. Willard
Answer: Baby Face Nelson
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Public Enemies" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Billy Crudup" . ?e_2 <pred:name> "Stephen Graham" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Snatch" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Billy Crudup
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Public Enemies
function: And
dependencies: 1
2
function: Find
inputs: Snatch
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Stephen Graham
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role