Question: What is the character role of Leonard Nimoy in Star Trek Ⅱ: The Wrath of Khan?
Choices:
War Doctor
Professor Lewis
Poison Ivy
Carlos Solis
Spock
Mary Todd Lincoln
Pit
Ray
Chubbs Peterson
Batgirl
Answer: Spock
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Trek Ⅱ: The Wrath of Khan" . ?e_2 <pred:name> "Leonard Nimoy" . ?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: Star Trek Ⅱ: The Wrath of Khan
function: Find
inputs: Leonard Nimoy
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role