Question: What is the number of mechanical waves that have an inception time prior to 1982.
Choices:
74
75
76
77
78
79
80
81
82
83
Answer: 74
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mechanical wave" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1982 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1982
<
function: FilterConcept
dependencies: 1
inputs: mechanical wave
function: Count
dependencies: 2