Skip to content

Deprecate <standOff> #133

Closed
Closed

Description

@lehkost

Following @lb42's suggestion, we want to deprecate the <standOff> part, which right now is intended to hold information on dates (first print, premiere, written) plus the Wikidata ID of the work (not the edition), like this:

<standOff>
  <listEvent>
    <event type="print" when="1768">
      <desc/>
    </event>
    <event type="premiere" when="1770-08-20">
      <desc/>
    </event>
    <event type="written" notBefore="1757" notAfter="1758">
      <desc/>
    </event>
  </listEvent>
  <listRelation>
    <relation name="wikidata" active="https://dracor.org/entity/ger000472"
      passive="http://www.wikidata.org/entity/Q51370012"/>
  </listRelation>
</standOff>

We want to move this info to <sourceDesc>, making them siblings of <bibl type="digitalSource">, like this:

<sourceDesc>
  <bibl type="digitalSource">[…]</bibl>
  <bibl type="work">
    <idno type="wikidata">Q51370012</idno>
  </bibl>
  <listEvent>
    <event type="print" when="1768">
      <desc/>
    </event>
    <event type="premiere" when="1770-08-20">
      <desc/>
    </event>
    <event type="written" notBefore="1757" notAfter="1758">
      <desc/>
    </event>
  </listEvent>
</sourceDesc>

<standOff> would be gone. Opinions, @lb42?

