This wiki: The development wiki is a work area where Jazz development teams plan and discuss technical designs and operations for the projects at Jazz.net. Work items often link to documents here. You are welcome to browse, follow along, and participate. Participation is what Jazz.net is all about! But please keep in mind that information here is "as is", unsupported, and may be outdated or inaccurate. For information on released products, consult IBM Knowledge Center, support tech notes, and the Jazz.net library. See also the Jazz.net Terms of Use. Any documentation or reference material found in this wiki is not official product documentation, but it is primarily for the use of the development teams. For your end use, you should consult official product documentation (infocenters), IBM.com support artifacts (tech notes), and the jazz.net library as officially "stamped" resources. |
State: Draft
Contact: Nick Crossley
This Best Practice recommends appropriate adoption of existing vocabulary terms for new attributes, and guidelines for choosing new ones where no existing term is appropriate.
This Best Practice is related to Best Practice: Enable users to specify URIs for custom attributes and values.
When creating a new attribute, choose carefully the RDF term (predicate) to be use for that new attribute. Once a term has been used and RDF data has been published with that term, it is difficult to change without breaking compatibility.
In order of preference:
Prefix | Vocabulary URL |
---|---|
dcterms: | <http://purl.org/dc/terms/> |
rdf: | <http://www.w3.org/1999/02/22-rdf-syntax-ns#> |
rdfs: | <http://www.w3.org/2000/01/rdf-schema#> |
foaf: | <http://xmlns.com/foaf/0.1/> |
ldp: | <http://www.w3.org/ns/ldp#> |
prov: | <http://www.w3.org/ns/prov#> |
oslc: | <http://open-services.net/ns/core#> |
dcterms:references
could be used for almost any link type, but does not provide much meaning, so is of limited value for queries and reports: for most purposes this would be under-constrained. Conversely, the link type affectedByChangeRequest
might be over-constrained if you are not sure that the target will only ever be a ChangeRequest
resource. Over-constrained terms limit reuse.
A resource in your application now has a user-visible name, where in previous releases the artifact was anonymous. In this case, you should add an attribute with the term dcterms:title
.
Your application models fundamental particles, and you want to add a link indicating quantum entanglement of two instances of such particles. You determine that none of the existing standard or requirements management vocabularies define a term that matches the meaning of this new link type. You decide to create a new term in a vocabulary for your application, to be published at jazz.net
.
@prefix my_app: <http://jazz.net/ns/xxx#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . my_app:linkType a rdfs:Property ; rdfs:isDefinedBy my_app: ; rdfs:comment "A particle entangled with this one." ; rdfs:label "entangledWith" .