Question: Which TV series are titled Star Trek: Deep Space Nine and consist of less or more than 45 seasons ?
Choices:
Bleak House
Back to the Future
Robot Chicken
American Horror Story
Northern Exposure
Merlin
Desperate Housewives
Upstairs, Downstairs
Star Trek: Deep Space Nine
Game of Thrones
Answer: Star Trek: Deep Space Nine
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <title> ?pv . ?pv <pred:value> "Star Trek: Deep Space Nine" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "45"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Star Trek: Deep Space Nine
function: FilterConcept
dependencies: 1
inputs: television series
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of seasons
45
!=
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6