OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

oslc-core message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


If it's zero-or-many or one-or-many how often would you need to constrain all values?
the *-or-many occurs values are the main point of extensibility - if the client doesn't understand all values (because others are extensions), it can doits best with the ones that it does understand.
I expect there are times when you would need to - for example a server advertising its own resource shapes that can't handle unrecognised values (i.e. doesn't store everything it receives in a triple store), but for use in the specs I expect leaving it open would be the default.

Just my thoughts...




Martin Pain
Software Developer - Green Hat
Rational Test Virtualization Server, Rational Test Control Panel


Phone: +44 (0)1962 815317 | Tie-Line: 37245317
E-mail:
martinpain@uk.ibm.com
Find me on:
LinkedIn: http://www.linkedin.com/profile/view?id=99869908 and within IBM on: IBM Connections: https://w3-connections.ibm.com/profiles/html/profileView.do?userid=12c849c0-ddd5-1030-9b5f-d70a3a891 
IBM



IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU



From:        Ian Green1/UK/IBM@IBMGB
To:        Nick Crossley <ncrossley@us.ibm.com>
Cc:        OASIS (oslc-core@lists.oasis-open.org) <oslc-core@lists.oasis-open.org>
Date:        04/08/2015 13:04
Subject:        Re: [oslc-core] Use of oslc:Property to define usage of rdf:type?
Sent by:        <oslc-core@lists.oasis-open.org>




I've not noticed it being used with this interpretation.  So how would one define a Property which covered all occurrences of a multi-valued property?




best wishes,
  -ian

ian.green@uk.ibm.com (Ian Green1/UK/IBM@IBMGB)
IBM


<oslc-core@lists.oasis-open.org> wrote on 30/07/2015 14:43:06:

> From: Nick Crossley <ncrossley@us.ibm.com>

> To: Ian Green1/UK/IBM@IBMGB

> Cc: OASIS (oslc-core@lists.oasis-open.org) <oslc-core@lists.oasis-open.org>

> Date: 30/07/2015 14:43

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

> Sent by: <oslc-core@lists.oasis-open.org>

>
> 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.

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]