Question: How is  The X-Files (the one that has Seth Green as a cast member) related to William B. Davis ?
Choices: set in period
cast member
production designer
location
member of sports team
organisation directed from the office or person
has cause
noble title
has part
approved by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The X-Files" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Seth Green" . ?e_2 <pred:name> "William B. Davis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Seth Green
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The X-Files
function: And
dependencies: 1
2
function: Find
inputs: William B. Davis
function: QueryRelation
dependencies: 3
4
Answer: cast member