{"id":21273482,"url":"https://github.com/graphaware/cypher-tools","last_synced_at":"2026-04-27T18:02:01.353Z","repository":{"id":255022552,"uuid":"848294995","full_name":"graphaware/cypher-tools","owner":"graphaware","description":"Microservice exposing various features for working with Cypher","archived":false,"fork":false,"pushed_at":"2024-08-28T20:59:11.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-09T06:52:03.439Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphaware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-08-27T13:56:35.000Z","updated_at":"2024-08-28T20:59:14.000Z","dependencies_parsed_at":"2025-03-15T18:48:45.744Z","dependency_job_id":null,"html_url":"https://github.com/graphaware/cypher-tools","commit_stats":null,"previous_names":["graphaware/cypher-tools"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/graphaware/cypher-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphaware%2Fcypher-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphaware%2Fcypher-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphaware%2Fcypher-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphaware%2Fcypher-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphaware","download_url":"https://codeload.github.com/graphaware/cypher-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphaware%2Fcypher-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32348058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2024-11-21T09:14:57.983Z","updated_at":"2026-04-27T18:02:01.341Z","avatar_url":"https://github.com/graphaware.png","language":"Java","readme":"# Cypher Tools\n\nExperimental project exposing cypher tooling features as a rest service.\n\n## Docker image\n\nThe docker image is available as `graphaware/cypher-tools:\u003ctag\u003e`.\n\nEx : \n\n```bash\ndocker run --rm -it --name cypher-tools-1 -p 8080:8080 graphaware/cypher-tools:1.0.0\n```\n\n## Schema enforcement\n\nLLM based Cypher query generation can lead to relationships being in the wrong direction, the following endpoint allows \nyou to fix the directions of a query based on a provided list of schema relationships.\n\nExample : \n\n**Generated query** : \n\n```cypher\nMATCH (n:Person)-[:OWNED_BY]-\u003e(v:Vehicle)\nRETURN n.name, v.model\n```\n\nHowever, the database schema has the relationship between the vehicle and the person instead `(Vehicle)-[:OWNED_BY]-\u003e(Person)`\n\nFix it by calling the `cypher` endpoint\n\n```bash\ncurl --location 'http://localhost:8080/enforceSchema' \\\n--header 'Content-Type: application/json' \\\n--data '{\"cypher\": \"MATCH (n:Person)-[:OWNED_BY]-\u003e(v:Vehicle) RETURN n.name, v.model\", \"relationships\": [\"(Person, LIVES_IN, City)\",\"(Person, HAS_ACCOUNT, UserAccount)\",\"(Vehicle, LICENCED_TO, LicensePlate)\",\"(Vehicle, OWNED_BY, Person)\"]}'\n```\n\nResponse : \n\n```json\n{\n    \"cypher\": \"MATCH (n:`Person`)\u003c-[:`OWNED_BY`]-(v:`Vehicle`)\\nRETURN n.name, v.model\"\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphaware%2Fcypher-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphaware%2Fcypher-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphaware%2Fcypher-tools/lists"}