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

From
Martin P Pain <>
Date
2015-08-04T12:09:02+00:00
ID
Thread
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: 

Find me on:  and
within IBM on:  

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

Cc:      
 OASIS ()
<>

Date:      
 04/08/2015 13:04

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

Sent by:    
   <>

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 Green1/UK/IBM@IBMGB)

IBM 

<> wrote on 30/07/2015 14:43:06:

> From: Nick Crossley <>

> To: Ian Green1/UK/IBM@IBMGB 

> Cc: OASIS () <>

> Date: 30/07/2015 14:43 

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

> Sent by: <>

> 

> 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