Question: What silent film is written by William Shakespeare, who has the Swedish Literature Bank AuthorID of ShakespeareW, and was published after 1914?
Choices:
The Hunchback of Notre Dame
Twelfth Night: Or What You Will
Earth
Rebecca
The Scarlet Letter
Little Women
Romeo and Juliet
Paris
The Last of the Mohicans
Hamlet
Program:
function: Find
inputs: William Shakespeare
function: FilterStr
dependencies: 0
inputs: Swedish Literature Bank AuthorID
ShakespeareW
function: Relate
dependencies: 1
inputs: after a work by
backward
function: FilterConcept
dependencies: 2
inputs: silent film
function: FindAll
function: FilterYear
dependencies: 4
inputs: publication date
1914
>
function: FilterConcept
dependencies: 5
inputs: silent film
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "silent film" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "William Shakespeare" . ?e_1 <Swedish_Literature_Bank_AuthorID> ?pv . ?pv <pred:value> "ShakespeareW" .  ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1914 ) .  }
Answer: Hamlet