Skip to content

Instantly share code, notes, and snippets.

View thisismattmiller's full-sized avatar
😑
...

Matt Miller thisismattmiller

😑
...
View GitHub Profile
@thisismattmiller
thisismattmiller / p244_final.tsv
Last active August 19, 2026 20:08
P244 With depreciated LCCNs - Aug 2026
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 13 columns, instead of 7 in line 4.
old_lccn old_lccn_url old_vlabel source rank qid qid_url wd_label new_lccn new_lccn_url new_label method note_682
n2001042056 https://id.loc.gov/authorities/names/n2001042056 Pohlmeyer-Jöckel, Markus names NormalRank Q111805222 https://www.wikidata.org/wiki/Q111805222 Markus Pohlmeyer nb2006015239 https://id.loc.gov/authorities/names/nb2006015239 Pohlmeyer, Markus use_hit
n00027548 https://id.loc.gov/authorities/names/n00027548 Macedo Weiss, Paula, 1969- names NormalRank Q112356862 https://www.wikidata.org/wiki/Q112356862 Paula Macedo Weiß n2023252596 https://id.loc.gov/authorities/names/n2023252596 Weiss, Paula Macedo, 1969- use_hit
n00030019 https://id.loc.gov/authorities/names/n00030019 Roberts, Lynn (Lynn M.) names NormalRank Q118134771 https://www.wikidata.org/wiki/Q118134771 Lynn Roberts n2020026210 https://id.loc.gov/authorities/names/n2020026210 Roberts-Maloney, Lynn use_hit
n00046600 https://id.loc.gov/authorities/names/n00046600 Mustafa Çelebi, 1515-1553 names NormalRank Q1251392 https://www.wiki
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:bflc="http://id.loc.gov/ontologies/bflc/" xmlns:identifiers="http://id.loc.gov/vocabulary/identifiers/" xmlns:madsrdf="http://www.loc.gov/mads/rdf/v1#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:ri="http://id.loc.gov/ontologies/RecordInfo#">
<rdf:Description rdf:nodeID="n1ae594143b7a482e96c71393036ff448b12">
<rdf:type rdf:resource="http://www.loc.gov/mads/rdf/v1#Source"/>
<madsrdf:citationNote>(access point: Einstein, Albert, 1879-1955)</madsrdf:citationNote>
<madsrdf:citationSource>Canadiana, April 8, 2020</madsrdf:citationSource>
<madsrdf:citationStatus>found</madsrdf:citationStatus>
</rdf:Description>
<rdf:Description rdf:about="http://id.loc.gov/authorities/names/n79022889">
<rdf:type rdf:resource="http://www.loc.gov/mads/rdf/v1#Authority"/>

Wikidata Contributor Properties Report

Source: wdump-5317.nt

  • Total entities: 1,713,196
  • Unique properties: 10,472
  • Total property triples: 56,806,127
Property Label Entities % of Entities Triples

This drawing is a section of a map or travel guide (Dōchū-ki) from the Edo period, depicting the Tōkaidō, the most important road connecting Edo (Tokyo) and Kyoto.

Here is the translation of the text labels from right to left:

1. The Yellow Strip on the Right

  • Text: 新松之後茶ヤ (likely reading: Shin-matsu no Ushiro Chaya)
  • Translation: "Teahouse behind the New Pine."
  • Breakdown:
    • (Shin) = New
  • (Matsu) = Pine tree
{
"@context": "https://raw.githubusercontent.com/SemanticLab/data-export/main/context/context.jsonld",
"@id": "semlab:Q314",
"@type": [
"Person"
],
"acquaintanceOf": [
{
"52ndStUserConsensus": [
3
@thisismattmiller
thisismattmiller / woofblockshop_llava_demo.py
Created December 17, 2024 00:16
Using LLaVA API via Ollama
import requests
import json
import base64
import glob
from PIL import Image
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
}
@thisismattmiller
thisismattmiller / woofblockshop_sam_demo.py
Created December 17, 2024 00:14
Using SAM2 model on images with auto mask
import os
# if using Apple MPS, fall back to CPU for unsupported ops
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
import numpy as np
import torch
import matplotlib.pyplot as plt
from PIL import Image
import glob
{
"load_composer_autoloader": true,
"name": "WikibaseQualityConstraints",
"author": [
"BP2014N1",
"Lucas Werkmeister"
],
"url": "https://www.mediawiki.org/wiki/Extension:WikibaseQualityConstraints",
"descriptionmsg": "wbqc-desc",
"version": "1.0.0",
{
"load_composer_autoloader": true,
"name": "WikibaseQualityConstraints",
"author": [
"BP2014N1",
"Lucas Werkmeister"
],
"url": "https://www.mediawiki.org/wiki/Extension:WikibaseQualityConstraints",
"descriptionmsg": "wbqc-desc",
"version": "1.0.0",
<!DOCTYPE html>
<html lang="en">
<head>
<!--
This is an HTML comment
You can write text in a comment and the content won't be visible in the page
-->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />