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

Re: [dxwg] FPWD comment: use dcat:Distribution for Resource (#529)

From: Andrea Perego via GitHub <sysbot+gh@w3.org>
Date: Fri, 15 Feb 2019 22:51:22 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-464234879-1550271081-sysbot+gh@w3.org>
@smrgeoinfo said:

> Thanks for the clarification. So the role relations might be subtyped from 'hasResource'. I see that could simplify things, but would (I think...) lose the ability to express multiple roles for a single resource descriptor, and to have different formats of the same ResourceDescriptor (they'd all be different ResourceDescriptor instances).

Actually, I don't think that in the scenario I was describing role relationships should be subproperties of `prof:hasResource`, as they express a different type of relationship. So, the idea is that the profile would be linked to a resource descriptor with `prof:hasResource` plus one of more role relationships. E.g.:

````turtle
a:Profile a prof:Profile ;
  prof:hasResource a:ResourceDescriptor .

a:ResourceDescriptor a prof:ResourceDescriptor ;
  role:x a:Profile ;
  role:y a:Profile ;
  ... ;
.
````

or (in case the domain of role relationships should instead be `prof:Profile`)

````turtle
a:Profile a prof:Profile ;
  prof:hasResource a:ResourceDescriptor ;
  role:x a:ResourceDescriptor ;
  role:y a:ResourceDescriptor ;
  ... ;
.

a:ResourceDescriptor a prof:ResourceDescriptor ;
.
````

-- 
GitHub Notification of comment by andrea-perego
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/529#issuecomment-464234879 using your GitHub account
Received on Friday, 15 February 2019 22:51:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:42:13 UTC