Question: For Star Trek: The Original Series has William Shatner in its cast, what is his or her character's role in the work?
Choices:
Richie Gecko
Bunny Lebowski
Martin Luther King Jr.
Robert Clayton Dean
Caretaker
Arthur Weasley
Hercules
Eli La Bouff
Irina Spalko
James T. Kirk
Program:
function: Find
inputs: Star Trek: The Original Series
function: Find
inputs: William Shatner
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> "William Shatner" . ?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: James T. Kirk