Question: Dumb and Dumber has Jeff Daniels as a cast member, what is his/her character role in the work?
Choices:
Philip II of Macedon
Percy Alleline
Phil Hammersley
Captain Nathaniel Flint
Ford Prefect
Richard Kimble
Jack McFarland
Conan O'Brien
Harry Dunne
Alicia Nash
Answer: Harry Dunne
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Dumb and Dumber" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Greece" . ?e_2 <pred:name> "Jeff Daniels" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Ragtime" . ?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: Greece
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Dumb and Dumber
function: And
dependencies: 1
2
function: Find
inputs: Ragtime
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Jeff Daniels
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role