Enrich Data with Wikidata Claims
Add structured property values, aliases, descriptions, statement counts, and links to known Q-IDs.

Once a dataset contains reviewed Wikidata Q-IDs, enrichment becomes deterministic: fetch those exact entities and attach selected public graph facts. The Wikidata Entity Scraper returns a portable flattened representation for that stage.
Fetch exact entities in a controlled batch
Avoid search when identifiers are already known.
{"queries":[],"entityIds":["Q42","Q7259","Q937"],"language":"en","maxResultsPerQuery":10}Join results by id. Add labels, descriptions, aliases, Wikipedia URLs, and only the claim properties required by the product. The Actor returns claims keyed by property ID, so maintain a documented property dictionary rather than scattering unexplained codes through application logic.
Simplified values are useful for IDs, text, dates, and amounts, but they are not a lossless graph export. A date can have precision and calendar metadata; a quantity can have units and bounds; a statement can have rank, qualifiers, and references. Escalate to the full Wikidata model when those semantics affect the decision.
Store the collection timestamp and entity URL. Refresh on a schedule appropriate to the product, compare changes, and avoid overwriting reviewed internal facts automatically. Community edits may correct data or introduce disputed values.
The CC0 license makes structured reuse flexible, while provenance still matters for quality and debugging. Link users back to the entity and distinguish Wikidata-sourced fields from proprietary or reviewed attributes. Enrichment should add context without converting community claims into unqualified truth.
Maintain a small allowlist of property IDs so downstream schemas remain stable when an entity accumulates new community statements over time.
Frequently asked questions
Are claim values fully expanded?
No. Values are simplified; qualifiers, references, ranks, units, and precision require deeper graph processing.
Can claims change?
Yes. Wikidata is actively maintained and records should carry a collection date.
Related
100 free credits, no credit card.
About 30 real searches. Add the MCP to Claude or Cursor in two minutes.