Question: What is the number of ice hockey teams that started before 1997 and not in 1966?
Choices: 29
30
31
32
33
34
35
36
37
38
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ice hockey team" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1997 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1966 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1997
<
function: FilterConcept
dependencies: 1
inputs: ice hockey team
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1966
!=
function: FilterConcept
dependencies: 4
inputs: ice hockey team
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 33