Question: The person born on 1962-01-13 is a parent to how many kids?
Choices:
3
8
10
9
1
3 son
4
2 daughter
0
20
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: date of birth
1962-01-13
=
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: number of children
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1962-01-13"^^xsd:date . ?e <number_of_children> ?pv .  }
Answer: 3