Question: Which has more seasons, America's Got Talent or Superman (the one whose point in time is 1940)?
Choices:
Saturday Night's Main Event
Game of Thrones
Dancing with the Stars
America's Got Talent
Six Feet Under
American Horror Story
Superman
Seinfeld
Phineas and Ferb
Robot Chicken
Answer: America's Got Talent
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "America's Got Talent" . } UNION { ?e <pred:name> "Superman" . ?e <point_in_time> ?pv_1 . ?pv_1 <pred:year> 1940 . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: America's Got Talent
function: Find
inputs: Superman
function: FilterYear
dependencies: 1
inputs: point in time
1940
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
greater