Question: Does Rosemary's Baby, which began 2014-05-11, or The Practice have the greater number of episodes?
Choices:
Robot Chicken
Dancing with the Stars
Game of Thrones
Phineas and Ferb
The Practice
Bleak House
Rosemary's Baby
American Horror Story
Six Feet Under
Seinfeld
Answer: The Practice
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rosemary's Baby" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2014-05-11"^^xsd:date . } UNION { ?e <pred:name> "The Practice" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rosemary's Baby
function: FilterDate
dependencies: 0
inputs: start time
2014-05-11
=
function: Find
inputs: The Practice
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater