Question: Which movie is longer, The Rocketeer (the one whose official website is http://movies.disney.com/the-rocketeer) or Alice (the one that origins from Germany)?
Choices:
Alice
National Treasure: Book of Secrets
John Carter
G-Force
Alvin and the Chipmunks: Chipwrecked
The Rocketeer
The Flintstones in Viva Rock Vegas
The Flintstones
Holes
Old Dogs
Answer: The Rocketeer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Rocketeer" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://movies.disney.com/the-rocketeer" . } UNION { ?e <pred:name> "Alice" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Germany" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Rocketeer
function: FilterStr
dependencies: 0
inputs: official website
http://movies.disney.com/the-rocketeer
function: Find
inputs: Germany
function: Relate
dependencies: 2
inputs: country of origin
backward
function: Find
inputs: Alice
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater