Question: Does the book titled "Starship Troopers" have more than 410 pages?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Starship Troopers" . ?e <number_of_pages> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "410"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Starship Troopers
function: FilterConcept
dependencies: 1
inputs: written work
function: QueryAttr
dependencies: 2
inputs: number of pages
function: VerifyNum
dependencies: 3
inputs: 410
>