Question: Does Rabindranath Tagore (whose release date is 1961-01-01) or Wall Street (that has Charlie Sheen as a cast member) have the longer runtime?
Choices:
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
Rebecca
Wall Street
Training Day
The Towering Inferno
A Prairie Home Companion
Talk to Her
The Fifth Element
Answer: Wall Street
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rabindranath Tagore" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1961-01-01"^^xsd:date . } UNION { ?e <pred:name> "Wall Street" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Charlie Sheen" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rabindranath Tagore
function: FilterDate
dependencies: 0
inputs: publication date
1961-01-01
=
function: Find
inputs: Charlie Sheen
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Wall Street
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater