{"id":25843070,"url":"https://github.com/incatools/rdf-sql-bulkloader","last_synced_at":"2026-06-10T19:31:20.931Z","repository":{"id":58264521,"uuid":"530445493","full_name":"INCATools/rdf-sql-bulkloader","owner":"INCATools","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-02T21:37:24.000Z","size":118,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T06:39:18.058Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/INCATools.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":"2022-08-30T00:50:12.000Z","updated_at":"2022-09-08T14:42:58.000Z","dependencies_parsed_at":"2025-03-01T06:38:06.870Z","dependency_job_id":"db3806de-a0bb-4f5a-87b9-ea11e6d65db9","html_url":"https://github.com/INCATools/rdf-sql-bulkloader","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/INCATools/rdf-sql-bulkloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Frdf-sql-bulkloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Frdf-sql-bulkloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Frdf-sql-bulkloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Frdf-sql-bulkloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/INCATools","download_url":"https://codeload.github.com/INCATools/rdf-sql-bulkloader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Frdf-sql-bulkloader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34168086,"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-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2025-03-01T06:38:00.203Z","updated_at":"2026-06-10T19:31:20.902Z","avatar_url":"https://github.com/INCATools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rdf-sql-bulkloader\n\nBulk load of SQL table from RDF in Python\n\n## Install\n\n```bash\npip install rdf-sql-bulkloader\n```\n\n## Usage (Command Line)\n\n```\nrdf-sql-bulkloader load-sqlite  -o cl.db cl.owl\n```\n\nNote: currently only sqlite supported\n\n## Usage (Programmatic)\n\nSee tests\n\n## Core table\n\n```\nCREATE TABLE statement (\n\tid TEXT,\n\tsubject TEXT,\n\tpredicate TEXT,\n\tobject TEXT,\n\tvalue TEXT,\n\tdatatype TEXT,\n\tlanguage TEXT,\n        graph TEXT\n);\n```\n\n## Prefixes\n\nthis uses the merged prefixmap from [prefixmaps](https://github.com/linkml/prefixmaps) by default\n\nThis can be overridden programmatically when instantiating a loader, e.g\n\nExplicit map:\n\n```python\nloader = SqliteBulkloader(path=path, prefix_map={...})\n```\n\nUsing pre-registered:\n\n```python\nloader = SqliteBulkloader(path=path, named_prefix_maps=[\"obo\", \"prefixcc\"])\n```\n\n- TODO: add override from CLI\n\n\n## Acknowledgements\n\nThis work was entirely inspired by James Overton's [rdftab.rs](https://github.com/ontodev/rdftab.rs)\n\nThis [cookiecutter](https://cookiecutter.readthedocs.io/en/stable/README.html) project was developed from the [sphintoxetry-cookiecutter](https://github.com/hrshdhgd/sphintoxetry-cookiecutter) template and will be kept up-to-date using [cruft](https://cruft.github.io/cruft/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincatools%2Frdf-sql-bulkloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fincatools%2Frdf-sql-bulkloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincatools%2Frdf-sql-bulkloader/lists"}