Question: Tell me the visual artwork that is a derivative work of Veronica Mars (which has Nelsan Ellis as a cast member) and that has the title Veronica Mars
Choices:
A Prairie Home Companion
The Fifth Element
Rebecca
Rope
Training Day
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
Veronica Mars
Answer: Veronica Mars
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Veronica Mars" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Nelsan Ellis" .  ?e <title> ?pv . ?pv <pred:value> "Veronica Mars" .  }
Program:
function: Find
inputs: Nelsan Ellis
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Veronica Mars
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 6
inputs: title
Veronica Mars
function: FilterConcept
dependencies: 7
inputs: visual artwork
function: And
dependencies: 5
8
function: What
dependencies: 9