Question: What does The Perks of Being a Wallflower (which has Joan Cusack as a cast member) have to do with Joan Cusack?
Choices:
distributor
commissioned by
cast member
used by
designed to carry
history of topic
operating area
interested in
broadcast by
participant
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Perks of Being a Wallflower" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Joan Cusack" . ?e_2 <pred:name> "Joan Cusack" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Joan Cusack
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Perks of Being a Wallflower
function: And
dependencies: 1
2
function: Find
inputs: Joan Cusack
function: QueryRelation
dependencies: 3
4