Question: What is Kelsey Grammer's role in Cheers?
Choices:
Steve Jobs
Security Guard
Green Goblin
Captain of the Guards
Borat Sagdiyev
Barty Crouch Jr.
Frasier Crane
Peter Sadusky
Ben
Harry Boland
Answer: Frasier Crane
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cheers" . ?e_2 <pred:name> "Kelsey Grammer" . ?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: Cheers
function: Find
inputs: Kelsey Grammer
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role