Question: Which was longer The Rescuers or Winnie the Pooh?
Choices:
Winnie the Pooh
Beauty and the Beast
Cinderella
Peter Pan
Lilo & Stitch
WALL·E
Aladdin
The Rescuers
Renaissance
Cars
Program:
function: Find
inputs: The Rescuers
function: Find
inputs: Winnie the Pooh
function: FilterStr
dependencies: 1
inputs: title
Winnie the Pooh
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Rescuers" . } UNION { ?e <pred:name> "Winnie the Pooh" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Winnie the Pooh" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Rescuers