Question: Which has fewer seasons, Hannibal (the one whose official website is http://www.nbc.com/hannibal/) or Ben 10 (the one whose start time is 2005-12-27)?
Choices: Dancing with the Stars
American Horror Story
Robot Chicken
Bleak House
Seinfeld
Saturday Night's Main Event
Phineas and Ferb
Game of Thrones
Ben 10
Hannibal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hannibal" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.nbc.com/hannibal/" . } UNION { ?e <pred:name> "Ben 10" . ?e <start_time> ?pv_2 . ?pv_2 <pred:date> "2005-12-27"^^xsd:date . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hannibal
function: FilterStr
dependencies: 0
inputs: official website
http://www.nbc.com/hannibal/
function: Find
inputs: Ben 10
function: FilterDate
dependencies: 2
inputs: start time
2005-12-27
=
function: SelectBetween
dependencies: 1
3
inputs: number of seasons
less
Answer: Hannibal