Re: [oslc-core] Use of oslc:Property to define usage of rdf:type?

From
Nick Crossley <>
Date
2015-07-30T13:43:36+00:00
ID
Thread
Re: [oslc-core] Use of oslc:Property to define usage of rdf:type?
Ian wrote:

In https://tools.oasis-open.org/version-control/browse/wsvn/oslc-ccm/trunk/specs/config-mgt/activity-shapes.ttl the rdf:type of and oslc:Activity is described: 

<#acttype> 

    a                        oslc:Property ; 

    oslc:name                "type" ; 

    oslc:propertyDefinition  rdf:type ; 

    oslc:occurs              oslc:One-or-many ; 

    oslc:readOnly            true ; 

    oslc:representation      oslc:Reference ; 

    oslc:valueType           oslc:Resource ; 

    dcterms:description      """A resource type URI. An Activity MUST have a resource type of <code>oslc_config:Activity</code>, 

and MAY have other types."""^^rdf:XMLLiteral . 

rdf:type is multi-valued but the description made by <#actype> is particular to exactly one of those values, not all of them (I assume that is the intention). 

Yes, that is the intention. It is common for OSLC shapes to define one or more of the required rdf:type values but leave it open for others to be applied.

Nick.