Question: Vladimir Lenin took part in how many civil wars launched prior to 2011?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
2011
<
function: FilterConcept
dependencies: 1
inputs: civil war
function: Find
inputs: Vladimir Lenin
function: Relate
dependencies: 3
inputs: participant
backward
function: FilterConcept
dependencies: 4
inputs: civil war
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "civil war" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) . ?e <participant> ?e_1 . ?e_1 <pred:name> "Vladimir Lenin" .  }
Answer: 1