Question: How is The X-Files with Grant Heslove connected to Frances Fisher?
Choices:
lyrics by
office held by head of state
eye color
game mode
professorship
student of
sexual orientation
cast member
lifestyle
twinned administrative body
Program:
function: Find
inputs: Grant Heslov
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The X-Files
function: And
dependencies: 1
2
function: Find
inputs: Frances Fisher
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The X-Files" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Grant Heslov" . ?e_2 <pred:name> "Frances Fisher" . ?e_1 ?p ?e_2 .  }
Answer: cast member