Question: Does the anthology known as The Twilight Zone have more than 40 episodes?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Twilight Zone
function: FilterConcept
dependencies: 1
inputs: anthology
function: QueryAttr
dependencies: 2
inputs: number of episodes
function: VerifyNum
dependencies: 3
inputs: 40
>
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "anthology" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Twilight Zone" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "40"^^xsd:double ) .  }
Answer: yes