Question: Does the television series with the title Star Trek: The Next Generation have a number of seasons greater than 0?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Star Trek: The Next Generation" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Star Trek: The Next Generation
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of seasons
function: VerifyNum
dependencies: 3
inputs: 0
>
Answer: yes