{"id":15818646,"url":"https://github.com/edsu/skos_wikidata","last_synced_at":"2025-04-01T05:14:11.987Z","repository":{"id":32364725,"uuid":"35940794","full_name":"edsu/skos_wikidata","owner":"edsu","description":"match a SKOS concept scheme to Wikidata from the command line","archived":false,"fork":false,"pushed_at":"2015-05-20T20:50:57.000Z","size":312,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-06T06:03:57.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/edsu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-20T10:12:29.000Z","updated_at":"2017-06-13T06:07:40.000Z","dependencies_parsed_at":"2022-09-11T14:40:40.512Z","dependency_job_id":null,"html_url":"https://github.com/edsu/skos_wikidata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fskos_wikidata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fskos_wikidata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fskos_wikidata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fskos_wikidata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edsu","download_url":"https://codeload.github.com/edsu/skos_wikidata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246586036,"owners_count":20801028,"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":[],"created_at":"2024-10-05T06:04:11.078Z","updated_at":"2025-04-01T05:14:11.972Z","avatar_url":"https://github.com/edsu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# skos_wikidata\n\nAn experimental command line tool for interactively matching SKOS concepts\nto Wikidata.\n\n    % pip install -r requirements.txt\n    % ./skos_wikidata.py example/uat.rdf\n\nThis will look for concepts in your RDF file and ask you to match them up\nagainst Wikidata entities. As assertions are added to the graph they will be \nserialized back to the RDF file. So you can quit at any time and have your work\nsaved.\n\nBy default `skos:exactMatch` assertions will be created between your SKOS\nconcepts and Wikidata. If you would like to be more nuanced and to also use\n`skos:closeMatch`, `skos:broadMatch`, `skos:narrowMatch` and `skos:relatedMatch`\nyou will will want to:\n\n    % ./skos_wikidata.py --relations-prompt example/uat.rdf \n\nAlso your SKOS may use SKOSXL for labels, in which case you'll need to tell\nskos_wikidata.py to query the data a bit differently:\n\n    % ./skos_wikidata.py --skosxl example/uat.rdf \n\nBecause it loads the graph for the entire concept scheme into memory and \nwrites it back to disk after every mapping assertion this may not be practical \nfor super large SKOS concept schemes. But for thousands and tens of thousands\nof concepts it's not so bad. YMMV.  Optimizations could be made \n(not saving all the time, etc) so give it a try and let me know!\n\nOh, and [here](https://vimeo.com/128396304) is a video demonstration of\nthe tool in action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fskos_wikidata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedsu%2Fskos_wikidata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fskos_wikidata/lists"}