Question: In Kingdom of Heaven, in which Liam Neeson is cast, what role does he play?
Choices:
Caretaker
Patrick Star
Eliot Ness
Harry Boland
Dr. Martin Harris
David Alfaro Siqueiros
Godfrey
Georgiana Cavendish, Duchess of Devonshire
Vasily Zaytsev
Curtis
Answer: Godfrey
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kingdom of Heaven" . ?e_2 <pred:name> "Liam Neeson" . ?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: Kingdom of Heaven
function: Find
inputs: Liam Neeson
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role