Question: Which has more seasons, Working Girl that started on 1990-04-16 or Dexter?
Choices:
Seinfeld
Working Girl
Saturday Night's Main Event
American Horror Story
Six Feet Under
Phineas and Ferb
Robot Chicken
Dancing with the Stars
Dexter
Game of Thrones
Program:
function: Find
inputs: Working Girl
function: FilterDate
dependencies: 0
inputs: start time
1990-04-16
=
function: Find
inputs: Dexter
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Working Girl" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1990-04-16"^^xsd:date . } UNION { ?e <pred:name> "Dexter" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dexter