[oslc-core] Comment on ResourceShape resources
Tack Tong
tacktong at ca.ibm.com
Fri Jun 4 14:50:21 EDT 2010
Here is the (close to) latest draft that Arthur and I were working on
before handed over to Core.
We decided to use oslc:predicate instead of rdf:predicate or rdf:type. We
have gone through many rounds of discussion on trying to reuse what has
been defined in rdf: and rdfs:. Many times, we ended up concluding that it
seems to fit, but not really. Thus, we invent oslc:xxx instead.
@prefix oslc: <http://open-services.net/xmlns/rm/1.0/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dc: <.http://purl.org/dc/terms/> .
<http://example.com/services/reportingProperties:>
rdf:type oslc:PredicateSet ;
dc:title "Requirements Property Set for Reporting" ;
dc:description "A list of interesting properties for reporting on
Requirements" ;
oslc:whenSubject [
a oslc:RdfTypeTest;
oslc:test oslc:Requirement;
oslc:property: [
a oslc:Property;
oslc:predicate dc:title ;;
dc:title "Requirement Title" ;
dc:description "The title of the requirement";
oslc:occurs "exactly-one" ;
oslc:range [
rdf:type oslc:UnionDatatype ;
oslc:datatype <
http://www.w3.org/2001/XMLSchema#string> , <http://www.w3.org/1999/xhtml>.
] .
];
oslc:property: [
a oslc:Property;
oslc:predicate dc:description ;
dc:title "Requirement Description" ;
dc:description "The description of the requirement";
oslc:occurs "at-most-one" ;
oslc:range [
rdf:type oslc:UnionDatatype ;
oslc:datatype <
http://www.w3.org/2001/XMLSchema#string> , <http://www.w3.org/1999/xhtml>.
] .
].
];.
oslc:whenSubject [
a oslc:RdfTypeTest;
oslc:test oslc:TestCase;
oslc:Property [
a oslc:Property;
oslc:predicate: dc:title ;
dc:title "Requirement Title" ;
dc:description "The title of the testcase";
oslc:occurs "exactly-one" ;
oslc:range [
rdf:type oslc:UnionDatatype ;
oslc:datatype <
http://www.w3.org/2001/XMLSchema#string> , <http://www.w3.org/1999/xhtml>
] .
].
]..
Tack Tong
IBM Rational software
tacktong at ca.ibm.com
905-413-3232
tie line 313-3232
|------------>
| From: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|Arthur Ryman/Toronto/IBM |
>-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|Dave <snoopdave at gmail.com>, Tack Tong/Toronto/IBM at IBMCA |
>-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Cc: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|oslc-core <oslc-core at open-services.net>, oslc-core-bounces at open-services.net |
>-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|06/03/2010 08:40 PM |
>-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|Re: [oslc-core] Comment on ResourceShape resources |
>-----------------------------------------------------------------------------------------------------------------------------------------|
Dave,
Tack and worked on the definition of Shape resources many months ago,
possible before your took on your current role. Shape was part of the
Reporting spec and later got moved into the Core. The current version in
the Core spec has been heavily edited and rdf:predicate now appears
(incorrectly) where we had a previous OSLC property name. Perhaps Tack has
a copy of the original design of Shape.
I can't keep up with all the edits. It would be good if we could establish
some type of change control, e.g. an SCM and bug tracker.
Regards,
___________________________________________________________________________
Arthur Ryman, PhD, DE
Chief Architect, Project and Portfolio Management
IBM Software, Rational
Markham, ON, Canada | Office: 905-413-3077, Cell: Twitter | Facebook |
416-939-5063 YouTube
|------------>
| From: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|Dave <snoopdave at gmail.com> |
>-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|oslc-core <oslc-core at open-services.net> |
>-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Cc: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|oslc-core-bounces at open-services.net |
>-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|06/01/2010 10:03 AM |
>-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|Re: [oslc-core] Comment on ResourceShape resources |
>-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by: |
|------------>
>-----------------------------------------------------------------------------------------------------------------------------------------|
|oslc-core-bounces at open-services.net |
>-----------------------------------------------------------------------------------------------------------------------------------------|
On Mon, May 31, 2010 at 5:03 PM, Arthur Ryman <ryman at ca.ibm.com> wrote:
> This is a very old issue. rdf:predicate is not appropriate here since it
> implies that its subject is an rdf:Statement. See [1]. That is why we
> introducing an oslc property here.
Thanks for pointing that out Arthur. I'm not paying close enough
attention and/or I'm forgetting the history around this issue. Ian
suggested rdf:predicate to replace rdf:type, which we have been using
in the spec for some time -- and it is also the wrong property.
Looking back at older versions of the Core spec, I do not see the OSLC
property that you mention. What property are you suggesting that we
use here?
Thanks,
- Dave
_______________________________________________
Oslc-Core mailing list
Oslc-Core at open-services.net
http://open-services.net/mailman/listinfo/oslc-core_open-services.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100604/65bbed70/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100604/65bbed70/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100604/65bbed70/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 21760021.gif
Type: image/gif
Size: 360 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100604/65bbed70/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 21417995.gif
Type: image/gif
Size: 7568 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100604/65bbed70/attachment-0003.gif>
More information about the Oslc-Core
mailing list