Question: Which one has less duration between Prince of Persia: The Sands of Time (the one produced by Jerry Bruckheimer) or Alice in Wonderland (the one that has Crispin Glover as a cast member)?
Choices:
Alice in Wonderland
The Flintstones
Old Dogs
The Muppets
G-Force
National Treasure: Book of Secrets
Prince of Persia: The Sands of Time
Holes
Alvin and the Chipmunks: Chipwrecked
John Carter
Answer: Alice in Wonderland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prince of Persia: The Sands of Time" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Jerry Bruckheimer" .   } UNION { ?e <pred:name> "Alice in Wonderland" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Crispin Glover" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jerry Bruckheimer
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Prince of Persia: The Sands of Time
function: And
dependencies: 1
2
function: Find
inputs: Crispin Glover
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less