In this tab, you can perform complex searches on the instances
stored in the Rational Team Concert™ Server. To do so, you can use one of the available
search patterns or write your own search pattern.
- Search patterns
- This list displays all the available search patterns. These patterns
can be built-in patterns, or patterns written and adapted by users.
There are two types of search patterns:
- Formatted patterns, that offer the following search criteria:
- Entity type (Program or Screen for example)
- Keyword
- Location, package, or project
- Data Element Type (string-type Data Elements for example)
- Data Element length
If several of these search criteria are combined, they are always
associated with the AND operator. The content
of the selected search pattern is displayed in the Formatted
Pattern table and in the non-edit field associated with
the table. The search is translated into its expression in the SPARQL
query language in this field.
- Free Form patterns.
The content of these patterns is entirely
free and must be entered in the SPARQL query language. You can use regular expressions and operators to
filter the search.
Some built-in free form patterns can be used
to: - Filter instances (use of the FILTER operator)
according to the following criteria:
- The beginning of their name
- A character string in their name
- Their type
- Their length
- Combine several search criteria with a UNION (OR)
operator.
The selected free form pattern initializes the content of the
search pattern in the Free Form Pattern edit
field, in the form of a SPARQL expression. You can modify or complement
it as you like in this field. Tip: Tutorials on how to
code SPARQL queries are available on the Internet.
If none of the available patterns meets your needs, you can
specify the content of the search pattern:
- Directly in the Formatted Pattern table
or the Free Form Pattern edit field of this
tab, if you do not want to make the search available for future uses.
- Or in the search pattern editor if you want to create and save
the search pattern.
- Formatted Pattern
- This table is constituted of the following elements:
- The Index column that is automatically
completed with the search criterion or criteria of the formatted pattern.
It displays each search criterion as pdp:xxx (where xxxx is
the search criterion (type, name...).
- The Value column that displays the value
given to each search criterion, or nothing if no value has been given
to it yet. If the search criterion has a limited list of values (entity
type for example), you can see the possible values by clicking the
column and the arrow that is displayed then.
- A non-edit box that displays the search in the SPARQL query language,
used for the free form patterns.
- Free Form Pattern
- This edit field can have the following status:
- Automatically completed with the SPARQL expression that corresponds
to the search criterion or criteria of the free form pattern selected
in the Search patterns list. You are free to
modify this SPARQL expression to adapt the search to your needs.
- Blank if your search pattern is not to be based on an existing
free form pattern. You can then write your own pattern here in the
SPARQL query language.
- Server scope
- You can select a stream to limit the search scope.
A stream
is the equivalent of a work session. It is a repository object created
in the Rational
Team Concert Server to integrate the work done in workspaces.