Question: What character role did David Hyde Pierce play in Frasier?
Choices: Dick Grayson
Niles Crane
Li Shang
Hank Landry
Don Lino
Emily Appleton-Gates
Guy Banister
Simon Adebisi
Scrum
Mary of Teck
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Frasier" . ?e_2 <pred:name> "David Hyde Pierce" . ?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: Frasier
function: Find
inputs: David Hyde Pierce
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
Answer: Niles Crane