Question: What is the connection between The Rocketeer (the one that has Terry O'Quinn as a cast member) to Terry O'Quinn?
Choices:
hair color
cast member
general manager
architectural style
product or material produced
connects with
highest judicial authority
sport
official residence
foundational text
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Rocketeer" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Terry O'Quinn" . ?e_2 <pred:name> "Terry O'Quinn" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Terry O'Quinn
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Rocketeer
function: And
dependencies: 1
2
function: Find
inputs: Terry O'Quinn
function: QueryRelation
dependencies: 3
4