Managing queries

A Query is a mean to create a set of source resources, and potentially explore the relations between this source set and target artifacts that respect certain given properties / relations.

SECollab lets you create queries to analyse your current engineering data:

The result of the execution of a query is a set of "source artifacts" mapped to "target artifacts", if any.

Creating queries

To create Queries, go to the Project Administration's "Queries" section:

A SECollab query can then be decomposed into 3 separate queries: source, join and target.

Writing query filters (source & target)

When creating a query, you need to write a query that fetches relevant resources. Such a query is meant to check if a resource has a given set of properties, or if one of its linked resources has a given set of properties. To access a property, you need to write the namespace prefix and the property name, such as `dcterms:title`. Backquotes are required to express properties. Double quotes (") are used to express strings, and <> are used to express URI.
E.g.:

Writing join query

A join query is typically written as a test that a relationship exists.

Collaborative links and resource types are always prefixed with clm_custom.