Tools/knowledge/wikidata_search

knowledge/wikidata_search

Search Wikidata for entities (items or properties) matching a label.

0.1 credits / call ($0.0001)
charged on success

What it does

Searches Wikidata and returns matching entities with their Q/P identifiers, labels, descriptions, and aliases. Use it to resolve a name into the Wikidata entity ID that the entity-lookup tool consumes.

Primary use cases

  • Resolving a person, place, or concept to its Wikidata Q-id.
  • Disambiguating entities that share a name via their descriptions.

Good to know

Set language to the label language (e.g. "en"). type defaults to "item"; use "property" to find P-ids. Wikidata is CC0, so no attribution is required.

Parameters

typestringoptionaldefault: "item"

Entity type to search for.

limitintegeroptionaldefault: 7

Number of results (1-50).

searchstringrequired

Text to search for.

languagestringrequireddefault: "en"

Language code for the search and returned labels (e.g. "en").

knowledge/wikidata_search — Faro