{"id":16553085,"url":"https://github.com/white-gecko/lineage-dump","last_synced_at":"2026-05-28T13:31:18.628Z","repository":{"id":142152501,"uuid":"312056799","full_name":"white-gecko/lineage-dump","owner":"white-gecko","description":"RDF dump of the device information from the lineage wiki","archived":false,"fork":false,"pushed_at":"2025-11-25T10:28:08.000Z","size":5332,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-05T08:45:04.965Z","etag":null,"topics":["data","dataset","lineageos","rdf"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/white-gecko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-11T18:34:00.000Z","updated_at":"2025-11-25T10:28:12.000Z","dependencies_parsed_at":"2023-12-28T19:30:10.481Z","dependency_job_id":"95113b85-3e5f-4b7c-a4a9-17535f3cf6fa","html_url":"https://github.com/white-gecko/lineage-dump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/white-gecko/lineage-dump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/white-gecko%2Flineage-dump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/white-gecko%2Flineage-dump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/white-gecko%2Flineage-dump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/white-gecko%2Flineage-dump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/white-gecko","download_url":"https://codeload.github.com/white-gecko/lineage-dump/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/white-gecko%2Flineage-dump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33611248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["data","dataset","lineageos","rdf"],"created_at":"2024-10-11T19:47:00.374Z","updated_at":"2026-05-28T13:31:18.614Z","avatar_url":"https://github.com/white-gecko.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RDF Export of the LineageOS Wiki and Stats\n\nThis dataset combines the device information from the [LineageOS Wiki](https://wiki.lineageos.org/devices/) with the current [usage statistics](https://stats.lineageos.org/).\n\n## Usage\n\nTo use the data you need to import it into a Triple Store.\nFor instance you can use the [Quit Store](https://github.com/AKSW/QuitStore).\nDownload a [binary](https://github.com/AKSW/QuitStore/releases) change to this directory and execute:\n\n```\nquit -t .\n```\n\nNow you should find a query endpoint at `http://localhost:5000/sparql`.\n\n## Queries\n\nNow you can execute queries like:\n\n\n**Most recent popular devices**\n\n```sparql\nPREFIX lins: \u003chttps://wiki.lineageos.org/devices/schema#\u003e\n\nSELECT * WHERE {\n GRAPH \u003chttps://wiki.lineageos.org/devices/\u003e {\n  ?sub a lins:Mobile ;\n       lins:release ?release ;\n       lins:usage_stat ?stats ;\n       lins:current_branch ?current_branch .\n    filter (?stats \u003e 5000)\n }\n}\nORDER BY DESC(?current_branch) DESC(?release) DESC(?stats)\nLIMIT 100\n```\n\n## Extraction Process\n\nTo run this script you need to clone the lineage wiki into a separate directory so that you have the following directory setup:\n\n- lineage-rdf\n  - data \u003cthis directory\u003e\n  - lineage_wiki\n    - _data\n      - devices\n      - …\n    - …\n\nThe easiest is to execute the commands with `task` (https://taskfile.dev/).\n\nRun the following to start\n\n```\ntask repo:init\ntask install\ntask extract\n```\n\nTo re-run the extraction to:\n\n```\n$ task repo:update\n$ task extract\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhite-gecko%2Flineage-dump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhite-gecko%2Flineage-dump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhite-gecko%2Flineage-dump/lists"}