Question: How many officials were founded either in 1789 or have the Iconclass notation of 44G221?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "official" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1789 ) .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "44G221" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1789
!=
function: FilterConcept
dependencies: 1
inputs: official
function: FindAll
function: FilterStr
dependencies: 3
inputs: Iconclass notation
44G221
function: FilterConcept
dependencies: 4
inputs: official
function: Or
dependencies: 2
5
function: Count
dependencies: 6