Question: What is John Cho's character role in Star Trek (whose production company is Paramount Pictures)?
Choices: Coat-Check Girl
Abomination
Will Turner
Red Grant
Frank Burns
Maya Hansen
Han Solo
Ted Clubberlang
Hikaru Sulu
Andy Warhol
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Trek" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Paramount Pictures" . ?e_2 <pred:name> "John Cho" . ?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: Paramount Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Find
inputs: John Cho
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Hikaru Sulu