Download from Deutsche Digitale Bibliothek was performed on 28/7/2022 with code modelled after download.py
.
The overwhelming majority of the metadata is CC0.
The following command provides an overview of the rightsType
values:
for i in lido/*xml
do xmlstarlet sel -N lido=http://www.lido-schema.org -t -v '//lido:recordWrap//lido:rightsType/lido:conceptID' -n $i
done | sort | uniq -c | sort -n
The 577 CC-BY-licensed data belong to the Landesgeschichtliche Vereinigung für die Mark Brandenburg e.V.
for i in digiS_data/lido/*.xml
do xmlstarlet sel -N lido=http://www.lido-schema.org -t -v '//lido:recordWrap//lido:rightsType/lido:conceptID[.="https://creativecommons.org/licenses/by/4.0/"]/../../lido:rightsHolder/lido:legalBodyName/lido:appellationValue' -n $i
done | grep -v '^$' | sort | uniq -c
A list of these files can be produced as follows
for i in digiS_data/lido/*.xml
do xmlstarlet sel -N lido=http://www.lido-schema.org -t -i '//lido:recordWrap//lido:rightsType/lido:conceptID[.="https://creativecommons.org/licenses/by/4.0/"]/../../lido:rightsHolder/lido:legalBodyName/lido:appellationValue' -f -n $i
done