Question: Which is shorter in duration, the 23 minute long Avatar: The Last Airbender or Murphy Brown?
Choices:
Tiny Toon Adventures
Batman Beyond
The Venture Bros.
Murphy Brown
Aladdin
Phineas and Ferb
South Park
The Cleveland Show
Avatar: The Last Airbender
Robot Chicken
Program:
function: Find
inputs: Murphy Brown
function: Find
inputs: Avatar: The Last Airbender
function: FilterNum
dependencies: 1
inputs: duration
23 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Murphy Brown" . } UNION { ?e <pred:name> "Avatar: The Last Airbender" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "23"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Avatar: The Last Airbender