Question: Does Tulsa, released on 1950-01-01, or Orange County, with Lily Tomlin as cast member, have the longer run-time?
Choices:
Curse of the Golden Flower
Tulsa
Rebecca
Orange County
Talk to Her
A Prairie Home Companion
Training Day
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Answer: Tulsa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tulsa" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1950-01-01"^^xsd:date . } UNION { ?e <pred:name> "Orange County" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Lily Tomlin" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tulsa
function: FilterDate
dependencies: 0
inputs: publication date
1950-01-01
=
function: Find
inputs: Lily Tomlin
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Orange County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater