Question: Between Toy Story 2 or Tarzan, with the official website movies.disney.com/tarzan, which is shorter?
Choices:
WALL·E
Toy Story 2
Winnie the Pooh
Peter Pan
Beauty and the Beast
Shrek 2
Aladdin
Renaissance
Tarzan
Lilo & Stitch
Program:
function: Find
inputs: Toy Story 2
function: Find
inputs: Tarzan
function: FilterStr
dependencies: 1
inputs: official website
http://movies.disney.com/tarzan
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Toy Story 2" . } UNION { ?e <pred:name> "Tarzan" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://movies.disney.com/tarzan" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tarzan