Question: Which movie made more at the box office, The Parent Trap (the one whose official website is http://movies.disney.com/the-parent-trap-1961) or Back to the Future (the one that has Michael J. Fox as a cast member)?
Choices:
Old Dogs
The Parent Trap
Holes
The Flintstones
John Carter
Back to the Future
Alvin and the Chipmunks: Chipwrecked
G-Force
The Muppets
The Flintstones in Viva Rock Vegas
Answer: Back to the Future
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Parent Trap" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://movies.disney.com/the-parent-trap-1961" . } UNION { ?e <pred:name> "Back to the Future" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Michael J. Fox" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Parent Trap
function: FilterStr
dependencies: 0
inputs: official website
http://movies.disney.com/the-parent-trap-1961
function: Find
inputs: Michael J. Fox
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Back to the Future
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: box office
greater