Question: Between Alice in Wonderland (which features Json Flemyng in the cast) or Jesus of Nazareth, which has a shorter running time?
Choices:
The Diary of Anne Frank
Roots
Edge of Darkness
The Pacific
The Ten Commandments
Jesus of Nazareth
George Washington
Alice in Wonderland
Battlestar Galactica
The Civil War
Program:
function: Find
inputs: Jason Flemyng
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 1
2
function: Find
inputs: Jesus of Nazareth
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice in Wonderland" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jason Flemyng" .   } UNION { ?e <pred:name> "Jesus of Nazareth" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alice in Wonderland