Rational Programming Patterns

Search pattern editor

This editor displays the content of the selected existing pattern, which you can modify. If you created a pattern and selected its content, it is displayed to initialize your new pattern. You are free to modify this content here.

Pattern name
This field displays the name of the selected or newly created pattern. If you are editing a built-in pattern, you can enter a new name before modifying the content.

You can export the pattern as an XML file by clicking Export. Then, you can import it into another workspace by clicking Import in the Server Advanced Design search tab.

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.
The following buttons are associated with this table:
  • Add to add a search criterion to the pattern. The new search criterion is initialized with pdp:type in the Index column and no value in the Value column. Click inside the Index column and on the arrow that is displayed then. Select a new criterion in the list and give it a value.
  • Remove to remove a search criterion from the pattern. You must select a search criterion in the table before clicking Remove.
  • Move up to move up the selected criterion in the pattern, provided there is at least one previous line.
  • Move down to move down the selected criterion in the pattern, provided there is at least one following line.
Free Form Pattern
This edit field can take on two types of value:
  • It is automatically completed with a SPARQL expression. This expression corresponds to the search criteria of the existing free form pattern or of the free form pattern that initialized the content of the newly created pattern. You are free to modify this SPARQL expression to adapt the search to your needs.
  • It is 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.
You must click OK to save the pattern content.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)