Question: Brendan Gleeson is cast as which Kingdom of Heaven character?
Choices:
Tess Ocean
Rafe McCawley
Raynald of Châtillon
Juan Domingo Perón
Raiden
Godfrey
Flamingoes
Dylan Sanders
Wheelie
Elmer Fudd
Program:
function: Find
inputs: Kingdom of Heaven
function: Find
inputs: Brendan Gleeson
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kingdom of Heaven" . ?e_2 <pred:name> "Brendan Gleeson" . ?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: Raynald of Châtillon