Question: What is the name of the Anthony Head character Buffy the Vampire Slayer (the one whose narrative location is Buffyverse)?
Choices: Gina
Baby Face Nelson
Tweety
Rupert Giles
Cindy Campbell
Howard Bingham
Djali
John McKittrick
Sybill Trelawney
Benjamin Stone
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Buffy the Vampire Slayer" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Buffyverse" . ?e_2 <pred:name> "Anthony Head" . ?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: Buffyverse
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Buffy the Vampire Slayer
function: And
dependencies: 1
2
function: Find
inputs: Anthony Head
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Rupert Giles