Question: Does Cleopatra whose length is 177 minutes or Sons of Anarchy have the shorter runtime?
Choices:
Seinfeld
Cleopatra
Dancing with the Stars
Game of Thrones
Phineas and Ferb
Saturday Night's Main Event
American Horror Story
Robot Chicken
Sons of Anarchy
Bleak House
Program:
function: Find
inputs: Cleopatra
function: FilterNum
dependencies: 0
inputs: duration
177 minute
=
function: Find
inputs: Sons of Anarchy
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cleopatra" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "177"^^xsd:double . } UNION { ?e <pred:name> "Sons of Anarchy" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sons of Anarchy