Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Example structure

  • my_book - AG
    • pages - folder with no user supplied triples
      • page1.png - internal binary with user supplied triples
      • page2.png - internal binary, no user triples
    • original_scan.pdf - external binary, no user triples

Sidecar fcrepo dir

.fcrepo/ # sidecar files containing fcrepo server managed triples
    my_book.nt # contains AG interaction model
    my_book/
        pages.nt # contains container interaction model
        pages/
            page1.png.nt # non-rdf source model, mimetype, size, etc
        original_scan.pdf.nt # file uri, normal binary SMTs
my_book.nt # contains user provided properties
my_book/
    pages/ # no user provided properties
        page1.png
        page1.png.nt # user supplied types, etc
        page2.png

Split server and client managed properties

my_book.client.nt # contains user provided properties
my_book.server.nt # managed triples, like interaction model
my_book/
    pages.server.nt
    pages/ # no user provided properties
        page1.png.bin
        page1.png.client.nt # user supplied types, etc
        page1.png.server.nt
        page2.png.bin
        page2.png.server.nt
    original_scan.pdf.server.net
    original_scan.pdf.ext # contains uri for bin

Import/export format

my_book.nt # contains user and server managed properties
my_book.headers # interaction models, etc
my_book/
    pages.nt
    pages/
        page1.png.binary
        page1.png.headers
        page1.png/
            fcr%3Ametadata.nt
        page2.png.binary
        page2.png.headers
        page2.png/
            fcr%3Ametadata.nt
    original_scan.pdf.external
    original_scan.pdf/
        fcr%3Ametadata.nt
    original_scan.pdf.headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.