Question: How many American football teams are there whose beginning date is not in 2002 and is after 1890?
Choices:
32
33
34
35
36
37
38
39
40
41
Answer: 36
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football team" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2002 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1890 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
2002
!=
function: FilterConcept
dependencies: 1
inputs: American football team
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1890
>
function: FilterConcept
dependencies: 4
inputs: American football team
function: And
dependencies: 2
5
function: Count
dependencies: 6