{"id":18649832,"url":"https://github.com/ashwanthkumar/imgraph","last_synced_at":"2025-09-10T00:42:35.789Z","repository":{"id":20703408,"uuid":"23987134","full_name":"ashwanthkumar/imgraph","owner":"ashwanthkumar","description":"Nothing fancy here yet","archived":false,"fork":false,"pushed_at":"2017-05-25T01:16:17.000Z","size":65,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-27T12:44:50.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","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/ashwanthkumar.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}},"created_at":"2014-09-13T05:55:29.000Z","updated_at":"2017-05-25T00:47:14.000Z","dependencies_parsed_at":"2022-09-06T08:54:09.270Z","dependency_job_id":null,"html_url":"https://github.com/ashwanthkumar/imgraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwanthkumar%2Fimgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwanthkumar%2Fimgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwanthkumar%2Fimgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwanthkumar%2Fimgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashwanthkumar","download_url":"https://codeload.github.com/ashwanthkumar/imgraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239456409,"owners_count":19641843,"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":[],"created_at":"2024-11-07T06:40:47.595Z","updated_at":"2025-02-18T10:41:43.530Z","avatar_url":"https://github.com/ashwanthkumar.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imGraph\n\nAttempt at implementing [imGraph](http://euranova.eu/upl_docs/publications/imgraph--a-distributed-in-memory-graph-database.pdf) paper. \n\n[![Build Status](https://travis-ci.org/ashwanthkumar/imgraph.svg?branch=master)](https://travis-ci.org/ashwanthkumar/imgraph)\n\n### Query DSL\n\nimGraph has a DSL for querying Graph data, inspired from Neo4J's [Cypher](http://docs.neo4j.org/chunked/stable/cypher-query-lang.html).\n\nTo enable the DSL you need to import `import in.ashwanthkumar.imgraph.types.DataConversions._` in your current context.\n\nTo find all lovers of Romeo\n```\nQuery()\n  .MATCH((\"name\" ~ \"Romeo\", \"age\" ~ 22)) --\u003e LABEL(\"loves\") RETURN (\"name\", \"age\")\n```\n\nAbove query would\n\n1. find the node that has \"name\"=\"Romeo\" and \"age\" = 22\n2. find the outgoing edges that says \"loves\"\n3. return the \"name\" and \"age\" props of the resulting nodes\n\n\nTo match any of the multiple predicates, `|` can be used\n```\nQuery()\n  .MATCH((\"name\" ~ \"Romeo\", \"age\" ~ \"21\") | (\"age\" ~ 18, \"name\" ~ \"Juliet\")) \u003c-- LABEL(\"loves\") RETURN(\"name\", \"age\")\n```\n\nAbove query would\n\n1. find the node that has `{\"name\": \"Romeo\", \"age\": 21}` or `{\"age\": 18, \"name\": \"Juliet\"}`\n2. find the incoming edges that says \"loves\"\n3. return the \"name\" and \"age\" props of the resulting nodes\n\nTo find more usages, check the [QueryTest.scala](https://github.com/ashwanthkumar/imgraph/blob/master/src/test/scala/in/ashwanthkumar/imgraph/query/QueryTest.scala).\n\n*Query DSL is still WIP. Any kind of feedback is welcome.*\n\n### Notes\n\n- Doesn't support undirected graphs\n- Following use cases will be supported\n    - Monodic Aggregations\n    - Graph Traversals\n    - ID based GETs\n    - Property Search\n- Good to have features\n    - [Spark](https://spark.apache.org/) Connector to support Spark as computation platform on the graph\n    - [Hama](https://hama.apache.org/) Vertex Reader to run graph computations on Hama from imGraph \n    - Use [Blueprints](http://blueprints.tinkerpop.com/) for property graph model\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwanthkumar%2Fimgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashwanthkumar%2Fimgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwanthkumar%2Fimgraph/lists"}