Skip to content

Instantly share code, notes, and snippets.

View acka47's full-sized avatar

Adrian Pohl acka47

View GitHub Profile
View comeIn-examples.json
{
"comeIn":[
{
"image":"https://redaktion.openeduhub.net/edu-sharing/preview?nodeId=0aff5896-172d-4a17-af2b-96b8a1fdb9da&storeProtocol=workspace&storeId=SpacesStore&dontcache=1689639137647",
"creator":[
{
"name":"Jens Noritzsc",
"type":"Person"
},
{
@acka47
acka47 / nwbib-zdb-examples-with-uris.txt
Last active November 2, 2022 10:29
NWBib-Titel aus der ZDB mit Systematik-URIs
View nwbib-zdb-examples-with-uris.txt
$ curl "https://lobid.org/resources/search?q=inCollection.id%3A%28%22http%3A%2F%2Flobid.org%2Fresources%2FHT014846970%23%21%22+AND+%22http%3A%2F%2Flobid.org%2Fresources%2FHT014176012%23%21%22%29+AND+_exists_%3Aspatial&size=25" | jq -r .member[].hbzId
HT007074920
HT016781900
HT017385916
HT018207506
HT002733528
HT013033114
HT016482382
HT018228369
@acka47
acka47 / coverage-ohne-spatial.txt
Last active October 28, 2022 10:28
NWBib-Einträge aus der ZDB mit coverage-Eintrag aber ohne spatial-Information
View coverage-ohne-spatial.txt
$ curl "https://lobid.org/resources/search?q=inCollection.id%3A%28%22http%3A%2F%2Flobid.org%2Fresources%2FHT014846970%23%21%22+AND+%22http%3A%2F%2Flobid.org%2Fresources%2FHT014176012%23%21%22%29+AND+_exists_%3Acoverage+AND+NOT+_exists_%3Aspatial&size=50" | jq -c '[.member[] | { zdbId: .zdbId, hbzId: .hbzId, coverage: .coverage }]' | jq
[
{
"zdbId": "864338-6",
"hbzId": "HT007021138",
"coverage": [
"91"
]
},
{
View isil.txt
1. $ curl --header "Accept-Encoding: gzip" "http://lobid.org/organisations/search?q=_exists_:isil&format=bulk" > lobid-organisations.gz
2. entpacken
3. $ cat lobid-organisations | jq -r .isil > isil.txt
DE-LUEN3
DE-STG252
DE_4050
DE2789
3064
DE-107%2CDE-929%2C
@acka47
acka47 / rpb-31-stats.txt
Created June 13, 2022 12:26
Strings in #31? mit Anzahl der Vorkommnisse
View rpb-31-stats.txt
# Zu beachten ist, dass im selben Datensatz häufig ein Wert doppelt oder gar noch häufiger auftaucht,
# weshalb die Häufigkeiten kein korrektes Bild liefern.
42797 | _r01_
32528 | _r99_ _o31500000_
20519 | _r07_
17147 | _r99_ _o21100000_
13941 | _r70_
13688 | _r99_ _o31800000_
12390 | _r99_ _o11100000_
@acka47
acka47 / rpb-test-titel.txt
Created January 21, 2022 10:12
RPB-Testitel
View rpb-test-titel.txt
[/]#00 929t123951[/]#20 Christian Ulmen: das gr��te St�ck vom Kuchen[/]#30 _sn802080_[/]#31 _r99_ _o13800045_[/]#32 _130869775_ ; _4027503n6_ ; _00Sn09t1581751a_[/]#36 u[/]#40 _00Pn02k3712a_[/]#70b67[/]#70h286 vom 08.12., Journal[/]#70j2012[/]#70tRhein-Zeitung, Ausg. B0[/]#70yRhein-Zeitung, Ausg. B0. - 67 (2012), 286 vom 08.12., Journal[/]#76a2012[/]#76b2012[/]#77 Ill.[/]#83 Ulmen, Christian / 1975-[/]#88 2429557-7[/]#90dZB 223:2012;MZ 56:2012[/]#95 ZR-20121210/10:31:37KO-Ei[/]#97aZR-20121210/20:52:31ZR[/]
[/]#00 929t123952[/]#20 Josef Marko +[/]#30 _sn109000_[/]#31 _r99_ _o13210116_[/]#32 _00Pn02k1578a_ ; _4128540n2_[/]#36 u[/]#40 _00Pn02k1556a_[/]#70b56[/]#70j2013[/]#70s20[/]#70tHeimat-Jahrbuch des Kreises Altenkirchen[/]#70yHeimat-Jahrbuch des Kreises Altenkirchen. - 56 (2013), S. 20[/]#76a2012[/]#76b2012[/]#851In Memoriam[/]#88 1378083-9[/]#90dZ 762:2013[/]#95 ZR-20121210/10:58:25KO-Ys[/]#96 ZR-20121210/11:05:17KO-Ys[/]#97aZR-20121210/20:52:31ZR[/]
[/]#00 929t123953[/]#20 Hildegard Sayn +[/]#30 _sn109000_
@acka47
acka47 / gist:81c1b1328a903540665aebc30f62b2fa
Last active August 31, 2021 13:04
NWBib-Titel von ZDB mit Ortsangabe in 700.n aber ohne Ortssystematik-Match
View gist:81c1b1328a903540665aebc30f62b2fa
$ curl "https://lobid.org/resources/search?q=inCollection.id%3A%22http%3A%2F%2Flobid.org%2Fresources%2FHT014846970%23%21%22+AND+inCollection.id%3A%22http%3A%2F%2Flobid.org%2Fresources%2FHT014176012%23%21%22+AND+NOT+_exists_%3Aspatial+AND+NOT+subject.source%3A%22https%3A%2F%2Fnwbib.de%2Fsubjects%22+AND+_exists_%3Acoverage&size=50" | jq -r .member[].hbzId
HT020001364
HT020001382
HT018888677
HT015059326
HT015459528
HT020325842
HT007007347
HT007021138
HT006930167
@acka47
acka47 / bartoc-format-count.md
Last active May 16, 2023 07:52
A count of the different formats recorded in BARTOC
View bartoc-format-count.md
View gnd-coordinates.txt
This file has been truncated, but you can view the full file.
"Point ( +011.599589 +052.540109 )"
"Point ( +013.361110 +051.929444 )"
"Point ( +012.554444 +052.898333 )"
"Point ( +012.278055 +052.661944 )"
"Point ( +008.399166 +049.006388 )"
"Point ( +008.399444 +049.005833 )"
"Point ( +012.954444 +052.729444 )"
"Point ( +010.736388 +051.496666 )"
"Point ( +013.562777 +053.563888 )"
"Point ( +016.988055 +052.889444 )"
@acka47
acka47 / wikidata-geo-subjects-thread.md
Last active January 28, 2021 09:46
Mattermost thread from SWIB20
View wikidata-geo-subjects-thread.md

Magnus Sälgö (Sälgö Consulting AB) 3:48 PM

Have you connected geographical topic subjects used for cataloging books to Wikidata?? Any more libraries who has done that Reason asking is that I try to convince the Swedish LIBRISXL doing that

I did a POC but feel we should have 10000 times more Swedish locations connected subjects with library systems but its difficult to get people speak about Linked data ... (the discussion is still most MARC problems)

Poc Map <-> LIBRIS XL: https://w.wiki/iVh took 3 hours to do . Sorry Swedish but LIBRISXL dont support english....