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 [email protected] 905-413-3232 tie line 313-3232 |------------> | From: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |Arthur Ryman/Toronto/IBM | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |Dave <[email protected]>, Tack Tong/Toronto/IBM@IBMCA | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | Cc: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |oslc-core <[email protected]>, [email protected] | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | 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 <[email protected]> | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |oslc-core <[email protected]> | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | Cc: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |[email protected] | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |06/01/2010 10:03 AM | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |Re: [oslc-core] Comment on ResourceShape resources | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | Sent by: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |[email protected] | >-----------------------------------------------------------------------------------------------------------------------------------------| On Mon, May 31, 2010 at 5:03 PM, Arthur Ryman <[email protected]> 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 [email protected] http://open-services.net/mailman/listinfo/oslc-core_open-services.net
