Question: Among TV series, whose date of first performance came after 1976, has the highest number of seasons ?
Choices:
Rome
X-Men
The Shield
The Kingdom
Neighbours
The Simpsons
Dynasty
King of the Hill
Robot Chicken
Phineas and Ferb
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of first performance
1976
>
function: FilterConcept
dependencies: 1
inputs: television series
function: SelectAmong
dependencies: 2
inputs: number of seasons
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <date_of_first_performance> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1976 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Neighbours