Question: What animated-feature film's publication date is before 2010 and title is Shrek the Third?
Choices:
Shrek the Third
Finding Nemo
WALL·E
Winnie the Pooh
Peter Pan
The Rescuers
The Lord of the Rings
Beauty and the Beast
Aladdin
Chicken Little
Answer: Shrek the Third
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Shrek the Third" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2010
<
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Shrek the Third
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: And
dependencies: 2
5
function: What
dependencies: 6