Question: Is John Carter or Alice in Wonderland (83 minutes) longer in duration?
Choices: The Flintstones in Viva Rock Vegas
Holes
The Muppets
John Carter
National Treasure: Book of Secrets
Alice in Wonderland
Old Dogs
The Flintstones
Alvin and the Chipmunks: Chipwrecked
Enchanted
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Carter" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "John Carter" . } UNION { ?e <pred:name> "Alice in Wonderland" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "83"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: John Carter
function: FilterStr
dependencies: 0
inputs: title
John Carter
function: Find
inputs: Alice in Wonderland
function: FilterNum
dependencies: 2
inputs: duration
83 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
Answer: John Carter