Question: Which is longer, The Ten Commandments that is 180 minutes long or Last of the Summer Wine?
Choices:
The Civil War
The Ten Commandments
The Stand
Edge of Darkness
Roots
Battlestar Galactica
The Diary of Anne Frank
Emma
George Washington
The Pacific
Program:
function: Find
inputs: The Ten Commandments
function: FilterNum
dependencies: 0
inputs: duration
180 minute
=
function: Find
inputs: Last of the Summer Wine
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ten Commandments" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "180"^^xsd:double . } UNION { ?e <pred:name> "Last of the Summer Wine" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Ten Commandments