Comments (9)
I don't know if has_and_belongs_to_many
implements LDP direct containment.
from hydra-pcdm.
Is this a repetition of #23?
from hydra-pcdm.
@flyingzumwalt it's tangentally related, but probably pertains more to what @elrayle is doing with the finishing the modeling.
from hydra-pcdm.
Do we need to have more than?
contains "content", class_name: 'FileContentDatastream'
contains "thumbnail"
from hydra-pcdm.
@jcoyne if that does the /files
direct container URI to do the containment, then no.
from hydra-pcdm.
Hmmm, yeah, it also doesn't set hasFile, just ldp:contains.
from hydra-pcdm.
@jcoyne right. can we do something like aggregates :files
? But that creates in indirect container. The examples I'm seeing have /files
as a direct container.
from hydra-pcdm.
My first instinct is to say, avoid aggregates since the model discussions I've been in have not treated files as an aggregation. Issues and questions...
- Is contains a concept that is already solidly in Fedora? Is there a method that gets called to add files to the contains relationship? (similar to aggregates for hasMembers)
- Do we ever want order to the list of files? NOTE: order will be tricky because GenericFiles which contains Files already has an ordered aggregation. Since the PCDM::Object can have only one aggregation with a head (IANA.first), we can't have two separate ordered aggregations for the same subject (the PCDM::Object).
from hydra-pcdm.
@elrayle contains
translates to a ldp basic container. For files, we need the hasFile predicate, and therefore a ldp direct container. I don't believe the PCDM model allows for ordering at the hasFile level, so we should be safe there.
from hydra-pcdm.
Related Issues (20)
- Get Test Coverage above 90% HOT 3
- Identify copyright holder in LICENSE HOT 2
- Update contribution guidelines for Samvera changes
- Add contact/mailing list info
- Update Rubocop
- Update Travis build configurations HOT 1
- Clean up stale branches
- Rails 5.2 support
- Increase the test coverage to 100% HOT 1
- Test against Rails release 5.1.7 and Ruby releases 2.6.3, 2.5.5, and 2.4.6
- Add support for Ruby 2.7.z releases
- Add support for Rails 6.0.z releases HOT 1
- Update the link to CodeClimate HOT 1
- Add Circle CI step that fails if branch name is master
- Support Rails 6.1 releases
- Support Ruby 3.0.3 releases HOT 1
- Configure nightly CircleCI test suite executions
- Update the gemspec to require MFA for RubyGems releases HOT 1
- Issue a request for a new Product Owner
- Provide a roadmap for migration into the samvera/hyrax project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydra-pcdm.