Question: What is the birthdate of Jim Cummings, who has 4 kids?
Choices:
1973-08-22
1917-12-22
1941-11-05
1904-03-26
1952-11-03
1927-11-30
1940-06-24
1931-06-01
1975-12-13
1926-10-18
Program:
function: Find
inputs: Jim Cummings
function: FilterNum
dependencies: 0
inputs: number of children
4
=
function: QueryAttr
dependencies: 1
inputs: date of birth
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Jim Cummings" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4"^^xsd:double . ?e <date_of_birth> ?pv .  }
Answer: 1952-11-03