Question: Was Alan Bennett (the one whose height is 187 centimetre) born after 1966?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Alan Bennett" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "187"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1966 ) .  }
Program:
function: Find
inputs: Alan Bennett
function: FilterNum
dependencies: 0
inputs: height
187 centimetre
=
function: QueryAttr
dependencies: 1
inputs: date of birth
function: VerifyYear
dependencies: 2
inputs: 1966
>