Question: Is the duration for the tv series I Soy under 15 weeks?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "I Spy" . ?e <duration> ?pv . ?pv <pred:unit> "week" . ?pv <pred:value> ?v . FILTER ( ?v < "15"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
I Spy
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: duration
function: VerifyNum
dependencies: 3
inputs: 15 week
<