Question: Which written work was published in the year 1972?
Choices:
Heat
Bedknobs and Broomsticks
Zodiac
Slaughterhouse-Five
Stardust
Crash
Frenzy
You Only Live Twice
Women in Love
The Lorax
Answer: The Lorax
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <publication_date> ?pv . ?pv <pred:year> 1972 .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1972
=
function: FilterConcept
dependencies: 1
inputs: written work
function: What
dependencies: 2