Question: Which one is longer, Back to the Future (the one whose release region is Japan) or The Rocketeer (the one whose genre is action film) ?
Choices:
National Treasure: Book of Secrets
Holes
The Flintstones
John Carter
Old Dogs
Alvin and the Chipmunks: Chipwrecked
G-Force
Back to the Future
The Muppets
The Flintstones in Viva Rock Vegas
Answer: Back to the Future
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Rocketeer" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } UNION { ?e <pred:name> "Back to the Future" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Japan" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Rocketeer
function: And
dependencies: 1
2
function: Find
inputs: Japan
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Back to the Future
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater