The codes with matching genre attributions (incomplete suggestions) would be:
Q40831 for Comedy
Comédie ballet
Comédie héroïque
Comédie Parade
Comédie-ballet
Comédie
Farce
Saynète
Q80930 for Tragedy
Tragédie
...
Q192881 for Tragicomedy
Tragi-comédie
...
Q131084 for Libretto
Ballet
Comédie ballet
Comédie-ballet
Opéra Bouffe
Opéra comique
Opéra
Opérette
Tragédie en musique
Tragédie lyrique
I would also suggest to add a scheme attribute to the keywords element and omit the term/@type in order to make clear where this classification comes from and avoid confusing it with the keywords we recently added to GerDraCor and RusDraCor.
The transformation at https://github.com/dracor-org/fredracor/blob/55e2b63b9f68d8f3107b72dd3f0649c04b8b42a8/transform.xq#L777-L782 should add appropriate
classCode
elements where genre information found in the originals matches the recognised text classes defined in dracor-org/dracor-api#122.See also original discussion in https://github.com/dracor-org/dracor-api/issues/120.
The codes with matching genre attributions (incomplete suggestions) would be:
Q40831
for ComedyQ80930
for TragedyQ192881
for TragicomedyQ131084
for LibrettoI would also suggest to add a
scheme
attribute to thekeywords
element and omit theterm/@type
in order to make clear where this classification comes from and avoid confusing it with the keywords we recently added to GerDraCor and RusDraCor.The
textClass
markup could then look like this:or for a libretto (e.g. moliere-bourgeoisgentilhomme.xml)