Question: What animated feature film is titled Shrek Forever After and was published after 2006?
Choices:
WALL·E
Toy Story 3
The Lorax
Beauty and the Beast
Up
Arthur Christmas
The Princess and the Frog
Shrek Forever After
Hotel Transylvania
Aladdin
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Shrek Forever After
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2006
>
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <title> ?pv . ?pv <pred:value> "Shrek Forever After" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 2006 ) .  }
Answer: Shrek Forever After