Giter Club home page Giter Club logo

Comments (9)

awead avatar awead commented on August 25, 2024

I don't know if has_and_belongs_to_many implements LDP direct containment.

from hydra-pcdm.

flyingzumwalt avatar flyingzumwalt commented on August 25, 2024

Is this a repetition of #23?

from hydra-pcdm.

awead avatar awead commented on August 25, 2024

@flyingzumwalt it's tangentally related, but probably pertains more to what @elrayle is doing with the finishing the modeling.

from hydra-pcdm.

jcoyne avatar jcoyne commented on August 25, 2024

Do we need to have more than?

        contains "content", class_name: 'FileContentDatastream'
        contains "thumbnail"

from hydra-pcdm.

awead avatar awead commented on August 25, 2024

@jcoyne if that does the /files direct container URI to do the containment, then no.

from hydra-pcdm.

jcoyne avatar jcoyne commented on August 25, 2024

Hmmm, yeah, it also doesn't set hasFile, just ldp:contains.

from hydra-pcdm.

awead avatar awead commented on August 25, 2024

@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.

elrayle avatar elrayle commented on August 25, 2024

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.

awead avatar awead commented on August 25, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.