Question: I need to know the one with the largest duration within the feature film that has a duration not exactly 130 minutes.
Choices: Splash
The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
Remember the Titans
The Straight Story
National Treasure: Book of Secrets
Fiddler on the Roof
Popeye
Ghostbusters II
Alvin and the Chipmunks: The Squeakquel
The Flintstones in Viva Rock Vegas
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 != "130"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
130 minute
!=
function: FilterConcept
dependencies: 1
inputs: feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest
Answer: Fiddler on the Roof