Question: Which is shorter, The 40-Year-Old Virgin or The Count of Monte Cristo published on 1961-01-01?
Choices:
Talk to Her
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
Rebecca
The Towering Inferno
The Count of Monte Cristo
Training Day
The 40-Year-Old Virgin
A Prairie Home Companion
Answer: The 40-Year-Old Virgin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The 40-Year-Old Virgin" . } UNION { ?e <pred:name> "The Count of Monte Cristo" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1961-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The 40-Year-Old Virgin
function: Find
inputs: The Count of Monte Cristo
function: FilterDate
dependencies: 1
inputs: publication date
1961-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less