Question: Does King of the Hill (whose date of first performance is 1997-01-12) or Hannibal (that uses the English language) have fewer seasons/
Choices:
Six Feet Under
Seinfeld
Bleak House
American Horror Story
Hannibal
King of the Hill
Robot Chicken
Dancing with the Stars
Phineas and Ferb
Game of Thrones
Answer: Hannibal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "King of the Hill" . ?e <date_of_first_performance> ?pv_1 . ?pv_1 <pred:date> "1997-01-12"^^xsd:date . } UNION { ?e <pred:name> "Hannibal" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: King of the Hill
function: FilterDate
dependencies: 0
inputs: date of first performance
1997-01-12
=
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: Hannibal
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
less