Question: What is the number of independent cities that have an inception time prior to 1805 or that has an ISNI of 0000 0004 0390 9412
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1805 ) .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0390 9412" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1805
<
function: FilterConcept
dependencies: 1
inputs: independent city
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0004 0390 9412
function: FilterConcept
dependencies: 4
inputs: independent city
function: Or
dependencies: 2
5
function: Count
dependencies: 6