Question: Which movie is shorter, Seven Brides for Seven Brothers (the one whose official website is http://www.warnerbros.com/movies/home-entertainment/seven-brides-for-seven-brothers/aafaf375-4570-4b01-9588-49c602bbe9fa.html) or The Firm (the one whose official website is http://www.thefirm84.com/)?
Choices:
Seven Brides for Seven Brothers
The Firm
The Towering Inferno
Talk to Her
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
Rebecca
Training Day
Program:
function: Find
inputs: Seven Brides for Seven Brothers
function: FilterStr
dependencies: 0
inputs: official website
http://www.warnerbros.com/movies/home-entertainment/seven-brides-for-seven-brothers/aafaf375-4570-4b01-9588-49c602bbe9fa.html
function: Find
inputs: The Firm
function: FilterStr
dependencies: 2
inputs: official website
http://www.thefirm84.com/
function: SelectBetween
dependencies: 1
3
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seven Brides for Seven Brothers" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.warnerbros.com/movies/home-entertainment/seven-brides-for-seven-brothers/aafaf375-4570-4b01-9588-49c602bbe9fa.html" . } UNION { ?e <pred:name> "The Firm" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.thefirm84.com/" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Firm