wibarab / featuredb

WIBARAB is a project in the field of Arabic dialectology. It consists of various regional sub-projects (four PhD projects) and a large database about bedouin-type dialects of Arabic. The Feature Database will be the main point of integrating the results of the sub-projects. In this repository we collect the primary data of the database in TEI/XML.
Other
1 stars 0 forks source link

Zotero to TEI: represent date of data collection #43

Open dasch124 opened 7 months ago

dasch124 commented 7 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 4 months ago

@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 commented 4 months ago

@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