Question: Which feature film has the largest duration?
Choices:
Gulliver's Travels
Fiddler on the Roof
Pirates of the Caribbean: At World's End
Pirates of the Caribbean: The Curse of the Black Pearl
Beauty and the Beast
The Straight Story
Wallace & Gromit: The Curse of the Were-Rabbit
Secretariat
Pirates of the Caribbean: On Stranger Tides
Alvin and the Chipmunks: Chipwrecked
Program:
function: FindAll
function: FilterConcept
dependencies: 0
inputs: feature film
function: SelectAmong
dependencies: 1
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fiddler on the Roof