Question: Which one is shorter, The Pirate Movie or The Girl with the Dragon Tattoo (the one whose title is The Girl with the Dragon Tattoo) ?
Choices:
Curse of the Golden Flower
The Towering Inferno
Pleasantville
The Girl with the Dragon Tattoo
The Pirate Movie
Training Day
Talk to Her
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Program:
function: Find
inputs: The Pirate Movie
function: Find
inputs: The Girl with the Dragon Tattoo
function: FilterStr
dependencies: 1
inputs: title
The Girl with the Dragon Tattoo
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Pirate Movie" . } UNION { ?e <pred:name> "The Girl with the Dragon Tattoo" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Girl with the Dragon Tattoo" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Pirate Movie