Question: Which is shorter, Earth published on 1930-04-08 or Wilson starring Douglas Fairbanks?
Choices: Paris
The Last of the Mohicans
Rebecca
Hamlet
Pleasantville
Little Women
Earth
A Prairie Home Companion
The Hunchback of Notre Dame
The Scarlet Letter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Earth" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1930-04-08"^^xsd:date . } UNION { ?e <pred:name> "Wilson" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Douglas Fairbanks" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Earth
function: FilterDate
dependencies: 0
inputs: publication date
1930-04-08
=
function: Find
inputs: Douglas Fairbanks
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Wilson
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Earth