November 7, 2025 · AzureLaunched
Generally Available: labels() function in KQL graph semantics
The labels() function in KQL graph semantics is now generally available. This function enables you to retrieve, filter, and project label information for nodes and edges in your graph queries, making it easier to work with categorized graph data.
The labels() function works with graph models in both Fabric Eventhouse and Azure Data Explorer, allowing you to:
Labels can be either static (fixed labels assigned to node or edge types) or dynamic (labels derived from data properties during graph construction), giving you flexibility in how you organize and query your graph data.Learn more.
The labels() function works with graph models in both Fabric Eventhouse and Azure Data Explorer, allowing you to:
- Filter graph elements by their labels to focus on specific node or edge types
- Project label information in query results for better data understanding
- Use labels with collection functions like any(), all(), and map() for advanced pattern matching
- Access labels of intermediate nodes in variable-length paths using inner_nodes()
Labels can be either static (fixed labels assigned to node or edge types) or dynamic (labels derived from data properties during graph construction), giving you flexibility in how you organize and query your graph data.Learn more.