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