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!
One answer
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/
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?