Question: Does Ben 10 (the one whose number of episodes is 12) have more than 0 seasons
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Ben 10
function: FilterNum
dependencies: 0
inputs: number of episodes
12
=
function: QueryAttr
dependencies: 1
inputs: number of seasons
function: VerifyNum
dependencies: 2
inputs: 0
>
SPARQL: ASK { ?e <pred:name> "Ben 10" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "12"^^xsd:double . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Answer: yes