Question: Does Versailles with a 3-season run or Girls which concluded on 2017-04-16 boast the most episodes?
Choices:
Versailles
Game of Thrones
Saturday Night's Main Event
Robot Chicken
Phineas and Ferb
Dancing with the Stars
Six Feet Under
Bleak House
Girls
American Horror Story
Answer: Girls
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Versailles" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3"^^xsd:double . } UNION { ?e <pred:name> "Girls" . ?e <end_time> ?pv_2 . ?pv_2 <pred:date> "2017-04-16"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Versailles
function: FilterNum
dependencies: 0
inputs: number of seasons
3
=
function: Find
inputs: Girls
function: FilterDate
dependencies: 2
inputs: end time
2017-04-16
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
greater