Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to access predefined type names defined in ontology?

Hello Jazz-Community,

While querying DM with the OSLC-DM-API I get statements referencing predefined types from the ontology. How can I resolve these references to obtain the names of these predefined types?

As an example, I have a variable that is of type String. Through the API I get the following reference:
http://jazz.net/ns/dm/rhapsody/uml#GUID__ae5e3720-4e3e-40f1-9346-9a8b4e501f35

Thanks in advance!

0 votes



One answer

Permanent link

 A rdf:type references are URLs to standard RDF and OSLC domain vocabularies. You should be able to follow the namespaces for these references and obtain the vocabulary documents. The ones for OSLC domains are from http://open-servcies.net/ns/


0 votes

Comments

 It's not a rdf:type reference and I can't follow the reference. I'm querying a Rhapsody profile, obtaining a stereotype with a tag having a statement witdh the predicate "http://jazz.net/ns/dm/rhapsody/uml#variable-type" referencing http://jazz.net/ns/dm/rhapsody/uml#GUID__ae5e3720-4e3e-40f1-9346-9a8b4e501f35. I have the feeling that these references are Design Management instance specific. If I view the stereotype in the DM web interface I see that this reference points to a type with the name RhpString. Any other idea or hint?


Thanks in advance!

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 524

Question asked: Jun 08 '17, 8:25 a.m.

Question was seen: 2,880 times

Last updated: Jun 13 '17, 2:56 a.m.

Confirmation Cancel Confirm