Question: Songwriter Dan Schneider is in the cast of which visual artwork?
Choices:
Lemony Snicket's A Series of Unfortunate Events
Rebecca
Talk to Her
Man on the Moon
The Hunchback of Notre Dame
Happy Together
Pleasantville
Franz Schubert
Shakespeare in Love
A Prairie Home Companion
Answer: Happy Together
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dan Schneider" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "songwriter" .   }
Program:
function: Find
inputs: songwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Dan Schneider
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5