Question: Is the episode count higher for The Ten Commandments, clocking in at 180 minutes, or for Spider-Man, from Canada?
Choices: Bleak House
Spider-Man
Six Feet Under
Robot Chicken
Phineas and Ferb
The Ten Commandments
Seinfeld
American Horror Story
Saturday Night's Main Event
Game of Thrones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ten Commandments" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "180"^^xsd:double . } UNION { ?e <pred:name> "Spider-Man" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Canada" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Ten Commandments
function: FilterNum
dependencies: 0
inputs: duration
180 minute
=
function: Find
inputs: Canada
function: Relate
dependencies: 2
inputs: country of origin
backward
function: Find
inputs: Spider-Man
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
greater
Answer: Spider-Man