Question: Is the total episode number of a TV program, which is the part of The Wire, 2nd series, equal to 8600 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "The Wire" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> "2" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "8600"^^xsd:double ) .  }
Program:
function: Find
inputs: The Wire
function: Relate
dependencies: 0
inputs: has part
forward
function: QFilterStr
dependencies: 1
inputs: series ordinal
2
function: FilterConcept
dependencies: 2
inputs: television program
function: QueryAttr
dependencies: 3
inputs: number of episodes
function: VerifyNum
dependencies: 4
inputs: 8600
!=