Question: Which movie is longer, Sailor Moon S: The Movie or Renaissance (the one whose genre is neo-noir)?
Choices:
Aladdin
Lilo & Stitch
Renaissance
Shrek 2
WALL·E
Sailor Moon S: The Movie
Beauty and the Beast
Winnie the Pooh
Cinderella
Peter Pan
Program:
function: Find
inputs: Sailor Moon S: The Movie
function: Find
inputs: neo-noir
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Renaissance
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sailor Moon S: The Movie" .  } UNION { ?e <pred:name> "Renaissance" . ?e <genre> ?e_1 . ?e_1 <pred:name> "neo-noir" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sailor Moon S: The Movie