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