Question: What is the ISNI of the human that is a voice actor (in the character role of Pain) of Hercules (which has Danny DeVito as a voice actor)?
Choices:
0000 0004 0373 2768
0000 0000 7139 6226
0000 0000 3047 7679
0000 0000 7365 9843
0000 0001 1480 8172
0000 0001 1448 5377
0000 0000 5514 1960
0000 0001 0785 7056
0000 0001 0901 5565
0000 0001 2096 8578
Answer: 0000 0000 3047 7679
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <voice_actor> ?e . ?e_1 <pred:name> "Hercules" . ?e_1 <voice_actor> ?e_2 . ?e_2 <pred:name> "Danny DeVito" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Pain" . ?e <ISNI> ?pv .  }
Program:
function: Find
inputs: Danny DeVito
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: voice actor
forward
function: QFilterStr
dependencies: 4
inputs: character role
Pain
function: FilterConcept
dependencies: 5
inputs: human
function: QueryAttr
dependencies: 6
inputs: ISNI