Question: Does the shorter runtime belong to Alice, which concluded on 2009-12-07, or Wonder Woman, with Bruce Timm as a voice actor?
Choices: Superman
The Polar Express
Naruto Shippuden the Movie: Bonds
Code Geass
Alice
Ponyo on the Cliff by the Sea
Wonder Woman
A Christmas Carol
Magic Knight Rayearth
Anastasia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "2009-12-07"^^xsd:date . } UNION { ?e <pred:name> "Wonder Woman" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Bruce Timm" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alice
function: FilterDate
dependencies: 0
inputs: end time
2009-12-07
=
function: Find
inputs: Bruce Timm
function: Relate
dependencies: 2
inputs: voice actor
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Wonder Woman