Question: How is The Longest Yard starring Sean McNamara related to Burt Reynolds?
Choices: production designer
discoverer or inventor
month of the year
parent organization
office held by head of government
cast member
official language
narrative role
home port
next higher rank
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Longest Yard" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sean McNamara" . ?e_2 <pred:name> "Burt Reynolds" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sean McNamara
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Longest Yard
function: And
dependencies: 1
2
function: Find
inputs: Burt Reynolds
function: QueryRelation
dependencies: 3
4
Answer: cast member