Question: How many officials have an Iconclass notation of 44G221 or an official name of Prime Minister?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Iconclass notation
44G221
function: FilterConcept
dependencies: 1
inputs: official
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
Prime Minister
function: FilterConcept
dependencies: 4
inputs: official
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "official" .  { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "44G221" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "Prime Minister" .  } }
Answer: 2