Spiral gives your agent every tool with one account. Browse the tools →

n8n · Web

How to Use Wikidata labels in n8n

Returns the available names of a Wikidata item or property across languages. Use it to turn Q and P identifiers into readable names when you do not need statements or property definitions.

Prompts to try with Wikidata labels in n8n

Copy an example into n8n, or ask in your own words.

Every Friday, use Wikidata labels for Earth (Q2) and report additions or changes to the available English, Spanish, French, and Japanese names.

Wikidata labelsn8n
Try asking
  • Every Monday at 9am: use Wikidata labels to look this up and give me the result as a table.

  • Pull the latest numbers from Wikidata labels and tell me what changed since last week.

  • Check Wikidata labels and summarize what you find in three bullet points.

  • Pull the newest data from Wikidata labels and give me the result as a table.

How to set up Wikidata labels in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Wikidata labels in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Wikidata labels, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Wikidata labels

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "wikipedia/wikidata/labels",
        "input": {
          "identifier": "<identifier>"
        }
      }'

Then paste one of the prompts above: n8n finds Wikidata labels on Spiral, shows the price and runs it.

Wikidata labels providers and prices

Spiral runs Wikidata labels through Alexandria. Open a card for today's price, with every fee included.

AlexandriaWeb
Wikipedia · Wikidata labels
wikipedia/wikidata/labels

What can you do with Wikidata labels in n8n?

Produce a recurring review of changes to selected Wikidata records for public places. A scheduled agent can compare statements, translated names, or property definitions with its previous retrieval and report the differences.

Build a multilingual place directory

Retrieve records for places such as Paris and Berlin, add their available translated names, and inspect the definitions of the geographic properties used in the directory.

Explain a knowledge graph record

Turn an item's statements into a readable explanation. Resolve linked identifiers to names and use property definitions to explain what each relationship means.

Map catalog columns to Wikidata

Compare an existing museum or landmark catalog with Wikidata item values. Read candidate property definitions and translated labels before choosing the columns to map.

Review changes to public records

Compare saved records for public places or organizations with new retrievals. Review changes to statements, translated names, and property definitions in separate sections of the report.

Audit localization coverage

Check whether selected landmarks and their properties have names in the languages your product supports. Include item descriptions in the review and distinguish missing translations from available aliases.

Explain dated city statistics

Inspect city statements with their date qualifiers and references. Add readable names for linked entities and explain the definitions of the statistical properties before comparing values.

Questions about Wikidata labels in n8n

Can n8n use Wikidata labels?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Wikidata labels like any built-in tool.

How much does Wikidata labels cost in n8n?

$0.001746 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need an Alexandria account to use Wikidata labels in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Wikidata labels on its own Alexandria account.

How long does it take to set up Wikidata labels in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Wikidata labels runs?

Wikidata labels runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

Does Wikidata cover subjects without Wikipedia articles?

Yes. A clearly identifiable entity can qualify through serious, publicly available references, even without a Wikipedia article.

Are names available in every language?

No. Wikidata supports multilingual labels, but property values are not necessarily translated into every language. A translated name and an alternative name are also different things: alternative names belong in aliases.

Who keeps Wikidata current?

Wikidata editors maintain the records, and automated bots also enter data. Changes therefore come from contributor activity rather than a single publisher's release cycle.

Does Wikidata verify everything before publication?

No. Wikidata has no executive editor or editorial board that vets content before publication. Its statement structure supports references and qualifiers, but those features do not constitute editorial approval.

Are Wikidata names unique, and how long can they be?

Different items can share the same label, and labels are limited to 250 characters. Use the entity identifier to distinguish records with matching names.

Get started

Start using Wikidata labels in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options