Question: Which visual artwork has the origin name of It's a Wonderful Life (the one whose genre is situation comedy)?
Choices:
Talk to Her
Pleasantville
A Prairie Home Companion
The Towering Inferno
Rebecca
It's a Wonderful Life
Sucker Punch
Training Day
The Fifth Element
South Park: Bigger, Longer & Uncut
Answer: It's a Wonderful Life
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "It's a Wonderful Life" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "situation comedy" .   }
Program:
function: Find
inputs: situation comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: It's a Wonderful Life
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5