Question: What is the character role of Kal Penn in How I Met Your Mother ?
Choices:
Bedivere
Stanley the Gatekeeper
Judge Turpin
Morpheus
Dr. Hibbert
Mistress Quickly
Kevin Venkataraghavan
Gary the Monster
Persephone
Milo Minderbinder
Answer: Kevin Venkataraghavan
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "How I Met Your Mother" . ?e_2 <pred:name> "Kal Penn" . ?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: How I Met Your Mother
function: Find
inputs: Kal Penn
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role