Question: Which movie is longer, Christopher Columbus (the one whose number of episodes is 4) or Hellboy II: The Golden Army?
Choices:
The Late Shift
The Music Man
Shackleton
The Challenge
All Quiet on the Western Front
The Goodbye Girl
The Three Musketeers
A Streetcar Named Desire
Hellboy II: The Golden Army
Christopher Columbus
Answer: Christopher Columbus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Christopher Columbus" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4"^^xsd:double . } UNION { ?e <pred:name> "Hellboy II: The Golden Army" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Christopher Columbus
function: FilterNum
dependencies: 0
inputs: number of episodes
4
=
function: Find
inputs: Hellboy II: The Golden Army
function: SelectBetween
dependencies: 1
2
inputs: duration
greater