Skip to content

Instantly share code, notes, and snippets.

Adrian acka47

View GitHub Profile
@acka47
acka47 / hbzid-with-undiff-person.txt
Created Apr 6, 2020
A list of all hbz IDs for titles with a link to an undifferentiated person
View hbzid-with-undiff-person.txt
This file has been truncated, but you can view the full file.
BT000000093
BT000000152
BT000000153
BT000000168
BT000000195
BT000000213
BT000000320
BT000000327
BT000000650
View result.txt
http://lobid.org/resources/HT015530335#!
http://lobid.org/resources/HT013555659#!
http://lobid.org/resources/BT000137562#!
http://lobid.org/resources/BT000021488#!
http://lobid.org/resources/BT000137546#!
http://lobid.org/resources/BT000173852#!
http://lobid.org/resources/HT019786222#!
http://lobid.org/resources/HT019069132#!
http://lobid.org/resources/BT000173848#!
http://lobid.org/resources/HT016542897#!
View bistum-muenster.txt
HT016146284
HT016770044
HT016035674
HT016410621
HT016077086
HT017388742
HT017599221
BT000000240
BT000000179
BT000050843
@acka47
acka47 / mettmann.txt
Last active Jan 14, 2020
Alle NWBib-Titel mit "Kreis Mettmann" in 700n $ curl "http://nwbibsnapshot.lobid.org/resources/search?q=Kreis+AND+Mettmann+AND+NOT+D%C3%BCsseldorf&size=400" | jq -r .member[].hbzId | xclip -sel clip
View mettmann.txt
BT000119321
HT012921315
HT019044672
BT000051982
BT000081815
HT012905449
HT012774933
BT000121001
BT000071999
BT000123181
@acka47
acka47 / hbzIds4DE-Due63.txt
Created Dec 18, 2019
hbz-IDs für alle Titel im bestand des Goethe-Museum Düsseldorf (DE-Due63)
View hbzIds4DE-Due63.txt
$ curl "https://lobid.org/resources/search?owner=http%3A%2F%2Flobid.org%2Forganisations%2FDE-Due63%23%21&aggregations=owner&format=jsonl" | jq -r .hbzId > hbzIds4DE-Due63.txt
HT012755040
HT012755144
HT003710359
HT003585987
HT012755097
HT004018262
HT004498451
HT012814129
@acka47
acka47 / nwbib-place-strings-2017.txt
Last active Oct 21, 2019
Distinct place strings in NWBib data as of May 2017 including occurence count
View nwbib-place-strings-2017.txt
4865 "Aachen"
4 "Aachen-Bildchen"
27 "Aachen-Brand"
50 "Aachen-Burtscheid"
1 "Aachen-Deltourserb"
125 "Aachen <Diözese>"
15 "Aachen (Diözese)"
6 "Aachen-Eilendorf"
3 "Aachen-Forst"
3 "Aachen-Frankenberg"
@acka47
acka47 / test.json
Last active Oct 17, 2019
test file for generating hbz01 update file for NWBib
View test.json
{
"@context":"http://lobid.org/resources/context.jsonld",
"id":"http://lobid.org/resources/search?q=inCollection.id%3A%22http%3A%2F%2Flobid.org%2Fresources%2FHT014176012%23%21%22",
"totalItems":423497,
"member":[
{
"coverage":[
"Bergkamen | 99"
],
"oclcNumber":[
View wd-types-in-nwbib.txt
$ curl --header "Accept: application/x-jsonlines" "https://stage.lobid.org/resources?q=inCollection.id:http%3A%2F%2Flobid.org%2Fresources%2FHT014176012%23!&format=jsonl" | jq -r spatial[].focus.type[] | sort | uniq -c | sort -nr > wd-types-in-nwbib.txt
230581 http://www.wikidata.org/entity/Q42744322
145138 http://www.wikidata.org/entity/Q262166
141937 http://www.wikidata.org/entity/Q1549591
131171 http://www.wikidata.org/entity/Q22865
122414 http://www.wikidata.org/entity/Q707813
55073 http://www.wikidata.org/entity/Q82794
51621 http://www.wikidata.org/entity/Q253019
48301 http://www.wikidata.org/entity/Q54935786
View gist:e6870164a0f7ef9d5772d0ee5f0e1827
Q1110953
Q112805954
Q11343
Q1158611
Q1231010
Q1246438
Q1250699
Q1252653
Q1256434
Q12955913
@acka47
acka47 / example-oer.json
Last active Jul 30, 2019
Example file for skohub-editor
View example-oer.json
{
"@context":{
"@vocab": "http://schema.org/",
"name": {
"@id": "http://schema.org/name",
"@container": "@language"
},
"description": {
"@id": "http://schema.org/description",
"@container": "@language"
You can’t perform that action at this time.