Activity

  1. ingoboerner commented on Sep 5, 2025

    @ingoboerner
    Collaborator

    We need to change some parts of the Encoding Guidelines and the ODD for that.

    The information on how to encode the Wikidata ID is documented:
    https://dracor.org/doc/odd#section-play-wikidata

    There is no real good documentation of the values used at @type of <event>:

    We should use this opportunity to also better document the values used as @type of <event>, especially "print" which means (as we are discussing at the post-DraCor Summit Co-Working) always the first printing /first publication of a play.
    #117

    We never documented that, but somehow it is specified in the Ontology:
    https://github.com/dracor-org/dracor-ontology/blob/main/v1/dracor_api_ontology.ttl#L924-L939

  2. ingoboerner commented on Sep 5, 2025

    @ingoboerner
    Collaborator

    Just for reference this seems the pull request that introduced <standOff>: #38

  3. added this to the 1.1.0 milestone on Sep 6, 2025
  4. lb42 commented on Sep 7, 2025

    @lb42

    I am happy to see <standoff> disappear (surprise!)

    However I am not completely sure about your suggested way of dealing with #53 : the Wikidata identifier is not strictly speaking the source of your encoding, is it? And shouldn't a bibliographic note about the work be somehow superior to one about a digital version of it? So I am now wondering whether the best place for this idno (and indeed others) would not be within the <publicationStmt> - especially since your current web interface uses the wikidata id to identify the textf.

    So I would lean towards something like

    <publicationStmt>
    <distributor>DraCor Project .... blah blah ...</distributor>
    <availability> .... </availability>
     <idno type="wikidata">Q51370012</idno>
    </publicationStmt>
    

    One could imagine other identifiers being useful too, e.g. if there is going to be a "dracor virtual corpus" it might want to allocate its own identifiers. In Lacy I also supply identifiers for the work in other corpora/collection s here, like this:

    <publicationStmt>
    <distributor>Privately published on the Lacy Website</distributor>
    <idno type="URL">lae:L0039</idno>
    <idno type="nic">N11183</idno>
    <idno type="vpp">Vol3ixBelphegor</idno>
    </publicationStmt>
    

    First publication / printing date is not available for Lacy plays. Instead we use first performance date. How can I tell DraCor to use that instead?

  5. cmil commented on Sep 8, 2025

    @cmil
    Member

    @lb42 Would <event type="premiere"> in <sourceDesc> work for your first performance date? I can see that "firstPerformance" would be a bit more precise but we have been using the "premiere" type in DraCor with basically the same meaning for quite some time.

  6. lb42 commented on Sep 8, 2025

    @lb42

    I had assumed that firstperf and premiere were synonymous!

  7. lb42 commented on Sep 8, 2025

    @lb42

    In the dracorinterface, does event type premiere show up as the date for a play when no print date is available?

  8. cmil commented on Sep 8, 2025

    @cmil
    Member

    We use a "normalised year" for sorting plays of a corpus chronologically. How this is calculated is described in our FAQ. The DraCor frontend also displays the individual years currently recorded in <standOff> like this:

    Image
  9. ingoboerner commented on Sep 11, 2025

    @ingoboerner
    Collaborator

    Wouldn't

    <publicationStmt>
    <distributor>DraCor Project .... blah blah ...</distributor>
    <availability> .... </availability>
     <idno type="wikidata">Q51370012</idno>
    </publicationStmt>
    

    as proposed by @lb42 imply that the wikidata identifier identifies our TEI document? I think we disagree on what the TEI represents:

    • the Work (in FRBR F1 Work)
    • a digital surrogate we are using as the source for Analysis; a scholarly edition of a work, so to say (in FRBR F3 Manifestation)

    The <publicationStmt> contains infomation about the publication/bibliographic metadata of the digital file IMHO; same for the <titleStmt> for which even the TEI suggested at some point that the title could or should be the title of the digital file, e.g. "Hamlet. A Digital Edition"..

    On WIkidata the Wikidata Q-ID identifies the Work, not the Manifestation or an Edition. IMHO we should not use this identifier in our files so that it now identifies the DraCor TEI File.

    If the Wikidata <idno> shall not be added to the <sourceDesc>, can we maybe consider moving the bibliographic metadata that is not about the actual source to a <notesStmt>?

  10. lb42 commented on Sep 11, 2025

    @lb42

    Yes, we do disagree (ideologically) about whether the TEI document represents a work or a manifestation of one, as I said in my brief talk. And I agree that putting the wikidata id directly inside the TEI document is therefore ambiguous at best. So I conclude that your suggestion of wrapping it inside sourceDesc/bibl type="work" is a good compromise.

  11. textloop commented on Sep 12, 2025

    @textloop

    Maby this ideological problem could be circumvented, if the information is moved to a noteStmt (as suggested by @ingoboerner?).
    This way, the information would be presented in a more neutral manner and does not need to be modeled depending on whether the electronic file describes the work or a manifestation of it.

    e.g.

    <publicationStmt>
    ...
    </publicationStmt>
    <notesStmt n="related-information">
    	<note type="identifier">
    		<idno type="wikidata">Q51370012</idno>
    	</note>
    	<note type="history">
    		<listEvent>
    			<event type="print" when="1768">
    				<desc/>
    			</event>
    			<event type="premiere" when="1770-08-20">
    				<desc/>
    			</event>
    			<event type="written" notBefore="1757" notAfter="1758">
    				<desc/>
    			</event>
    		</listEvent>
    	</note>
    </notesStmt>
    <sourceDesc>
    ...
    </sourcedesc>
    
    
  12. cmil commented on Sep 16, 2025

    @cmil
    Member

    From looking at the examples for <notesStmt> at https://www.tei-c.org/release/doc/tei-p5-doc/en/html/examples-notesStmt.html it would seem to me that using it for our current standOff data would stretch the intended semantics quite a bit. Maybe we can ignore ideology and go with the simple solution?

  13. cmil commented on Sep 16, 2025

    @cmil
    Member

    Speaking of simple, do we actually need two @type attributes? How about encoding the Wikidata ID like this:

    <sourceDesc>
      ...
      <bibl type="wikidata"><idno>Q51370012</idno></bibl>
      ...
    </sourceDesc>
  14. lb42 commented on Sep 16, 2025

    @lb42

    I think using notesStmt is always an admission of defeat.

  15. lb42 commented on Sep 16, 2025

    @lb42

    And for greatest simplicity why not just put all identifiers used for the item inside its publicationstmt? This is what eebo tcp does.

  16. modified the milestones: 1.1.0, 1.2.0 on Oct 26, 2025
  17. juliajbeine commented on Feb 6, 2026

    @juliajbeine
    Collaborator

    Note from a discussion elsewhere: We may put listEvent after the bibl elements in sourceDesc.

  18. cmil commented on Mar 21, 2026

    @cmil
    Member

    PR #184 now modifies the encoding guidelines to recommend something like the following in replacement of our current standOff markup:

    <sourceDesc>
      <!-- ... -->
      <bibl type="wikidata">
        <idno>Q51370012</idno>
      </bibl>
      <listEvent>
        <event type="print" when="1768">
          <desc/>
        </event>
        <event type="premiere" when="1770-08-20">
          <desc/>
        </event>
        <event type="written" notBefore="1757" notAfter="1758">
          <desc/>
        </event>
      </listEvent>
    </sourceDesc>

    While this is not an absolutely perfect solution (mainly because this data is not necessarily source related), I think it is a good compromise. If there are no strong objections I would like to implement support for this markup in the DraCor API so that we can merge and release this.

    Please have a look at the PR and especially the new wording in the encoding guidelines!

  19. modified the milestone: 1.4.0 on Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions