Question: How many learned societies have the PermID 4298365149 or the ARCHON code 117?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "learned society" .  { ?e <PermID> ?pv . ?pv <pred:value> "4298365149" .  } UNION { ?e <ARCHON_code> ?pv . ?pv <pred:value> "117" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: PermID
4298365149
function: FilterConcept
dependencies: 1
inputs: learned society
function: FindAll
function: FilterStr
dependencies: 3
inputs: ARCHON code
117
function: FilterConcept
dependencies: 4
inputs: learned society
function: Or
dependencies: 2
5
function: Count
dependencies: 6