Question: Who played the role of Rupert Giles on Buffy the Vampire Slayer (who Amber Benson was also in)?
Choices:
Alyson Hannigan
Richard Gere
Max Fleischer
William Henry Harrison
Sylvester Stallone
James Marsters
David Boreanaz
David Byrne
Anthony Head
Seth Green
Program:
function: Find
inputs: Amber Benson
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: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e 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> "Amber Benson" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Rupert Giles" .  }
Answer: Anthony Head