Skip to content

MarmotGraph Core

MarmotGraph stands for Management Applications for Rich Metadata ObjecTs in a Graph. It lets teams collaboratively build, curate, publish and query knowledge graphs.

Core is the backend of the ecosystem. It is a REST API that stores your metadata, controls who can see and change it, and answers queries over the relations between your data.

What you can do with it

  • Manage metadata collaboratively

    Store JSON-LD documents, let several people contribute to the same instance and keep track of who provided which value.

    Create and change instances

  • Publish deliberately

    Work on a draft while the released version stays stable. Publish when the data is ready and see what has changed since.

    Release workflow

  • Keep quality visible

    Attach JSON-Schemas to your types. Every write is validated and scored, without ever blocking the people entering data.

    Validation

  • Query the graph

    Describe the shape of the result you want, follow relations in both directions and save the query for later.

    Queries

  • Work with reviewers

    Invite people to review a single instance and the data around it, even before they have an account, and discuss the data in comments.

    Invitations

  • Control access precisely

    Roles apply globally or per space, and are mapped from the claims of your identity provider.

    Roles and permissions

Where to start

You are... Start with
New to MarmotGraph Core concepts, then the Quickstart
Building a client or integration API basics, the SDKs and the endpoint reference
Curating or reviewing data The User guide
Running an installation Administration
Working on Core itself Development setup and Architecture
Migrating from an earlier API API versions

How Core fits together

flowchart LR
    client["Clients<br/>(web apps, scripts, SDKs)"]
    idp["Identity provider<br/>(Keycloak / OIDC)"]
    core["MarmotGraph Core<br/>REST API"]
    pg[("PostgreSQL<br/>authoritative store")]
    graphdb[("Graph database<br/>optional: Neo4j")]

    client -- "log in" --> idp
    client -- "Bearer token" --> core
    core -- "validates token against" --> idp
    core -- "instances, structure,<br/>users, queries" --> pg
    core -. "query execution<br/>(if configured)" .-> graphdb

PostgreSQL is always the source of truth. A graph database is optional. Without one, Core evaluates queries directly in PostgreSQL.

Project information

MarmotGraph emerged from the transition of the Human Brain Project towards the EBRAINS research infrastructure and has continued at CSCS/ETH Zurich since 2024. It is released under the Apache 2.0 license. More information is available at marmotgraph.org.