Question: What is the number of humans who were born prior to 1978
Choices:
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
Answer: 4863
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 < 1978 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1978
<
function: FilterConcept
dependencies: 1
inputs: human
function: Count
dependencies: 2