Question: Which one of feature movies that cost below 39,000,000 USD have the longest running time ?
Choices: The Hunchback of Notre Dame
Splash
The NeverEnding Story
Holes
Wallace & Gromit: The Curse of the Were-Rabbit
Mary Poppins
Back to the Future
National Treasure: Book of Secrets
Old Dogs
Ghostbusters
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "39000000"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: cost
39000000 United States dollar
<
function: FilterConcept
dependencies: 1
inputs: feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest
Answer: Mary Poppins