Question: Among the feature films, the ones that received National Film Registry, which one had the biggest box office record ?
Choices:
The Flintstones in Viva Rock Vegas
John Carter
The Muppets
The Flintstones
Alvin and the Chipmunks: Chipwrecked
Back to the Future
National Treasure: Book of Secrets
G-Force
Old Dogs
Mary Poppins
Answer: Back to the Future
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "National Film Registry" .  ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: National Film Registry
function: Relate
dependencies: 0
inputs: award received
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: SelectAmong
dependencies: 2
inputs: box office
largest