Question: What number of mechanical waves were founded before 1960 or whose inception time is after 1970?
Choices: 118
119
120
121
122
123
124
125
126
127
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 < 1960 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1970 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1960
<
function: FilterConcept
dependencies: 1
inputs: mechanical wave
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1970
>
function: FilterConcept
dependencies: 4
inputs: mechanical wave
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 122