Utility functions for working with Wikidata
Project description
Run SPARQL queries on Wikidata or other services
query = """
SELECT ?unicode_charater
WHERE
{
wd:Q44 wdt:P487 ?unicode_charater.
}
"""
result = mkwikidata.run_query(query)
result["results"]["bindings"][0]["unicode_charater"]["value"] # "🍺"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mkwikidata-0.7.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for mkwikidata-0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | beb5d5b6e2ca091947129be3b35301b14cc3e4ba3f73b6f9660581b61f7aaae2 |
|
MD5 | deb9c6a54b106b4f60f0cf3c256ffd3e |
|
BLAKE2b-256 | abe5c41890ac8bd7cb156fd52c9454447a7f8d6d51b8dc93d7eadbe3a1a2061d |