Question: How is Miracle on 34th Street, which has Allison Janney as a cast member, related to Jennifer Morrison?
Choices: studies
basic form of government
presenter
month of the year
cast member
published in
taxon rank
lowest point
contains settlement
broadcast by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Miracle on 34th Street" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Allison Janney" . ?e_2 <pred:name> "Jennifer Morrison" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Allison Janney
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Miracle on 34th Street
function: And
dependencies: 1
2
function: Find
inputs: Jennifer Morrison
function: QueryRelation
dependencies: 3
4
Answer: cast member