AZ522772 - Generally Available: labels() function in KQL graph semantics

Azure Updates

Discussionpowered by zap.ms

Published

Nov 7, 2025

Status

Launched

Timeline

  • November 2025
    General Availability

Product

Azure Data Explorer

Tag

Features

Category

Analytics

Description

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:
  • 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.