Question: Does Friends whose director is D. W. Griffith or Superman whose release date is 1941-09-26 have the shorter runtime?
Choices:
Superman
Anastasia
My-HiME
Code Geass
Wonder Woman
Naruto Shippuden the Movie: Bonds
The Polar Express
Magic Knight Rayearth
Friends
Ponyo on the Cliff by the Sea
Program:
function: Find
inputs: D. W. Griffith
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Friends
function: And
dependencies: 1
2
function: Find
inputs: Superman
function: FilterDate
dependencies: 4
inputs: publication date
1941-09-26
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Friends" . ?e <director> ?e_1 . ?e_1 <pred:name> "D. W. Griffith" . } UNION { ?e <pred:name> "Superman" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1941-09-26"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Superman