Question: Does the television film titled Emma have less than 4900 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 film" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Emma" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "4900"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Emma
function: FilterConcept
dependencies: 1
inputs: television film
function: QueryAttr
dependencies: 2
inputs: number of episodes
function: VerifyNum
dependencies: 3
inputs: 4900
<