Update filter links
Migration Guide for Adapting existing filter-links to the new Social Knowledge Graph
1. Background
With the introduction of the Social Knowledge Graph, the data model has been extended to include namespaces. Every property or type name must now be prefixed with its corresponding namespace. At the same time, the delimiter for logical OR constructs in path segments has changed.
2. Summary of changes
- The colon (
:) used as an OR operator in path segments has been replaced by the pipe (|). - Namespace prefixes are now required for all data elements (types, terms, properties).
Namespace definitions All data elements (types, terms, properties) must be prefixed with their namespace. Example:
- Types:
schema:Event,schema:MusicEvent - Terms:
venus:architectural_monument_single,venus:topic_xyz
3. Detailed changes
3.1 OR operator in path segments
Before:
/type=Person:Organization
After:
/type=Person|Organization
Further documentation: Pipe (vertical bar) as a delimiter
3.2 Namespace prefix
Every filter parameter referring to a type or term must include a namespace.
Types:
schema:Eventinstead ofEventschema:MusicEventinstead ofMusicEvent
Terms / Topics:
venus:architectural_monument_singleinstead ofarchitectural_monument_single
See: Namespaces in the data model
4. Example migration
Before
GET /entities/filter?type=Event&time=2025-05-06,2025-05-09
GET /entities/filter?type=MusicEvent&topic=architectural_monument_single&time=2025-05-06,2025-05-09
After
GET /entities/filter?type=schema:Event&time=2025-05-06,2025-05-09
GET /entities/filter?type=schema:MusicEvent&topic=venus:architectural_monument_single&time=2025-05-06,2025-05-09