WikidataSearch

WikidataSearch["keywords"]

returns a list of Wikidata items whose labels include the given keywords.

WikidataSearch["type""keywords"]

returns a list of Wikidata identifiers of the specified type.

Details and Options

  • WikidataSearch utilizes Wikidata's search API to find items and other identifiers.
  • WikidataSearch[] returns a list of ExternalIdentifier objects of type "WikidataID".
  • Raw Wikidata identifiers are conventionally of the form "Qnnn" for items and "Pnnn" for properties.
  • Possible values for "type" include:
  • "Item"an item (default)
    "Property"a property
  • The following options can be given:
  • Language $Languagewhat language to use
    MaxItems10maximum number of results to return

Examples

open allclose all

Basic Examples  (1)

Search for items:

Search for properties:

Look up data:

Options  (1)

Language  (1)

Search items whose Spanish label matches a term:

Wolfram Research (2020), WikidataSearch, Wolfram Language function, https://reference.wolfram.com/language/ref/WikidataSearch.html.

Text

Wolfram Research (2020), WikidataSearch, Wolfram Language function, https://reference.wolfram.com/language/ref/WikidataSearch.html.

CMS

Wolfram Language. 2020. "WikidataSearch." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WikidataSearch.html.

APA

Wolfram Language. (2020). WikidataSearch. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WikidataSearch.html

BibTeX

@misc{reference.wolfram_2024_wikidatasearch, author="Wolfram Research", title="{WikidataSearch}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/WikidataSearch.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_wikidatasearch, organization={Wolfram Research}, title={WikidataSearch}, year={2020}, url={https://reference.wolfram.com/language/ref/WikidataSearch.html}, note=[Accessed: 21-November-2024 ]}