Question: Does Merlin, clocking in at 175 minutes, or Real World have fewer episodes?
Choices:
The Pacific
Edge of Darkness
Merlin
Roots
The Stand
Real World
The Ten Commandments
Battlestar Galactica
George Washington
The Diary of Anne Frank
Program:
function: Find
inputs: Merlin
function: FilterNum
dependencies: 0
inputs: duration
175 minute
=
function: Find
inputs: Real World
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Merlin" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "175"^^xsd:double . } UNION { ?e <pred:name> "Real World" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Merlin