Question: Does Jerry Lewis (the one whose date of birth is 1956) have a number of children greater than 0?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Jerry Lewis
function: FilterYear
dependencies: 0
inputs: date of birth
1956
=
function: QueryAttr
dependencies: 1
inputs: number of children
function: VerifyNum
dependencies: 2
inputs: 0
>
SPARQL: ASK { ?e <pred:name> "Jerry Lewis" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> 1956 . ?e <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Answer: yes