Question: What is the title of The Avengers (the one whose publication date is 1998-01-01)?
Choices:
Management
Cars
Top Gun
A Single Man
Match Point
Grindhouse
The Wizard of Oz
The Avengers
Greystoke: The Legend of Tarzan, Lord of the Apes
Cheers
Program:
function: Find
inputs: The Avengers
function: FilterDate
dependencies: 0
inputs: publication date
1998-01-01
=
function: QueryAttr
dependencies: 1
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Avengers" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1998-01-01"^^xsd:date . ?e <title> ?pv .  }
Answer: The Avengers