---
id: "freebase_mid"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["objectids"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/freebase_mid"
---

# Freebase machine ID (MID) (`freebase_mid`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Identifier of a topic in Freebase, the knowledge base that Google shut down in 2016: /m/0 followed by lowercase letters, digits and underscores. Google Knowledge Graph and many datasets still use these identifiers.

- Personal data (PII): no
- Categories: Objects identifiers (objectids)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^/m/0(?:[0-9b-df-hj-np-tv-z_]{2,7}|1[0123][0-9b-df-hj-np-tv-z_]{5,6})$
```

## Examples

- `/m/0bjy66` — Baranagar
- `/m/04l` — English
- `/m/0j9kvph` — Wikidata

## Mappings

- wikidata: `P646`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Freebase_(database)>
- wikidata: <https://www.wikidata.org/wiki/Property:P646>

## Quality

Score 80/100. Missing: negative example, translation, detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/freebase_mid.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/objectids/freebase_mid.yaml>
