Question: What is the role for a Superman (that contain is Channing Tatum as a performer) that has Blair Underwood performing?
Choices:
official name
de facto
band member
sound designer
island
trailer
voice actor
LAU 1
guitarist
lead vocalist
Answer: voice actor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Superman" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Channing Tatum" . ?e_2 <pred:name> "Blair Underwood" . ?e_1 <performer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: Channing Tatum
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Find
inputs: Blair Underwood
function: QueryRelationQualifier
dependencies: 3
4
inputs: performer
object has role