Closed ingoboerner closed 2 years ago
dts
of the dracor-api: https://github.com/dracor-org/dracor-api/tree/dtsA a demo of the DraCor DTS implementation is available at https://staging.dracor.org/api/dts
citeStructure
used correctly, see section "to do"?)nav
: https://staging.dracor.org/api/dts/collections?id=ger000088&nav=parentsxml:id
s are not available on structural sub-divisions of a play, so I had to use the structural information (tei:div
) to build a reference systemciteStructure
correctly – currently it is used to output citeType
in the sense of a type of a structural division, e.g. notates, that a drama has the structural divisions act
and scene
vs. plays that are structured in scene
s only. ref
and level
have been implemented; it's possible, to request all structural divisions on level={1 or 2}
from the document root, but not any level below that, even if the citeDepth
would allow it; it's only possible to list sub-sections of level 2 sections, e.g. scenes of an act (see above), but https://staging.dracor.org/api/dts/navigation?id=ger000017&ref=body would fail. https://staging.dracor.org/api/dts/navigation?id=ger000017&ref=body.div.1&level=1 works... and I would need https://github.com/distributed-text-services/workshops/issues/16 to validate the output ;)
@mromanello:
the base URI is
https://staging.dracor.org/api/dts
but then the paths of endpoints are declared like dts/documents which should be /api/dts/documents instead (I believe). Because a client will blindly follow the paths, so it will end up athttps://staging.dracor.org/dts/documents
(which is not what you wanted)
fixed base-uris of endpoints, should be /api/dts/...
Proponent / Mentor
Ingo Boerner (@ingoboerner)
Brief Description
The aim is to implement a DTS endpoint to the DraCor-API (https://dracor.org/doc/api).
DraCor consists of corporas of dramas in eleven languages (German, Russian, French, Italian, Swedish, Spanish, Ancient Greek, Alsatian, Latin, Bashkir, and Tatar) as well as two additional author corpora (Shakespeare, Calderón), to which the platform offers several ways to access them: The plays are encoded in TEI-XML available under an open license via GitHub at https://github.com/dracor-org.
In addition to this "classical" modus operandi of corpus-based research, however, DraCor as an open digital ecosystem offers further interfaces and attached tools (network visualizations, Shiny App, Easy Linavis). Fundamental all this tools this is the DraCor REST API (https://dracor.org/doc/api), which provides functions for retrieving data in different formats (TEI, JSON, Plaintext, RDF, GEXF, GraphML) as well as some built-in analysis functionalities (e.g. on network metrics).
Coding skills needed
The DraCor-API is written in xQuery and implemented as an app in eXist-DB.
Team members
@cmil, @ingoboerner, @lehkost, @peertrilcke. People wanting to join are welcome, also to test and validate the implementation and to provide feedback.