Skip to content

Instantly share code, notes, and snippets.

{
"image" : "https://copy.com/thumbs_public/wRBbETnC9oq4dmBS/oerhub.png?size=1024",
"creator" : [ {
"image" : "https://oerworldmap.files.wordpress.com/2015/03/rob.jpeg?w=128&h=127",
"countryChampionFor" : [ "GB" ],
"@type" : "Organization",
"name" : [ {
"@value" : "OER Research Hub c/o Dr. Rob Farrow",
"@language" : "en"
} ],
{
"@context":"https://raw.githubusercontent.com/hbz/oerworldmap/master/public/json/context.json",
"@type":"schema:Action",
"duration":"P17M",
"name":{
"@language":"en",
"@value":"For the development of an OER World Map"
},
"agent":{
"name":{
@acka47
acka47 / 46779.xml
Created October 24, 2016 08:53
Example collection from digitalisiertedrucke OAI-PMH export.
<?xml version="1.0" encoding="UTF-8"?>
<record>
<header>
<identifier>oai:digitalisiertedrucke.de:46779</identifier>
<datestamp>2009-05-25T09:34:44Z</datestamp>
<setSpec>collection:zvdd.hbz.k.de</setSpec>
<setSpec>collection</setSpec>
<setSpec>ddc:802</setSpec>
<setSpec>ddc:702</setSpec>
</header>
@acka47
acka47 / 490805.xml
Created October 24, 2016 09:07
Example resource from digitalisiertedrucke.
<?xml version="1.0" encoding="UTF-8"?>
<record>
<header>
<identifier>oai:digitalisiertedrucke.de:490805</identifier>
<datestamp>2009-07-22T15:00:39Z</datestamp>
<setSpec>collection:zvdd.gbv.goe.de</setSpec>
<setSpec>collection:sammlung_ponickau.ulb.hal.de</setSpec>
</header>
<metadata>
<marc:record xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="Bibliographic" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd">
@acka47
acka47 / 491265.xml
Created October 24, 2016 09:11
Example resource from digitalisiertedrucke.
<?xml version="1.0" encoding="UTF-8"?>
<record>
<header>
<identifier>oai:digitalisiertedrucke.de:491265</identifier>
<datestamp>2010-05-17T11:58:00Z</datestamp>
<setSpec>collection:zvdd.hbz.k.de</setSpec>
<setSpec>collection:digitale_sammlungen.uni.bn.de</setSpec>
</header>
<metadata>
<marc:record xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="Bibliographic" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd">
{
"@context":{
"frapo":"http://purl.org/cerif/frapo/",
"rdf":"http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs":"http://www.w3.org/2000/01/rdf-schema#",
"schema":"http://schema.org/",
"xsd":"http://www.w3.org/2001/XMLSchema#",
"ex":"http://example.org/"
},
"@id":"urn:uuid:0801e4d4-3c7e-11e5-9f0e-54ee7558c81f",
@acka47
acka47 / lobid-resources-context.hjson
Last active February 10, 2017 13:54
The lobid API 2.0 JSON-LD context document (from http://lobid.org/download/context.json) as hjson file with comments
{
@context:
{
ArchivalResource:
# http://id.loc.gov/ontologies/bibframe/Archival
{
@container: @set
@id: http://data.archiveshub.ac.uk/def/ArchivalResource
@type: @id
}
@acka47
acka47 / gnd-libs_notTerminated.csv
Created May 22, 2017 12:10
GND corporate bodies that instantiate any library concept and are not terminated, result from http://tinyurl.com/khdmwwn
library label
http://d-nb.info/gnd/8989-8 Herzog August Bibliothek
http://d-nb.info/gnd/2020450-4 Niedersächsische Staats- und Universitätsbibliothek Göttingen
http://d-nb.info/gnd/16140-8 Bibliotheca Bodmeriana (Cologny)
http://d-nb.info/gnd/16391-0 Matica Srpska (Novi Sad). Biblioteka
http://d-nb.info/gnd/16441-0 Lambeth Palace Library
http://d-nb.info/gnd/1003302-6 Biblioteca Apostolica Vaticana
http://d-nb.info/gnd/18951-0 Stadt- und Landesbibliothek Dortmund
http://d-nb.info/gnd/2031351-2 Bayerische Staatsbibliothek
http://d-nb.info/gnd/10004722-1 Staatsbibliothek zu Berlin. Ostasienabteilung
@acka47
acka47 / gnd-isil-libraries-mapping.csv
Created May 22, 2017 12:13
First result of running https://gist.github.com/acka47/312c81a453b89e908614b7c813967cd8 against lobid reconciliation endpoint + a lot of manual matching
library label isil
http://d-nb.info/gnd/2020450-4 Niedersächsische Staats- und Universitätsbibliothek DE-MUS-792110
http://d-nb.info/gnd/18951-0 Stadt- und Landesbibliothek Dortmund DE-60
http://d-nb.info/gnd/2031351-2 Bayerische Staatsbibliothek DE-WWW1
http://d-nb.info/gnd/64462-6 Studienbibliothek Dillingen/Donau DE-Di1
http://d-nb.info/gnd/2002526-9 Deutsches Orient-Institut, Bibliothek und Archiv DE-H223
http://d-nb.info/gnd/4071931-5 Niedersächsische Staats- und Universitätsbibliothek DE-MUS-792110
http://d-nb.info/gnd/10008839-9 Universitätsbibliothek Kassel - Landesbibliothek und Murhardsche Bibliothek der Stadt Kassel DE-34
http://d-nb.info/gnd/2147296-8 Historische Bibliothek der Stadt Rudolstadt DE-Ru7
http://d-nb.info/gnd/16005330-4 Deutsche Esperanto-Bibliothek Aalen DE-M136
$ curl "http://lobid.org/resources/search?q=coverage:*+AND+inCollection.label:NWBib&format=bulk" | jq '.coverage[]' | sort | uniq -c
4941 "Aachen"
4 "Aachen-Bildchen"
31 "Aachen-Brand"
50 "Aachen-Burtscheid"
1 "Aachen-Deltourserb"
125 "Aachen <Diözese>"
15 "Aachen (Diözese)"
6 "Aachen-Eilendorf"