Question: Which is longer, Back to the Future Part III or Beauty and the Beast (the one whose Giphy username is beautyandthebeast)?
Choices:
Alvin and the Chipmunks: Chipwrecked
Holes
The Muppets
Back to the Future Part III
Beauty and the Beast
The Flintstones in Viva Rock Vegas
National Treasure: Book of Secrets
Old Dogs
John Carter
G-Force
Answer: Beauty and the Beast
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Back to the Future Part III" . } UNION { ?e <pred:name> "Beauty and the Beast" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> "beautyandthebeast" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Back to the Future Part III
function: Find
inputs: Beauty and the Beast
function: FilterStr
dependencies: 1
inputs: Giphy username
beautyandthebeast
function: SelectBetween
dependencies: 0
2
inputs: duration
greater