Skip to content

ubl-chj/iiif-dynamo

Repository files navigation

iiif-dynamo

Build Status

An Apache Camel Jetty implementation that queries web annotations with SPARQL and dynamically constructs IIIF Manifests and Collections. It also uses Redis to cache query results to produce instantaneous responses.

Configuration

  • de.ubleipzig.dynamo.cfg
  • de.ubleipzig.webanno.Constants

Building

This requires JDK10 or higher. To build run

./buildtools/src/install/install-jpms.sh

Running Docker Composition

docker-compose up

  • This starts three containers redis, dynamo and dynamo-search on the 110_default network (which is where the JDK10 Trellis deployment lives)

Endpoint

The test query endpoint is exposed at http://localhost:9095/dynamo

Example Endpoint Metadata Type Query

This example requests canvases with resources that have either metadata value 1676 or metadata value 1670

$ http://localhost:9095/dynamo?type=meta&v1=1676&v2=1670

Example Endpoint Collection Type Query

This example builds a collection of dynamic manifest identifiers by evaluating all possible metadata query values.

$ http://localhost:9095/dynamo?type=collection

Dependencies

Resource Aggregation with SPARQL at Fuseki Endpoint

The main use case of this pipeline is to enable repository resources to be grouped as typed collections in named graphs.

See Systematik Catalogue Builder for a Web Annotation Builder.

Releases

No releases published

Packages

No packages published