Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Wikidata

Short, current facts from Wikidata: who leads a country, capitals, population, birthdays and ages, where places are. One sentence per answer, through OpenVoiceOS' common query pipeline, next to Wikipedia and the other knowledge skills.

"who is the prime minister of denmark"  -> "The Prime Minister of Denmark is …" (whoever it is today)
"where is the eiffel tower"             -> "Eiffel Tower is in Paris, France."
"hvad er hovedstaden i frankrig"        -> "Hovedstaden i Frankrig er Paris."

I made it for Emkay, OpenVoiceOS in the browser, where DuckDuckGo and Wolfram Alpha can't be used (their servers don't let a web page read the answers). It works on any OpenVoiceOS, and the plan is to offer it to OpenVoiceOS once it has proven itself.

Build PyPI version

Why Wikidata

Wikipedia is good for "tell me about …", but a question like "who is the prime minister of Denmark" lands on an article about the office, not the person holding it now. Wikidata stores the fact itself, marks which value is current, and has labels in nearly every language, so the answer is short, up to date and in the language you asked in.

What it answers

Question From
who is the prime minister / mayor / chancellor of … head of government (P6), named by its office (P1313)
who is the president / king / queen of … head of state (P35), named by its office (P1906)
what is the capital of … P36
how many people live in … the latest population figure (P1082), rounded
when was … born · how old is … · when did … die P569, P570
where was … born P19
where is … the town and country around its coordinates (P625), from OpenStreetMap; a country's continent
what is the currency of … · what language is spoken in … P38, P37
how tall / high is … height (P2048) or elevation (P2044), in metres
when was … founded / built P571
who wrote … P50

If several things share a name, it takes the first one Wikidata finds that actually has the fact asked for (the country Denmark, not a ship called Danmark). When an answer is picked, a picture of what it is about (P18) is shown on the screen.

Questions it doesn't recognise are left to the other skills.

Languages

English, Danish, German, French, Spanish, Italian, Dutch, Portuguese (Portugal and Brazil), Catalan, Galician and Basque, the languages Emkay supports. Each language has a template per kind of question (locale/<lang>/<kind>.intent, {entity} is what's asked about) and an answer (<kind>.dialog). English and Danish are the tested ones; the others would benefit from a native speaker's eye, especially Basque.

Privacy and network

It asks only two places, both without keys or accounts:

  • www.wikidata.org (MediaWiki's API, with origin=* so a browser may read it)
  • nominatim.openstreetmap.org, for "where is …" (one lookup per question, well within its usage policy)

Pictures come from commons.wikimedia.org.

Install

pip install ovos-skill-wikidata

Development

See DEVELOPMENT.md.

Category

Information

Tags

#wikidata #knowledge #facts #common-query #openstreetmap

Metadata

Release files for ovos-skill-wikidata 0.1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-skill-wikidata 0.1.0a1
File Size Uploaded Provenance Actions
ovos_skill_wikidata-0.1.0a1.tar.gz 55.8 kB With provenance Details for ovos_skill_wikidata-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-wikidata 0.1.0a1
File Interpreter ABI Platform Actions
ovos_skill_wikidata-0.1.0a1-py3-none-any.whl Python 3 none any Details for ovos_skill_wikidata-0.1.0a1-py3-none-any.whl

Total release size: 184.0 kB

Release files / ovos_skill_wikidata-0.1.0a1.tar.gz

Download URL ovos_skill_wikidata-0.1.0a1.tar.gz
Size 55.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ceed0c451c2f901a99d3278bc696aa26d0dfd45b76cd1c7d6aee4df144827c7e
BLAKE2b-256 checksum
How to use checksums
49c5bc2f2dfb5d90035075eae4ec93cf7bf10a3e73922e361fe1881b6a2e7a16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / ovos_skill_wikidata-0.1.0a1-py3-none-any.whl

Download URL ovos_skill_wikidata-0.1.0a1-py3-none-any.whl
Size 128.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb377ea6e39b7a8410d2c3cd8d543652fbebf5cdd61f53c424af01cf0433c90c
BLAKE2b-256 checksum
How to use checksums
adac2a1c604a024865a87f85cb702f71f04f73bab7abb3277e5f3cd12a181348
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for ovos-skill-wikidata 0.1.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ovos_skill_wikidata-0.1.0a1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page