Question: What is Kyle MacLachlan's role as a performer in Superman (the one that has Benjamin Bratt as a performer)?
Choices:
pen pal
voice actor
island
leading actor
vocal arranger
singer-songwriter
X2
trailer
lower house
stage name
Program:
function: Find
inputs: Benjamin Bratt
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Find
inputs: Kyle MacLachlan
function: QueryRelationQualifier
dependencies: 3
4
inputs: performer
object has role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Superman" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Benjamin Bratt" . ?e_2 <pred:name> "Kyle MacLachlan" . ?e_1 <performer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Answer: voice actor