Question: Does the television series authored by Charles Dickens have less than 2000 episodes?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <author> ?e_1 . ?e_1 <pred:name> "Charles Dickens" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "2000"^^xsd:double ) .  }
Program:
function: Find
inputs: Charles Dickens
function: Relate
dependencies: 0
inputs: author
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of episodes
function: VerifyNum
dependencies: 3
inputs: 2000
<