{"id":19508229,"url":"https://github.com/yaph/wikidata-dl","last_synced_at":"2025-07-05T07:03:30.398Z","repository":{"id":62588969,"uuid":"212797401","full_name":"yaph/wikidata-dl","owner":"yaph","description":"wikidata-dl is a command line program for downloading data from Wikidata based on SPARQL queries.","archived":false,"fork":false,"pushed_at":"2024-12-15T20:44:25.000Z","size":66,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-05T00:51:55.831Z","etag":null,"topics":["cli","command-line-tool","data-retrieval","download","downloader","python-package","sparql","wikidata"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"custom":"https://www.paypal.me/rgmz","github":"yaph"}},"created_at":"2019-10-04T11:15:22.000Z","updated_at":"2025-06-28T14:48:45.000Z","dependencies_parsed_at":"2022-11-03T17:01:32.443Z","dependency_job_id":null,"html_url":"https://github.com/yaph/wikidata-dl","commit_stats":{"total_commits":46,"total_committers":1,"mean_commits":46.0,"dds":0.0,"last_synced_commit":"352a0b1cb1f4d112b0d7b138c35be16f0fcf0190"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/yaph/wikidata-dl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaph%2Fwikidata-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaph%2Fwikidata-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaph%2Fwikidata-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaph%2Fwikidata-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaph","download_url":"https://codeload.github.com/yaph/wikidata-dl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaph%2Fwikidata-dl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263699717,"owners_count":23497958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line-tool","data-retrieval","download","downloader","python-package","sparql","wikidata"],"created_at":"2024-11-10T23:04:22.744Z","updated_at":"2025-07-05T07:03:30.374Z","avatar_url":"https://github.com/yaph.png","language":"Python","funding_links":["https://www.paypal.me/rgmz","https://github.com/sponsors/yaph"],"categories":[],"sub_categories":[],"readme":"# wikidata-dl\n\n## Description\n\n**wikidata-dl** is a command line program for downloading data from [Wikidata](https://www.wikidata.org/) based on [SPARQL](https://en.wikipedia.org/wiki/SPARQL) queries.\n\n## Installation\n\n    pip install wikidata-dl\n\n## Usage\n\nDownload result returned from the query and save it in the directory `./wikidata`:\n\n    wikidata-dl /path/to/my-query.sparql\n\nFor a complete reference of the command line options run:\n\n    wikidata-dl --help\n\n## Sample Query\n\nThe following query returns IDs for all Wikidata entities that are an instance of ([P31](https://www.wikidata.org/wiki/Property:P31)) a continent ([Q5107](https://www.wikidata.org/wiki/Q5107)).\n\n    SELECT ?item WHERE {\n        ?item wdt:P31 wd:Q5107.\n    }\n\n[Try the query](https://query.wikidata.org/#SELECT%20%3Fitem%20WHERE%20%7B%20%3Fitem%20wdt%3AP31%20wd%3AQ5107.%20%7D)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaph%2Fwikidata-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaph%2Fwikidata-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaph%2Fwikidata-dl/lists"}