wikidata

Query the Wikidata knowledge graph with SPARQL and retrieve item data.

15|6|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/fuzheado/Wikipedia-AI-Skills --skill wikidata-fuzheado
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wikidata
Source: https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/wikidata
Command: npx skills add https://github.com/fuzheado/Wikipedia-AI-Skills --skill wikidata-fuzheado

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wikimedia-api-access, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides the ability to understand and query Wikidata, the knowledge graph that underpins Wikipedia, allowing for efficient data retrieval and analysis.

Core Features & Use Cases

  • SPARQL Querying: Execute complex SPARQL queries to retrieve and analyze data across the entire Wikidata knowledge graph.
  • Item Lookup: Retrieve information about individual Wikidata items, including labels, descriptions, and claims.
  • Data Extraction: Extract structured data from Wikidata items, such as coordinates, properties, and relationships.
  • Use Case: For a researcher looking to analyze the distribution of languages across Wikipedia articles, this Skill can be used to query Wikidata for the sitelinks of all articles and then analyze the languages they link to.

Quick Start

To retrieve the label and description of the Wikidata item with Q937 (Albert Einstein), use the following command: use wikidata and retrieve item Q937.

Frequently Asked Questions about wikidata

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

FAQPage Schema
How do I query the Wikidata knowledge graph using SPARQL?

To query the Wikidata knowledge graph using SPARQL, execute complex SPARQL queries to retrieve and analyze data across the entire structured dataset. This provides access to item labels, descriptions, and claims for application development.

What's the best way to retrieve structured data like coordinates and properties from Wikidata items?

The best way to retrieve structured data from Wikidata items is by extracting properties and relationships directly. You can pull specific item information including coordinates and labels to support cross-wiki research and data analysis.

Do I need to know SPARQL to retrieve Wikidata item labels and descriptions?

Yes, you need SPARQL query capabilities and a good understanding of Wikidata's data structure to effectively retrieve item labels, descriptions, and claims. The Skill is designed for users familiar with semantic web technologies.

Can I analyze Wikipedia article language distribution by querying Wikidata sitelinks?

You can analyze language distribution by querying Wikidata for the sitelinks of all Wikipedia articles. This allows you to extract and analyze the various languages the articles link to across the Wikimedia ecosystem.

Does this Skill require any specific dependencies for accessing the Wikimedia ecosystem?

Yes, this Skill requires the wikimedia-api-access dependency to function. This provides the necessary structured access to retrieve rich data from the knowledge graph that underpins Wikipedia.

What are the limitations of using Wikidata for cross-wiki research?

A limitation is that effective cross-wiki research requires a solid understanding of Wikidata's specific data structure and the ability to construct complex SPARQL queries. Users without semantic web experience may face a steep learning curve.