Question: Does the television series known as Only Fools and Horses have less than 50 seasons?
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> "Only Fools and Horses" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "50"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Only Fools and Horses
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of seasons
function: VerifyNum
dependencies: 3
inputs: 50
<
Answer: yes