GoogleCloudPlatform / GoogleCloudPlatform/knowledge-catalog
Idea: Knowledge Views
- Dominant language
- TypeScript
- Stars
- 9.2k
- Forks
- 782
- Avg merge
- 6h 36m
- Merged PRs (30d)
- 85
Description
# Idea: Knowledge Views
Something I'd appreciate as part of my knowledge bases is **saved views**: a declarative way to query, organize, and present a collection of knowledge objects.
Examples include Obsidian Bases and Notion database views.
They typically provide:
- selecting a source collection
- filtering objects
- sorting results
- grouping results
- defining derived fields
- choosing a presentation format
It may be useful for the Knowledge Catalog project to define a lightweight, implementation-neutral **Knowledge View** artifact.
The analogy is a SQL view:
- Knowledge objects remain the source of truth.
- Views are derived artifacts.
- Views describe how knowledge should be selected, organized, and presented.
- Multiple tools can interpret or render the same view definition.
For example, a knowledge object might contain:
```yaml
type: project
status: active
owner: matthias
priority: high
```
A corresponding view could express:
```yaml
source:
collection: projects
filter:
status: active
sort:
- priority: desc
group:
by: owner
presentation:
preferred: table
```
My primary use case is currently human-facing, but I assume AI agents could benefit from this as well, especially with some guidance and when paired with scripts or skills.
I understand the complexity of standardizing a query language, but I find these views highly practical, so I wanted to get the discussion going.
WDYT?
Contributor guide
Assessment
This issue has not been assessed yet.