Question: How many kids does the Mark Gordon born on 1957-03-14 have?
Choices:
9
10
3 son
7
4
8
3
20
6
2
Answer: 4
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Mark Gordon" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1957-03-14"^^xsd:date . ?e <number_of_children> ?pv .  }
Program:
function: Find
inputs: Mark Gordon
function: FilterDate
dependencies: 0
inputs: date of birth
1957-03-14
=
function: QueryAttr
dependencies: 1
inputs: number of children