Question: Which had more seasons, The Surreal Life or Into the West, published 2005-01-01?
Choices:
American Horror Story
Six Feet Under
Into the West
Bleak House
Robot Chicken
Game of Thrones
Seinfeld
Saturday Night's Main Event
The Surreal Life
Phineas and Ferb
Program:
function: Find
inputs: The Surreal Life
function: Find
inputs: Into the West
function: FilterDate
dependencies: 1
inputs: publication date
2005-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Surreal Life" . } UNION { ?e <pred:name> "Into the West" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2005-01-01"^^xsd:date . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Surreal Life