Question: What is the connection between Star Trek (the one that has Wil Wheaton as a cast member) to Bryan Burk?
Choices: executive producer
legislative body
general manager
symptoms
place of publication
published in
director/manager
sport
tributary
head of state
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Star Trek" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Wil Wheaton" . ?e_2 <pred:name> "Bryan Burk" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Wil Wheaton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Find
inputs: Bryan Burk
function: QueryRelation
dependencies: 3
4
Answer: executive producer