Question: Is the season tally higher for Beauty and the Beast, with a 42-minute run-time, or Dexter?
Choices:
Game of Thrones
American Horror Story
Phineas and Ferb
Robot Chicken
Six Feet Under
Dexter
Bleak House
Beauty and the Beast
Saturday Night's Main Event
Seinfeld
Program:
function: Find
inputs: Beauty and the Beast
function: FilterNum
dependencies: 0
inputs: duration
42 minute
=
function: Find
inputs: Dexter
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beauty and the Beast" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "42"^^xsd:double . } UNION { ?e <pred:name> "Dexter" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dexter