Question: How many armies have an ISNI of 0000 0004 0498 1870 or an end time before 1919?
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> "army" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0498 1870" .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1919 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0498 1870
function: FilterConcept
dependencies: 1
inputs: army
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
1919
<
function: FilterConcept
dependencies: 4
inputs: army
function: Or
dependencies: 2
5
function: Count
dependencies: 6