Question: Does Monster (whose original language is Japanese) or Oliver Twist (whose release date is 1948-01-01) have the shorter running time?
Choices:
Curse of the Golden Flower
Monster
Pleasantville
The Hunchback of Notre Dame
Talk to Her
Rebecca
Oliver Twist
A Prairie Home Companion
Training Day
The Towering Inferno
Answer: Monster
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monster" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Japanese" . } UNION { ?e <pred:name> "Oliver Twist" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1948-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Japanese
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Monster
function: And
dependencies: 1
2
function: Find
inputs: Oliver Twist
function: FilterDate
dependencies: 4
inputs: publication date
1948-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less