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