Question: How many officials have an Iconclass notation of 44G221 or are located in Canada?
Choices: 0
1
2
3
4
5
6
7
8
9
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 <country> ?e_1 . ?e_1 <pred:name> "Canada" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Iconclass notation
44G221
function: FilterConcept
dependencies: 1
inputs: official
function: Find
inputs: Canada
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: official
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2