Question: Which movie is longer, Going My Way (the one that received National Film Registry) or Austin Powers: The Spy Who Shagged Me?
Choices:
Going My Way
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
The Fifth Element
Curse of the Golden Flower
Austin Powers: The Spy Who Shagged Me
The Towering Inferno
Rebecca
Answer: Going My Way
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Going My Way" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "National Film Registry" .   } UNION { ?e <pred:name> "Austin Powers: The Spy Who Shagged Me" .  } ?e <duration> ?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: Find
inputs: Going My Way
function: And
dependencies: 1
2
function: Find
inputs: Austin Powers: The Spy Who Shagged Me
function: SelectBetween
dependencies: 3
4
inputs: duration
greater