You received this message because you are subscribed to the Google Groups "Fedora Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-tech...@googlegroups.com.
To post to this group, send email to fedor...@googlegroups.com.
Visit this group at https://groups.google.com/group/fedora-tech.
> > email to iiif-discuss+unsubscribe@googlegroups.com. For more
> > options, visit this group at
> > https://groups.google.com/d/forum/iiif-discuss?hl=en --- You
> > received this message because you are subscribed to the Google
> > Groups "IIIF Discuss" group. To unsubscribe from this group and
> > stop receiving emails from it, send an email to
> > iiif-discuss+unsubscribe@googlegroups.com. For more options, visit
2) if the path minting pattern is changed at any time, the image server has to be aware of the old and the new one (unless you want to migrate all your resources to the new path scheme and face the breakage that this would entail). This can add up to a point where it becomes unmanageable.
That is why I think #3 is the one requiring most set up but also the most future-proof one. The relationship URIs may change, but it would be much easier to adapt the SPARQL query to the changes to include new and old patterns.
My issues with #1 are: 1) it is not a simple prefix + suffix solution, since the Fedora path minter breaks up the identifier into pairtree elements.
You received this message because you are subscribed to the Google Groups "Fedora Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-tech...@googlegroups.com.
To post to this group, send email to fedor...@googlegroups.com.
Visit this group at https://groups.google.com/group/fedora-tech.
For more options, visit https://groups.google.com/d/optout.
I guess that if you are dealing with Fedora4 it will be hard to evade SPARQL :)
Again, I am not a Loris implementer but I recall talking with Jon about Loris caching source images. If that is true, there should be no reason to set up periodic pulls. The image would be retrieved on demand and cached for X time, so next request to the same image would bypass the SPARQL query and the Fedora pull. Anybody stop me if I am talking nonsense.
116 S. Michigan Ave.
Chicago, IL 60603
312-499-4026
I am using the fcrepo camel triplestore indexer in apache karaf with fedora 4. It seems that it could work very well as a method to sync repository changes with a IIIF front end presentation api served by djatoka simply via SPARQL CONSTRUCT query with a JSON-LD response. The client could then control the construction of the manifest directly with a query, which as far as I can tell, is not that easy to do with other pipelines. The client request that generates the IIIF formatted manifest could even specify the image server or a fallback location depending on the query. This means that all of the manifest metadata for the object is pushed from fcrepo to the triplestore where it is available for the client on demand. I think that the image server does not need to know anything about SPARQL, just how to handle subsequent api queries to the manifest.The main problem that I am having is that the IIIF presentation API does not conform to the "standard" Jena RIOT format of JSON-LD. For example in this malformed result, @context is a root element of its own (without values) and the row results are returned in an array of @graph.{
"@graph" : [ {
"@id" : "http://iiif.io/api/presentation/2/context.json/resource",
"http://iiif.io/api/presentation/2/context.json/format" : [ "image/jpeg" ],
"http://iiif.io/api/presentation/2/context.json/service" : [ "AIG_546__OSmitUK_42.jpg" ]
}, {
"@id" : "http://www.example.org/iiif/book1/annotation/p0001-image",
"@type" : "http://www.w3.org/ns/oa#Annotation",
"motivation" : "http://iiif.io/api/presentation/2#painting"
} ],
"@context" : {
"motivation" : {
"@id" : "http://iiif.io/api/presentation/2/context.json/motivation",
"@type" : "@id"
},
"format" : {
"@id" : "http://iiif.io/api/presentation/2/context.json/format",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
},
"service" : {
"@id" : "http://iiif.io/api/presentation/2/context.json/service",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
}
}
}
I do not know if it is possible to make a custom output formatter for Jena RIOT for IIIF, to parse and reformat multiple SPARQL requests at the client side, to modify the query somehow (or abandon this idea all together!)Cheers,Christopher
On Friday, April 22, 2016 at 5:43:38 AM UTC+2, Stefano Cossu wrote:
I found a couple spare hours and wrote a simple triplestore-based Fedora resolver for Loris. It needs several improvements to be production-worthy, but it works. I have submitted a pull request: https://github.com/loris-imageserver/loris/pull/208
Stefano
On 03/31/2016 05:41 PM, Stefano Cossu wrote:
Trey, +1 for using e-tags. I am not very familiar with Hydra's NOIDs, but are they something that you can infer a Fedora URI from without an additional HTTP call? Stefano On Wed, 30 Mar 2016 15:50:04 -0700 (PDT) Trey Pendragon <tr...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Fedora Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-tech...@googlegroups.com.
To post to this group, send email to fedor...@googlegroups.com.
Visit this group at https://groups.google.com/group/fedora-tech.
For more options, visit https://groups.google.com/d/optout.