Skip to content

Instantly share code, notes, and snippets.

Adrian acka47

Block or report user

Report or block acka47

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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"
@acka47
acka47 / servicetypes.txt
Last active Jul 19, 2019
List of service types in lobid-organisations / German ISIL registry
View servicetypes.txt
$ curl "https://lobid.org/organisations/search?q=_exists_:availableChannel.serviceType&size=200" | jq .member[].availableChannel[].serviceType | sort | uniq -c | sort -nr > servicetypes.txt
34 "Nutzung"
30 "Standort"
29 "Öffnungszeiten"
18 "Gebühren"
11 "Kontaktformular"
9 "weitere Service-URL"
7 "Weitere URL"
6 "weitere URL"
View service-card-multilang-example.json
{
"@context":{
"@vocab":"http://schema.org/",
"@language":"de",
"description":{
"@container":"@language"
},
"label":{
"@container":"@language"
},
@acka47
acka47 / hbzid.txt
Created Feb 5, 2019
lobid-Titel, die mit der NWBib-Sach- oder Ortssystematik erfasst sind und aus der ZDB kommen aber nicht der NWBib zugerechnet werden
View hbzid.txt
$ curl 'http://lobid.org/resources/search?q=subject.source.id%3A%28"http%3A%2F%2Fpurl.org%2Flobid%2Fnwbib"+OR+"http%3A%2F%2Fpurl.org%2Flobid%2Fnwbib-spatial"%29+AND+inCollection.id%3A"http%3A%2F%2Flobid.org%2Fresources%2FHT014846970%23%21"+AND+NOT+inCollection.id%3A"http%3A%2F%2Flobid.org%2Fresources%2FHT014176012%23%21"&format=jsonl' | jq -r .hbzId > hbzid.txt
HT019574369
HT018163733
HT018310287
HT019584208
HT019319408
HT006988090
HT019340576
HT018891021
@acka47
acka47 / unique-qids-non9*s.json
Last active Jan 8, 2019
All the unique qids including notation from NWBib spatial notations 10, 12, 14, 23, 28, 52, 54, 72, 74
View unique-qids-non9*s.json
[
{
"qid": "http://www.wikidata.org/entity/Q1017",
"notation": "28"
},
{
"qid": "http://www.wikidata.org/entity/Q1020097",
"notation": "10"
},
{
View gist:03b8e7908be6c6895f97189d9abe883a
{
"@id": "http://lobid.org/resources/BT000110055#!",
"@type": [
"http://purl.org/ontology/bibo/Book",
"http://purl.org/dc/terms/BibliographicResource"
],
"http://id.loc.gov/ontologies/bibframe/contribution": {
"@list": [
{
"@type": "http://id.loc.gov/ontologies/bibframe/Contribution",
View BT000110055.nt
<http://lobid.org/hbz01/BT000110055> <http://www.w3.org/2000/01/rdf-schema#label> "hbz-Ressource BT000110055 im Exportformat MAB2-XML" .
<http://lobid.org/hbz01/BT000110055> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/DataFeedItem> .
<http://lobid.org/hbz01/BT000110055> <http://purl.org/lobid/lv#inDataset> <https://datahub.io/dataset/hbz_unioncatalog> .
_:B902X5FX5FX3AUmweltschutz <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.loc.gov/mads/rdf/v1#ComplexSubject> .
_:B902X5FX5FX3AUmweltschutz <http://www.loc.gov/mads/rdf/v1#componentList> _:B605a3bdca8588ed2566e97256f579ec9 .
_:B605a3bdca8588ed2566e97256f579ec9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:BUmweltschutz .
_:B605a3bdca8588ed2566e97256f579ec9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:Bcb08a5afb2cbf3eff5852818f6173d32 .
<http://purl.org/lobid/nwbib#s102000> <http://id.loc.gov/ontologies/bibframe/source> <http://purl.org/lobid/nwbib> .
<http://purl.org/lobid/nwbib#s102000> <http://www.w3.org
@acka47
acka47 / not-matched-coverage_other-notations.txt
Last active Oct 9, 2018
Nicht gematchte GSW sonstiger Notationen
View not-matched-coverage_other-notations.txt
$ curl "http://lobid.org/resources/search?q=inCollection.id%3A%22http%3A%2F%2Flobid.org%2Fresources%2FHT014176012%23%21%22+AND+_exists_%3Acoverage+AND+NOT+coverage%3A%2899+OR+97+OR+96+OR+36+OR+35%29+AND+NOT+_exists_%3Aspatial&format=bulk" | jq -r .coverage[] | sort | uniq -c | sort -nr > not-matched-coverage_other-notations.txt
479 Münsterland <West> | 10
91 Sauerland <Nord> | 14
79 Sauerland <Süd> | 14
56 Sauerland <West> | 14
51 Münsterland <Ost> | 10
40 Münsterland <Nord> | 10
34 Sauerland <Ost> | 14
33 Münsterland <Süd> | 10
View sigel-only.txt
Bm 3
Bm 3/2
Bm 3/3
Bm 3/4
61
61/08
61/22
61/25
61/26
61/27
View sigelliste.tsv
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 6 columns, instead of 4. in line 9.
BR001 BDR50 Bm 3 BO: Bibl. Ruhrgebiet Bibliothek des Ruhrgebiets, Bochum
BR002 BDR50 Bm 3/2 BO: Bibl. Ruhrgebiet Bibliothek des Ruhrgebiets, Bochum (früher: Bibliothek zur Geschichte der Arbeiterbewegung, Bochum; Bm 41)
BR003 BDR50 Bm 3/3 BO: Bibl. Ruhrgebiet Bibliothek des Ruhrgebiets, Bochum (früher: Bergbau-Bücherei, Essen; E 1)
BR004 BDR50 Bm 3/4 BO: Bibl. Ruhrgebiet Bibliothek des Ruhrgebiets, Bochum, Dokumentationsstelle Ruhrgebiet
X0001 DUE50 61 D: ULB Universitäts- und Landesbibliothek Düsseldorf
X0008 DUE50 61/08 D: Zentralbibl./Lehrb. Universitäts- und Landesbibliothek Düsseldorf / Lehrbuchsammlung
X0022 DUE50 61/22 D: FA Sportwiss. Universitäts- und Landesbibliothek Düsseldorf / Fachapparat Sportwissenschaft
X0025 DUE50 61/25 D: FB Philosophie Universitäts- und Landesbibliothek Düsseldorf / Fachbibliothek Philosophie
X0026 DUE50 61/26 D: FB Erziehungswiss Universitäts- und Landesbibliothek Düsseldorf / Fachbibliothek Erziehungswissenschaft
X0027 DUE50 61/27 D: FA Kunstgeschichte U
You can’t perform that action at this time.