Question: I need to know the movie that was named after Veronica Mars (which was a notable work of Kristen Bell) and that comes after Veronica Mars (that has Joss Whedon as a cast member)
Choices:
Pleasantville
The Hunchback of Notre Dame
Rebecca
Veronica Mars
A Prairie Home Companion
Talk to Her
The Towering Inferno
Training Day
Rope
Curse of the Golden Flower
Program:
function: Find
inputs: Kristen Bell
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Veronica Mars
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: film
function: Find
inputs: Joss Whedon
function: Relate
dependencies: 6
inputs: cast member
backward
function: Find
inputs: Veronica Mars
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: follows
backward
function: FilterConcept
dependencies: 10
inputs: film
function: And
dependencies: 5
11
function: What
dependencies: 12
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Veronica Mars" . ?e_2 <notable_work> ?e_1 . ?e_2 <pred:name> "Kristen Bell" .  ?e <follows> ?e_3 . ?e_3 <pred:name> "Veronica Mars" . ?e_3 <cast_member> ?e_4 . ?e_4 <pred:name> "Joss Whedon" .  }
Answer: Veronica Mars