W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > January 2019

Re: [dxwg] prof:inheritedFrom needs more convincing case and/or example (#642)

From: kcoyle via GitHub <sysbot+gh@w3.org>
Date: Thu, 10 Jan 2019 16:32:42 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-453161198-1547137961-sysbot+gh@w3.org>
@rob-metalinkage The issue that I raised is that it isn't clear what happens when:

ontologyA has properties A, B, C, D and class X
profileB includes properties A, D
profileB "prof:inherits" ontologyA (not clear what this would mean)

Does profile B also inherit ontologyA B, C?

Because classes in RDF do not define properties or constraints, there is no inheritance of properties through the re-use of a class. The answer above is No. 

The definition you give says "object created through inheritance (a "child object") acquires all the properties and behaviors of the parent object" but that would mean that the profile would have to be created within an object-oriented programming language and the contents of the profile would have to be *created* through inheritance in a formal way using subclassing. Re-using properties and classes in RDF does not entail inheritance - they simply are what they are, as defined in the base vocabulary. Thus the only possible *inheritance* is with sub-(class/property), not re-use. While one can inherit class or property constraints through sub- it is not at all clear how a profile can be sub- another profile, in a formal sense. And that is why the use of the term "inheritance" in the case of re-use is confusing.

-- 
GitHub Notification of comment by kcoyle
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/642#issuecomment-453161198 using your GitHub account
Received on Thursday, 10 January 2019 16:32:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 April 2019 13:45:06 UTC