Question: How many political parties were established earlier than 1945?
Choices:
27
28
29
30
31
32
33
34
35
36
Answer: 36
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1945 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1945
<
function: FilterConcept
dependencies: 1
inputs: political party
function: Count
dependencies: 2