Question: Which is the longest among the feature films whose cost is 40000000 USD?
Choices:
Back to the Future Part III
Old Dogs
The Muppets
The Flintstones in Viva Rock Vegas
Back to the Future Part II
Alvin and the Chipmunks: Chipwrecked
Holes
National Treasure: Book of Secrets
The Flintstones
G-Force
Answer: Back to the Future Part III
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> "40000000"^^xsd:double . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: cost
40000000 United States dollar
=
function: FilterConcept
dependencies: 1
inputs: feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest