[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75KP28ZPX9T6YNAT355AG5X":3,"skill-same:01M75KP28ZPX9T6YNAT355AG5X":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M75KP28ZPX9T6YNAT355AG5X","wikidata-query-skill",null,"Transform natural language questions into SPARQL queries for Wikidata and generate beautiful HTML results pages. Query the Wikidata knowledge base using plain English prompts.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkidehen\u002Fquery-wikidata\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: wikidata-query-skill\ndescription: Transform natural language questions into SPARQL queries for Wikidata and generate beautiful HTML results pages. Query the Wikidata knowledge base using plain English prompts.\n---\n\n# Wikidata Query Skill\n\n## When to Use This Skill\n\nUse this skill when users want to:\n- Query Wikidata using natural language\n- Get comprehensive, multilingual data about entities\n- Access property-rich information (Wikidata has extensive properties)\n- Create visualizations of Wikidata query results\n- Generate HTML reports from SPARQL queries\n- Query data with better temporal coverage than DBpedia\n\n## Core Capabilities\n\n✅ **Natural Language to SPARQL**: Convert user questions into valid Wikidata SPARQL\n✅ **Query Execution**: Execute queries against Wikidata Query Service\n✅ **HTML Generation**: Create beautiful, interactive HTML result pages\n✅ **Multiple Output Formats**: JSON, Markdown tables, or HTML\n✅ **Label Service**: Automatic label resolution for human-readable results\n\n## Wikidata Endpoint\n\n**SPARQL Endpoint**: `https:\u002F\u002Fquery.wikidata.org\u002Fsparql`\n**Accept Header**: `application\u002Fsparql-results+json`\n**Method**: HTTP GET with URL-encoded query\n**User-Agent**: Required (use `Claude-Code-Wikidata-Skill\u002F1.0`)\n\n## Wikidata Naming Convention\n\n**Properties**: `wdt:P###` (e.g., `wdt:P57` for director)\n**Entities**: `wd:Q###` (e.g., `wd:Q51566` for Spike Lee)\n**Service**: `wikibase:label` for automatic label resolution\n\n## Common Wikidata Properties\n\n```\nP31  - instance of\nP57  - director\nP577 - publication date\nP2130 - cost\u002Fbudget\nP50  - author\nP170 - creator\nP19  - place of birth\nP20  - place of death\nP569 - date of birth\nP570 - date of death\nP27  - country of citizenship\nP106 - occupation\nP735 - given name\nP734 - family name\nP1082 - population\nP36  - capital\n```\n\n## Query Conversion Workflow\n\nWhen a user provides a natural language prompt:\n\n### 1. Identify Entity\n\nFind the Wikidata Q-number for the main subject:\n- Use descriptive search if needed\n- Example: \"Spike Lee\" → `wd:Q51566`\n\n### 2. Map to Wikidata Properties\n\n**Common mappings:**\n- \"directed by\" → `wdt:P57`\n- \"release date\" \u002F \"published\" → `wdt:P577`\n- \"budget\" → `wdt:P2130`\n- \"born in\" → `wdt:P19`\n- \"author\" \u002F \"written by\" → `wdt:P50`\n- \"population\" → `wdt:P1082`\n- \"capital\" → `wdt:P36`\n\n### 3. Construct SPARQL Query\n\n**Template with Label Service:**\n```sparql\nSELECT DISTINCT ?item ?itemLabel ?property\nWHERE {\n  ?item wdt:P### wd:Q### ;     # property: entity\n        wdt:P31 wd:Q### .       # instance of: type\n  OPTIONAL { ?item wdt:P### ?property . }\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY \u003Csort_criteria>\nLIMIT \u003Cnumber>\n```\n\n**CRITICAL**: Always include the label service for human-readable output!\n\n### 4. Execute Query\n\nUse curl with proper headers:\n```bash\ncurl -s -G \"https:\u002F\u002Fquery.wikidata.org\u002Fsparql\" \\\n  -H \"Accept: application\u002Fsparql-results+json\" \\\n  -H \"User-Agent: Claude-Code-Wikidata-Skill\u002F1.0\" \\\n  --data-urlencode \"query=\u003CSPARQL_QUERY>\"\n```\n\n### 5. Generate Output\n\n**Options:**\n- **JSON**: Raw query results\n- **Markdown Table**: Formatted for terminal display\n- **HTML Page**: Interactive, styled results page with Wikidata branding\n\n## Example Query Patterns\n\n### Pattern 1: Films by Director\n**User**: \"Show me movies directed by Spike Lee\"\n\n**SPARQL**:\n```sparql\nSELECT DISTINCT ?film ?filmLabel ?publicationDate ?budget\nWHERE {\n  ?film wdt:P57 wd:Q51566 ;        # director: Spike Lee\n        wdt:P31 wd:Q11424 .         # instance of: film\n  OPTIONAL { ?film wdt:P577 ?publicationDate . }\n  OPTIONAL { ?film wdt:P2130 ?budget . }\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY DESC(?publicationDate)\n```\n\n### Pattern 2: Books by Author\n**User**: \"List books written by J.K. Rowling\"\n\n**SPARQL**:\n```sparql\nSELECT DISTINCT ?book ?bookLabel ?publicationDate\nWHERE {\n  ?book wdt:P50 wd:Q34660 ;        # author: J.K. Rowling\n        wdt:P31 wd:Q7725634 .      # instance of: literary work\n  OPTIONAL { ?book wdt:P577 ?publicationDate . }\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY ?publicationDate\n```\n\n### Pattern 3: People by Occupation\n**User**: \"Who are famous physicists born in the 20th century?\"\n\n**SPARQL**:\n```sparql\nSELECT ?person ?personLabel ?birthDate ?birthPlaceLabel\nWHERE {\n  ?person wdt:P106 wd:Q169470 ;     # occupation: physicist\n          wdt:P569 ?birthDate .     # date of birth\n  OPTIONAL { ?person wdt:P19 ?birthPlace . }\n  FILTER(YEAR(?birthDate) >= 1900 && YEAR(?birthDate) \u003C 2000)\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY ?birthDate\nLIMIT 50\n```\n\n### Pattern 4: Geographic Queries\n**User**: \"What are the capitals of European countries?\"\n\n**SPARQL**:\n```sparql\nSELECT ?country ?countryLabel ?capital ?capitalLabel ?population\nWHERE {\n  ?country wdt:P30 wd:Q46 ;         # continent: Europe\n           wdt:P36 ?capital .       # capital\n  ?capital wdt:P1082 ?population .  # population\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY DESC(?population)\n```\n\n### Pattern 5: Award Winners\n**User**: \"List Nobel Prize in Literature winners\"\n\n**SPARQL**:\n```sparql\nSELECT ?person ?personLabel ?awardYear\nWHERE {\n  ?person wdt:P166 wd:Q37922 ;      # award received: Nobel Prize in Literature\n          wdt:P569 ?birthDate .\n  OPTIONAL { ?person wdt:P166 ?award .\n             ?award wdt:P585 ?awardYear . }\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY DESC(?awardYear)\n```\n\n## Finding Wikidata Entities\n\nIf you need to find a Q-number for an entity:\n\n**Method 1: Search Query**\n```sparql\nSELECT ?item ?itemLabel ?itemDescription\nWHERE {\n  ?item rdfs:label \"Spike Lee\"@en .\n  ?item wdt:P106 wd:Q2526255 .      # occupation: film director\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nLIMIT 5\n```\n\n**Method 2: Use Wikidata search**\n- Go to https:\u002F\u002Fwww.wikidata.org\n- Search for the entity\n- Note the Q-number in the URL\n\n## HTML Template Generation\n\nWhen generating HTML results:\n\n### Required Elements\n1. **Title**: Question or query description\n2. **Statistics**: Number of results\n3. **Table**: Results with hyperlinked Wikidata entities\n4. **SPARQL Query Display**: Show the executed query with syntax highlighting\n5. **Footer**: Link to Wikidata, attribution, license info\n\n### Wikidata Branding\n- Use blue\u002Fgreen color scheme (Wikidata colors)\n- Include Wikidata logo reference\n- Link to https:\u002F\u002Fwww.wikidata.org\n- Mention collaborative nature\n\n### HTML Template Structure\n```html\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n    \u003Cmeta charset=\"UTF-8\">\n    \u003Ctitle>[Query Description] - Wikidata\u003C\u002Ftitle>\n    \u003Cstyle>\n        \u002F* Blue\u002Fgreen Wikidata theme *\u002F\n        \u002F* Responsive design *\u002F\n        \u002F* Interactive elements *\u002F\n    \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n    \u003Cdiv class=\"container\">\n        \u003Ch1>[Question\u002FTitle]\u003C\u002Fh1>\n        \u003Cdiv class=\"wikidata-badge\">Wikidata\u003C\u002Fdiv>\n        \u003Cdiv class=\"stats\">[Results count]\u003C\u002Fdiv>\n        \u003Ctable>[Results with Wikidata links]\u003C\u002Ftable>\n        \u003Cdiv class=\"sparql-query\">[Query code]\u003C\u002Fdiv>\n        \u003Cdiv class=\"footer\">[Attribution + CC0 license]\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n## Error Handling\n\n### Timeout Errors\nWikidata Query Service has query timeout limits:\n- Add LIMIT clause (default: 100)\n- Simplify complex joins\n- Remove unnecessary OPTIONAL clauses\n\n### No Results\n- Check entity Q-numbers\n- Verify property P-numbers\n- Suggest using Wikidata search\n\n### Label Service Issues\n- Always include: `SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }`\n- Use `?variableLabel` to get human-readable names\n\n## Best Practices\n\n1. **Always use Label Service**: Makes results human-readable\n2. **Check Q\u002FP numbers**: Verify entity and property identifiers\n3. **Add LIMIT**: Default to LIMIT 100\n4. **Use OPTIONAL**: For properties that may not exist\n5. **Filter by language**: When not using label service\n6. **Order results**: Make output meaningful\n7. **Include User-Agent**: Required by Wikidata Query Service\n\n## Wikidata vs DBpedia\n\n**Use Wikidata when:**\n- Need better temporal data (publication dates, birth dates)\n- Want multilingual support\n- Need comprehensive property coverage\n- Require structured identifiers (Q\u002FP system)\n\n**Use DBpedia when:**\n- Querying Wikipedia-specific data\n- Need budget\u002Ffinancial information (better coverage)\n- Working with English-only queries\n\n## Example Session\n\n**User**: \"List all films directed by Christopher Nolan with release dates and budgets\"\n\n**Assistant**:\n\"I'll query Wikidata for Christopher Nolan's films.\n\nFirst, I need to find his Wikidata ID...\"\n[Searches and finds wd:Q25191]\n\n\"Executing SPARQL query against Wikidata Query Service...\"\n\n[Constructs and executes query]\n\n\"Found 12 films! Would you like the results as:\n1. JSON\n2. Markdown table\n3. HTML page\"\n\n**User**: \"HTML page\"\n\n**Assistant**:\n[Generates beautiful HTML page with Wikidata branding]\n\n\"✓ HTML page generated and saved to: .\u002Fchristopher_nolan_films.html\n✓ 12 films found\n✓ 10 films with release dates\n✓ 5 films with budget information\"\n\n## Output Preferences\n\nAlways ask the user:\n```\n\"Would you like the results as:\n1. JSON (raw data)\n2. Markdown table (terminal display)\n3. HTML page (interactive visualization)\"\n```\n\n## Scope\n\n**This skill handles:**\n- Queries about entities in Wikidata\n- Structured data extraction with properties\n- Multi-property queries\n- Temporal queries (dates, years)\n- Result formatting and visualization\n\n**This skill does NOT handle:**\n- Full-text search (use Wikidata search instead)\n- Data modification (read-only queries)\n- Non-English labels (configure in label service)\n\n## Important Notes\n\n- **User-Agent Required**: Always include User-Agent header\n- **Rate Limiting**: Be respectful of query service limits\n- **Query Timeout**: 60 seconds maximum\n- **License**: All Wikidata data is CC0 (public domain)\n\n---\n\n**Version**: 1.0.0\n**Endpoint**: https:\u002F\u002Fquery.wikidata.org\u002Fsparql\n**Data Source**: Wikidata (collaborative knowledge base)\n**License**: CC0 (public domain)\n","# Wikidata Query Skill\n\n## When to Use This Skill\n\nUse this skill when users want to:\n- Query Wikidata using natural language\n- Get comprehensive, multilingual data about entities\n- Access property-rich information (Wikidata has extensive properties)\n- Create visualizations of Wikidata query results\n- Generate HTML reports from SPARQL queries\n- Query data with better temporal coverage than DBpedia\n\n## Core Capabilities\n\n✅ **Natural Language to SPARQL**: Convert user questions into valid Wikidata SPARQL\n✅ **Query Execution**: Execute queries against Wikidata Query Service\n✅ **HTML Generation**: Create beautiful, interactive HTML result pages\n✅ **Multiple Output Formats**: JSON, Markdown tables, or HTML\n✅ **Label Service**: Automatic label resolution for human-readable results\n\n## Wikidata Endpoint\n\n**SPARQL Endpoint**: `https:\u002F\u002Fquery.wikidata.org\u002Fsparql`\n**Accept Header**: `application\u002Fsparql-results+json`\n**Method**: HTTP GET with URL-encoded query\n**User-Agent**: Required (use `Claude-Code-Wikidata-Skill\u002F1.0`)\n\n## Wikidata Naming Convention\n\n**Properties**: `wdt:P###` (e.g., `wdt:P57` for director)\n**Entities**: `wd:Q###` (e.g., `wd:Q51566` for Spike Lee)\n**Service**: `wikibase:label` for automatic label resolution\n\n## Common Wikidata Properties\n\n```\nP31  - instance of\nP57  - director\nP577 - publication date\nP2130 - cost\u002Fbudget\nP50  - author\nP170 - creator\nP19  - place of birth\nP20  - place of death\nP569 - date of birth\nP570 - date of death\nP27  - country of citizenship\nP106 - occupation\nP735 - given name\nP734 - family name\nP1082 - population\nP36  - capital\n```\n\n## Query Conversion Workflow\n\nWhen a user provides a natural language prompt:\n\n### 1. Identify Entity\n\nFind the Wikidata Q-number for the main subject:\n- Use descriptive search if needed\n- Example: \"Spike Lee\" → `wd:Q51566`\n\n### 2. Map to Wikidata Properties\n\n**Common mappings:**\n- \"directed by\" → `wdt:P57`\n- \"release date\" \u002F \"published\" → `wdt:P577`\n- \"budget\" → `wdt:P2130`\n- \"born in\" → `wdt:P19`\n- \"author\" \u002F \"written by\" → `wdt:P50`\n- \"population\" → `wdt:P1082`\n- \"capital\" → `wdt:P36`\n\n### 3. Construct SPARQL Query\n\n**Template with Label Service:**\n```sparql\nSELECT DISTINCT ?item ?itemLabel ?property\nWHERE {\n  ?item wdt:P### wd:Q### ;     # property: entity\n        wdt:P31 wd:Q### .       # instance of: type\n  OPTIONAL { ?item wdt:P### ?property . }\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY \u003Csort_criteria>\nLIMIT \u003Cnumber>\n```\n\n**CRITICAL**: Always include the label service for human-readable output!\n\n### 4. Execute Query\n\nUse curl with proper headers:\n```bash\ncurl -s -G \"https:\u002F\u002Fquery.wikidata.org\u002Fsparql\" \\\n  -H \"Accept: application\u002Fsparql-results+json\" \\\n  -H \"User-Agent: Claude-Code-Wikidata-Skill\u002F1.0\" \\\n  --data-urlencode \"query=\u003CSPARQL_QUERY>\"\n```\n\n### 5. Generate Output\n\n**Options:**\n- **JSON**: Raw query results\n- **Markdown Table**: Formatted for terminal display\n- **HTML Page**: Interactive, styled results page with Wikidata branding\n\n## Example Query Patterns\n\n### Pattern 1: Films by Director\n**User**: \"Show me movies directed by Spike Lee\"\n\n**SPARQL**:\n```sparql\nSELECT DISTINCT ?film ?filmLabel ?publicationDate ?budget\nWHERE {\n  ?film wdt:P57 wd:Q51566 ;        # director: Spike Lee\n        wdt:P31 wd:Q11424 .         # instance of: film\n  OPTIONAL { ?film wdt:P577 ?publicationDate . }\n  OPTIONAL { ?film wdt:P2130 ?budget . }\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY DESC(?publicationDate)\n```\n\n### Pattern 2: Books by Author\n**User**: \"List books written by J.K. Rowling\"\n\n**SPARQL**:\n```sparql\nSELECT DISTINCT ?book ?bookLabel ?publicationDate\nWHERE {\n  ?book wdt:P50 wd:Q34660 ;        # author: J.K. Rowling\n        wdt:P31 wd:Q7725634 .      # instance of: literary work\n  OPTIONAL { ?book wdt:P577 ?publicationDate . }\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY ?publicationDate\n```\n\n### Pattern 3: People by Occupation\n**User**: \"Who are famous physicists born in the 20th century?\"\n\n**SPARQL**:\n```sparql\nSELECT ?person ?personLabel ?birthDate ?birthPlaceLabel\nWHERE {\n  ?person wdt:P106 wd:Q169470 ;     # occupation: physicist\n          wdt:P569 ?birthDate .     # date of birth\n  OPTIONAL { ?person wdt:P19 ?birthPlace . }\n  FILTER(YEAR(?birthDate) >= 1900 && YEAR(?birthDate) \u003C 2000)\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY ?birthDate\nLIMIT 50\n```\n\n### Pattern 4: Geographic Queries\n**User**: \"What are the capitals of European countries?\"\n\n**SPARQL**:\n```sparql\nSELECT ?country ?countryLabel ?capital ?capitalLabel ?population\nWHERE {\n  ?country wdt:P30 wd:Q46 ;         # continent: Europe\n           wdt:P36 ?capital .       # capital\n  ?capital wdt:P1082 ?population .  # population\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY DESC(?population)\n```\n\n### Pattern 5: Award Winners\n**User**: \"List Nobel Prize in Literature winners\"\n\n**SPARQL**:\n```sparql\nSELECT ?person ?personLabel ?awardYear\nWHERE {\n  ?person wdt:P166 wd:Q37922 ;      # award received: Nobel Prize in Literature\n          wdt:P569 ?birthDate .\n  OPTIONAL { ?person wdt:P166 ?award .\n             ?award wdt:P585 ?awardYear . }\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nORDER BY DESC(?awardYear)\n```\n\n## Finding Wikidata Entities\n\nIf you need to find a Q-number for an entity:\n\n**Method 1: Search Query**\n```sparql\nSELECT ?item ?itemLabel ?itemDescription\nWHERE {\n  ?item rdfs:label \"Spike Lee\"@en .\n  ?item wdt:P106 wd:Q2526255 .      # occupation: film director\n  SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }\n}\nLIMIT 5\n```\n\n**Method 2: Use Wikidata search**\n- Go to https:\u002F\u002Fwww.wikidata.org\n- Search for the entity\n- Note the Q-number in the URL\n\n## HTML Template Generation\n\nWhen generating HTML results:\n\n### Required Elements\n1. **Title**: Question or query description\n2. **Statistics**: Number of results\n3. **Table**: Results with hyperlinked Wikidata entities\n4. **SPARQL Query Display**: Show the executed query with syntax highlighting\n5. **Footer**: Link to Wikidata, attribution, license info\n\n### Wikidata Branding\n- Use blue\u002Fgreen color scheme (Wikidata colors)\n- Include Wikidata logo reference\n- Link to https:\u002F\u002Fwww.wikidata.org\n- Mention collaborative nature\n\n### HTML Template Structure\n```html\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n    \u003Cmeta charset=\"UTF-8\">\n    \u003Ctitle>[Query Description] - Wikidata\u003C\u002Ftitle>\n    \u003Cstyle>\n        \u002F* Blue\u002Fgreen Wikidata theme *\u002F\n        \u002F* Responsive design *\u002F\n        \u002F* Interactive elements *\u002F\n    \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n    \u003Cdiv class=\"container\">\n        \u003Ch1>[Question\u002FTitle]\u003C\u002Fh1>\n        \u003Cdiv class=\"wikidata-badge\">Wikidata\u003C\u002Fdiv>\n        \u003Cdiv class=\"stats\">[Results count]\u003C\u002Fdiv>\n        \u003Ctable>[Results with Wikidata links]\u003C\u002Ftable>\n        \u003Cdiv class=\"sparql-query\">[Query code]\u003C\u002Fdiv>\n        \u003Cdiv class=\"footer\">[Attribution + CC0 license]\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n## Error Handling\n\n### Timeout Errors\nWikidata Query Service has query timeout limits:\n- Add LIMIT clause (default: 100)\n- Simplify complex joins\n- Remove unnecessary OPTIONAL clauses\n\n### No Results\n- Check entity Q-numbers\n- Verify property P-numbers\n- Suggest using Wikidata search\n\n### Label Service Issues\n- Always include: `SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". }`\n- Use `?variableLabel` to get human-readable names\n\n## Best Practices\n\n1. **Always use Label Service**: Makes results human-readable\n2. **Check Q\u002FP numbers**: Verify entity and property identifiers\n3. **Add LIMIT**: Default to LIMIT 100\n4. **Use OPTIONAL**: For properties that may not exist\n5. **Filter by language**: When not using label service\n6. **Order results**: Make output meaningful\n7. **Include User-Agent**: Required by Wikidata Query Service\n\n## Wikidata vs DBpedia\n\n**Use Wikidata when:**\n- Need better temporal data (publication dates, birth dates)\n- Want multilingual support\n- Need comprehensive property coverage\n- Require structured identifiers (Q\u002FP system)\n\n**Use DBpedia when:**\n- Querying Wikipedia-specific data\n- Need budget\u002Ffinancial information (better coverage)\n- Working with English-only queries\n\n## Example Session\n\n**User**: \"List all films directed by Christopher Nolan with release dates and budgets\"\n\n**Assistant**:\n\"I'll query Wikidata for Christopher Nolan's films.\n\nFirst, I need to find his Wikidata ID...\"\n[Searches and finds wd:Q25191]\n\n\"Executing SPARQL query against Wikidata Query Service...\"\n\n[Constructs and executes query]\n\n\"Found 12 films! Would you like the results as:\n1. JSON\n2. Markdown table\n3. HTML page\"\n\n**User**: \"HTML page\"\n\n**Assistant**:\n[Generates beautiful HTML page with Wikidata branding]\n\n\"✓ HTML page generated and saved to: .\u002Fchristopher_nolan_films.html\n✓ 12 films found\n✓ 10 films with release dates\n✓ 5 films with budget information\"\n\n## Output Preferences\n\nAlways ask the user:\n```\n\"Would you like the results as:\n1. JSON (raw data)\n2. Markdown table (terminal display)\n3. HTML page (interactive visualization)\"\n```\n\n## Scope\n\n**This skill handles:**\n- Queries about entities in Wikidata\n- Structured data extraction with properties\n- Multi-property queries\n- Temporal queries (dates, years)\n- Result formatting and visualization\n\n**This skill does NOT handle:**\n- Full-text search (use Wikidata search instead)\n- Data modification (read-only queries)\n- Non-English labels (configure in label service)\n\n## Important Notes\n\n- **User-Agent Required**: Always include User-Agent header\n- **Rate Limiting**: Be respectful of query service limits\n- **Query Timeout**: 60 seconds maximum\n- **License**: All Wikidata data is CC0 (public domain)\n\n---\n\n**Version**: 1.0.0\n**Endpoint**: https:\u002F\u002Fquery.wikidata.org\u002Fsparql\n**Data Source**: Wikidata (collaborative knowledge base)\n**License**: CC0 (public domain)\n",{"name":5,"description":7},"main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fkidehen\u002Fquery-wikidata",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill wikidata-query-skill",{"tool":39,"command":40},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill wikidata-query-skill",{"tool":42,"command":43},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill wikidata-query-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkidehen\u002Fquery-wikidata\u002FSKILL.md",true,[],[48,56,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":55},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":55},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":55},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":55},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":55},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":55},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]