Question: Which movie is shorter, Pirates of the Caribbean: On Stranger Tides or Alice in Wonderland (the one whose title is Alice au pays des merveilles)?
Choices: Alice in Wonderland
The Flintstones
Old Dogs
John Carter
National Treasure: Book of Secrets
G-Force
Pirates of the Caribbean: On Stranger Tides
Alvin and the Chipmunks: Chipwrecked
Holes
The Flintstones in Viva Rock Vegas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pirates of the Caribbean: On Stranger Tides" . } UNION { ?e <pred:name> "Alice in Wonderland" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Alice au pays des merveilles" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Pirates of the Caribbean: On Stranger Tides
function: Find
inputs: Alice in Wonderland
function: FilterStr
dependencies: 1
inputs: title
Alice au pays des merveilles
function: SelectBetween
dependencies: 0
2
inputs: duration
less
Answer: Alice in Wonderland