Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zotero to TEI: represent date of data collection #43

Open
dasch124 opened this issue Apr 4, 2024 · 4 comments
Open

Zotero to TEI: represent date of data collection #43

dasch124 opened this issue Apr 4, 2024 · 4 comments

Comments

@dasch124
Copy link
Contributor

dasch124 commented Apr 4, 2024

Cf. #42: Each bibliographic entry used for feature value observations will have a tag for the decade of data collection and the level of certainty in Zotero. This will come out as any other "normal" Zotero tag as <note type="tag"> in the TEI export, however we probably want to make it more expressive.

<biblStruct> itself does not offer many choices. Either

<biblStruct>
     …
      <note type="dataCollection">The data of this publication was collected in the <date type="dataCollection" cert="low" notBefore-iso="1950-01-01" notAfter="1959-12-31">1950s</date> and <date type="dataCollection" cert="low" notBefore-iso="1960-01-01" notAfter="1969-12-31">1960s</date>.
        </note>
</biblStruct>

OR: we can attach this to an @ana attribute on <biblStruct>:

<biblStruct type="conferencePaper" xml:id="Agius_26291991_9868" corresp="http://zotero.org/groups/2165756/items/EJHJT3CB" n="Agius1991a" ana="dataCollected:d1950s dataCollected:d1960s">
      …
</biblStruct>

and at the end of the document:

<interp xml:id="d1950s"><desc>The data of this publication was collected in the <date type="dataCollection" cert="low" notBefore-iso="1950-01-01" notAfter="1959-12-31">1950s</date></desc></interp>

Neither of which I find very convincing, honestly. ... Other ideas, @charlymo @kisram @VeronikaEngler ?

@dasch124
Copy link
Contributor Author

dasch124 commented Jun 6, 2024

Let's go for:

<biblStruct>
     …
      <note type="dataCollection">
               <date type="dataCollection" cert="low" notBefore-iso="1950-01-01" notAfter-iso="1959-12-31">1950s</date>
               <date type="dataCollection" cert="low" notBefore-iso="1960-01-01" notAfter-iso="1969-12-31">1960s</date>
        </note>
</biblStruct>

@dasch124
Copy link
Contributor Author

dasch124 commented Jun 6, 2024

Vero will write an XSLT transformation which we can append to the jupyter notebook which does the Zotero export.
Cf. https://github.com/wibarab/featuredb/blob/main/080_scripts_generic/vicav_zotero/fetch_generated_tei_and_process.ipynb

@VeronikaEngler
Copy link
Contributor

@dasch124 I wrote the stylesheet, but I wanted to make sure, why in the attributes on the new structure above ("notBefore-iso" and "notAfter") the "-iso" is attached only to "notBefore" and not "notAfter", is this on purpose?

@dasch124
Copy link
Contributor Author

dasch124 commented Jul 4, 2024

@dasch124 I wrote the stylesheet, but I wanted to make sure, why in the attributes on the new structure above ("notBefore-iso" and "notAfter") the "-iso" is attached only to "notBefore" and not "notAfter", is this on purpose?

that was a glitch, I corrected the comment above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants