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.
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.
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.
`dcterms:title` = "hello"
`dcterms:title` != "hello"
`dcterms:title` =~ "hello*"
`dcterms:title` =~ "*hello*"
`clm:design`.`clm:tool` = <https://secollab.acme.com:8443/secollab/clm/services/tool/com.sodius.mdw.clm.server.tool.doors>
`dcterms:description` != NULL
(`dcterms:title` =~ "*hello*" OR `dcterms:description` =~ "*hello*") AND `clm:design`.`clm:tool` = <https://secollab.acme.com:8443/secollab/clm/services/tool/com.sodius.mdw.clm.server.tool.doors>
Writing a query filter is the same as writing a resource type's query. Please check Managing resource types for more details.
A join query is typically written as a test that a relationship exists.
`clm_custom:myLink` != NULL
`clm_custom:myLink`.`clm_custom:myOtherLink` != NULL
Collaborative links and resource types are always prefixed with clm_custom.