Question: Between Star Wars: Episode I – The Phantom Menace or Alice in Wonderland, with Stephen Fry as a cast member, which was the box office loser?
Choices:
The Muppets
Old Dogs
The Flintstones
Alice in Wonderland
G-Force
John Carter
Star Wars: Episode I – The Phantom Menace
Alvin and the Chipmunks: Chipwrecked
Holes
The Flintstones in Viva Rock Vegas
Program:
function: Find
inputs: Star Wars: Episode I – The Phantom Menace
function: Find
inputs: Stephen Fry
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Wars: Episode I – The Phantom Menace" .  } UNION { ?e <pred:name> "Alice in Wonderland" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Stephen Fry" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alice in Wonderland