Question: Is the season tally higher for Torchwood or for Batman: The Animated Series (Dewey Decimal Classification 791.4572)?
Choices: American Horror Story
Torchwood
Game of Thrones
Bleak House
Dancing with the Stars
Phineas and Ferb
Six Feet Under
Seinfeld
Saturday Night's Main Event
Robot Chicken
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Torchwood" . } UNION { ?e <pred:name> "Batman: The Animated Series" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "791.4572" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Torchwood
function: Find
inputs: Batman: The Animated Series
function: FilterStr
dependencies: 1
inputs: Dewey Decimal Classification
791.4572
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
greater
Answer: Torchwood