Table of Contents

Theory

Query Core

Core query functionality is provided in 2 variants by ADOxx, building upon each other. The query engine interprets AQL language to query models in the database.

Standardized queries:

Standardized queries as "fill-in text", to be completed by the user. For execution, no AQL knowledge is required.

User-defined queries:

Queries which are defined by the user through standardized queries in AQL syntax. For execution AQL knowledge is required.

 

Construction of Standardized and User-Defined Queries

The following steps are performed by the user/modeller to run standardized or user-defined queries:

  1. Select a standardized query that represents the user needs
  2. Complete the query by filling in missing elements and input fields
  3. Run the query by clicking on "Evaluate" or "Execute"

To construct more complex queries, the AQL language can be used to combine standardized queries or extend the queries according to the users needs. Standardized queries can be combined using the "Add" button the logical operator such as AND, OR, DIFF.

Standardized and User-Defined Queries in ADOxx

Characteristics of Standardized and User-Defined Queries

  • Not specific for a method and their modelling language, but use the classes and attributes of the modelling language
  • Queries, can be completely defined by the user by using AQL
  • Queries which are combined by the user through usage of standardized queries and logical operators
Average (0 Votes)
The average rating is 0.0 stars out of 5.

Hands On

« Back

Starting a Query

 

1. Import CookbookQueryLibrary.abl

  • Download the CookbookQueryLibrary.abl
  • Start Development Toolkit
  • Go to Library Management
  • Import

2. Change User Library

  • Go to 'User Management'
  • Assign the Library "CookbookQueryLibrary" to an user.

3. Login Modelling Toolkit

  • Open Modelling Toolkit and login with the user that is assigned with the library  "CookbookQueryLibrary"

4. Import CookbookQueryModels.adl

  • Go to 'Import/Export' component Item
  • Select 'Import ADL' and import 'CookbookQueryModels.adl'
  • Open the model 'Sample 1.0'

5. Open Queries Window

  • Select the 'Analysis' component item
  • Go to 'Queries/Reports'
  • Select the model where the query should take place

6. Standardised Queries

Standardized queries as "fill-in text", to be completed by the user. For execution, no AQL knowledge is required. Just try them by your own.

7. Query Results

  • 'Back to Query Definition'
  • 'Previous/Next/Close Query Result'
  • 'Refresh'
  • 'Save/Print'

8.  User Defined Queries

  • Queries which are defined by the user through standardized queries in AQL syntax.
  • For execution AQL some expressions and examples are defined in AQL_Text folder.


Scenarios

There are no results.

Community

There are no results.

Development Tools