Defining the prefixes for RDF

Rational® Focal Point™ provides an option to specify the preferred prefixes for namespace URIs that are introduced during the configuration. By default, prefixes are auto-generated, for example j.0 and j.1. To make the generated RDF document meaningful you can define the prefixes for name space URIs. For example, during the configuration if http://open-services.net/rm/ns#Requirement URI is used, you can define a prefix name such as oslc_rm.

About this task

To make the generated RDF document meaningful, define the prefixes for name space URIs.

Procedure

  1. Click Application > Data Access.
  2. In Additional prefixes for RDF, click the Edit icon (Edit) and click Add RDF prefixes.
  3. For Prefix, type a prefix that is in a readable format. For example: oslc_rm
  4. For URI, type the URI for that prefix. For example: http://open-services.net/rm/ns#
  5. Click Save.

Results

To view the application resources in the RDF format, type the application URL in the format that returns the RDF. For example, for Rational Focal Point type http://<hostname>:<portnumber>/fp/resources/.rdf. You can verify the newly added prefix.

Feedback