Description
Count distinct exact sourceIds with a set and return distinctSources.
Source-scoped cultural and historical records preserve an edition, naming convention, or local identifier. Literal agreement is useful bookkeeping but does not establish interpretation, authenticity, or authority.
Count distinct exact sourceIds with a set and return distinctSources.
When to use this tool
Use Public Label Source Count when you need a precise source-token or range consistency check.
How to use the tool and how it works
- Enter sourceIds. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read distinctSources. Use the output convention below.
Count distinct exact sourceIds with a set and return distinctSources.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sourceIds | Source Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| distinctSources | Distinct Sources | Required. Safe integer. |
{
"input": {
"sourceIds": [
"doc1",
"doc2",
"doc1"
]
},
"output": {
"distinctSources": 2
}
} Limitations and assumptions
- Source labels are not resolved to authoritative identities; a larger count does not establish independent corroboration or community authorization.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Consult the source edition and relevant community or scholarly guidance before interpreting or reusing the material.
References
Similar or alternative tools
- Public Term Source Namespace
Serialize source, languageLabel, and term as qualifiedKey without modifying their strings.
- Authority Heading Language Count
Select exact heading matches, count those records, and count distinct language strings among them.