Question: Which movie's genre is based on literature and not published in 1919?
Choices:
Laura
Oliver Twist
Ryan's Daughter
Life of Pi
Rebecca
Louisiana
A Prairie Home Companion
An Ideal Husband
Girls
The Men Who Stare at Goats
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1919
=
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <genre> ?e_1 . ?e_1 <pred:name> "film based on literature" .  ?e <publication_date> ?pv . ?pv <pred:year> 1919 .  }
Answer: Oliver Twist