<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
    <teiHeader>
        <fileDesc>
            <titleStmt>
                <title type="full">
                    <title type="main">Hard cases in cross-corpora drama annotation</title>
                    <title type="sub"/>
                </title>
                <author>
                    <persName>
                        <surname>Orekhov</surname>
                        <forename>Boris V.</forename>
                    </persName>
                    <affiliation>Higher School of Economics, Russian Federation</affiliation>
                    <email>nevmenandr@gmail.com</email>
                </author>
            </titleStmt>
            <editionStmt>
                <edition>
                    <date>2021-06-22T00:50:02.324404263</date>
                </edition>
            </editionStmt>
            <publicationStmt>
                <publisher>Elisabeth Burr, University of Leipzig</publisher>
                <address>
                    <addrLine>Beethovenstr. 15</addrLine>
                    <addrLine>04107 Leipzig</addrLine>
                    <addrLine>Germany</addrLine>
                    <addrLine>Elisabeth Burr</addrLine>
                </address>
            </publicationStmt>
            <sourceDesc>
                <p>Converted from an OASIS Open Document</p>
            </sourceDesc>
        </fileDesc>
        <encodingDesc>
            <appInfo>
                <application ident="DHCONVALIDATOR" version="1.22">
                    <label>DHConvalidator</label>
                </application>
            </appInfo>
        </encodingDesc>
        <profileDesc>
            <textClass>
                <keywords scheme="ConfTool" n="category">
                    <term>Paper</term>
                </keywords>
                <keywords scheme="ConfTool" n="subcategory">
                    <term>Short Paper</term>
                </keywords>
                <keywords scheme="ConfTool" n="keywords">
                    <term>drama</term>
                    <term>wikidata</term>
                    <term>annotating text data</term>
                    <term>ancient greek drama</term>
                </keywords>
                <keywords scheme="ConfTool" n="topics">
                    <term>Annotating</term>
                    <term>Text</term>
                    <term>Literature</term>
                    <term>Data</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>English</term>
                </keywords>
            </textClass>
        </profileDesc>
    </teiHeader>
    <text>
        <body>
            <p>The paper deals with the observations that are made during the work on Dracor.org
                (Skorinkin et al 2018). Originally, Dracor.org is a set of isolated corpora in
                different languages with a unified TEI markup that allows you to do quantitative
                drama studies (Skorinkin / Fischer 2018). But since the platform now includes a
                noticeable set of corpora in German, English, Russian and other languages, it is
                natural to try to study cross-corpora drama features. These features include
                characters that appear in different plays and even in different corpora. Usually
                these are historical personalities (e.g. kings), mythological figures (Achilles,
                Heracles), popular literary characters (Faust). The idea is to mark all the
                characters that are mentioned in the plays more than once. We must not forget that
                Euripides' Achilles (<hi rend="italic">Iphigenia in Aulis</hi>) is a different
                character than Kleist's Achilles (<hi rend="italic">Penthesilea</hi>). Technically,
                these characters are part of different fictional systems. But in the future we would
                like to explore the differences of interaction between these characters and the
                other components of the play. This will help to establish the very difference
                between fictional systems and the author's style. So we have to mark the heroes with
                the same name to be able to extract them automatically from the corpus. </p>
            <p>All characters in Dracor have their ids, which depend on their names:</p>
            <p>&lt;person xml:id="Othello_Oth"&gt;</p>
            <p> &lt;persName&gt;Othello&lt;/persName&gt;</p>
            <p>&lt;/person&gt;</p>
            <p>But id in the play is not suitable for cross-corpora annotation tasks. For example, the character "messenger" is found in many plays, and often has the same id, but this is not the case when we are going to mark these characters as the same cross-corpora character. In addition, characters in different plays may occasionally have the same names. That means we need to have a separate attribute for this kind of case. </p>
            <p>We have chosen the attribute "ana" for the tag "person". Due to the TEI guidelines this attribute "indicates one or more elements containing interpretations of the element on which the ana attribute appears". This means that we interpret the character of the play as some kind of entity that may appear in other plays. The most convenient option would be to associate the value of this attribute with the Linked Open Data. We use Wikidata, which provides the URI for the entity we find in different plays.</p>
            <p>&lt;person xml:id="phaedra" sex="FEMALE" ana="http://www.wikidata.org/entity/Q212818"&gt;</p>
            <p>This approach works very well and allows us to identify the characters in different plays. But there are cases where we can see the inconvenience of Wikidata URI for the purposes of our cross-corpora markup.</p>
            <p>There are three types of such cases. </p>
            <div type="div1" rend="DH-Heading1">
                <head>Umbra case</head>
                <p>In ancient plays, characters and their shadows are often found separately. Sometimes they are found within the same play. Then they have different dracor ids, but the URI on Wikidata is the same. See Tantalus and Tantali Umbra in 
                    <hi rend="italic">Thyestes</hi> by Seneca
                </p>
                <p>&lt;person xml:id="tantalus" sex="MALE" ana="http://www.wikidata.org/entity/Q515531"&gt;</p>
                <p> &lt;persName&gt;Tantalus&lt;/persName&gt;</p>
                <p>&lt;/person&gt;</p>
                <p>&lt;person xml:id="tantaliumbra" sex="MALE" ana="http://www.wikidata.org/entity/Q515531"&gt;</p>
                <p> &lt;persName&gt;Tantali Umbra&lt;/persName&gt;</p>
                <p>&lt;/person&gt;</p>
                <p>and Δαρεῖος and Εἴδωλον Δαρείου in 
                    <hi rend="italic">Persians</hi> by Aeschylus:
                </p>
                <p>&lt;person xml:id="eidolon_dareiou" sex="MALE" ana="http://www.wikidata.org/entity/Q44387"&gt;</p>
                <p>&lt;persName&gt;Εἴδωλον Δαρείου&lt;/persName&gt;</p>
                <p>&lt;/person&gt;</p>
                <p>&lt;person xml:id="dareios" sex="MALE" ana="http://www.wikidata.org/entity/Q44387"&gt;</p>
                <p>&lt;persName&gt;Δαρεῖος&lt;/persName&gt;</p>
                <p>&lt;/person&gt;</p>
                <p>At the moment we have to mark these characters with a single id. But it's not the best solution.</p>
            </div>
            <div type="div1" rend="DH-Heading1">
                <head>Ivppiter case</head>
                <p>The purpose of cross-corpora markup is to tie together characters from different plays and different corpora at the same data object. From this point of view, it is obvious that Zeus and Jupiter are the same character, they perform the same function in the story about Hercules. But in Wikidata we find different URIs for Zeus (https://www.wikidata.org/wiki/Q34201) and Jupiter (https://www.wikidata.org/wiki/Q4649). Thus, our data is separated. The plan is to get all the necessary information about the characters using SPARQL queries and characters ids. Perhaps, this case could be solved by the additional parameter of SPARQL query (P460). But every time this parameter must be different (depends on gods, kings or someone else we deal with).</p>
            </div>
            <div type="div1" rend="DH-Heading1">
                <head>Talthybius case</head>
                <p>Talthybius has two relevant objects in Wikidata. First of all, it's a character from a myth (https://www.wikidata.org/wiki/Q1367860). This URI allows us to connect the character of the tragedy 
                    <hi rend="italic">Troades</hi> by Seneca and 
                    <hi rend="italic">The Trojan Women</hi> by Euripides. But the Euripides tragedy character has his own URI in Wikidata: https://www.wikidata.org/wiki/Q60607554. Technically, its attribute should have this value, but it contradicts the idea of tying the characters of different plays together. Additional SPARQL parameter P1074 ("fictional analog of") could solve this problem. Another solution is to extend Wikidata by ourselves and add Talthybius to the parameter "present in work" (P1441) from Dracor to the certain play objects.
                </p>
            </div>
        </body>
        <back>
            <div type="bibliogr">
                <listBibl>
                    <head>Bibliography</head>
                    <bibl>
                        <hi rend="bold">Skorinkin, Daniil</hi> / <hi rend="bold">Fischer, Frank</hi>
                        / <hi rend="bold">Palchikov, German</hi> (2018): "Building a Corpus for the
                        Quantitative Research of Russian Drama: Composition, Structure, Case
                        Studies", in: <hi rend="italic">Компьютерная лингвистика и интеллектуальные
                            технологии</hi> 662–682. </bibl>
                    <bibl>
                        <hi rend="bold">Skorinkin, Daniil</hi> / <hi rend="bold">Fischer, Frank</hi>
                        (2018): "Measuring the ‘Epification’ of Drama", in: <hi rend="italic"
                            >Applications in Cultural Evolution: Arts, Languages, Technologies</hi>.
                        Tartu: University of Tartu 46–48. </bibl>
                </listBibl>
            </div>
        </back>
    </text>
</TEI>
