It's all about the answers!

Ask a question

DNG OSLC API - ofType


Kazuki Nobutani (4115) | asked Aug 01 '18, 4:44 a.m.
edited Aug 01 '18, 4:46 a.m.

Hello,

In the following document, there is a unique element rm:ofType.
https://jazz.net/library/article/1197

I see that this can be used to search specific artifact type and is very useful. I realised that this prefix "rm" is different from other prefix such as oslc_rm and dcterms. I could not find information about this element and even in the artifact itself, there is no element rm:ofType. Is there any information on this rm:ofType and how can I find it in my DNG?



To query for all artifacts of an specific type, use a query similar to. Note: This code can be used as a workaround when you want to query against “oslc:instanceShape”. The value that is used in the query can be obtained from either of these locations:

  • The services document of the project in the Requirement Creation factory section
  • The “oslc:instanceShape” entry of a returned RDF requirement representation
  &oslc.prefix=rm=<http://www.ibm.com/xmlns/rdm/rdf/>&oslc.select=*&oslc.where=rm:ofType=<https://grarrc.ibm.com:9443/rm/types/_SAwm2t5jEeGb6IIbvOh9Dw>




It works beautifully, but I just could not find the specificaton...
Thanks in advance

Be the first one to answer this question!


Register or to post your answer.