Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenericCollection has files() interface #32

Closed
azaroth42 opened this issue Nov 10, 2014 · 8 comments
Closed

GenericCollection has files() interface #32

azaroth42 opened this issue Nov 10, 2014 · 8 comments

Comments

@azaroth42
Copy link

Issue: generic_collection lacks files() interface but a collection can have associated files.

@dchandekstark
Copy link
Member

+1

@jeremyf
Copy link
Contributor

jeremyf commented Nov 11, 2014

@azaroth42 I was building from the Application Profile text description.

https://docs.google.com/document/d/1o-Iq1oKN_W5NXXDQC81pxkhibOz_AhZlY7IShxPTR5M/edit#heading=h.co7gbqmnqlqa

@jpstroop
Copy link
Contributor

If I'm reading the doc correctly, then

<hasFile> rdfs:subClassOf <contains> .
<contains> rdfs:subClassOf <hasMember> .
<hasMember> rdfs:subClassOf ore:aggregates .
ore:aggregates a rdf:property .

In Ruby(ish):

hydra:hasFile < hydra:contains < hydra:hasMember < ore:aggregates

Am I correct? If so, then a GenericCollection hasFile because it can aggregate anything.

But properties in code don't inherit as nicely as they do in RDF, so I think a GenericCollection implementation is going to need each of the sub, sub-sub, and sub-sub-sub-properties that are defined in the application profile.

@azaroth42
Copy link
Author

Added hasFile explicitly in the AP doc. Note that it is in the diagram, we
just missed it in the listing. Thanks!

On Tue, Nov 11, 2014 at 6:33 AM, Jon Stroop [email protected]
wrote:

If I'm reading the doc correctly, then

rdfs:subClassOf .
rdfs:subClassOf .
rdfs:subClassOf ore:aggregates .
ore:aggregates a rdf:property .

In Ruby(ish):

hydra:hasFile < hydra:contains < hydra:hasMember < ore:aggregates

Am I correct? If so, then a GenericCollection hasFile because it can
aggregate anything.

But properties in code don't inherit as nicely as they do in RDF, so I
think
a GenericCollection implementation is going to need each of the
sub, sub-sub, and sub-sub-sub-properties that are defined in the
application profile.


Reply to this email directly or view it on GitHub
#32 (comment)
.

Rob Sanderson
Technology Collaboration Facilitator
Digital Library Systems and Services
Stanford, CA 94305

@jpstroop
Copy link
Contributor

👍

@flyingzumwalt
Copy link
Member

Does this impact samvera/hydra-pcdm#20?

@flyingzumwalt flyingzumwalt changed the title Issue: generic_collection lacks files() interface GenericCollection has files() interface May 4, 2015
@azaroth42
Copy link
Author

Not sure what the issue is particularly, but pcdm:Collection only has
related objects, not files directly. So in PCDM, a collection should
lack a files() interface.

On Mon, May 4, 2015 at 1:54 PM, flyingzumwalt [email protected]
wrote:

Correction: Does this impact samvera/hydra-pcdm#20
samvera/hydra-pcdm#20?


Reply to this email directly or view it on GitHub
#32 (comment)
.

Rob Sanderson
Information Standards Advocate
Digital Library Systems and Services
Stanford, CA 94305

@flyingzumwalt
Copy link
Member

Based on @azaroth42's comment this is either resolved or irrelevant. Closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants