Behind the <P812 : academic major> Property 0 ▲ rtnF 173 days ago · Tech · hide · Fediverse post This morning, I stumbled upon this Wikidata error.I wanted to fix it, but I did not know how.I wish there were an "intelligent autocorrect" feature built into Wikidata that could suggest a quick fix for situations like this. Modern IDEs already have such features.Anyway. So, I started thinking of several ways to solve the problem.One of my proposed solutions was to do a quick “global survey of Wikidata-wide usage” of P812 (academic major). Generate a list of all possible "legal" values of P812, then sort them by frequency.So, I crafted this SPARQL query.SELECT ?major ?majorLabel (COUNT(*) AS ?count) WHERE { ?item wdt:P812 ?major . SERVICE wikibase:label { bd:serviceParam wikibase:language "en,mul,[AUTO_LANGUAGE]" . } } GROUP BY ?major ?majorLabel ORDER BY DESC(?count)Using that SPARQL query, I could generate this list.https://altilunium.github.io/blog/P812-direct.htmlSatisfactory?No.I felt something big was missing.That query only counted direct statements. person → P812 → English… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town