Question: What is the role of Dean Stockwell in Battlestar Galactica (the one that has Callum Keith Rennie as a cast member)?
Choices: The Great Gazoo
Bud Fox
Hamilton Jordan
Donna Hayward
Julius Caesar
Godfrey
Sidney Prescott
Hermes Conrad
Jim Brass
John Cavil
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Battlestar Galactica" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Callum Keith Rennie" . ?e_2 <pred:name> "Dean Stockwell" . ?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: Callum Keith Rennie
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Battlestar Galactica
function: And
dependencies: 1
2
function: Find
inputs: Dean Stockwell
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: John Cavil