Question: Does Infernal Affairs, which includes Infernal Affairs II, have under 890 total episodes?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Infernal Affairs" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> "Infernal Affairs II" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "890"^^xsd:double ) .  }
Program:
function: Find
inputs: Infernal Affairs II
function: Relate
dependencies: 0
inputs: part of the series
forward
function: Find
inputs: Infernal Affairs
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of episodes
function: VerifyNum
dependencies: 4
inputs: 890
<