Question: How many wars commenced in a year other than 1971 and concluded in a year other than 1337?
Choices:
38
39
40
41
42
43
44
45
46
47
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1971
!=
function: FilterConcept
dependencies: 1
inputs: war
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
1337
!=
function: FilterConcept
dependencies: 4
inputs: 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> "war" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1971 ) . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1337 ) .  }
Answer: 40