Question: What is the character role of Leonard Nimoy as a cast member of Star Trek: The Original Series?
Choices:
Iago
Black Knight
Chi-Fu
Stephen Maturin
Kate Brewster
Alfred Pennyworth
Grand Moff Tarkin
Phyllis Lindstrom
Spock
Andy Sipowicz
Program:
function: Find
inputs: Star Trek: The Original Series
function: Find
inputs: Leonard Nimoy
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Trek: The Original Series" . ?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 .  }
Answer: Spock