Question: Tell me the one with the least seasons, The Stand (which has a duration fo 345 minutes) or The Transformers
Choices:
The Civil War
Roots
The Pacific
The Diary of Anne Frank
George Washington
The Stand
Battlestar Galactica
Edge of Darkness
The Ten Commandments
The Transformers
Program:
function: Find
inputs: The Stand
function: FilterNum
dependencies: 0
inputs: duration
345 minute
=
function: Find
inputs: The Transformers
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Stand" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "345"^^xsd:double . } UNION { ?e <pred:name> "The Transformers" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Stand