Question: Is the duration less for Tiny Toon Adventures, whose duration is 30 minutes, or The O.C.?
Choices:
Batman Beyond
Aladdin
The Cleveland Show
Phineas and Ferb
The O.C.
The Venture Bros.
Robot Chicken
American Dad!
Tiny Toon Adventures
South Park
Program:
function: Find
inputs: Tiny Toon Adventures
function: FilterNum
dependencies: 0
inputs: duration
30 minute
=
function: Find
inputs: The O.C.
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tiny Toon Adventures" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "30"^^xsd:double . } UNION { ?e <pred:name> "The O.C." . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tiny Toon Adventures