Question: How many wars are different from the Great Patriotic War and did not start in 2011?
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> "war" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Great Patriotic War" .  ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2011 ) .  }
Program:
function: Find
inputs: Great Patriotic War
function: Relate
dependencies: 0
inputs: different from
forward
function: FilterConcept
dependencies: 1
inputs: war
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
2011
!=
function: FilterConcept
dependencies: 4
inputs: war
function: And
dependencies: 2
5
function: Count
dependencies: 6