Question: Which movie is longer, Star Wars: Episode III – Revenge of the Sith or Ronaldo (the one whose title is Ronaldo)?
Choices:
Star Wars: Episode III – Revenge of the Sith
Training Day
Pleasantville
Curse of the Golden Flower
The Fifth Element
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
Talk to Her
Program:
function: Find
inputs: Star Wars: Episode III – Revenge of the Sith
function: Find
inputs: Ronaldo
function: FilterStr
dependencies: 1
inputs: title
Ronaldo
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Wars: Episode III – Revenge of the Sith" . } UNION { ?e <pred:name> "Ronaldo" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Ronaldo" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Star Wars: Episode III – Revenge of the Sith