Question: For Buffy the Vampire Slayer (the one that has Alyson Hannigan as a cast member), (the character role of this statement is Rupert Giles), what is the Twitter username for the person who is its cast member?
Choices:
JohnnyMercerMP
SongsOfJBrowne
EUFCOfficial
johnmturturro
ActorSureshGopi
stonybrooku
fujitv
anthonyshead
RealAliceCooper
ricky_martin
Answer: anthonyshead
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Buffy the Vampire Slayer" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Alyson Hannigan" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Rupert Giles" . ?e <Twitter_username> ?pv .  }
Program:
function: Find
inputs: Alyson Hannigan
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Buffy the Vampire Slayer
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: QFilterStr
dependencies: 4
inputs: character role
Rupert Giles
function: FilterConcept
dependencies: 5
inputs: human
function: QueryAttr
dependencies: 6
inputs: Twitter username