Question: Which movie is shorter, The Hobbit: An Unexpected Journey or The Lion King (the one whose official website is http://movies.disney.com/the-lion-king)?
Choices:
Magic Knight Rayearth
The Polar Express
The Lion King
Anastasia
Superman
A Christmas Carol
The Hobbit: An Unexpected Journey
Code Geass
Wonder Woman
Ponyo on the Cliff by the Sea
Program:
function: Find
inputs: The Hobbit: An Unexpected Journey
function: Find
inputs: The Lion King
function: FilterStr
dependencies: 1
inputs: official website
http://movies.disney.com/the-lion-king
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hobbit: An Unexpected Journey" . } UNION { ?e <pred:name> "The Lion King" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://movies.disney.com/the-lion-king" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Lion King