Re: Shapes vs Classes (in LDOM)

Holger Knublauch <holger@topquadrant.com> wrote on 02/05/2015 05:41:16 PM:

> Would it also work to return the latter information by other means, e.g. 

> as HTTP response header outside of the RDF model? Whenever you inject 
> "system" triples, you risk unwanted side effects. For example, if a 
> client displays the properties of the GET resource, it would have to 
> filter out these triples from display, so why not make this step in 
advance?

Holger,

An HTTP header would work in the case where a client does a GET, then lets 
the user modify the resource, then immediately does a PUT.
However, an explicit oslc:instanceShape triple is like having an 
xsi:schemaLocation link to an XSD in an XML document.

-- Arthur

Received on Thursday, 19 February 2015 16:45:10 UTC