Question: The Lord of the Rings, with script by J. R. R. Tolkien, was published at what time?
Choices:
1977-04-01
2008-10-26
1997-04-10
1963-10-24
2004-11-12
1978-06-28
1998-11-19
1978-11-15
2014-07-24
1955-01-01
Answer: 1978-11-15
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Lord of the Rings" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "J. R. R. Tolkien" .  ?e <publication_date> ?pv .  }
Program:
function: Find
inputs: J. R. R. Tolkien
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The Lord of the Rings
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date