Question: How many wars ended in 1856 or before 1995?
Choices:
38
39
40
41
42
43
44
45
46
47
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1856
=
function: FilterConcept
dependencies: 1
inputs: war
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
1995
<
function: FilterConcept
dependencies: 4
inputs: war
function: Or
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 <end_time> ?pv . ?pv <pred:year> 1856 .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1995 ) .  } }
Answer: 39