Question: Leonard Nimoy is cast in which role on Star Trek Ⅳ: The Voyage Home?
Choices:
Alicia Nash
Éowyn
Hermes Conrad
Wynnchel
Johnny English
Diane Lockhart
Mater
Mikael Blomkvist
Tyrion Lannister
Spock
Answer: Spock
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Trek Ⅳ: The Voyage Home" . ?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 Voyage Home
function: Find
inputs: Leonard Nimoy
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role