Question: How many people have a date of birth before the year 1962?
Choices:
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
Answer: 3604
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1962 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1962
<
function: FilterConcept
dependencies: 1
inputs: human
function: Count
dependencies: 2