W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > January 2015

Re: Shapes vs Classes (in LDOM)

From: Holger Knublauch <holger@topquadrant.com>
Date: Sat, 24 Jan 2015 17:19:21 +1000
Message-ID: <54C34779.4030201@topquadrant.com>
To: RDF Data Shapes Working Group <public-data-shapes-wg@w3.org>
On 1/24/15, 5:04 PM, Jose Emilio Labra Gayo wrote:
> A real life example is the use case that I proposed in another email 
> which is the development of statistical data portals for different 
> clients. You share a common model which is the RDF Data Cube 
> vocabulary, but you also inherit other properties specific to those 
> portals.
>
> Your task is to generate two different linked data portals for those 
> clients that share a common model but have different shapes for the nodes.

If they have different properties, then the traditional solution is to 
create two different subclasses that inherit the shared properties from 
a base class. Why would this not work? Sounds much cleaner than having 
some "magic" that figures out which constraints to use under which context.

It would help to have specific instances and class definitions, to make 
sure we talk about the same problems. Can you provide some?

Thanks,
Holger
Received on Saturday, 24 January 2015 07:19:53 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 24 January 2015 07:19:54 UTC