[OSLC-Configuration] Clarification needed for VersionedResource and ConceptResource

Jun Li Wang wangjunl at cn.ibm.com
Tue Feb 18 10:31:58 EST 2014


Hi folks, I have a question about VersionedResource and ConceptResource
http://open-services.net/wiki/configuration-management/Configuration-Management-Resource-Definitions/#Concept-resources-and-version-resources
gives an example of 2 VersionedResource

 :conceptResourceA-version23
        dcterms:isVersionOf :conceptResourceA .
    :conceptResourceA
        a :someType ;
        dcterms:title "Concept Resource A" ;
        :color "blue" ;
        dcterms:description "Concept resource A as it appears in the state
with the URI :conceptResourceA-version23" .

:conceptResourceA-version17
        dcterms:isVersionOf :conceptResourceA .
    :conceptResourceA
        a :someType ;
        dcterms:title "Concept Resource A" ;
        :color "red" ;
        dcterms:description "Concept resource A as it appears in the state
with the URI :conceptResourceA-version17" .


the predicate :color in "Concept Resource A" has different value, does that
mean these 2 "Concept Resource A" are different or the 2 versioned
resources are different?
My understanding is if the 2 versioned resources have different color, the
predicate :color should belong to the versioned resource not the concept
resource, the rdf presentation should look like

 :conceptResourceA-version23
        dcterms:isVersionOf :conceptResourceA ;
	  dcterms:title "Versioned Resource Version 23" ;
	  :color "blue".
    :conceptResourceA
        a :someType ;
        dcterms:title "Concept Resource A" ;
        :color "blue" ;
        dcterms:description "Concept resource A as it appears in the state
with the URI :conceptResourceA-version23" .

:conceptResourceA-version17
        dcterms:isVersionOf :conceptResourceA ;
	  dcterms:title "Versioned Resource Version 17" ;
	  :color "red" .
    :conceptResourceA
        a :someType ;
        dcterms:title "Concept Resource A" ;
        :color "blue" ;
        dcterms:description "Concept resource A as it appears in the state
with the URI :conceptResourceA-version17" .


VersionedResource should have a full set of predicates no matter they are
the same or different with related ConceptResource.
Is my understanding correct?
Appreciate your clarification!


Best regards,
Wilma Wang(王君丽)

Rational Quality Manager,
IBM China Software Development Lab, Beijing
Tel: 86-10-82453980
Tie line: 9053980
Cellphone: 13641387399
E-mail: wangjunl at cn.ibm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-configuration_open-services.net/attachments/20140218/0e51318c/attachment-0003.html>


More information about the Oslc-Configuration mailing list