Question: David Boreanaz is the voice of what character on Buffy the Vampire Slayer, distributed by Electronic Arts?
Choices:
Amphytryon
Buzz Lightyear
Jimmy McNulty
Stick
Josiah Bartlet
Treebeard
Clarence Boddicker
Bernard
Angel
Blackbeard
Answer: Angel
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Buffy the Vampire Slayer" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Electronic Arts" . ?e_2 <pred:name> "David Boreanaz" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Electronic Arts
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Buffy the Vampire Slayer
function: And
dependencies: 1
2
function: Find
inputs: David Boreanaz
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role