Question: Is the running time shorter for The Diary of Anne Frank, with Doris Roberts as a cast member, or for Scoop, released on 2006-11-16?
Choices: The Goodbye Girl
A Streetcar Named Desire
A Christmas Carol
Scoop
The Three Musketeers
Shackleton
The Diary of Anne Frank
The Music Man
The Challenge
All Quiet on the Western Front
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Diary of Anne Frank" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Doris Roberts" . } UNION { ?e <pred:name> "Scoop" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2006-11-16"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Doris Roberts
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Diary of Anne Frank
function: And
dependencies: 1
2
function: Find
inputs: Scoop
function: FilterDate
dependencies: 4
inputs: publication date
2006-11-16
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: The Diary of Anne Frank