Question: What film has a fairy tale genre and a publication date after 2004?
Choices:
Rebecca
A Prairie Home Companion
Talk to Her
Steve Jobs
Paddington
Pleasantville
The Bad Lieutenant: Port of Call New Orleans
Brothers
The Loss of a Teardrop Diamond
Fantastic Four
Program:
function: Find
inputs: fairy tale
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2004
>
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <genre> ?e_1 . ?e_1 <pred:name> "fairy tale" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2004 ) .  }
Answer: Paddington