A Wikidata QID is the unique identifier assigned to each entity in the Wikidata knowledge base — a string beginning with “Q” followed by a number (e.g., Q42 for Douglas Adams). QIDs are stable, persistent, and used to link entity data across systems including Wikipedia, Google’s Knowledge Graph, and schema.org sameAs arrays.
A Wikidata QID is the most direct form of entity ID available to most brands. Including a brand’s Wikidata QID in its schema.org sameAs array creates an explicit, machine-readable link between the brand’s website and its structured knowledge graph record. This link is one of the clearest signals an AI system can receive that two representations of an entity refer to the same real-world organization.