Question: Among the animated feature films that take place in Shrek (the one whose official website is http://www.shrek.com), which one has the smallest duration?
Choices:
The Rescuers
Shrek the Third
Beauty and the Beast
Renaissance
Aladdin
Puss in Boots
WALL·E
Shrek 2
Shrek
Winnie the Pooh
Program:
function: Find
inputs: Shrek
function: FilterStr
dependencies: 0
inputs: official website
http://www.shrek.com
function: Relate
dependencies: 1
inputs: takes place in fictional universe
backward
function: FilterConcept
dependencies: 2
inputs: animated feature film
function: SelectAmong
dependencies: 3
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <takes_place_in_fictional_universe> ?e_1 . ?e_1 <pred:name> "Shrek" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.shrek.com" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Shrek