Question: Which is shorter, Thomas Jefferson, with Sam Waterson in the cast, or The Nutty Professor, published 1963-01-01?
Choices:
A Prairie Home Companion
Rebecca
Training Day
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
Talk to Her
The Nutty Professor
Curse of the Golden Flower
Program:
function: Find
inputs: Sam Waterston
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Thomas Jefferson
function: And
dependencies: 1
2
function: Find
inputs: The Nutty Professor
function: FilterDate
dependencies: 4
inputs: publication date
1963-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thomas Jefferson" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sam Waterston" . } UNION { ?e <pred:name> "The Nutty Professor" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1963-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Nutty Professor