Question: Which one has more number of seasons, Working Girl started on 1990-04-16 or Neighbours (Twitter username is neighbours)?
Choices:
Dancing with the Stars
Saturday Night's Main Event
American Horror Story
Robot Chicken
Seinfeld
Neighbours
Working Girl
Six Feet Under
Game of Thrones
Phineas and Ferb
Program:
function: Find
inputs: Working Girl
function: FilterDate
dependencies: 0
inputs: start time
1990-04-16
=
function: Find
inputs: Neighbours
function: FilterStr
dependencies: 2
inputs: Twitter username
neighbours
function: SelectBetween
dependencies: 1
3
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Working Girl" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1990-04-16"^^xsd:date . } UNION { ?e <pred:name> "Neighbours" . ?e <Twitter_username> ?pv_2 . ?pv_2 <pred:value> "neighbours" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Neighbours