Question: How many wars ended after 1954 or whose start time is not in 1967?
Choices:
43
44
45
46
47
48
49
50
51
52
Answer: 44
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" .  { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1954 ) .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1967 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1954
>
function: FilterConcept
dependencies: 1
inputs: war
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
1967
!=
function: FilterConcept
dependencies: 4
inputs: war
function: Or
dependencies: 2
5
function: Count
dependencies: 6