Note: The graph search is part of the Analytics and Reporting module which is a paid add-on. Contact us if you’d like to activate a trial for your account.

When you are putting data into Ardoq you are essentially building up an Enterprise Intelligence Graph. This provides an always up-to-date Digital Twin of all data, processes, and their relationships, meaning you can ask the system about all parts of your documentation.

We use the graph traversal language Gremlin to write queries in Ardoq. This helps you navigate the vertices and edges of your Enterprise Intelligence Graph.

More information about Gremlin here (external article).

Tip: We have a selection of common queries here, use it as inspiration to build your own based on your data sets.

You can find the Graph Queries by hovering the analytics icon in the navigation menu on the left hand side. Then press "Reporting" and navigate to "Gremlin graph search".

Create Queries

In the example below, we are asking what applications are affected if a certain Server is crashing:

Query:
g.V().has("name", "mongodb-1")
     .repeat(both().not(hasLabel("Non functional requirement")).simplePath())
     .until(hasLabel("Application")).dedup()

Our result appears below:

You can add .path() to see the path like this:

If you wish to save the query, just click on "manage" and save the query after giving it a name:

Note that this can be a bit confusing if you are new to Gremlin, so please dont hesitate to reach out to a human in the chat for more information and help with queries.

Manage Queries

All saved queries can be found under Reporting. Simply click Reporting and choose from the drop down menu.

In addition to this you can load saved queries in a Dashboard for a simpler view of more queries at once. To find the Dashboards, click on the Dashboard icon in the main right menu.

Click edit dashboard or Create new, and add the graph queries you want to display. For now you can choose between showing number of results over time, or total number of results. Click on View details to see more:

Did this answer your question?