Question: Did Beauty and the Beast whose Giphy username is beautyandthebeast or Star Wars: Episode I – The Phantom Menace cost more?
Choices: Star Wars: Episode I – The Phantom Menace
The Flintstones
The Flintstones in Viva Rock Vegas
Beauty and the Beast
Old Dogs
The Muppets
National Treasure: Book of Secrets
G-Force
Holes
Alvin and the Chipmunks: Chipwrecked
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beauty and the Beast" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> "beautyandthebeast" . } UNION { ?e <pred:name> "Star Wars: Episode I – The Phantom Menace" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Beauty and the Beast
function: FilterStr
dependencies: 0
inputs: Giphy username
beautyandthebeast
function: Find
inputs: Star Wars: Episode I – The Phantom Menace
function: SelectBetween
dependencies: 1
2
inputs: cost
greater
Answer: Beauty and the Beast