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