Question: Does the TV series with Sandra Bullock as a cast member have under 4000 episodes?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sandra Bullock" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "4000"^^xsd:double ) .  }
Program:
function: Find
inputs: Sandra Bullock
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of episodes
function: VerifyNum
dependencies: 3
inputs: 4000
<
Answer: yes