Question: What is the connection between Weeds (the one whose narrative location is Connecticut) to Peter Stormare?
Choices:
developer
penalty
next higher rank
head coach
officeholder
cast member
official symbol
used by
business division
airline hub
Program:
function: Find
inputs: Connecticut
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Weeds
function: And
dependencies: 1
2
function: Find
inputs: Peter Stormare
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Weeds" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Connecticut" . ?e_2 <pred:name> "Peter Stormare" . ?e_1 ?p ?e_2 .  }
Answer: cast member