Question: Of the films in the Shrek franchise of animated features—which has an official website of http://www.shrek.com—which one made the most at the box office?
Choices:
WALL·E
Winnie the Pooh
Shrek
Beauty and the Beast
Shrek the Third
Renaissance
The Rescuers
Aladdin
Shrek 2
Shrek Forever After
Answer: Shrek 2
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 <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
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: box office
largest