Question: Is the episode count higher for Emma, clocking in at 107 minutes, or From Here to Eternity, in English?
Choices:
A Streetcar Named Desire
From Here to Eternity
The Challenge
The Music Man
All Quiet on the Western Front
The Goodbye Girl
Emma
A Christmas Carol
The Late Shift
The Three Musketeers
Answer: From Here to Eternity
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Emma" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "107"^^xsd:double . } UNION { ?e <pred:name> "From Here to Eternity" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Emma
function: FilterNum
dependencies: 0
inputs: duration
107 minute
=
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: From Here to Eternity
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
greater