Question: What is the relationship between Ordinary People (the one that mainly depicts psychotherapy) to Timothy Hutton?
Choices:
public holiday
health specialty
stated in
filmography
home world
cast member
narrator
had as last meal
eye color
indigenous to
Program:
function: Find
inputs: psychotherapy
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Ordinary People
function: And
dependencies: 1
2
function: Find
inputs: Timothy Hutton
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ordinary People" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "psychotherapy" . ?e_2 <pred:name> "Timothy Hutton" . ?e_1 ?p ?e_2 .  }
Answer: cast member