These examples demonstrate the Scala Cite Services (Akka) application, SCS-Akka, running at beta.hpcc.uh.edu/scs/, and serving data from the 2018d Release of the Homer Multitext Data.
The service accepts requests via HTTP, and returns JSON.
This collection of microservices is serving current data from the Homer Multitext, edited by Casey Dué and Mary Ebbott, a project of the Center for Hellenic Studies of Harvard University.
For more information on this service, please see https://github.com/cite-architecture/scs-akka.
For information on the CITE Architecture, please see https://cite-architecture.github.io.
Report bugs by filing issues on GitHub.
All references for a version of a text:
Valid references for parts of a text:
Passages for a specific version of a text:
Passages for all versions of a text:
NGrams in works present in the library:
t times)s=Ζηνόδοτος.)Find citations to NGrams:
Returning a Corpus of Passages containing an NGram:
dist=3 of each other)dist=2 of each other, should return no passages)true)false)v1 of collection urn:cite2:hmt:msA:)offset=1, limit=10, of objects in an ordered collection)Get objects from multiple collections:
urn-match
offset=0 start at the first result; limit=3 return only three results; these optional parameters apply to all searching requests and allow paged access to results)regexmatch
stringcontains
valueequals
numeric less-than
numeric less-than-or-equal
numeric equals
numeric greater-than
numeric greater-than-or-equal
numeric within
Basic Image Retrieval
Defining a width
Defining MaxWidth and MaxHeight
Embedding
CITE Relations are associations of URN to URN, with the relationship specified by a Cite2 URN.
If a library includes CiteRelations and implements the Commentary datamodel, comments associated with passages of text can (optionally) be attached to replies for a corpus of texts.
The DSE Data model consists of a CITE Collection of objects, each documenting a three-way relationship between (a) a text-bearing artifact, (b) a documentary image (ideally with a region-of-interest defined), and © a citable passage of text.
offset and limit are not used to constrain the returned results, the list of DSEs might be huge, and cause the request to timeout.(The dse=true parameter is valid for all object-searching, as well as for retrieval of individual objects or ranges of objects.)