Question: What is the character role of Kate Walsh (who is educated at the University of Arizona) as a cast member in Grey's Anatomy?
Choices:
Karen Silkwood
Will Turner
Addison Montgomery
Johnny Cash
Mr. Smithers
Stanley Kowalski
Coriolanus Snow
Calibos
Amy
Lex Luthor
Answer: Addison Montgomery
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Grey's Anatomy" . ?e_2 <pred:name> "Kate Walsh" . ?e_2 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Arizona" . ?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: Grey's Anatomy
function: Find
inputs: University of Arizona
function: Relate
dependencies: 1
inputs: educated at
backward
function: Find
inputs: Kate Walsh
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role