Question: What is the character role of Michael Madsen (the one that is a cast member of Kill Bill Volume 1) in Sin City?
Choices:
Fix-it Felix
Zed
Robert Langdon
John Rambo
Donkey
Akrisios
Les Amours de la reine Élisabeth
Daniel
Maggie Simpson
Bob
Program:
function: Find
inputs: Sin City
function: Find
inputs: Kill Bill Volume 1
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Michael Madsen
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sin City" . ?e_2 <pred:name> "Michael Madsen" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Kill Bill Volume 1" . ?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: Bob