[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (OSLCCORE-55) oslc:describes on ResourceShape should be optional
[ https://issues.oasis-open.org/browse/OSLCCORE-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61466#comment-61466 ] Martin Pain commented on OSLCCORE-55: ------------------------------------- oslc:describes is definately optional, and this ticket is talking about the correct fix (changing ReSpec, rather than putting unneeded oslc:describes links in the documents). However, I would also like to point out that having a shape with an "<> oslc:describes foaf:Person" triple sounds wrong - as (by my understanding) it is saying that it describes ALL resources of type foaf:Person. So the only valid thing for that shape to do is describe no more than the FOAF definition/ontology describes for that type. (And even that is something that perhaps we shouldn't be doing). > oslc:describes on ResourceShape should be optional > -------------------------------------------------- > > Key: OSLCCORE-55 > URL: https://issues.oasis-open.org/browse/OSLCCORE-55 > Project: OASIS OSLC Lifecycle Integration Core (OSLC Core) TC > Issue Type: Bug > Reporter: James Amsden > Assignee: James Amsden > > The ResourceShapes specifications indicates that oslc:describes is an optional property of ResourceShape (Zero-or-many) and that if it is unspecified, then the shape can apply to any resource. > This is what we should use to capture the OSLC common properties - a oslc:CommonProperties ResouceShape that doesn't represent anything, therefore not implying there is some root OSLC resource type. > The Shape Checker only creates a warning on this, and that's probably the right thing to do. > However, ReSpec cannot process a ResourceShape if oslc:describes is not specified or refers to an RDF class that is not defined in any vocabulary (e.g.,foaf:Person). -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]