Question: Which is longer, All My Children or The Ten Commandments, which ran 180 minutes?
Choices:
Emma
The Pacific
The Civil War
The Diary of Anne Frank
Battlestar Galactica
The Ten Commandments
All My Children
The Stand
Roots
George Washington
Answer: The Ten Commandments
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "All My Children" . } UNION { ?e <pred:name> "The Ten Commandments" . ?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
Program:
function: Find
inputs: All My Children
function: Find
inputs: The Ten Commandments
function: FilterNum
dependencies: 1
inputs: duration
180 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater