Question: How is Twin Peaks (with Molly Shannon) related to Lara Flynn Boyle?
Choices:
educated at
stated in
programming paradigm
chief executive officer
from fictional universe
place of birth
notable work
instrument
cause of death
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Twin Peaks" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Molly Shannon" . ?e_2 <pred:name> "Lara Flynn Boyle" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Molly Shannon
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Twin Peaks
function: And
dependencies: 1
2
function: Find
inputs: Lara Flynn Boyle
function: QueryRelation
dependencies: 3
4