Question: Does the television series that mainly depicts United States politics have a number of episodes less than 880 (not including television specials)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "politics of the United States" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "880"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_episodes> ; <pred:fact_t> ?pv ] <excluding> ?qpv . ?qpv <pred:value> "television special" .  }
Program:
function: Find
inputs: politics of the United States
function: Relate
dependencies: 0
inputs: main subject
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttrUnderCondition
dependencies: 2
inputs: number of episodes
excluding
television special
function: VerifyNum
dependencies: 3
inputs: 880
<