[oslc-core] How do I get the shape from a resource?
Steve K Speicher
sspeiche at us.ibm.com
Tue Apr 27 08:09:44 EDT 2010
Another thing to consider, or be aware of, (at least for XML-based
resource formats), is this recent work by W3C XML Core WG titled
"Associating Schemas with XML documents 1.0"
We'd need to obviously still come up with something for non-XML based
So I'd still recommend a unique property for this.
Steve Speicher | IBM Rational Software | (919) 254-0645
Arthur Ryman <ryman at ca.ibm.com> wrote on 04/26/2010 11:56:50 AM:
> From: Arthur Ryman <ryman at ca.ibm.com>
> To: Steve K Speicher/Raleigh/IBM at IBMUS
> Cc: oslc-core at open-services.net, oslc-core-bounces at open-services.net
> Date: 04/26/2010 11:56 AM
> Subject: Re: [oslc-core] How do I get the shape from a resource?
> The rdf:type should be the OSLC type defined by the appropriate domain
> spec, e.g. CM. It belongs to the OSLC domain, http://open-services.net,
> GETing it would NOT reflect any new properties added by a service
> I agree that it would be handy to be able to easily find the shape of a
> resource. There are really two major use cases:
> 1. Schema-based information, e.g. to design a report. You need to find
> shape from the service provider. This is what oslc:shape is for.
> 2. Instance-based information, e.g. you are given the URL of an instance
> resource and you want to find its shape, e.g. to modify the instance via
> PUT. There is no property defined yet. Using oslc:shape might be
> confusing. In XML Schema, they introduced a special namespace for
> level information such as type, xsi:
> To avoid confusion I suggest we use a different property, e.g.
> Arthur Ryman, PhD, DE
> Chief Architect, Project and Portfolio Management
> IBM Software, Rational
> Markham, ON, Canada | Office: 905-413-3077, Cell: 416-939-5063
> Twitter | Facebook | YouTube
> Steve K Speicher <sspeiche at us.ibm.com>
> oslc-core at open-services.net
> 04/24/2010 03:06 PM
> [oslc-core] How do I get the shape from a resource?
> Sent by:
> oslc-core-bounces at open-services.net
> I had assumed that every OSLC defined resource would have an rdf:type
> property that references either the spec defined Type URI OR is it a
> gettable URI that references the service provider's hosted version of
> resource shape.
> Here's my example, I have a OSLC-CM Change Request resource that looks
> <oslc_cm:ChangeRequest rdf:about="http://example.com/bugs/2314">
> <rdf:type rdf:reference="
> Is it required for rdf:type to point to the OSLC defined Type URI? How
> do I get to the resource shape of this resource?
> I would instead think that we'd want an OSLC Common Property called
> "oslc:shape" which points to a gettable OSLC shape resource. Any
> objections to adding this? Any need use dc:type here instead (or
> how it could be used) ?
> Steve Speicher | IBM Rational Software | (919) 254-0645
> Oslc-Core mailing list
> Oslc-Core at open-services.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Oslc-Core