Question: For 3D movies with a date of publication earlier than 2011, which film's running time is the longest?
Choices:
Avatar
Piranha 3D
Chris Colfer
Evansville
Frankenweenie
Leonard Nimoy
The Last King of Scotland
Harry S. Truman
ParaNorman
The Smurfs
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2011
<
function: FilterConcept
dependencies: 1
inputs: 3D film
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2011 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Avatar