Question: What is the longest action film?
Choices:
Last Action Hero
Robin Hood: Prince of Thieves
Star Wars: Episode I – The Phantom Menace
Pirates of the Caribbean: On Stranger Tides
Pirates of the Caribbean: At World's End
The Chronicles of Narnia: Prince Caspian
Pirates of the Caribbean: The Curse of the Black Pearl
The Sorcerer's Apprentice
Ghostbusters
The Rocketeer
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pirates of the Caribbean: At World's End