This wiki is locked. Future workgroup activity and specification development must take place at
our new wiki
. For more information, see
this blog post about the new governance model
and
this post about changes to the website
.
TWiki
>
Main Web
>
RmHome
>
RmRelationship
>
RmRelationshipExamples
(19 May 2010,
IanGreen
)
(raw view)
Example Relationships resource These examples are shown from the perspective of a CM provider. The CM provider supports an "implements" relationship. That relationship has a dc:name, title, description. The oslc:link and oslc:inverse properties describe this implements relationship. <Relationships rdf:about=""> <pre> <relationship rdf:resource="http://cq.example.com/relationship/rel1" /></pre><pre> <relationship rdf:resource="http://cq.example.com/relationship/rel2" /></pre><pre></Relationships></pre><pre><Relationship rdf:about="http://cq.example.com/relationship/rel1"></pre><pre> <dc:name>implements</dc:name> </pre><pre> <dc:title>Implementation of a requirement</dc:title></pre><pre> <dc:description>Those change requests that are implementing a</pre><pre> requirement should use this relationship to the requirement</dc:description></pre><pre> <oslc:link rdf:resource="http://cq.example.com/property1" /></pre><pre> <oslc:inverse rdf:resource="http://cq.example.com/property2" /> </pre><pre> <!-- do we want domain/range? --></pre><pre> <oslc:domain rdf:resource="http://open-services.net/xmlns/cm/2.0#"/></pre><pre> <oslc:range rdf:resource="http://open-services.net/xmlns/rm/2.0#"/></pre><pre></Relationship></pre> <pre><oslc:Property rdf:about="http://cq.example.com/property1"></pre><pre> <oslc:name>Implements</oslc:name></pre><pre> <oslc:namespace rdf:resource="http://open-services.net/xmlns/oslc#" /></pre><pre> <rdf:predicate rdf:resource="http://open-services.net/xmlns/oslc#implements" /></pre><pre> <oslc:valueType</pre><pre> rdf:resource="http://open-service.net/xmlns/oslc-core/resource-types#Resource" /></pre><pre> <oslc:occurs>zero-or-more</oslc:occurs></pre><pre></oslc:Property></pre><pre><oslc:Property rdf:about="http://cq.example.com/property2"></pre><pre> <oslc:name>Implemented By</oslc:name></pre><pre> <oslc:namespace rdf:resource="http://open-services.net/xmlns/oslc#" /></pre><pre> <rdf:predicate rdf:resource="http://open-services.net/xmlns/oslc#implementedBy" /></pre><pre> <oslc:valueType</pre><pre> rdf:resource="http://open-service.net/xmlns/oslc-core/resource-types#Resource" /></pre><pre> <oslc:occurs>zero-or-more</oslc:occurs></pre><pre></oslc:Property></pre><pre> </pre> ---+ Examples from the RM side Here is the same relationship from the RM side. There is no mechanism to identify <Relationships rdf:about=""> <pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <relationship rdf:resource="http://cq.example.com/relationship/rel1" /></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <relationship rdf:resource="http://cq.example.com/relationship/rel2" /></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"></Relationships></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"><Relationship rdf:about="http://cq.example.com/relationship/rel1"></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <dc:name>implements</dc:name> </pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <dc:title>Implementation of a requirement</dc:title></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <dc:description>Those change requests that are implementing a</pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> requirement should use this relationship to the requirement</dc:description></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <oslc:link rdf:resource="http://cq.example.com/property1" /></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <oslc:inverse rdf:resource="http://cq.example.com/property2" /> </pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"></Relationship></pre> <pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"><oslc:Property rdf:about="http://cq.example.com/property1"></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <oslc:name>Implements</oslc:name></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <oslc:namespace rdf:resource="http://open-services.net/xmlns/oslc#" /></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <rdf:predicate rdf:resource="http://open-services.net/xmlns/oslc#implements" /></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <oslc:valueType</pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> rdf:resource="http://open-service.net/xmlns/oslc-core/resource-types#Resource" /></pre><pre style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; width: auto; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: #7a4707; overflow-x: scroll; overflow-y: scroll"> <oslc:occurs>zero-or-more</oslc:occurs></pre> </oslc:Property>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 19 May 2010 - 14:28:41 -
IanGreen
Main
Main Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Main
Sandbox
TWiki
Български
Cesky
Dansk
Deutsch
English
Español
Français
Italiano
日本語
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
Copyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our
Terms of Use
Ideas, requests, problems regarding this site?
Send feedback