Question: Does Pinocchio (the one that received National Film Registry) or The Little Mermaid (the one whose composer is Howard Ashman) has less duration ?
Choices:
The Rescuers
Aladdin
Pinocchio
Peter Pan
The Little Mermaid
Shrek 2
Winnie the Pooh
Lilo & Stitch
Renaissance
Beauty and the Beast
Answer: The Little Mermaid
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pinocchio" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "National Film Registry" .   } UNION { ?e <pred:name> "The Little Mermaid" . ?e <composer> ?e_2 . ?e_2 <pred:name> "Howard Ashman" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: National Film Registry
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Pinocchio
function: And
dependencies: 1
2
function: Find
inputs: Howard Ashman
function: Relate
dependencies: 4
inputs: composer
backward
function: Find
inputs: The Little Mermaid
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less