Question: Among the feature film whose publication date is not in 1989, which one has the highest duration
Choices:
John Carter
Alvin and the Chipmunks: Chipwrecked
The Flintstones in Viva Rock Vegas
The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
The Hunchback of Notre Dame
Gulliver's Travels
Invincible
Alvin and the Chipmunks: The Squeakquel
Fiddler on the Roof
The Chronicles of Narnia: Prince Caspian
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1989
!=
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 <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1989 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fiddler on the Roof