Question: How many wars' Regensburg Classification identifier is NQ 2545 - NQ 2795 or end time is after 1918?
Choices: 19
20
21
22
23
24
25
26
27
28
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" .  { ?e <Regensburg_Classification> ?pv . ?pv <pred:value> "NQ 2545 - NQ 2795" .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1918 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Regensburg Classification
NQ 2545 - NQ 2795
function: FilterConcept
dependencies: 1
inputs: war
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
1918
>
function: FilterConcept
dependencies: 4
inputs: war
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 21