Question: Was Midnight's Children (the one whose ISBN-10 is 0-224-01823-X) published before 2002?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Midnight's Children" . ?e <ISBN-10> ?pv_1 . ?pv_1 <pred:value> "0-224-01823-X" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) .  }
Program:
function: Find
inputs: Midnight's Children
function: FilterStr
dependencies: 0
inputs: ISBN-10
0-224-01823-X
function: QueryAttr
dependencies: 1
inputs: publication date
function: VerifyYear
dependencies: 2
inputs: 2002
<
Answer: yes