Question: What is cast member Vincent D'Onofrio's character role in Men in Black (whose genre is buddy film)?
Choices:
Robert McNamara
Beatrix Kiddo
Eva Perón
Edgar the Bug
Derek Shepherd
Tara Maclay
Father John Fielding
Lola (Shark Tale)
Padmé Amidala
Hamilton Jordan
Program:
function: Find
inputs: buddy film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Men in Black
function: And
dependencies: 1
2
function: Find
inputs: Vincent D'Onofrio
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Men in Black" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "buddy film" . ?e_2 <pred:name> "Vincent D'Onofrio" . ?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: Edgar the Bug