Compare commits

..

12 Commits

Author SHA1 Message Date
126c595f05 Add transformation for the LIDO as expected by the DDB's CCC portal 2025-07-21 13:41:16 +02:00
5e1e3e7baf Use selections for new implementation of measurements 2024-11-28 09:33:37 +01:00
6f3a780513 Merge branch 'anowicki-master' 2024-11-08 16:05:40 +01:00
93e1523f3f Merge remote-tracking branch 'upstream/master' 2024-11-08 13:16:05 +01:00
a3973c5c62 fixed unnecessary linebreaks after '(?)' in lido-1.0 2024-11-08 13:10:57 +01:00
93f6de4537 Merge branch 'anowicki-master' 2024-10-15 16:02:21 +02:00
b75f43cbe3 Merge branch 'master' into master 2024-10-15 16:00:03 +02:00
5dcd88b6e1 Extend default selections by acquisitions 2024-10-15 15:56:08 +02:00
73e749160c Changed lido:resourceRepresentation@lido:type for pdf from 'text' to 'provided_text' for DDB compatibilityMerge remote-tracking branch 'upstream/master' 2024-10-02 17:47:55 +02:00
6c2b829daa changed lido:resourceRepresentation@lido:type for pdf from 'text' to 'provided_text' for DDB compatibility 2024-10-02 17:06:15 +02:00
c9c7b63434 Display objectWorkType via tags in EODEM and LIDO 1.1 exports, and only
that in case both object_type tags exist and an object type is present
in md

See #5

Background for the disabling of exports of the regular object type in
case both exist: The German Digital Library (DDB) is unable to handle
duplicate names in work types unless both contain different links to
norm data repositories. This fix allows the DDB to more easily import
while supposedly not losing meaningful data.
2023-08-03 23:11:08 +02:00
2ff939c6db Cover controlled terms for objectWorkType and material / tech in LIDO
1.0 exports
2023-07-09 22:18:25 +02:00
9 changed files with 2775 additions and 266 deletions

View File

