{"id":25767952,"url":"https://github.com/claudiuceia/redis-hexastore","last_synced_at":"2026-05-10T03:03:09.422Z","repository":{"id":45248350,"uuid":"512802072","full_name":"ClaudiuCeia/redis-hexastore","owner":"ClaudiuCeia","description":"A lightweight hexastore implementation, uzing Redis sorted sets. Work in progress.","archived":false,"fork":false,"pushed_at":"2022-11-09T10:24:49.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-18T21:40:00.441Z","etag":null,"topics":["deno","redis","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ClaudiuCeia.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":"2022-07-11T15:01:35.000Z","updated_at":"2024-12-10T11:41:17.000Z","dependencies_parsed_at":"2023-01-21T18:00:12.740Z","dependency_job_id":null,"html_url":"https://github.com/ClaudiuCeia/redis-hexastore","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudiuCeia%2Fredis-hexastore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudiuCeia%2Fredis-hexastore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudiuCeia%2Fredis-hexastore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudiuCeia%2Fredis-hexastore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClaudiuCeia","download_url":"https://codeload.github.com/ClaudiuCeia/redis-hexastore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240959066,"owners_count":19884910,"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":["deno","redis","typescript"],"created_at":"2025-02-27T00:49:41.380Z","updated_at":"2026-05-10T03:03:09.335Z","avatar_url":"https://github.com/ClaudiuCeia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redis-hexastore\n\nA lightweight\n[hexastore](http://redis.io/topics/indexes#representing-and-querying-graphs-using-an-hexastore)\nimplementation, uzing\n[Redis](https://redis.io/docs/manual/data-types/#sorted-sets) sorted sets. It\nallows storing graphs as triples (`subject`, `predicate`, `object`) and\nquerying them in an efficient manner.\n\n## Example\n\n```ts\nconst hexastore = await Hexastore.get(\n  {\n    hostname: \"127.0.0.1\",\n    port: 6379,\n  },\n  {\n    name: \"example\",\n  },\n);\n\nawait hexastore.batchSave([\n  {\n    subject: \"Adrian\",\n    predicate: \"lives\",\n    object: \"Romania\",\n  },\n  {\n    subject: \"Ana\",\n    predicate: \"lives\",\n    object: \"Germany\",\n  },\n  {\n    subject: \"Erika\",\n    predicate: \"lives\",\n    object: \"Germany\",\n  },\n  {\n    subject: \"Adrian\",\n    predicate: \"likes\",\n    object: \"beer\",\n  },\n  {\n    subject: \"Ana\",\n    predicate: \"likes\",\n    object: \"beer\",\n  },\n]);\n\nconst germans = await hexastore.query({\n  predicate: \"lives\",\n  object: \"Germany\",\n});\n\n/**\n   [{\n    subject: \"Ana\",\n    predicate: \"lives\",\n    object: \"Germany\",\n   },\n   {\n    subject: \"Erika\",\n    predicate: \"lives\",\n    object: \"Germany\",\n   }]\n*/\n\nconst beerLikers = await hexastore.query({\n  predicate: \"likes\",\n  object: \"beer\",\n});\n\n/**\n  [\n    {\n      object: \"beer\",\n      predicate: \"likes\",\n      subject: \"Adrian\",\n    },\n    {\n      object: \"beer\",\n      predicate: \"likes\",\n      subject: \"Ana\",\n    },\n  ]\n*/\n\nhexastore.close();\n```\n\n# License\n\nMIT © [Claudiu Ceia](https://github.com/ClaudiuCeia)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudiuceia%2Fredis-hexastore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaudiuceia%2Fredis-hexastore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudiuceia%2Fredis-hexastore/lists"}