Eckher
EckherInsightsContact
Eckher
Your guide to what's next.
The structure of the Google Knowledge Graph ID
Jan 28, 2022

The structure of the Google Knowledge Graph ID

What do Google KG IDs look like and what do they encode?

The Google Knowledge Graph is a large knowledge base containing facts about people, places, books, and other kinds of entities. Some examples of Google Knowledge Graph entities include:

  • /m/0dl567 — Taylor Swift
  • /m/02_286 — New York City
  • /m/030q7 — FIFA World Cup
  • /m/045c7b — Google
  • /g/11j48g0yyn —The Matrix Resurrections

Every entity in the Google Knowledge Graph has a unique ID, also known as an MID which stands for "machine identifier". These IDs have the same format and all begin with either /m/0 or /g/1 followed by the base-32 representation of an auto-incrementing numeric ID.

See also
What is the Google Knowledge Graph?
Is it the world's largest knowledge base?
Eckher RDF Graph Editor
Author and visualize RDF-based knowledge graphs.
AstraZeneca's knowledge graph: Drug discovery is a lot about connections
The biomedical knowledge graph built by AstraZeneca helps the company find new drugs and drug targets.