About Data Queries

A data query is an API endpoint used to process a request to one or more Semantic Graph Index data sources.

You can use data queries as input in most page visualizations.

See Also
Adding a Basic Data Query
Data Query Views
Configuring Variables
Creating Input Parameters
Appendix - Data Queries

The following diagram shows an overview of the basic data query components.



A data query contains one or more Processing Graphs.

You make the processing graph of your data query by creating a chain of operators. You typically have:

You configure each operator independently. It gets as input the result of the previous operator in the chain.

Note: Some can have multiple inputs, like transformation operators JOIN and UNION, and multiple outputs.

For the source operator, configure the index storage from which you want to retrieve source data (for example, index unit iu1).

Also define from which class of the index unit you want to get data.

The connections between operators are continuous streams of items.

Use a terminal operator at the end of the chain of operators, typically a RESULT SET, to configure the output of your processing graph.

Click Run and select a view to see a projection of your data:

  • Raw: To view the output as such, in raw JSON. This enables the support of hierarchical models.
  • Table: To view the output in a table. This output is flattened, that is, all lines have the same fields (no tuples, no items). It supports simple lists of integer, string, Date, etc.
  • Cube: This output is for multiaxes, multidimensions, and multiaggregations.