Data Query

The custom query feature allowing you to specify and filter according to your unique project requirements.

Within our data visualization interface, we introduce a highly flexible way to search through your data - a customized query feature, accessible by clicking on the "</>" icon.

This query block functions similarly to the WHERE clause in SQL, offering you a powerful tool to define specific search parameters based on your needs.

Hint

You can utilize the custom query feature in Data Visualization to filter and view specific items along with their associated metrics.

The data query consists of two main components: the search element and the logic. The details of each component are outlined below.

Search Element

The search element represents the target of the search query. This can be a class, an annotation, or a specific dataset. Search elements can be combined with other search elements by logic to refine the search query.

Examples:

dataset
dataslice
iqa
class
annotation
objectsize
tag

Logic

The logic component is used to connect elements and further refine the search query. Logic operators can include AND, OR, and NOT. They can be used to combine multiple elements or to exclude certain elements from the search results.

Examples:

  • AND: Both elements must be present in the search result.

  • OR: At least one of the elements must be present in the search result.

  • NOT: The specified element must not be present in the search result.

AND
OR
NOT
(
)

How to use ?

Combining Search Elements and Logic: To create a single-line search query, simply combine search elements and logic operators as needed. The order of the operators and search elements will determine the overall search query and its results.

Exmaple

The search result must contain either 'car' or 'people' (or both).

# Expression 1
class.name IN ('car', 'people')

# Expression 2
class.name = 'car' OR class.name = 'people'

The single-line search syntax provides a concise and powerful way to define search queries that return unique results. By combining search elements and logic operators, users can create complex search queries that target specific information.

Learn more details on followings:

pageElementpageLogicpageUse Cases

Last updated