Question: Which movie is shorter, Christopher Columbus (the one whose color is black-and-white) or Julius Caesar (the one whose genre is biographical film)?
Choices:
The Towering Inferno
Talk to Her
Training Day
Christopher Columbus
A Prairie Home Companion
Pleasantville
Curse of the Golden Flower
Julius Caesar
The Hunchback of Notre Dame
The Fifth Element
Answer: Christopher Columbus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Christopher Columbus" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } UNION { ?e <pred:name> "Julius Caesar" . ?e <genre> ?e_2 . ?e_2 <pred:name> "biographical film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Christopher Columbus
function: And
dependencies: 1
2
function: Find
inputs: biographical film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Julius Caesar
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less