Question: Who does cast member Alyson Hannigan portray in Buffy the Vampire Slayer, which also has Anthony Head in the cast?
Choices:
Terence McDonagh
Briseis
Crazy Cat Lady
Catherine Tramell
Eddard Stark
Castor Troy
Charlene Robinson
Calhoun
Willow Rosenberg
General Zod
Answer: Willow Rosenberg
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Buffy the Vampire Slayer" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Anthony Head" . ?e_2 <pred:name> "Alyson Hannigan" . ?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: Anthony Head
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Buffy the Vampire Slayer
function: And
dependencies: 1
2
function: Find
inputs: Alyson Hannigan
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role