Question: Does The Pacific or Miami Vice (whose length is 42 minutes) have the longer runtime?
Choices:
The Ten Commandments
Emma
The Diary of Anne Frank
Edge of Darkness
Miami Vice
The Civil War
The Pacific
Roots
The Stand
Battlestar Galactica
Program:
function: Find
inputs: The Pacific
function: Find
inputs: Miami Vice
function: FilterNum
dependencies: 1
inputs: duration
42 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Pacific" . } UNION { ?e <pred:name> "Miami Vice" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "42"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Pacific