@@ -8,6 +8,8 @@
Updated version of the LIDO standard, as of 2022. See <https://lido-schema.org>
- EODEM
A LIDO profile (based on LIDO 1.1) specifically designed for the automation of the exchange of loan object information. Contrary to LIDO, it thus also covers some internal fields. See: <https://cidoc.mini.icom.museum/working-groups/documentation-standards/eodem-home/>
- LIDO 1.0 for the CCC ([Collections from colonial contexts](https://ccc.deutsche-digitale-bibliothek.de/en)) Portral of the German Digital Library
*lido-1.0-ccc*
## Repository structure

View File

@@ -34,70 +34,133 @@
</xsl:if>
<lido:objectClassificationWrap>
<lido:objectWorkTypeWrap>
<lido:objectWorkType>
<xsl:for-each select="objektart_gnd">
<lido:conceptID>
<xsl:attribute name="lido:source">gnd</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://d-nb.info/gnd/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_grobsystematik">
<lido:conceptID>
<xsl:attribute name="lido:source">grobsystematik</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/grobsystematik/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_oberbegriffsdatei">
<lido:conceptID>
<xsl:attribute name="lido:source">oberbegriffsdatei</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/oberbegriffsdatei/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_aat">
<lido:conceptID>
<xsl:attribute name="lido:source">aat</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://vocab.getty.edu/aat/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_lcsh">
<lido:conceptID>
<xsl:attribute name="lido:source">lcsh</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://id.loc.gov/authorities/subjects/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_md_tag">
<lido:conceptID>
<xsl:attribute name="lido:source">md:term</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/md-de/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:if test="objektart!=''">
<xsl:for-each select="objektart">
<lido:term>
<xsl:attribute name="xml:lang">de</xsl:attribute>
<xsl:value-of select="." />
</lido:term>
</xsl:for-each>
</xsl:if>
<xsl:if test="objekt_record_set/objektart!=''">
<xsl:for-each select="objekt_record_set">
<xsl:if test="substring(objekt_record_weitergabe,1,1)=0">
<lido:term>
<xsl:attribute name="xml:lang">
<xsl:value-of select="objekt_record_lang" />
</xsl:attribute>
<xsl:value-of select="objektart" />
</lido:term>
<xsl:choose>
<xsl:when test="
tagSet[0]/relation_type[. = 'object_type']
| tagSet[1]/relation_type[. = 'object_type']
| tagSet[2]/relation_type[. = 'object_type']
| tagSet[3]/relation_type[. = 'object_type']
| tagSet[4]/relation_type[. = 'object_type']
| tagSet[5]/relation_type[. = 'object_type']
| tagSet[6]/relation_type[. = 'object_type']
| tagSet[7]/relation_type[. = 'object_type']
| tagSet[8]/relation_type[. = 'object_type']
| tagSet[9]/relation_type[. = 'object_type']
| tagSet[10]/relation_type[. = 'object_type']
| tagSet[11]/relation_type[. = 'object_type']
| tagSet[12]/relation_type[. = 'object_type']
| tagSet[13]/relation_type[. = 'object_type']
| tagSet[14]/relation_type[. = 'object_type']
| tagSet[15]/relation_type[. = 'object_type']
| tagSet[16]/relation_type[. = 'object_type']
| tagSet[17]/relation_type[. = 'object_type']
| tagSet[18]/relation_type[. = 'object_type']
">
<!-- objectWorkType exists via tags -->
<xsl:for-each select="tagSet/tag_id">
<xsl:if test="../relation_type = 'object_type'">
<lido:objectWorkType>
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
<xsl:variable name="objektartschlagwort" select="." />
</lido:term>
</xsl:for-each>
</lido:objectWorkType>
</xsl:if>
</xsl:for-each>
</xsl:if>
</lido:objectWorkType>
</xsl:when>
<xsl:otherwise>
<lido:objectWorkType>
<xsl:for-each select="objektart_gnd">
<lido:conceptID>
<xsl:attribute name="lido:source">gnd</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://d-nb.info/gnd/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_grobsystematik">
<lido:conceptID>
<xsl:attribute name="lido:source">grobsystematik</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/grobsystematik/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_oberbegriffsdatei">
<lido:conceptID>
<xsl:attribute name="lido:source">oberbegriffsdatei</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/oberbegriffsdatei/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_aat">
<lido:conceptID>
<xsl:attribute name="lido:source">aat</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://vocab.getty.edu/aat/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_lcsh">
<lido:conceptID>
<xsl:attribute name="lido:source">lcsh</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://id.loc.gov/authorities/subjects/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_md_tag">
<lido:conceptID>
<xsl:attribute name="lido:source">md:term</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/md-de/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:if test="objektart!=''">
<xsl:for-each select="objektart">
<lido:term>
<xsl:attribute name="xml:lang">de</xsl:attribute>
<xsl:value-of select="." />
</lido:term>
</xsl:for-each>
</xsl:if>
<xsl:if test="objekt_record_set/objektart!=''">
<xsl:for-each select="objekt_record_set">
<xsl:if test="substring(objekt_record_weitergabe,1,1)=0">
<lido:term>
<xsl:attribute name="xml:lang">
<xsl:value-of select="objekt_record_lang" />
</xsl:attribute>
<xsl:value-of select="objektart" />
</lido:term>
</xsl:if>
</xsl:for-each>
</xsl:if>
</lido:objectWorkType>
</xsl:otherwise>
</xsl:choose>
</lido:objectWorkTypeWrap>
<lido:classificationWrap>
<xsl:for-each select="collectionSet">

2157
src/lido-1.0-ccc.xsl Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -33,72 +33,135 @@
</xsl:if>
<lido:objectClassificationWrap>
<lido:objectWorkTypeWrap>
<lido:objectWorkType>
<xsl:for-each select="objektart_gnd">
<lido:conceptID>
<xsl:attribute name="lido:source">gnd</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://d-nb.info/gnd/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_grobsystematik">
<lido:conceptID>
<xsl:attribute name="lido:source">grobsystematik</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/grobsystematik/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_oberbegriffsdatei">
<lido:conceptID>
<xsl:attribute name="lido:source">oberbegriffsdatei</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/oberbegriffsdatei/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_aat">
<lido:conceptID>
<xsl:attribute name="lido:source">aat</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://vocab.getty.edu/aat/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_lcsh">
<lido:conceptID>
<xsl:attribute name="lido:source">lcsh</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://id.loc.gov/authorities/subjects/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_md_tag">
<lido:conceptID>
<xsl:attribute name="lido:source">md:term</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/md-de/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:if test="objektart!=''">
<xsl:for-each select="objektart">
<lido:term>
<xsl:attribute name="xml:lang">de</xsl:attribute>
<xsl:value-of select="." />
</lido:term>
</xsl:for-each>
</xsl:if>
<xsl:if test="objekt_record_set/objektart!=''">
<xsl:for-each select="objekt_record_set">
<xsl:if test="substring(objekt_record_weitergabe,1,1)=0">
<lido:term>
<xsl:attribute name="xml:lang">
<xsl:value-of select="objekt_record_lang" />
</xsl:attribute>
<xsl:value-of select="objektart" />
</lido:term>
<xsl:choose>
<xsl:when test="
tagSet[0]/relation_type[. = 'object_type']
| tagSet[1]/relation_type[. = 'object_type']
| tagSet[2]/relation_type[. = 'object_type']
| tagSet[3]/relation_type[. = 'object_type']
| tagSet[4]/relation_type[. = 'object_type']
| tagSet[5]/relation_type[. = 'object_type']
| tagSet[6]/relation_type[. = 'object_type']
| tagSet[7]/relation_type[. = 'object_type']
| tagSet[8]/relation_type[. = 'object_type']
| tagSet[9]/relation_type[. = 'object_type']
| tagSet[10]/relation_type[. = 'object_type']
| tagSet[11]/relation_type[. = 'object_type']
| tagSet[12]/relation_type[. = 'object_type']
| tagSet[13]/relation_type[. = 'object_type']
| tagSet[14]/relation_type[. = 'object_type']
| tagSet[15]/relation_type[. = 'object_type']
| tagSet[16]/relation_type[. = 'object_type']
| tagSet[17]/relation_type[. = 'object_type']
| tagSet[18]/relation_type[. = 'object_type']
">
<!-- objectWorkType exists via tags -->
<xsl:for-each select="tagSet/tag_id">
<xsl:if test="../relation_type = 'object_type'">
<lido:objectWorkType>
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
<xsl:variable name="objektartschlagwort" select="." />
</lido:term>
</xsl:for-each>
</lido:objectWorkType>
</xsl:if>
</xsl:for-each>
</xsl:if>
</lido:objectWorkType>
</xsl:when>
<xsl:otherwise>
<lido:objectWorkType>
<xsl:for-each select="objektart_gnd">
<lido:conceptID>
<xsl:attribute name="lido:source">gnd</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://d-nb.info/gnd/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_grobsystematik">
<lido:conceptID>
<xsl:attribute name="lido:source">grobsystematik</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/grobsystematik/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_oberbegriffsdatei">
<lido:conceptID>
<xsl:attribute name="lido:source">oberbegriffsdatei</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/oberbegriffsdatei/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_aat">
<lido:conceptID>
<xsl:attribute name="lido:source">aat</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://vocab.getty.edu/aat/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_lcsh">
<lido:conceptID>
<xsl:attribute name="lido:source">lcsh</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://id.loc.gov/authorities/subjects/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_md_tag">
<lido:conceptID>
<xsl:attribute name="lido:source">md:term</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/md-de/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:if test="objektart!=''">
<xsl:for-each select="objektart">
<lido:term>
<xsl:attribute name="xml:lang">de</xsl:attribute>
<xsl:value-of select="." />
</lido:term>
</xsl:for-each>
</xsl:if>
<xsl:if test="objekt_record_set/objektart!=''">
<xsl:for-each select="objekt_record_set">
<xsl:if test="substring(objekt_record_weitergabe,1,1)=0">
<lido:term>
<xsl:attribute name="xml:lang">
<xsl:value-of select="objekt_record_lang" />
</xsl:attribute>
<xsl:value-of select="objektart" />
</lido:term>
</xsl:if>
</xsl:for-each>
</xsl:if>
</lido:objectWorkType>
</xsl:otherwise>
</xsl:choose>
</lido:objectWorkTypeWrap>
<lido:classificationWrap>
<lido:classificationWrap>
<xsl:for-each select="collectionSet">
<lido:classification>
<xsl:attribute name="lido:type">Sammlung</xsl:attribute>
@@ -676,7 +739,8 @@
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
<xsl:value-of select="."/> (?)
<xsl:value-of select="."/>
<xsl:text> (?)</xsl:text>
</xsl:if>
<xsl:if test="string-length(./@lang) = 0"><xsl:value-of select="."/> (?)</xsl:if>
</lido:displayDate>
@@ -721,10 +785,12 @@
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
<xsl:value-of select="."/> (?)
<xsl:value-of select="."/>
<xsl:text> (?)</xsl:text>
</xsl:if>
<xsl:if test="string-length(./@lang) = 0">
<xsl:value-of select="."/> (?)
<xsl:value-of select="."/>
<xsl:text> (?)</xsl:text>
</xsl:if>
</lido:displayPlace>
</xsl:for-each>
@@ -862,6 +928,43 @@
</lido:materialsTech>
</lido:eventMaterialsTech>
</xsl:if>
<xsl:for-each select="tagSet/tag_id">
<xsl:if test="../relation_type = 'material'">
<lido:eventMaterialsTech>
<lido:materialsTech>
<lido:termMaterialsTech lido:type="material">
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
</lido:term>
</xsl:for-each>
</lido:termMaterialsTech>
</lido:materialsTech>
</lido:eventMaterialsTech>
</xsl:if>
</xsl:for-each>
<xsl:if test="technik2!=''">
<lido:eventMaterialsTech>
<lido:materialsTech>
@@ -873,7 +976,41 @@
</lido:materialsTech>
</lido:eventMaterialsTech>
</xsl:if>
</lido:event>
<xsl:for-each select="tagSet/tag_id">
<xsl:if test="../relation_type = 'technique'">
<lido:eventMaterialsTech>
<lido:materialsTech>
<lido:termMaterialsTech lido:type="technique">
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
</lido:term>
</xsl:for-each>
</lido:termMaterialsTech>
</lido:materialsTech>
</lido:eventMaterialsTech>
</xsl:if>
</xsl:for-each>
</lido:event>
</lido:eventSet>
</xsl:if>
@@ -1102,10 +1239,12 @@
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
<xsl:value-of select="."/> (?)
<xsl:value-of select="."/>
<xsl:text> (?)</xsl:text>
</xsl:if>
<xsl:if test="string-length(./@lang) = 0">
<xsl:value-of select="."/> (?)
<xsl:value-of select="."/>
<xsl:text> (?)</xsl:text>
</xsl:if>
</lido:displayPlace>
</xsl:for-each>
@@ -1191,39 +1330,40 @@
</xsl:if>
<xsl:for-each select="tagSet/tag_id">
<lido:subjectSet>
<lido:subject>
<lido:subjectConcept>
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
</lido:term>
<xsl:if test="(../relation_type != 'object_type') and (../relation_type != 'material') and (../relation_type != 'technique')">
<lido:subjectSet>
<lido:subject>
<lido:subjectConcept>
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
</lido:term>
</xsl:for-each>
</lido:subjectConcept>
</lido:subject>
</lido:subjectSet>
</xsl:if>
</xsl:for-each>
</lido:subjectWrap>
<lido:relatedWorksWrap>
<xsl:for-each select="vergleichsobjekte2">
<lido:relatedWorkSet>
<lido:relatedWork>
@@ -1758,7 +1898,7 @@
</xsl:for-each>
</lido:resourceRepresentation>
<lido:resourceRepresentation>
<xsl:attribute name="lido:type">text</xsl:attribute>
<xsl:attribute name="lido:type">provided_text</xsl:attribute>
<xsl:for-each select="../resource_location">
<xsl:if test="position() = 1">
<lido:linkResource>

View File

@@ -33,70 +33,133 @@
</xsl:if>
<lido:objectClassificationWrap>
<lido:objectWorkTypeWrap>
<lido:objectWorkType>
<xsl:for-each select="objektart_gnd">
<lido:conceptID>
<xsl:attribute name="lido:source">gnd</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://d-nb.info/gnd/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_grobsystematik">
<lido:conceptID>
<xsl:attribute name="lido:source">grobsystematik</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/grobsystematik/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_oberbegriffsdatei">
<lido:conceptID>
<xsl:attribute name="lido:source">oberbegriffsdatei</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/oberbegriffsdatei/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_aat">
<lido:conceptID>
<xsl:attribute name="lido:source">aat</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://vocab.getty.edu/aat/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_lcsh">
<lido:conceptID>
<xsl:attribute name="lido:source">lcsh</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://id.loc.gov/authorities/subjects/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_md_tag">
<lido:conceptID>
<xsl:attribute name="lido:source">md:term</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/md-de/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:if test="objektart!=''">
<xsl:for-each select="objektart">
<lido:term>
<xsl:attribute name="xml:lang">de</xsl:attribute>
<xsl:value-of select="." />
</lido:term>
</xsl:for-each>
</xsl:if>
<xsl:if test="objekt_record_set/objektart!=''">
<xsl:for-each select="objekt_record_set">
<xsl:if test="substring(objekt_record_weitergabe,1,1)=0">
<lido:term>
<xsl:attribute name="xml:lang">
<xsl:value-of select="objekt_record_lang" />
</xsl:attribute>
<xsl:value-of select="objektart" />
</lido:term>
<xsl:choose>
<xsl:when test="
tagSet[0]/relation_type[. = 'object_type']
| tagSet[1]/relation_type[. = 'object_type']
| tagSet[2]/relation_type[. = 'object_type']
| tagSet[3]/relation_type[. = 'object_type']
| tagSet[4]/relation_type[. = 'object_type']
| tagSet[5]/relation_type[. = 'object_type']
| tagSet[6]/relation_type[. = 'object_type']
| tagSet[7]/relation_type[. = 'object_type']
| tagSet[8]/relation_type[. = 'object_type']
| tagSet[9]/relation_type[. = 'object_type']
| tagSet[10]/relation_type[. = 'object_type']
| tagSet[11]/relation_type[. = 'object_type']
| tagSet[12]/relation_type[. = 'object_type']
| tagSet[13]/relation_type[. = 'object_type']
| tagSet[14]/relation_type[. = 'object_type']
| tagSet[15]/relation_type[. = 'object_type']
| tagSet[16]/relation_type[. = 'object_type']
| tagSet[17]/relation_type[. = 'object_type']
| tagSet[18]/relation_type[. = 'object_type']
">
<!-- objectWorkType exists via tags -->
<xsl:for-each select="tagSet/tag_id">
<xsl:if test="../relation_type = 'object_type'">
<lido:objectWorkType>
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
<xsl:variable name="objektartschlagwort" select="." />
</lido:term>
</xsl:for-each>
</lido:objectWorkType>
</xsl:if>
</xsl:for-each>
</xsl:if>
</lido:objectWorkType>
</xsl:when>
<xsl:otherwise>
<lido:objectWorkType>
<xsl:for-each select="objektart_gnd">
<lido:conceptID>
<xsl:attribute name="lido:source">gnd</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://d-nb.info/gnd/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_grobsystematik">
<lido:conceptID>
<xsl:attribute name="lido:source">grobsystematik</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/grobsystematik/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_oberbegriffsdatei">
<lido:conceptID>
<xsl:attribute name="lido:source">oberbegriffsdatei</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/oberbegriffsdatei/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_aat">
<lido:conceptID>
<xsl:attribute name="lido:source">aat</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://vocab.getty.edu/aat/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_lcsh">
<lido:conceptID>
<xsl:attribute name="lido:source">lcsh</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://id.loc.gov/authorities/subjects/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:for-each select="objektart_md_tag">
<lido:conceptID>
<xsl:attribute name="lido:source">md:term</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://term.museum-digital.de/md-de/tag/', .)" />
</lido:conceptID>
</xsl:for-each>
<xsl:if test="objektart!=''">
<xsl:for-each select="objektart">
<lido:term>
<xsl:attribute name="xml:lang">de</xsl:attribute>
<xsl:value-of select="." />
</lido:term>
</xsl:for-each>
</xsl:if>
<xsl:if test="objekt_record_set/objektart!=''">
<xsl:for-each select="objekt_record_set">
<xsl:if test="substring(objekt_record_weitergabe,1,1)=0">
<lido:term>
<xsl:attribute name="xml:lang">
<xsl:value-of select="objekt_record_lang" />
</xsl:attribute>
<xsl:value-of select="objektart" />
</lido:term>
</xsl:if>
</xsl:for-each>
</xsl:if>
</lido:objectWorkType>
</xsl:otherwise>
</xsl:choose>
</lido:objectWorkTypeWrap>
<lido:classificationWrap>
<xsl:for-each select="collectionSet">

View File

@@ -1,6 +1,7 @@
{
"show_sammlungen": true,
"show_serien": true,
"show_acquisitions": false,
"show_exhibitions": false,
"show_loans": false,
"show_ereignisse": true,
@@ -32,21 +33,7 @@
"show_incipit": true,
"show_explicit": true,
"show_valediction": true,
"show_mass2_laenge_wert": true,
"show_mass2_laenge_einheit": true,
"show_mass2_breite_wert": true,
"show_mass2_breite_einheit": true,
"show_mass2_hoehe_wert": true,
"show_mass2_hoehe_einheit": true,
"show_mass2_gewicht_wert": true,
"show_mass2_gewicht_einheit": true,
"show_mass2_durchmesser_wert": true,
"show_mass2_durchmesser_einheit": true,
"show_wandungsstaerke_wert": true,
"show_wandungsstaerke_einheit": true,
"show_stueckzahl": true,
"show_mass2_seitenzahl": true,
"show_mass2_stempelstellung": true,
"show_separated_measurements": true,
"show_vergleichsobjekte2": true,
"show_material2": true,
"show_technik2": true,

View File

@@ -0,0 +1,123 @@
{
"show_sammlungen": true,
"show_serien": true,
"show_acquisitions": false,
"show_exhibitions": false,
"show_loans": false,
"show_ereignisse": true,
"show_tags": true,
"show_literatur": true,
"show_markings": true,
"show_transcripts": true,
"show_links": true,
"show_object_to_object_links": true,
"show_images": true,
"show_hidden_images": false,
"show_objekt_inventarnr": true,
"show_objektart": true,
"show_objekt_name": true,
"show_objekt_beschreibung": true,
"show_objekt_material_technik": true,
"show_objekt_masse": true,
"show_ort2_name": false,
"show_ort2_art": false,
"show_titel2_name": false,
"show_titel2_art": false,
"show_detaileddescription2": true,
"show_beschriftung2": true,
"show_form": true,
"show_sex": true,
"show_color": true,
"show_acknowledgements": true,
"show_salutation": true,
"show_incipit": true,
"show_explicit": true,
"show_valediction": true,
"show_separated_measurements": true,
"show_vergleichsobjekte2": true,
"show_material2": true,
"show_technik2": true,
"show_reception_history": true,
"show_object_references": true,
"show_content_language": true,
"show_objekt_status": false,
"show_eingangsnummer": false,
"show_invnr2": false,
"show_sachgruppe": false,
"show_systematik": false,
"show_konvolut": false,
"show_teilvon": false,
"show_zeitpunkt_zugang": false,
"show_zugang_art": false,
"show_ankaufsumme": false,
"show_geld_art": false,
"show_vorbesitzer": false,
"show_objektgeschichte": false,
"show_zustand": false,
"show_restaurierung": false,
"show_finding_spot_longitude": false,
"show_finding_spot_latitude": false,
"show_period_copyright": false,
"show_period_freeze": false,
"show_period_autopublish": false,
"show_period_scheduled_end_to_deposit": false,
"show_period_comment": false,
"show_erwerbender": false,
"show_erwerbungsort": false,
"show_ersterfasser": false,
"show_ersterfasst_zeitpunkt": false,
"show_wert_zeitpunkt": false,
"show_wert_bestimmer": false,
"show_wert_zahl": false,
"show_wert_art": false,
"show_wert_reference": false,
"show_wert2_zeitpunkt": false,
"show_wert2_bestimmer": false,
"show_wert2_zahl": false,
"show_wert2_art": false,
"show_deaccession_approved_by": false,
"show_deaccession_approved_date": false,
"show_disposal_reason": false,
"show_disposal_method": false,
"show_disposal_recipient_new_id": false,
"show_deaccession_date": false,
"show_disposal_date": false,
"show_disposal_note": false,
"show_disposal_cost_value": false,
"show_disposal_cost_currency": false,
"show_disposal_price_value": false,
"show_disposal_price_currency": false,
"show_disposal_conditions": false,
"show_disposal_authorized_by": false,
"show_disposal_authorized_date": false,
"show_standort_aktuell": false,
"show_standort_eigentlich": false,
"show_ausstellung": false,
"show_verliehen_an": false,
"show_leihvorgang_ansprechpartner": false,
"show_leihvorgang_zeitraum": false,
"show_leihvorgang_versicherungswert": false,
"show_leihvorgang_anmerkungen": false,
"show_min_temperature": false,
"show_max_temperature": false,
"show_min_humidity": false,
"show_max_humidity": false,
"show_max_lux": false,
"show_urheberrechte": true,
"show_nutzungsrechte": true,
"show_rechte_anmerkungen": false,
"show_metadata_rights_holder": true,
"show_metadata_rights_status": true,
"show_notizen_text2": false,
"show_notizen_text1": false,
"show_bilder_lokal": false,
"show_dokumente_lokal": false,
"show_id_of_negative": false,
"show_handling_recommendations": false,
"show_shipping_note": false,
"show_hazards_note": false,
"show_condition_checking_requirements": false,
"show_installation_note": false,
"show_display_recommendations": false,
"show_security_requirements": false
}

View File

@@ -1,6 +1,7 @@
{
"show_sammlungen": true,
"show_serien": true,
"show_acquisitions": false,
"show_exhibitions": false,
"show_loans": false,
"show_ereignisse": true,
@@ -32,21 +33,7 @@
"show_incipit": true,
"show_explicit": true,
"show_valediction": true,
"show_mass2_laenge_wert": true,
"show_mass2_laenge_einheit": true,
"show_mass2_breite_wert": true,
"show_mass2_breite_einheit": true,
"show_mass2_hoehe_wert": true,
"show_mass2_hoehe_einheit": true,
"show_mass2_gewicht_wert": true,
"show_mass2_gewicht_einheit": true,
"show_mass2_durchmesser_wert": true,
"show_mass2_durchmesser_einheit": true,
"show_wandungsstaerke_wert": true,
"show_wandungsstaerke_einheit": true,
"show_stueckzahl": true,
"show_mass2_seitenzahl": true,
"show_mass2_stempelstellung": true,
"show_separated_measurements": true,
"show_vergleichsobjekte2": true,
"show_material2": true,
"show_technik2": true,

View File

@@ -1,6 +1,7 @@
{
"show_sammlungen": true,
"show_serien": true,
"show_acquisitions": false,
"show_exhibitions": false,
"show_loans": false,
"show_ereignisse": true,
@@ -32,21 +33,7 @@
"show_incipit": true,
"show_explicit": true,
"show_valediction": true,
"show_mass2_laenge_wert": true,
"show_mass2_laenge_einheit": true,
"show_mass2_breite_wert": true,
"show_mass2_breite_einheit": true,
"show_mass2_hoehe_wert": true,
"show_mass2_hoehe_einheit": true,
"show_mass2_gewicht_wert": true,
"show_mass2_gewicht_einheit": true,
"show_mass2_durchmesser_wert": true,
"show_mass2_durchmesser_einheit": true,
"show_wandungsstaerke_wert": true,
"show_wandungsstaerke_einheit": true,
"show_stueckzahl": true,
"show_mass2_seitenzahl": true,
"show_mass2_stempelstellung": true,
"show_separated_measurements": true,
"show_vergleichsobjekte2": true,
"show_material2": true,
"show_technik2": true,