Question: Does About a Boy, released on 2002-06-07, or Home Alone, with Catherine O'Hara as a cast member, have the shorter running time?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Rebecca
A Prairie Home Companion
Home Alone
Training Day
Curse of the Golden Flower
Pleasantville
About a Boy
The Towering Inferno
Program:
function: Find
inputs: About a Boy
function: FilterDate
dependencies: 0
inputs: publication date
2002-06-07
=
function: Find
inputs: Catherine O'Hara
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Home Alone
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "About a Boy" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2002-06-07"^^xsd:date . } UNION { ?e <pred:name> "Home Alone" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Catherine O'Hara" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: About a Boy