wikidata-search

Search Wikidata items and fetch structured entity data via the Wikidata API.

6|4|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/kltng/humanities-skills --skill wikidata-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wikidata-search
Source: https://github.com/kltng/humanities-skills/tree/main/wikidata-search
Command: npx skills add https://github.com/kltng/humanities-skills --skill wikidata-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Wikidata-search enables researchers and data practitioners to locate Wikidata items or properties and retrieve their structured data, including labels, descriptions, claims, and external identifiers, for analysis and integration.

Core Features & Use Cases

  • Search items & properties via wbsearchentities (label/alias/description).
  • Fetch full entity data with wbgetentities to access claims, sitelinks, and identifiers.
  • Explore and extract identifiers using get_claims/wikidata API wrappers and vector/semantic search via the Wikidata Vector DB; supports SPARQL queries and direct entity JSON retrieval.
  • Use Case: researchers can quickly assemble a dataset of notable figures with their VIAF/ISNI and Wikipedia links for humanities projects.

Quick Start

Query Wikidata for a term (e.g., Albert Einstein) and retrieve the entity's labels, descriptions, and external identifiers.

Frequently Asked Questions about wikidata-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve structured data and external identifiers for a Wikidata entity?

To retrieve structured data and external identifiers for a Wikidata entity, you can use the wbgetentities action to fetch full entity records, including labels, descriptions, claims, and sitelinks, directly from the Wikidata API.

Can I run SPARQL queries against Wikidata to extract complex relationship graphs?

Yes, you can run SPARQL queries against Wikidata to extract complex relationship graphs. The skill supports WDQS SPARQL queries, allowing you to retrieve and navigate interconnected structured data with robust error handling.

What is semantic search and how does it work with the Wikidata Vector DB?

Semantic search with the Wikidata Vector DB allows you to discover items using hybrid vector-based discovery rather than exact keyword matches. This mechanism queries vector embeddings to find conceptually related items and fetch their entity details.

How do I search Wikidata items and properties by label, alias, or description?

You can search Wikidata items and properties by label, alias, or description using the wbsearchentities action. This function matches your keyword queries against the Wikidata API and returns relevant item identifiers.

Does the Wikidata API have rate limits and how are retries handled?

The Wikidata API enforces rate limits, and this skill manages them by incorporating robust error handling with automatic retries. This ensures reliable data retrieval and prevents request failures during entity search and extraction.

What's the best way to extract specific claims and VIAF or ISNI identifiers from Wikidata?

The best way to extract specific claims and external identifiers like VIAF or ISNI from Wikidata is using the wbgetclaims action and API wrappers. This targets individual property claims to assemble structured datasets for analysis.