Question: What is the character role of Eva Mendes as a cast member in Ghost Rider (that has Donal Logue as a cast member)?
Choices:
Krusty the Clown
Clay Morrow
Johnny Cash
Benjamin Franklin
Lightning McQueen
Guard
Roxanne Simpson
Lenny (Shark Tale)
Abigail Whistler
Vincent Dwyer
Program:
function: Find
inputs: Donal Logue
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Ghost Rider
function: And
dependencies: 1
2
function: Find
inputs: Eva Mendes
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ghost Rider" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Donal Logue" . ?e_2 <pred:name> "Eva Mendes" . ?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: Roxanne Simpson