{"id":42358624,"url":"https://github.com/ontodev/ldtab.clj","last_synced_at":"2026-01-27T16:38:02.476Z","repository":{"id":38978777,"uuid":"422297475","full_name":"ontodev/ldtab.clj","owner":"ontodev","description":"Linked Data Tables","archived":false,"fork":false,"pushed_at":"2025-11-25T06:15:57.000Z","size":191,"stargazers_count":5,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-28T14:26:49.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ontodev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-28T17:31:41.000Z","updated_at":"2025-08-24T06:06:06.000Z","dependencies_parsed_at":"2023-10-11T20:31:13.902Z","dependency_job_id":"3699a7ff-677f-48f0-af46-6a825f219c12","html_url":"https://github.com/ontodev/ldtab.clj","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ontodev/ldtab.clj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ontodev%2Fldtab.clj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ontodev%2Fldtab.clj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ontodev%2Fldtab.clj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ontodev%2Fldtab.clj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ontodev","download_url":"https://codeload.github.com/ontodev/ldtab.clj/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ontodev%2Fldtab.clj/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28816563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-27T16:38:02.410Z","updated_at":"2026-01-27T16:38:02.468Z","avatar_url":"https://github.com/ontodev.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LDTab: Linked Data Tables\n\nLDTab is a tool for working with RDF Datasets and OWL using SQL databases.\nThe immediate use case for LDTab is an ontology term browser\nwith support for history and multiple named graphs.\nThe current version is focused on embedded database use case, building on SQLite.\n\n## Init\n\nFirst initialize the SQLite file with required tables:\n\n```sh file=tests/init/test.sh\nldtab init test.db\n```\n\nThis creates tables with the following structure:\n\n- ldtab: metadata\n    - key\n    - value\n- prefix: used to convert between IRIs and CURIEs\n    - prefix: the short prefix string\n    - base: its expansion\n- statement\n    - transaction: an integer indicating when the statement was asserted\n    - retraction: an integer indicating when the statement was retracted;\n      defaults to 0, which means **no** retraction;\n      must be greater than the transaction\n    - graph\n    - subject\n    - predicate\n    - object\n    - datatype\n    - annotation: for RDF reifications and OWL annotations\n\n## Prefix\n\nPrefixes are used to shorten IRIs to CURIEs.\nAdd your preferred prefixes from a TSV file:\n\n```sh file=tests/prefix/test.sh\nldtab prefix test.db prefix.tsv\n```\n\n## Import\n\nYou can now import an RDFXML file into the 'statement' table\nusing those prefixes:\n\n```sh file=tests/import-v1/test.sh\nldtab import test.db test-v1.owl\n```\n\nThe first import will result in transaction 1.\nThe next import will result in the next transaction, and so on.\n\n## Export\n\nYou can export to a file\n\n```sh file=tests/export-v2/test.sh\nldtab export test.db test-v2.ttl\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fontodev%2Fldtab.clj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fontodev%2Fldtab.clj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fontodev%2Fldtab.clj/lists"}