Question: Are there more episodes in the 280 minute long Christopher Columbus or in Elizabeth I?
Choices:
Christopher Columbus
The Challenge
The Goodbye Girl
A Streetcar Named Desire
The Three Musketeers
A Christmas Carol
All Quiet on the Western Front
Shackleton
The Music Man
Elizabeth I
Program:
function: Find
inputs: Christopher Columbus
function: FilterNum
dependencies: 0
inputs: duration
280 minute
=
function: Find
inputs: Elizabeth I
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Christopher Columbus" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "280"^^xsd:double . } UNION { ?e <pred:name> "Elizabeth I" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Christopher Columbus