A query clause selects resources by the values of their properties. You write query clauses in these places:
All these places use the same language and the same editor: the query assistant.
The text fields of the clauses are read-only in the dialogs. To change a clause, click the edit button next to it, for example Edit the query or Edit Source filter. The query assistant opens.

`doors:category`. Then type the operator and the
value.`doors:category` = "Functional". For an
attribute that refers to another resource, it adds a != NULL condition, for
example `jazz_dm:satisfy` != NULL.AND before the name or the
condition.
When the clause already has text, the copy buttons add the new condition with
AND. Click OK to keep the clause. The OK button is available only after
a successful test of the current text of the clause.
For a resource type, the assistant lists only the attributes that the authoring tool published. It does not list the custom types that SECollab adds to the resource.
A clause is one condition or several conditions combined with AND and
OR. A condition has three parts: a property, an operator and a value.
`doors:category` = "Functional" AND `doors:objectText` =~ "*UAV*"
| Element | How to write it |
|---|---|
| Property | The prefix of the namespace and the name of the property, in backquotes:
`dcterms:title`. If the prefix is unknown, use the full URI of the property in
angle brackets: `<http://purl.org/dc/terms/title>`. |
| Path | Join the properties with a dot to read the property of a linked resource:
`clm:design`.`dcterms:title` is the title of the design of the resource. |
| Text | In double quotes: "Functional". In the text, write \" for a
double quote and \\ for a backslash. |
| URI | In angle brackets: <http://www.sodius.com/ns/clm#Design>. |
| Number and Boolean | Without quotes: 23, 2.5, true,
false. |
| Date | A text with the form "datetime(2026/10/01 08:00:00)". The date format is
the Query date format of the server settings, by default
yyyy/MM/dd HH:mm:ss, in the time zone of the server. |
| No link | NULL, only after != and only on a property that is a link. |
| Combination | AND, OR and parentheses. Without parentheses, SECollab
evaluates AND before OR. |
| Operator | Meaning | Example |
|---|---|---|
= |
The value is equal to the given value. | `dcterms:title` = "Introduction" |
!= |
The value is different from the given value. With "", the property has a
value: a text that is not empty, a number or a date. With NULL, the resource has
at least one link of this type. |
`dcterms:description` != ""
`jazz_dm:satisfy` != NULL |
=~ |
The value matches a pattern. The value after the operator must be a text or a URI. | `dcterms:title` =~ "UVF_REQ_0*" |
There is no "lower than" or "greater than" operator, and no NOT. You cannot write
= NULL: to find the resources that have no value, select the other values of the
property.
Rules of the =~ patterns:
* replaces any number of characters and ? replaces one
character."UAV*" selects the values that start
with "UAV". "*UAV*" selects the values that contain "UAV".., (,
[ or +, keep their meaning in regular expressions. For example, a dot
replaces any character.`doors:iepuid` != "" selects the resources that have a value for this
attribute. It does not select the resources that do not have this attribute, or whose value is an
empty text. `doors:iepuid` != NULL selects nothing, because this attribute is not a
link.
SECollab stores many published texts in HTML form, for example the titles of the model elements
and the rich text attributes. In this form, SECollab writes the characters <,
> and & as <, > and
&. The pages show the normal characters, but the clauses must use the stored
form. For example, a Cameo block shows the stereotype <<Block>>. To
select the elements with this stereotype, write:
`md:appliedStereotypesValues` =~ "*<<Block>>*"
The Copy attribute name and value buttons of the query assistant copy the stored form of
the value. Copy the value. Then replace the parts that change with *.
You can use the prefix of any namespace that the published data uses. The query assistant shows the prefixes of the attributes of the selected resource. These prefixes are common:
| Prefix | Content |
|---|---|
dcterms |
Dublin Core properties shared by all the tools: dcterms:title,
dcterms:description, dcterms:identifier. |
rdf |
The type of the resource: rdf:type. |
clm |
The SECollab properties, for example clm:design. See
The Clm namespace. |
clm_custom |
The custom link types and the custom resource types:
clm_custom:allocatedToBlock. |
oslc_rm, oslc_cm, jazz_dm, ... |
The standard OSLC link types, for example oslc_rm:decomposes,
oslc_cm:implementsRequirement or jazz_dm:satisfy. |
clm_backlink |
The backlinks of the standard link types, for example
clm_backlink:satisfiedBy. |
| Tool prefixes | The properties published by each tool, for example doors,
capella, ea, md, rhp, excel,
word, pdf. |
When SECollab does not know a prefix, the test shows "Unknown prefix". Then use the full URI of the property in angle brackets, inside the backquotes.
To find the name of a link type:
`jazz_dm:satisfy` != NULL.testId attribute and whose text
starts with "TRN-":
`doors:testId` != "" AND `doors:objectText` =~ "TRN-*"`dcterms:title` =~ "*UAV*" OR `dcterms:description` =~ "*UAV*"`clm:design`.`clm:tool` =~ <*/com.sodius.mdw.clm.client.tool.doors>`clm_custom:allocatedToBlock` != NULLref
attribute of the source:
`doors:ref` = TARGET.`dcterms:identifier`