{"id":24562622,"url":"https://github.com/humanbrainproject/kg-core","last_synced_at":"2025-10-04T13:30:37.262Z","repository":{"id":41854832,"uuid":"251507742","full_name":"HumanBrainProject/kg-core","owner":"HumanBrainProject","description":"The KG core contains the fundamental logic to manage the Knowledge Graph. ","archived":false,"fork":false,"pushed_at":"2023-08-28T07:19:18.000Z","size":2660,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-04-17T02:24:19.318Z","etag":null,"topics":["knowledge-graph"],"latest_commit_sha":null,"homepage":"https://kg.ebrains.eu","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/HumanBrainProject.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":"2020-03-31T05:20:58.000Z","updated_at":"2024-04-17T02:24:19.319Z","dependencies_parsed_at":"2023-02-01T06:45:41.049Z","dependency_job_id":null,"html_url":"https://github.com/HumanBrainProject/kg-core","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fkg-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fkg-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fkg-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fkg-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HumanBrainProject","download_url":"https://codeload.github.com/HumanBrainProject/kg-core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235253785,"owners_count":18960482,"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":["knowledge-graph"],"created_at":"2025-01-23T09:16:36.340Z","updated_at":"2025-10-04T13:30:31.686Z","avatar_url":"https://github.com/HumanBrainProject.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prepare the development environment (with IntelliJ)\n\n- Clone the kg-core repository to your local machine:\n``` git clone git@github.com:HumanBrainProject/kg-core.git ```\n\nIf you are part of the KG core development team, you can additionally download the shared IntelliJ configuration providing you convenient elements such as shared run configurations, etc.:\n\n- Navigate to the directory of the cloned repository (usually \"kg-core\") and clone the IntelliJ configuration (before importing the project):\n``` git clone git@gitlab.humanbrainproject.org:HumanBrainProject/kg-core-ide-config.git .idea ```\n\n\n- Open IntelliJ and create a new project from existing sources\n- Select the root directory of your cloned kg-core repository (usually called \"kg-core\")\n- Choose \"Import project from external model\" and select \"Maven\" -\u003e \"Finish\"\n\n- The IDE will now import the project.\n- You might need to pick your \"Project SDK\": File -\u003e Project Structure -\u003e Project - choose your most recent JDK (we recommend at least 11)\n- If not applied automatically, you also might need to add \"Maven\" framework support (right click on the root -\u003e \"Add Framework support\" -\u003e Maven. Depending on your version of IntelliJ, you can also add Spring support (optional)\n- It's a good idea to enable the Maven auto-import\n- Troubleshooting: If IntelliJ shows compile errors, it might be required to refresh the caches -\u003e File -\u003e Invalidate Caches\n\nNow you should be able to see a project structure looking like\n  - **kg-core**: The root directory containing some scripts organizing the build / dockerization of the different services\n    - **adapters**: Adapter modules allowing the ingestion of external systems\n    - **config**: Shared configurations of the services (e.g. parent poms)\n    - **libs**: A collection of common libraries (shared models, shared functionalities\n    - **libs-4-test**: A collection of convenience libraries for testing\n    - **mocks**: A collection for mocked services (to simplify and parallelize development / allow testing without launching the full environment) \n    - **services**: A collection of the actual services composing the KG-core environment and therefore containing the \"real logic\" of the system\n    - **tests**: System tests which can be deployed as services themselves.\n\n# Run the code (development mode)\nIf you have cloned the IntelliJ configuration, you will see several run configurations ready for you to be executed with default settings. Otherwise, every service is a standard Spring Boot application which can be launched accordingly. Please note, that the services have some dependencies: All of them resolve their peers through the kg-service-discovery - so it's always a good choice to run this one in any case. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanbrainproject%2Fkg-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumanbrainproject%2Fkg-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanbrainproject%2Fkg-core/lists"}