Question: How many military branches were founded before 1935 by Joseph Stalin?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "military branch" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1935 ) . ?e_1 <found> ?e . ?e_1 <pred:name> "Joseph Stalin" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1935
<
function: FilterConcept
dependencies: 1
inputs: military branch
function: Find
inputs: Joseph Stalin
function: Relate
dependencies: 3
inputs: found
forward
function: FilterConcept
dependencies: 4
inputs: military branch
function: And
dependencies: 2
5
function: Count
dependencies: 6