---
sourceDocument: Australia Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/intelligent-experiences

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Graph Query Builder

# Graph Query Builder {#ariaid-title1}

Release version: Australia  
Updated July 28, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Graph Query Builder

Graph Query Builder offers ServiceNow customers a visual, no-code interface to create and run Knowledge Graph queries efficiently.
It supports two main approaches: building queries manually through an intuitive UI or generating queries using natural language input powered by a large language model (LLM).
This tool simplifies exploring complex data relationships and extracting meaningful insights without requiring query syntax knowledge.
Show full answer Show less  

## Key Features

* **Dual Query Methods:** Users can either construct queries step-by-step by selecting graphs, entities, relationships, and applying filters or input natural language questions that the system converts into queries for review and refinement.
* **Graph Selection and Traversal:** Choose from predefined graphs like Enterprise Graph or custom graphs, define starting entities, and add connected entities using AND/OR filters on properties to tailor the query.
* **Live Visual Feedback:** A dynamic graph view updates in real time as queries are built, enabling users to verify that the query structure aligns with their intent before execution.
* **Customizable Output:** Decide which fields to include in results and whether to return individual records or aggregated data such as counts, ensuring the output precisely fits analytical needs.
* **Query Management:** Save queries for personal use or share them with all authorized users to avoid repetitive rebuilding of complex or common queries.
* **AI-Assisted Query Refinement:** Natural language queries display the exact generated query, helping users understand AI interpretations, refine their questions, and build confidence in AI-driven results.

## Key Outcomes

* Empowers users to discover and understand the available entities, relationships, and properties within their knowledge graphs without prior data model expertise.
* Enables creation of complex multi-hop queries easily and accurately, reducing reliance on technical query language skills.
* Increases productivity by allowing reuse and sharing of queries, facilitating consistency and collaboration across teams.
* Improves trust in AI-assisted query generation by providing transparency and options to refine natural language inputs.  
Graph Query Builder provides a visual interface for building and running Knowledge Graph queries without writing code. You can also use natural language to generate queries.

You have two options on the Graph Query Builder page. You can either to ask query in Natural language or build your own query using the Query Builder.

If you prefer to build a query, you can select a graph between Enterprise Graph, Enterprise Graph Small, or a custom graph. Choose a starting entity and add relationships to the connected entities by applying
AND or OR filters on the properties. You can define which output fields appear in the results and whether to return individual records or aggregated results.

As you build, a live graph in the right panel shows the query taking shape. You can confirm it matches your intent before running it.

You can also skip this manual query construction and ask a natural language question instead. Graph Query Builder converts your natural language input into a query using the LLM of your choice and lets you review, edit, and rerun
it.

Example natural language query: <kbd class="ph userinput">Show me all incidents assigned to the Finance team.</kbd>

You can save the successful queries for yourself or for everyone who has access. This prevents rebuilding common or complex queries.

## Graph Query Builder benefits {#using-graph-query-builder__section_detailed_benefits}

* Discover what you can actually query: Explore the entities, relationships, and properties available in a graph, instead of guessing at the underlying data model.
* Build complex queries without writing syntax: The UI guides you through multi-hop traversal, relationship selection, and filters, step by step.
* See your query before you run it: A live graph view builds alongside you as you add entities and relationships, so you can confirm the query matches your intent before executing it.
* Get results in the shape you need: Choose a list of records or an aggregated result, such as a count, so the output matches what you want to answer.
* Reuse and share your work: Save a successful query for yourself, or share it with everyone who has access, so complex or recurring queries doesn't need to be rebuilt from scratch.
* Review and refine your query: Ask a natural language question and Query Builder shows you the exact query it generates, revealing how the question would be interpreted by ServiceNow® Otto for Virtual Agent or an AI agent. It is useful to refine phrasing and building trust in AI-assisted results.

