Question: Which show has more seasons, Iron Man (the one whose start time is 1994-09-24) or The Young and the Restless?
Choices:
Seinfeld
Robot Chicken
Game of Thrones
Saturday Night's Main Event
The Young and the Restless
Iron Man
Phineas and Ferb
Dancing with the Stars
Six Feet Under
Bleak House
Answer: The Young and the Restless
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1994-09-24"^^xsd:date . } UNION { ?e <pred:name> "The Young and the Restless" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Iron Man
function: FilterDate
dependencies: 0
inputs: start time
1994-09-24
=
function: Find
inputs: The Young and the Restless
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater