Question: How many association football clubs were established before 1887 and not in 1913 ?
Choices:
71
72
73
74
75
76
77
78
79
80
Answer: 78
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1887 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1913 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1887
<
function: FilterConcept
dependencies: 1
inputs: association football club
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1913
!=
function: FilterConcept
dependencies: 4
inputs: association football club
function: And
dependencies: 2
5
function: Count
dependencies: 6