Question: Of the feature films longer than 150 minutes, which has the longest duration?
Choices:
Enchanted
Secretariat
Alice in Wonderland
Holes
Mighty Joe Young
National Treasure: Book of Secrets
The Flintstones in Viva Rock Vegas
Hannah Montana: The Movie
National Treasure
Pirates of the Caribbean: Dead Man's Chest
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
150 minute
<
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 <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "150"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pirates of the Caribbean: Dead Man's Chest