Question: Is the season count higher for Land of the Lost, first broadcast on NBC, or Great Expectations, published on 2011-01-01?
Choices:
Land of the Lost
Great Expectations
Bleak House
Robot Chicken
Dancing with the Stars
Saturday Night's Main Event
Six Feet Under
Game of Thrones
Phineas and Ferb
American Horror Story
Answer: Land of the Lost
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Land of the Lost" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "NBC" . } UNION { ?e <pred:name> "Great Expectations" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2011-01-01"^^xsd:date . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Land of the Lost
function: And
dependencies: 1
2
function: Find
inputs: Great Expectations
function: FilterDate
dependencies: 4
inputs: publication date
2011-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
greater